electron_zoomvideosdk.pb.cc 1.4 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: electron_zoomvideosdk.proto
  3. #include "electron_zoomvideosdk.pb.h"
  4. #include <algorithm>
  5. #include "google/protobuf/io/coded_stream.h"
  6. #include "google/protobuf/extension_set.h"
  7. #include "google/protobuf/wire_format_lite.h"
  8. #include "google/protobuf/io/zero_copy_stream_impl_lite.h"
  9. // @@protoc_insertion_point(includes)
  10. // Must be included last.
  11. #include "google/protobuf/port_def.inc"
  12. PROTOBUF_PRAGMA_INIT_SEG
  13. namespace _pb = ::PROTOBUF_NAMESPACE_ID;
  14. namespace _pbi = ::PROTOBUF_NAMESPACE_ID::internal;
  15. namespace com {
  16. namespace electron {
  17. namespace zoomvideo {
  18. namespace sdk {
  19. namespace proto {
  20. PROTOBUF_CONSTEXPR VideoSDKUser::VideoSDKUser(
  21. ::_pbi::ConstantInitialized): _impl_{
  22. /*decltype(_impl_._has_bits_)*/{}
  23. , /*decltype(_impl_._cached_size_)*/{}
  24. , /*decltype(_impl_.custom_identity_)*/ {
  25. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  26. }
  27. , /*decltype(_impl_.username_)*/ {
  28. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  29. }
  30. , /*decltype(_impl_.userid_)*/ {
  31. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  32. }
  33. , /*decltype(_impl_.p_user_)*/ ::int64_t{0}
  34. , /*decltype(_impl_.audiotype_)*/ 0
  35. , /*decltype(_impl_.ishasvideodevice_)*/ false
  36. , /*decltype(_impl_.isvideoon_)*/ false
  37. , /*decltype(_impl_.isaudiomuted_)*/ false
  38. , /*decltype(_impl_.isaudiotalking_)*/ false
  39. , /*decltype(_impl_.sharestatus_)*/ 0
  40. , /*decltype(_impl_.ishost_)*/ false
  41. , /*decltype(_impl_.ismanager_)*/ false
  42. , /*decltype(_impl_.videostatisticinfo_width_)*/ 0
  43. , /*decltype(_impl_.videostatisticinfo_height_)*/ 0
  44. , /*decltype(_impl_.videostatisticinfo_fps_)*/ 0
  45. , /*decltype(_impl_.videostatisticinfo_bpf_)*/ 0
  46. , /*decltype(_impl_.sharestatisticinfo_width_)*/ 0
  47. , /*decltype(_impl_.sharestatisticinfo_height_)*/ 0
  48. , /*decltype(_impl_.sharestatisticinfo_fps_)*/ 0
  49. , /*decltype(_impl_.sharestatisticinfo_bpf_)*/ 0
  50. } {}
  51. struct VideoSDKUserDefaultTypeInternal {
  52. PROTOBUF_CONSTEXPR VideoSDKUserDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  53. ~VideoSDKUserDefaultTypeInternal() {}
  54. union {
  55. VideoSDKUser _instance;
  56. };
  57. };
  58. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  59. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoSDKUserDefaultTypeInternal _VideoSDKUser_default_instance_;
  60. PROTOBUF_CONSTEXPR UserList::UserList(
  61. ::_pbi::ConstantInitialized): _impl_{
  62. /*decltype(_impl_.user_)*/{}
  63. , /*decltype(_impl_._cached_size_)*/{}} {}
  64. struct UserListDefaultTypeInternal {
  65. PROTOBUF_CONSTEXPR UserListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  66. ~UserListDefaultTypeInternal() {}
  67. union {
  68. UserList _instance;
  69. };
  70. };
  71. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  72. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UserListDefaultTypeInternal _UserList_default_instance_;
  73. PROTOBUF_CONSTEXPR VideoSDKSessionAudioStatisticInfo::VideoSDKSessionAudioStatisticInfo(
  74. ::_pbi::ConstantInitialized): _impl_{
  75. /*decltype(_impl_._has_bits_)*/{}
  76. , /*decltype(_impl_._cached_size_)*/{}
  77. , /*decltype(_impl_.frequency_)*/ ::int64_t{0}
  78. , /*decltype(_impl_.latency_)*/ ::int64_t{0}
  79. , /*decltype(_impl_.jitter_)*/ ::int64_t{0}
  80. , /*decltype(_impl_.packetlossavg_)*/ 0
  81. , /*decltype(_impl_.packetlossmax_)*/ 0
  82. } {}
  83. struct VideoSDKSessionAudioStatisticInfoDefaultTypeInternal {
  84. PROTOBUF_CONSTEXPR VideoSDKSessionAudioStatisticInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  85. ~VideoSDKSessionAudioStatisticInfoDefaultTypeInternal() {}
  86. union {
  87. VideoSDKSessionAudioStatisticInfo _instance;
  88. };
  89. };
  90. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  91. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoSDKSessionAudioStatisticInfoDefaultTypeInternal _VideoSDKSessionAudioStatisticInfo_default_instance_;
  92. PROTOBUF_CONSTEXPR VideoSDKSessionAudioStatisticInfoList::VideoSDKSessionAudioStatisticInfoList(
  93. ::_pbi::ConstantInitialized): _impl_{
  94. /*decltype(_impl_.audiostatisticinfo_)*/{}
  95. , /*decltype(_impl_._cached_size_)*/{}} {}
  96. struct VideoSDKSessionAudioStatisticInfoListDefaultTypeInternal {
  97. PROTOBUF_CONSTEXPR VideoSDKSessionAudioStatisticInfoListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  98. ~VideoSDKSessionAudioStatisticInfoListDefaultTypeInternal() {}
  99. union {
  100. VideoSDKSessionAudioStatisticInfoList _instance;
  101. };
  102. };
  103. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  104. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoSDKSessionAudioStatisticInfoListDefaultTypeInternal _VideoSDKSessionAudioStatisticInfoList_default_instance_;
  105. PROTOBUF_CONSTEXPR VideoSDKSessionASVStatisticInfo::VideoSDKSessionASVStatisticInfo(
  106. ::_pbi::ConstantInitialized): _impl_{
  107. /*decltype(_impl_._has_bits_)*/{}
  108. , /*decltype(_impl_._cached_size_)*/{}
  109. , /*decltype(_impl_.frame_width_)*/ ::int64_t{0}
  110. , /*decltype(_impl_.frame_height_)*/ ::int64_t{0}
  111. , /*decltype(_impl_.fps_)*/ ::int64_t{0}
  112. , /*decltype(_impl_.latency_)*/ ::int64_t{0}
  113. , /*decltype(_impl_.jitter_)*/ ::int64_t{0}
  114. , /*decltype(_impl_.packetlossavg_)*/ 0
  115. , /*decltype(_impl_.packetlossmax_)*/ 0
  116. } {}
  117. struct VideoSDKSessionASVStatisticInfoDefaultTypeInternal {
  118. PROTOBUF_CONSTEXPR VideoSDKSessionASVStatisticInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  119. ~VideoSDKSessionASVStatisticInfoDefaultTypeInternal() {}
  120. union {
  121. VideoSDKSessionASVStatisticInfo _instance;
  122. };
  123. };
  124. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  125. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoSDKSessionASVStatisticInfoDefaultTypeInternal _VideoSDKSessionASVStatisticInfo_default_instance_;
  126. PROTOBUF_CONSTEXPR VideoSDKSessionASVStatisticInfoList::VideoSDKSessionASVStatisticInfoList(
  127. ::_pbi::ConstantInitialized): _impl_{
  128. /*decltype(_impl_.asvstatisticinfo_)*/{}
  129. , /*decltype(_impl_._cached_size_)*/{}} {}
  130. struct VideoSDKSessionASVStatisticInfoListDefaultTypeInternal {
  131. PROTOBUF_CONSTEXPR VideoSDKSessionASVStatisticInfoListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  132. ~VideoSDKSessionASVStatisticInfoListDefaultTypeInternal() {}
  133. union {
  134. VideoSDKSessionASVStatisticInfoList _instance;
  135. };
  136. };
  137. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  138. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoSDKSessionASVStatisticInfoListDefaultTypeInternal _VideoSDKSessionASVStatisticInfoList_default_instance_;
  139. PROTOBUF_CONSTEXPR SDKVideoCapability::SDKVideoCapability(
  140. ::_pbi::ConstantInitialized): _impl_{
  141. /*decltype(_impl_._has_bits_)*/{}
  142. , /*decltype(_impl_._cached_size_)*/{}
  143. , /*decltype(_impl_.iseffective_)*/ false
  144. , /*decltype(_impl_.width_)*/ 0
  145. , /*decltype(_impl_.height_)*/ 0
  146. , /*decltype(_impl_.frame_)*/ 0
  147. } {}
  148. struct SDKVideoCapabilityDefaultTypeInternal {
  149. PROTOBUF_CONSTEXPR SDKVideoCapabilityDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  150. ~SDKVideoCapabilityDefaultTypeInternal() {}
  151. union {
  152. SDKVideoCapability _instance;
  153. };
  154. };
  155. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  156. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SDKVideoCapabilityDefaultTypeInternal _SDKVideoCapability_default_instance_;
  157. PROTOBUF_CONSTEXPR SDKVideoCapabilityList::SDKVideoCapabilityList(
  158. ::_pbi::ConstantInitialized): _impl_{
  159. /*decltype(_impl_.videocapability_)*/{}
  160. , /*decltype(_impl_._cached_size_)*/{}} {}
  161. struct SDKVideoCapabilityListDefaultTypeInternal {
  162. PROTOBUF_CONSTEXPR SDKVideoCapabilityListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  163. ~SDKVideoCapabilityListDefaultTypeInternal() {}
  164. union {
  165. SDKVideoCapabilityList _instance;
  166. };
  167. };
  168. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  169. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SDKVideoCapabilityListDefaultTypeInternal _SDKVideoCapabilityList_default_instance_;
  170. PROTOBUF_CONSTEXPR LTTLanguage::LTTLanguage(
  171. ::_pbi::ConstantInitialized): _impl_{
  172. /*decltype(_impl_._has_bits_)*/{}
  173. , /*decltype(_impl_._cached_size_)*/{}
  174. , /*decltype(_impl_.lttlanguagename_)*/ {
  175. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  176. }
  177. , /*decltype(_impl_.lttlanguageid_)*/ 0
  178. } {}
  179. struct LTTLanguageDefaultTypeInternal {
  180. PROTOBUF_CONSTEXPR LTTLanguageDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  181. ~LTTLanguageDefaultTypeInternal() {}
  182. union {
  183. LTTLanguage _instance;
  184. };
  185. };
  186. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  187. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LTTLanguageDefaultTypeInternal _LTTLanguage_default_instance_;
  188. PROTOBUF_CONSTEXPR CallbackBody_onErrorParams::CallbackBody_onErrorParams(
  189. ::_pbi::ConstantInitialized): _impl_{
  190. /*decltype(_impl_._has_bits_)*/{}
  191. , /*decltype(_impl_._cached_size_)*/{}
  192. , /*decltype(_impl_.errorcode_)*/ 0
  193. , /*decltype(_impl_.detailerrorcode_)*/ 0
  194. } {}
  195. struct CallbackBody_onErrorParamsDefaultTypeInternal {
  196. PROTOBUF_CONSTEXPR CallbackBody_onErrorParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  197. ~CallbackBody_onErrorParamsDefaultTypeInternal() {}
  198. union {
  199. CallbackBody_onErrorParams _instance;
  200. };
  201. };
  202. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  203. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onErrorParamsDefaultTypeInternal _CallbackBody_onErrorParams_default_instance_;
  204. PROTOBUF_CONSTEXPR CallbackBody_onUserJoinParams::CallbackBody_onUserJoinParams(
  205. ::_pbi::ConstantInitialized): _impl_{
  206. /*decltype(_impl_._has_bits_)*/{}
  207. , /*decltype(_impl_._cached_size_)*/{}
  208. , /*decltype(_impl_.zn_userlist_)*/nullptr} {}
  209. struct CallbackBody_onUserJoinParamsDefaultTypeInternal {
  210. PROTOBUF_CONSTEXPR CallbackBody_onUserJoinParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  211. ~CallbackBody_onUserJoinParamsDefaultTypeInternal() {}
  212. union {
  213. CallbackBody_onUserJoinParams _instance;
  214. };
  215. };
  216. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  217. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserJoinParamsDefaultTypeInternal _CallbackBody_onUserJoinParams_default_instance_;
  218. PROTOBUF_CONSTEXPR CallbackBody_onUserLeaveParams::CallbackBody_onUserLeaveParams(
  219. ::_pbi::ConstantInitialized): _impl_{
  220. /*decltype(_impl_._has_bits_)*/{}
  221. , /*decltype(_impl_._cached_size_)*/{}
  222. , /*decltype(_impl_.zn_userlist_)*/nullptr} {}
  223. struct CallbackBody_onUserLeaveParamsDefaultTypeInternal {
  224. PROTOBUF_CONSTEXPR CallbackBody_onUserLeaveParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  225. ~CallbackBody_onUserLeaveParamsDefaultTypeInternal() {}
  226. union {
  227. CallbackBody_onUserLeaveParams _instance;
  228. };
  229. };
  230. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  231. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserLeaveParamsDefaultTypeInternal _CallbackBody_onUserLeaveParams_default_instance_;
  232. PROTOBUF_CONSTEXPR CallbackBody_onUserVideoStatusChangedParams::CallbackBody_onUserVideoStatusChangedParams(
  233. ::_pbi::ConstantInitialized): _impl_{
  234. /*decltype(_impl_._has_bits_)*/{}
  235. , /*decltype(_impl_._cached_size_)*/{}
  236. , /*decltype(_impl_.zn_userlist_)*/nullptr} {}
  237. struct CallbackBody_onUserVideoStatusChangedParamsDefaultTypeInternal {
  238. PROTOBUF_CONSTEXPR CallbackBody_onUserVideoStatusChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  239. ~CallbackBody_onUserVideoStatusChangedParamsDefaultTypeInternal() {}
  240. union {
  241. CallbackBody_onUserVideoStatusChangedParams _instance;
  242. };
  243. };
  244. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  245. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserVideoStatusChangedParamsDefaultTypeInternal _CallbackBody_onUserVideoStatusChangedParams_default_instance_;
  246. PROTOBUF_CONSTEXPR CallbackBody_onUserAudioStatusChangedParams::CallbackBody_onUserAudioStatusChangedParams(
  247. ::_pbi::ConstantInitialized): _impl_{
  248. /*decltype(_impl_._has_bits_)*/{}
  249. , /*decltype(_impl_._cached_size_)*/{}
  250. , /*decltype(_impl_.zn_userlist_)*/nullptr} {}
  251. struct CallbackBody_onUserAudioStatusChangedParamsDefaultTypeInternal {
  252. PROTOBUF_CONSTEXPR CallbackBody_onUserAudioStatusChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  253. ~CallbackBody_onUserAudioStatusChangedParamsDefaultTypeInternal() {}
  254. union {
  255. CallbackBody_onUserAudioStatusChangedParams _instance;
  256. };
  257. };
  258. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  259. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserAudioStatusChangedParamsDefaultTypeInternal _CallbackBody_onUserAudioStatusChangedParams_default_instance_;
  260. PROTOBUF_CONSTEXPR CallbackBody_onUserShareStatusChangedParams::CallbackBody_onUserShareStatusChangedParams(
  261. ::_pbi::ConstantInitialized): _impl_{
  262. /*decltype(_impl_._has_bits_)*/{}
  263. , /*decltype(_impl_._cached_size_)*/{}
  264. , /*decltype(_impl_.user_)*/nullptr
  265. , /*decltype(_impl_.status_)*/ 0
  266. , /*decltype(_impl_.type_)*/ 0
  267. } {}
  268. struct CallbackBody_onUserShareStatusChangedParamsDefaultTypeInternal {
  269. PROTOBUF_CONSTEXPR CallbackBody_onUserShareStatusChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  270. ~CallbackBody_onUserShareStatusChangedParamsDefaultTypeInternal() {}
  271. union {
  272. CallbackBody_onUserShareStatusChangedParams _instance;
  273. };
  274. };
  275. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  276. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserShareStatusChangedParamsDefaultTypeInternal _CallbackBody_onUserShareStatusChangedParams_default_instance_;
  277. PROTOBUF_CONSTEXPR CallbackBody_onLiveStreamStatusChangedParams::CallbackBody_onLiveStreamStatusChangedParams(
  278. ::_pbi::ConstantInitialized): _impl_{
  279. /*decltype(_impl_._has_bits_)*/{}
  280. , /*decltype(_impl_._cached_size_)*/{}
  281. , /*decltype(_impl_.status_)*/ 0
  282. } {}
  283. struct CallbackBody_onLiveStreamStatusChangedParamsDefaultTypeInternal {
  284. PROTOBUF_CONSTEXPR CallbackBody_onLiveStreamStatusChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  285. ~CallbackBody_onLiveStreamStatusChangedParamsDefaultTypeInternal() {}
  286. union {
  287. CallbackBody_onLiveStreamStatusChangedParams _instance;
  288. };
  289. };
  290. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  291. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onLiveStreamStatusChangedParamsDefaultTypeInternal _CallbackBody_onLiveStreamStatusChangedParams_default_instance_;
  292. PROTOBUF_CONSTEXPR CallbackBody_onUserHostChangedParams::CallbackBody_onUserHostChangedParams(
  293. ::_pbi::ConstantInitialized): _impl_{
  294. /*decltype(_impl_._has_bits_)*/{}
  295. , /*decltype(_impl_._cached_size_)*/{}
  296. , /*decltype(_impl_.user_)*/nullptr} {}
  297. struct CallbackBody_onUserHostChangedParamsDefaultTypeInternal {
  298. PROTOBUF_CONSTEXPR CallbackBody_onUserHostChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  299. ~CallbackBody_onUserHostChangedParamsDefaultTypeInternal() {}
  300. union {
  301. CallbackBody_onUserHostChangedParams _instance;
  302. };
  303. };
  304. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  305. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserHostChangedParamsDefaultTypeInternal _CallbackBody_onUserHostChangedParams_default_instance_;
  306. PROTOBUF_CONSTEXPR CallbackBody_onUserNameChangedParams::CallbackBody_onUserNameChangedParams(
  307. ::_pbi::ConstantInitialized): _impl_{
  308. /*decltype(_impl_._has_bits_)*/{}
  309. , /*decltype(_impl_._cached_size_)*/{}
  310. , /*decltype(_impl_.user_)*/nullptr} {}
  311. struct CallbackBody_onUserNameChangedParamsDefaultTypeInternal {
  312. PROTOBUF_CONSTEXPR CallbackBody_onUserNameChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  313. ~CallbackBody_onUserNameChangedParamsDefaultTypeInternal() {}
  314. union {
  315. CallbackBody_onUserNameChangedParams _instance;
  316. };
  317. };
  318. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  319. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserNameChangedParamsDefaultTypeInternal _CallbackBody_onUserNameChangedParams_default_instance_;
  320. PROTOBUF_CONSTEXPR CallbackBody_onUserManagerChangedParams::CallbackBody_onUserManagerChangedParams(
  321. ::_pbi::ConstantInitialized): _impl_{
  322. /*decltype(_impl_._has_bits_)*/{}
  323. , /*decltype(_impl_._cached_size_)*/{}
  324. , /*decltype(_impl_.user_)*/nullptr} {}
  325. struct CallbackBody_onUserManagerChangedParamsDefaultTypeInternal {
  326. PROTOBUF_CONSTEXPR CallbackBody_onUserManagerChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  327. ~CallbackBody_onUserManagerChangedParamsDefaultTypeInternal() {}
  328. union {
  329. CallbackBody_onUserManagerChangedParams _instance;
  330. };
  331. };
  332. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  333. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserManagerChangedParamsDefaultTypeInternal _CallbackBody_onUserManagerChangedParams_default_instance_;
  334. PROTOBUF_CONSTEXPR CallbackBody_onUserActiveAudioChangedParams::CallbackBody_onUserActiveAudioChangedParams(
  335. ::_pbi::ConstantInitialized): _impl_{
  336. /*decltype(_impl_._has_bits_)*/{}
  337. , /*decltype(_impl_._cached_size_)*/{}
  338. , /*decltype(_impl_.zn_userlist_)*/nullptr} {}
  339. struct CallbackBody_onUserActiveAudioChangedParamsDefaultTypeInternal {
  340. PROTOBUF_CONSTEXPR CallbackBody_onUserActiveAudioChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  341. ~CallbackBody_onUserActiveAudioChangedParamsDefaultTypeInternal() {}
  342. union {
  343. CallbackBody_onUserActiveAudioChangedParams _instance;
  344. };
  345. };
  346. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  347. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserActiveAudioChangedParamsDefaultTypeInternal _CallbackBody_onUserActiveAudioChangedParams_default_instance_;
  348. PROTOBUF_CONSTEXPR CallbackBody_onChatNewMessageNotifyParams::CallbackBody_onChatNewMessageNotifyParams(
  349. ::_pbi::ConstantInitialized): _impl_{
  350. /*decltype(_impl_._has_bits_)*/{}
  351. , /*decltype(_impl_._cached_size_)*/{}
  352. , /*decltype(_impl_.sendername_)*/ {
  353. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  354. }
  355. , /*decltype(_impl_.receivername_)*/ {
  356. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  357. }
  358. , /*decltype(_impl_.messagecontent_)*/ {
  359. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  360. }
  361. , /*decltype(_impl_.messageid_)*/ {
  362. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  363. }
  364. , /*decltype(_impl_.psender_)*/ ::int64_t{0}
  365. , /*decltype(_impl_.preceiver_)*/ ::int64_t{0}
  366. , /*decltype(_impl_.timestamp_)*/ ::int64_t{0}
  367. , /*decltype(_impl_.ischattoall_)*/ false
  368. , /*decltype(_impl_.isselfsend_)*/ false
  369. } {}
  370. struct CallbackBody_onChatNewMessageNotifyParamsDefaultTypeInternal {
  371. PROTOBUF_CONSTEXPR CallbackBody_onChatNewMessageNotifyParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  372. ~CallbackBody_onChatNewMessageNotifyParamsDefaultTypeInternal() {}
  373. union {
  374. CallbackBody_onChatNewMessageNotifyParams _instance;
  375. };
  376. };
  377. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  378. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onChatNewMessageNotifyParamsDefaultTypeInternal _CallbackBody_onChatNewMessageNotifyParams_default_instance_;
  379. PROTOBUF_CONSTEXPR CallbackBody_onChatMsgDeleteNotificationParams::CallbackBody_onChatMsgDeleteNotificationParams(
  380. ::_pbi::ConstantInitialized): _impl_{
  381. /*decltype(_impl_._has_bits_)*/{}
  382. , /*decltype(_impl_._cached_size_)*/{}
  383. , /*decltype(_impl_.messageid_)*/ {
  384. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  385. }
  386. , /*decltype(_impl_.deleteby_)*/ 0
  387. } {}
  388. struct CallbackBody_onChatMsgDeleteNotificationParamsDefaultTypeInternal {
  389. PROTOBUF_CONSTEXPR CallbackBody_onChatMsgDeleteNotificationParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  390. ~CallbackBody_onChatMsgDeleteNotificationParamsDefaultTypeInternal() {}
  391. union {
  392. CallbackBody_onChatMsgDeleteNotificationParams _instance;
  393. };
  394. };
  395. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  396. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onChatMsgDeleteNotificationParamsDefaultTypeInternal _CallbackBody_onChatMsgDeleteNotificationParams_default_instance_;
  397. PROTOBUF_CONSTEXPR CallbackBody_onVideoSourceInitializeParams::CallbackBody_onVideoSourceInitializeParams(
  398. ::_pbi::ConstantInitialized): _impl_{
  399. /*decltype(_impl_._has_bits_)*/{}
  400. , /*decltype(_impl_._cached_size_)*/{}
  401. , /*decltype(_impl_.videocapabilitylist_)*/nullptr} {}
  402. struct CallbackBody_onVideoSourceInitializeParamsDefaultTypeInternal {
  403. PROTOBUF_CONSTEXPR CallbackBody_onVideoSourceInitializeParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  404. ~CallbackBody_onVideoSourceInitializeParamsDefaultTypeInternal() {}
  405. union {
  406. CallbackBody_onVideoSourceInitializeParams _instance;
  407. };
  408. };
  409. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  410. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onVideoSourceInitializeParamsDefaultTypeInternal _CallbackBody_onVideoSourceInitializeParams_default_instance_;
  411. PROTOBUF_CONSTEXPR CallbackBody_onPropertyChangeParams::CallbackBody_onPropertyChangeParams(
  412. ::_pbi::ConstantInitialized): _impl_{
  413. /*decltype(_impl_._has_bits_)*/{}
  414. , /*decltype(_impl_._cached_size_)*/{}
  415. , /*decltype(_impl_.videocapability_)*/nullptr} {}
  416. struct CallbackBody_onPropertyChangeParamsDefaultTypeInternal {
  417. PROTOBUF_CONSTEXPR CallbackBody_onPropertyChangeParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  418. ~CallbackBody_onPropertyChangeParamsDefaultTypeInternal() {}
  419. union {
  420. CallbackBody_onPropertyChangeParams _instance;
  421. };
  422. };
  423. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  424. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onPropertyChangeParamsDefaultTypeInternal _CallbackBody_onPropertyChangeParams_default_instance_;
  425. PROTOBUF_CONSTEXPR CallbackBody_onRawDataStatusChangedParams::CallbackBody_onRawDataStatusChangedParams(
  426. ::_pbi::ConstantInitialized): _impl_{
  427. /*decltype(_impl_._has_bits_)*/{}
  428. , /*decltype(_impl_._cached_size_)*/{}
  429. , /*decltype(_impl_.recv_handle_)*/ ::int64_t{0}
  430. , /*decltype(_impl_.status_)*/ 0
  431. } {}
  432. struct CallbackBody_onRawDataStatusChangedParamsDefaultTypeInternal {
  433. PROTOBUF_CONSTEXPR CallbackBody_onRawDataStatusChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  434. ~CallbackBody_onRawDataStatusChangedParamsDefaultTypeInternal() {}
  435. union {
  436. CallbackBody_onRawDataStatusChangedParams _instance;
  437. };
  438. };
  439. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  440. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onRawDataStatusChangedParamsDefaultTypeInternal _CallbackBody_onRawDataStatusChangedParams_default_instance_;
  441. PROTOBUF_CONSTEXPR CallbackBody_onCommandReceivedParams::CallbackBody_onCommandReceivedParams(
  442. ::_pbi::ConstantInitialized): _impl_{
  443. /*decltype(_impl_._has_bits_)*/{}
  444. , /*decltype(_impl_._cached_size_)*/{}
  445. , /*decltype(_impl_.strcmd_)*/ {
  446. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  447. }
  448. , /*decltype(_impl_.psender_)*/nullptr} {}
  449. struct CallbackBody_onCommandReceivedParamsDefaultTypeInternal {
  450. PROTOBUF_CONSTEXPR CallbackBody_onCommandReceivedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  451. ~CallbackBody_onCommandReceivedParamsDefaultTypeInternal() {}
  452. union {
  453. CallbackBody_onCommandReceivedParams _instance;
  454. };
  455. };
  456. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  457. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onCommandReceivedParamsDefaultTypeInternal _CallbackBody_onCommandReceivedParams_default_instance_;
  458. PROTOBUF_CONSTEXPR CallbackBody_onCommandChannelConnectResultParams::CallbackBody_onCommandChannelConnectResultParams(
  459. ::_pbi::ConstantInitialized): _impl_{
  460. /*decltype(_impl_._has_bits_)*/{}
  461. , /*decltype(_impl_._cached_size_)*/{}
  462. , /*decltype(_impl_.issuccess_)*/ false
  463. } {}
  464. struct CallbackBody_onCommandChannelConnectResultParamsDefaultTypeInternal {
  465. PROTOBUF_CONSTEXPR CallbackBody_onCommandChannelConnectResultParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  466. ~CallbackBody_onCommandChannelConnectResultParamsDefaultTypeInternal() {}
  467. union {
  468. CallbackBody_onCommandChannelConnectResultParams _instance;
  469. };
  470. };
  471. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  472. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onCommandChannelConnectResultParamsDefaultTypeInternal _CallbackBody_onCommandChannelConnectResultParams_default_instance_;
  473. PROTOBUF_CONSTEXPR CallbackBody_onInviteByPhoneStatusParams::CallbackBody_onInviteByPhoneStatusParams(
  474. ::_pbi::ConstantInitialized): _impl_{
  475. /*decltype(_impl_._has_bits_)*/{}
  476. , /*decltype(_impl_._cached_size_)*/{}
  477. , /*decltype(_impl_.status_)*/ 0
  478. , /*decltype(_impl_.reason_)*/ 0
  479. } {}
  480. struct CallbackBody_onInviteByPhoneStatusParamsDefaultTypeInternal {
  481. PROTOBUF_CONSTEXPR CallbackBody_onInviteByPhoneStatusParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  482. ~CallbackBody_onInviteByPhoneStatusParamsDefaultTypeInternal() {}
  483. union {
  484. CallbackBody_onInviteByPhoneStatusParams _instance;
  485. };
  486. };
  487. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  488. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onInviteByPhoneStatusParamsDefaultTypeInternal _CallbackBody_onInviteByPhoneStatusParams_default_instance_;
  489. PROTOBUF_CONSTEXPR CallbackBody_onCloudRecordingStatusParams::CallbackBody_onCloudRecordingStatusParams(
  490. ::_pbi::ConstantInitialized): _impl_{
  491. /*decltype(_impl_._has_bits_)*/{}
  492. , /*decltype(_impl_._cached_size_)*/{}
  493. , /*decltype(_impl_.status_)*/ 0
  494. } {}
  495. struct CallbackBody_onCloudRecordingStatusParamsDefaultTypeInternal {
  496. PROTOBUF_CONSTEXPR CallbackBody_onCloudRecordingStatusParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  497. ~CallbackBody_onCloudRecordingStatusParamsDefaultTypeInternal() {}
  498. union {
  499. CallbackBody_onCloudRecordingStatusParams _instance;
  500. };
  501. };
  502. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  503. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onCloudRecordingStatusParamsDefaultTypeInternal _CallbackBody_onCloudRecordingStatusParams_default_instance_;
  504. PROTOBUF_CONSTEXPR CallbackBody_onCameraControlRequestResultParams::CallbackBody_onCameraControlRequestResultParams(
  505. ::_pbi::ConstantInitialized): _impl_{
  506. /*decltype(_impl_._has_bits_)*/{}
  507. , /*decltype(_impl_._cached_size_)*/{}
  508. , /*decltype(_impl_.puser_)*/nullptr
  509. , /*decltype(_impl_.isapproved_)*/ false
  510. } {}
  511. struct CallbackBody_onCameraControlRequestResultParamsDefaultTypeInternal {
  512. PROTOBUF_CONSTEXPR CallbackBody_onCameraControlRequestResultParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  513. ~CallbackBody_onCameraControlRequestResultParamsDefaultTypeInternal() {}
  514. union {
  515. CallbackBody_onCameraControlRequestResultParams _instance;
  516. };
  517. };
  518. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  519. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onCameraControlRequestResultParamsDefaultTypeInternal _CallbackBody_onCameraControlRequestResultParams_default_instance_;
  520. PROTOBUF_CONSTEXPR CallbackBody_onCameraControlRequestReceivedParams::CallbackBody_onCameraControlRequestReceivedParams(
  521. ::_pbi::ConstantInitialized): _impl_{
  522. /*decltype(_impl_._has_bits_)*/{}
  523. , /*decltype(_impl_._cached_size_)*/{}
  524. , /*decltype(_impl_.puser_)*/nullptr
  525. , /*decltype(_impl_.requesttype_)*/ 0
  526. } {}
  527. struct CallbackBody_onCameraControlRequestReceivedParamsDefaultTypeInternal {
  528. PROTOBUF_CONSTEXPR CallbackBody_onCameraControlRequestReceivedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  529. ~CallbackBody_onCameraControlRequestReceivedParamsDefaultTypeInternal() {}
  530. union {
  531. CallbackBody_onCameraControlRequestReceivedParams _instance;
  532. };
  533. };
  534. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  535. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onCameraControlRequestReceivedParamsDefaultTypeInternal _CallbackBody_onCameraControlRequestReceivedParams_default_instance_;
  536. PROTOBUF_CONSTEXPR CallbackBody_onHostAskUnmuteParams::CallbackBody_onHostAskUnmuteParams(
  537. ::_pbi::ConstantInitialized): _impl_{
  538. /*decltype(_impl_._cached_size_)*/{}} {}
  539. struct CallbackBody_onHostAskUnmuteParamsDefaultTypeInternal {
  540. PROTOBUF_CONSTEXPR CallbackBody_onHostAskUnmuteParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  541. ~CallbackBody_onHostAskUnmuteParamsDefaultTypeInternal() {}
  542. union {
  543. CallbackBody_onHostAskUnmuteParams _instance;
  544. };
  545. };
  546. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  547. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onHostAskUnmuteParamsDefaultTypeInternal _CallbackBody_onHostAskUnmuteParams_default_instance_;
  548. PROTOBUF_CONSTEXPR CallbackBody_onMultiCameraStreamStatusChangedParams::CallbackBody_onMultiCameraStreamStatusChangedParams(
  549. ::_pbi::ConstantInitialized): _impl_{
  550. /*decltype(_impl_._has_bits_)*/{}
  551. , /*decltype(_impl_._cached_size_)*/{}
  552. , /*decltype(_impl_.user_)*/nullptr
  553. , /*decltype(_impl_.camerastreamid_)*/ ::int64_t{0}
  554. , /*decltype(_impl_.status_)*/ 0
  555. } {}
  556. struct CallbackBody_onMultiCameraStreamStatusChangedParamsDefaultTypeInternal {
  557. PROTOBUF_CONSTEXPR CallbackBody_onMultiCameraStreamStatusChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  558. ~CallbackBody_onMultiCameraStreamStatusChangedParamsDefaultTypeInternal() {}
  559. union {
  560. CallbackBody_onMultiCameraStreamStatusChangedParams _instance;
  561. };
  562. };
  563. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  564. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onMultiCameraStreamStatusChangedParamsDefaultTypeInternal _CallbackBody_onMultiCameraStreamStatusChangedParams_default_instance_;
  565. PROTOBUF_CONSTEXPR CallbackBody_onMicSpeakerVolumeChangedParams::CallbackBody_onMicSpeakerVolumeChangedParams(
  566. ::_pbi::ConstantInitialized): _impl_{
  567. /*decltype(_impl_._has_bits_)*/{}
  568. , /*decltype(_impl_._cached_size_)*/{}
  569. , /*decltype(_impl_.micvolume_)*/ 0u
  570. , /*decltype(_impl_.speakervolume_)*/ 0u
  571. } {}
  572. struct CallbackBody_onMicSpeakerVolumeChangedParamsDefaultTypeInternal {
  573. PROTOBUF_CONSTEXPR CallbackBody_onMicSpeakerVolumeChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  574. ~CallbackBody_onMicSpeakerVolumeChangedParamsDefaultTypeInternal() {}
  575. union {
  576. CallbackBody_onMicSpeakerVolumeChangedParams _instance;
  577. };
  578. };
  579. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  580. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onMicSpeakerVolumeChangedParamsDefaultTypeInternal _CallbackBody_onMicSpeakerVolumeChangedParams_default_instance_;
  581. PROTOBUF_CONSTEXPR CallbackBody_onAudioDeviceStatusChangedParams::CallbackBody_onAudioDeviceStatusChangedParams(
  582. ::_pbi::ConstantInitialized): _impl_{
  583. /*decltype(_impl_._has_bits_)*/{}
  584. , /*decltype(_impl_._cached_size_)*/{}
  585. , /*decltype(_impl_.type_)*/ 0
  586. , /*decltype(_impl_.status_)*/ 0
  587. } {}
  588. struct CallbackBody_onAudioDeviceStatusChangedParamsDefaultTypeInternal {
  589. PROTOBUF_CONSTEXPR CallbackBody_onAudioDeviceStatusChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  590. ~CallbackBody_onAudioDeviceStatusChangedParamsDefaultTypeInternal() {}
  591. union {
  592. CallbackBody_onAudioDeviceStatusChangedParams _instance;
  593. };
  594. };
  595. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  596. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onAudioDeviceStatusChangedParamsDefaultTypeInternal _CallbackBody_onAudioDeviceStatusChangedParams_default_instance_;
  597. PROTOBUF_CONSTEXPR CallbackBody_onTestMicStatusChangedParams::CallbackBody_onTestMicStatusChangedParams(
  598. ::_pbi::ConstantInitialized): _impl_{
  599. /*decltype(_impl_._has_bits_)*/{}
  600. , /*decltype(_impl_._cached_size_)*/{}
  601. , /*decltype(_impl_.status_)*/ 0
  602. } {}
  603. struct CallbackBody_onTestMicStatusChangedParamsDefaultTypeInternal {
  604. PROTOBUF_CONSTEXPR CallbackBody_onTestMicStatusChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  605. ~CallbackBody_onTestMicStatusChangedParamsDefaultTypeInternal() {}
  606. union {
  607. CallbackBody_onTestMicStatusChangedParams _instance;
  608. };
  609. };
  610. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  611. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onTestMicStatusChangedParamsDefaultTypeInternal _CallbackBody_onTestMicStatusChangedParams_default_instance_;
  612. PROTOBUF_CONSTEXPR CallbackBody_onSelectedAudioDeviceChangedParams::CallbackBody_onSelectedAudioDeviceChangedParams(
  613. ::_pbi::ConstantInitialized): _impl_{
  614. /*decltype(_impl_._cached_size_)*/{}} {}
  615. struct CallbackBody_onSelectedAudioDeviceChangedParamsDefaultTypeInternal {
  616. PROTOBUF_CONSTEXPR CallbackBody_onSelectedAudioDeviceChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  617. ~CallbackBody_onSelectedAudioDeviceChangedParamsDefaultTypeInternal() {}
  618. union {
  619. CallbackBody_onSelectedAudioDeviceChangedParams _instance;
  620. };
  621. };
  622. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  623. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onSelectedAudioDeviceChangedParamsDefaultTypeInternal _CallbackBody_onSelectedAudioDeviceChangedParams_default_instance_;
  624. PROTOBUF_CONSTEXPR CallbackBody_onLiveTranscriptionStatusParams::CallbackBody_onLiveTranscriptionStatusParams(
  625. ::_pbi::ConstantInitialized): _impl_{
  626. /*decltype(_impl_._has_bits_)*/{}
  627. , /*decltype(_impl_._cached_size_)*/{}
  628. , /*decltype(_impl_.status_)*/ 0
  629. } {}
  630. struct CallbackBody_onLiveTranscriptionStatusParamsDefaultTypeInternal {
  631. PROTOBUF_CONSTEXPR CallbackBody_onLiveTranscriptionStatusParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  632. ~CallbackBody_onLiveTranscriptionStatusParamsDefaultTypeInternal() {}
  633. union {
  634. CallbackBody_onLiveTranscriptionStatusParams _instance;
  635. };
  636. };
  637. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  638. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onLiveTranscriptionStatusParamsDefaultTypeInternal _CallbackBody_onLiveTranscriptionStatusParams_default_instance_;
  639. PROTOBUF_CONSTEXPR CallbackBody_onLiveTranscriptionMsgReceivedParams::CallbackBody_onLiveTranscriptionMsgReceivedParams(
  640. ::_pbi::ConstantInitialized): _impl_{
  641. /*decltype(_impl_._has_bits_)*/{}
  642. , /*decltype(_impl_._cached_size_)*/{}
  643. , /*decltype(_impl_.ltmsg_)*/ {
  644. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  645. }
  646. , /*decltype(_impl_.user_)*/nullptr
  647. , /*decltype(_impl_.type_)*/ 0
  648. } {}
  649. struct CallbackBody_onLiveTranscriptionMsgReceivedParamsDefaultTypeInternal {
  650. PROTOBUF_CONSTEXPR CallbackBody_onLiveTranscriptionMsgReceivedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  651. ~CallbackBody_onLiveTranscriptionMsgReceivedParamsDefaultTypeInternal() {}
  652. union {
  653. CallbackBody_onLiveTranscriptionMsgReceivedParams _instance;
  654. };
  655. };
  656. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  657. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onLiveTranscriptionMsgReceivedParamsDefaultTypeInternal _CallbackBody_onLiveTranscriptionMsgReceivedParams_default_instance_;
  658. PROTOBUF_CONSTEXPR CallbackBody_onLiveTranscriptionMsgErrorParams::CallbackBody_onLiveTranscriptionMsgErrorParams(
  659. ::_pbi::ConstantInitialized): _impl_{
  660. /*decltype(_impl_._has_bits_)*/{}
  661. , /*decltype(_impl_._cached_size_)*/{}
  662. , /*decltype(_impl_.spokenlanguage_)*/nullptr
  663. , /*decltype(_impl_.transcriptlanguage_)*/nullptr} {}
  664. struct CallbackBody_onLiveTranscriptionMsgErrorParamsDefaultTypeInternal {
  665. PROTOBUF_CONSTEXPR CallbackBody_onLiveTranscriptionMsgErrorParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  666. ~CallbackBody_onLiveTranscriptionMsgErrorParamsDefaultTypeInternal() {}
  667. union {
  668. CallbackBody_onLiveTranscriptionMsgErrorParams _instance;
  669. };
  670. };
  671. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  672. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onLiveTranscriptionMsgErrorParamsDefaultTypeInternal _CallbackBody_onLiveTranscriptionMsgErrorParams_default_instance_;
  673. PROTOBUF_CONSTEXPR CallbackBody_liveTranscriptionMsgInfoParams::CallbackBody_liveTranscriptionMsgInfoParams(
  674. ::_pbi::ConstantInitialized): _impl_{
  675. /*decltype(_impl_._has_bits_)*/{}
  676. , /*decltype(_impl_._cached_size_)*/{}
  677. , /*decltype(_impl_.messageid_)*/ {
  678. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  679. }
  680. , /*decltype(_impl_.messagecontent_)*/ {
  681. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  682. }
  683. , /*decltype(_impl_.speakername_)*/ {
  684. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  685. }
  686. , /*decltype(_impl_.speakerid_)*/ {
  687. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  688. }
  689. , /*decltype(_impl_.timestamp_)*/ ::int64_t{0}
  690. , /*decltype(_impl_.messagetype_)*/ 0
  691. } {}
  692. struct CallbackBody_liveTranscriptionMsgInfoParamsDefaultTypeInternal {
  693. PROTOBUF_CONSTEXPR CallbackBody_liveTranscriptionMsgInfoParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  694. ~CallbackBody_liveTranscriptionMsgInfoParamsDefaultTypeInternal() {}
  695. union {
  696. CallbackBody_liveTranscriptionMsgInfoParams _instance;
  697. };
  698. };
  699. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  700. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_liveTranscriptionMsgInfoParamsDefaultTypeInternal _CallbackBody_liveTranscriptionMsgInfoParams_default_instance_;
  701. PROTOBUF_CONSTEXPR CallbackBody::CallbackBody(
  702. ::_pbi::ConstantInitialized): _impl_{
  703. /*decltype(_impl_._has_bits_)*/{}
  704. , /*decltype(_impl_._cached_size_)*/{}
  705. , /*decltype(_impl_.onerrorparam_)*/nullptr
  706. , /*decltype(_impl_.onuserjoinparam_)*/nullptr
  707. , /*decltype(_impl_.onuserleaveparam_)*/nullptr
  708. , /*decltype(_impl_.onuservideostatuschangedparam_)*/nullptr
  709. , /*decltype(_impl_.onuseraudiostatuschangedparam_)*/nullptr
  710. , /*decltype(_impl_.onusersharestatuschangedparam_)*/nullptr
  711. , /*decltype(_impl_.onlivestreamstatuschangedparam_)*/nullptr
  712. , /*decltype(_impl_.onuserhostchangedparam_)*/nullptr
  713. , /*decltype(_impl_.onuseractiveaudiochangedparam_)*/nullptr
  714. , /*decltype(_impl_.onchatnewmessagenotifyparam_)*/nullptr
  715. , /*decltype(_impl_.onvideosourceinitializeparam_)*/nullptr
  716. , /*decltype(_impl_.onpropertychangeparam_)*/nullptr
  717. , /*decltype(_impl_.onrawdatastatuschangedparam_)*/nullptr
  718. , /*decltype(_impl_.onusermanagerchangedparam_)*/nullptr
  719. , /*decltype(_impl_.onusernamechangedparam_)*/nullptr
  720. , /*decltype(_impl_.oncommandreceivedparam_)*/nullptr
  721. , /*decltype(_impl_.oncloudrecordingstatusparam_)*/nullptr
  722. , /*decltype(_impl_.oncameracontrolrequestresultparam_)*/nullptr
  723. , /*decltype(_impl_.oncameracontrolrequestreceivedparam_)*/nullptr
  724. , /*decltype(_impl_.oncommandchannelconnectresultparam_)*/nullptr
  725. , /*decltype(_impl_.onhostaskunmuteparam_)*/nullptr
  726. , /*decltype(_impl_.oninvitebyphonestatusparam_)*/nullptr
  727. , /*decltype(_impl_.onmulticamerastreamstatuschangedparam_)*/nullptr
  728. , /*decltype(_impl_.onmicspeakervolumechangedparam_)*/nullptr
  729. , /*decltype(_impl_.onaudiodevicestatuschangedparam_)*/nullptr
  730. , /*decltype(_impl_.ontestmicstatuschangedparam_)*/nullptr
  731. , /*decltype(_impl_.onselectedaudiodevicechangedparam_)*/nullptr
  732. , /*decltype(_impl_.onlivetranscriptionstatusparam_)*/nullptr
  733. , /*decltype(_impl_.onlivetranscriptionmsgreceivedparam_)*/nullptr
  734. , /*decltype(_impl_.onlivetranscriptionmsgerrorparam_)*/nullptr
  735. , /*decltype(_impl_.onchatmsgdeletenotificationparam_)*/nullptr
  736. , /*decltype(_impl_.livetranscriptionmsginfoparam_)*/nullptr
  737. , /*decltype(_impl_.msgtype_)*/ 0
  738. } {}
  739. struct CallbackBodyDefaultTypeInternal {
  740. PROTOBUF_CONSTEXPR CallbackBodyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  741. ~CallbackBodyDefaultTypeInternal() {}
  742. union {
  743. CallbackBody _instance;
  744. };
  745. };
  746. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  747. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBodyDefaultTypeInternal _CallbackBody_default_instance_;
  748. PROTOBUF_CONSTEXPR CreateVideoSDKObjParam::CreateVideoSDKObjParam(
  749. ::_pbi::ConstantInitialized): _impl_{
  750. /*decltype(_impl_._has_bits_)*/{}
  751. , /*decltype(_impl_._cached_size_)*/{}
  752. , /*decltype(_impl_.path_)*/ {
  753. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  754. }
  755. } {}
  756. struct CreateVideoSDKObjParamDefaultTypeInternal {
  757. PROTOBUF_CONSTEXPR CreateVideoSDKObjParamDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  758. ~CreateVideoSDKObjParamDefaultTypeInternal() {}
  759. union {
  760. CreateVideoSDKObjParam _instance;
  761. };
  762. };
  763. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  764. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateVideoSDKObjParamDefaultTypeInternal _CreateVideoSDKObjParam_default_instance_;
  765. PROTOBUF_CONSTEXPR VideoSDKInitParams::VideoSDKInitParams(
  766. ::_pbi::ConstantInitialized): _impl_{
  767. /*decltype(_impl_._has_bits_)*/{}
  768. , /*decltype(_impl_._cached_size_)*/{}
  769. , /*decltype(_impl_.domain_)*/ {
  770. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  771. }
  772. , /*decltype(_impl_.logfileprefix_)*/ {
  773. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  774. }
  775. , /*decltype(_impl_.speakertestfilepath_)*/ {
  776. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  777. }
  778. , /*decltype(_impl_.enablelog_)*/ false
  779. , /*decltype(_impl_.audiorawdatamemorymode_)*/ 0
  780. , /*decltype(_impl_.zn_videorawdatamemorymode_)*/ 0
  781. , /*decltype(_impl_.zn_sharerawdatamemorymode_)*/ 0
  782. } {}
  783. struct VideoSDKInitParamsDefaultTypeInternal {
  784. PROTOBUF_CONSTEXPR VideoSDKInitParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  785. ~VideoSDKInitParamsDefaultTypeInternal() {}
  786. union {
  787. VideoSDKInitParams _instance;
  788. };
  789. };
  790. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  791. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoSDKInitParamsDefaultTypeInternal _VideoSDKInitParams_default_instance_;
  792. PROTOBUF_CONSTEXPR VideoSDKSessionContext::VideoSDKSessionContext(
  793. ::_pbi::ConstantInitialized): _impl_{
  794. /*decltype(_impl_._has_bits_)*/{}
  795. , /*decltype(_impl_._cached_size_)*/{}
  796. , /*decltype(_impl_.sessionname_)*/ {
  797. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  798. }
  799. , /*decltype(_impl_.sessionpassword_)*/ {
  800. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  801. }
  802. , /*decltype(_impl_.token_)*/ {
  803. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  804. }
  805. , /*decltype(_impl_.username_)*/ {
  806. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  807. }
  808. , /*decltype(_impl_.localvideoon_)*/ false
  809. , /*decltype(_impl_.connect_)*/ false
  810. , /*decltype(_impl_.mute_)*/ false
  811. , /*decltype(_impl_.preprocessor_)*/ false
  812. , /*decltype(_impl_.externalvideosource_)*/ false
  813. , /*decltype(_impl_.sessionidletimeoutmins_)*/ 0u
  814. } {}
  815. struct VideoSDKSessionContextDefaultTypeInternal {
  816. PROTOBUF_CONSTEXPR VideoSDKSessionContextDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  817. ~VideoSDKSessionContextDefaultTypeInternal() {}
  818. union {
  819. VideoSDKSessionContext _instance;
  820. };
  821. };
  822. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  823. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoSDKSessionContextDefaultTypeInternal _VideoSDKSessionContext_default_instance_;
  824. PROTOBUF_CONSTEXPR LeaveSessionParams::LeaveSessionParams(
  825. ::_pbi::ConstantInitialized): _impl_{
  826. /*decltype(_impl_._has_bits_)*/{}
  827. , /*decltype(_impl_._cached_size_)*/{}
  828. , /*decltype(_impl_.zn_bend_)*/ false
  829. } {}
  830. struct LeaveSessionParamsDefaultTypeInternal {
  831. PROTOBUF_CONSTEXPR LeaveSessionParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  832. ~LeaveSessionParamsDefaultTypeInternal() {}
  833. union {
  834. LeaveSessionParams _instance;
  835. };
  836. };
  837. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  838. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LeaveSessionParamsDefaultTypeInternal _LeaveSessionParams_default_instance_;
  839. PROTOBUF_CONSTEXPR SessionPasswordParams::SessionPasswordParams(
  840. ::_pbi::ConstantInitialized): _impl_{
  841. /*decltype(_impl_._has_bits_)*/{}
  842. , /*decltype(_impl_._cached_size_)*/{}
  843. , /*decltype(_impl_.zn_password_)*/ {
  844. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  845. }
  846. } {}
  847. struct SessionPasswordParamsDefaultTypeInternal {
  848. PROTOBUF_CONSTEXPR SessionPasswordParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  849. ~SessionPasswordParamsDefaultTypeInternal() {}
  850. union {
  851. SessionPasswordParams _instance;
  852. };
  853. };
  854. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  855. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SessionPasswordParamsDefaultTypeInternal _SessionPasswordParams_default_instance_;
  856. PROTOBUF_CONSTEXPR MuteAudioParams::MuteAudioParams(
  857. ::_pbi::ConstantInitialized): _impl_{
  858. /*decltype(_impl_._has_bits_)*/{}
  859. , /*decltype(_impl_._cached_size_)*/{}
  860. , /*decltype(_impl_.user_)*/nullptr} {}
  861. struct MuteAudioParamsDefaultTypeInternal {
  862. PROTOBUF_CONSTEXPR MuteAudioParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  863. ~MuteAudioParamsDefaultTypeInternal() {}
  864. union {
  865. MuteAudioParams _instance;
  866. };
  867. };
  868. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  869. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MuteAudioParamsDefaultTypeInternal _MuteAudioParams_default_instance_;
  870. PROTOBUF_CONSTEXPR UnMuteAudioParams::UnMuteAudioParams(
  871. ::_pbi::ConstantInitialized): _impl_{
  872. /*decltype(_impl_._has_bits_)*/{}
  873. , /*decltype(_impl_._cached_size_)*/{}
  874. , /*decltype(_impl_.user_)*/nullptr} {}
  875. struct UnMuteAudioParamsDefaultTypeInternal {
  876. PROTOBUF_CONSTEXPR UnMuteAudioParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  877. ~UnMuteAudioParamsDefaultTypeInternal() {}
  878. union {
  879. UnMuteAudioParams _instance;
  880. };
  881. };
  882. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  883. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnMuteAudioParamsDefaultTypeInternal _UnMuteAudioParams_default_instance_;
  884. PROTOBUF_CONSTEXPR SetSpeakerParams::SetSpeakerParams(
  885. ::_pbi::ConstantInitialized): _impl_{
  886. /*decltype(_impl_._has_bits_)*/{}
  887. , /*decltype(_impl_._cached_size_)*/{}
  888. , /*decltype(_impl_.zn_speaker_)*/ false
  889. } {}
  890. struct SetSpeakerParamsDefaultTypeInternal {
  891. PROTOBUF_CONSTEXPR SetSpeakerParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  892. ~SetSpeakerParamsDefaultTypeInternal() {}
  893. union {
  894. SetSpeakerParams _instance;
  895. };
  896. };
  897. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  898. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetSpeakerParamsDefaultTypeInternal _SetSpeakerParams_default_instance_;
  899. PROTOBUF_CONSTEXPR SelectSpeakerParams::SelectSpeakerParams(
  900. ::_pbi::ConstantInitialized): _impl_{
  901. /*decltype(_impl_._has_bits_)*/{}
  902. , /*decltype(_impl_._cached_size_)*/{}
  903. , /*decltype(_impl_.zn_deviceid_)*/ {
  904. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  905. }
  906. , /*decltype(_impl_.zn_devicename_)*/ {
  907. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  908. }
  909. } {}
  910. struct SelectSpeakerParamsDefaultTypeInternal {
  911. PROTOBUF_CONSTEXPR SelectSpeakerParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  912. ~SelectSpeakerParamsDefaultTypeInternal() {}
  913. union {
  914. SelectSpeakerParams _instance;
  915. };
  916. };
  917. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  918. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SelectSpeakerParamsDefaultTypeInternal _SelectSpeakerParams_default_instance_;
  919. PROTOBUF_CONSTEXPR SelectMicParams::SelectMicParams(
  920. ::_pbi::ConstantInitialized): _impl_{
  921. /*decltype(_impl_._has_bits_)*/{}
  922. , /*decltype(_impl_._cached_size_)*/{}
  923. , /*decltype(_impl_.zn_deviceid_)*/ {
  924. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  925. }
  926. , /*decltype(_impl_.zn_devicename_)*/ {
  927. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  928. }
  929. } {}
  930. struct SelectMicParamsDefaultTypeInternal {
  931. PROTOBUF_CONSTEXPR SelectMicParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  932. ~SelectMicParamsDefaultTypeInternal() {}
  933. union {
  934. SelectMicParams _instance;
  935. };
  936. };
  937. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  938. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SelectMicParamsDefaultTypeInternal _SelectMicParams_default_instance_;
  939. PROTOBUF_CONSTEXPR SendChatToUserParams::SendChatToUserParams(
  940. ::_pbi::ConstantInitialized): _impl_{
  941. /*decltype(_impl_._has_bits_)*/{}
  942. , /*decltype(_impl_._cached_size_)*/{}
  943. , /*decltype(_impl_.zn_msgcontent_)*/ {
  944. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  945. }
  946. , /*decltype(_impl_.user_)*/nullptr} {}
  947. struct SendChatToUserParamsDefaultTypeInternal {
  948. PROTOBUF_CONSTEXPR SendChatToUserParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  949. ~SendChatToUserParamsDefaultTypeInternal() {}
  950. union {
  951. SendChatToUserParams _instance;
  952. };
  953. };
  954. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  955. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SendChatToUserParamsDefaultTypeInternal _SendChatToUserParams_default_instance_;
  956. PROTOBUF_CONSTEXPR SendChatToAllParams::SendChatToAllParams(
  957. ::_pbi::ConstantInitialized): _impl_{
  958. /*decltype(_impl_._has_bits_)*/{}
  959. , /*decltype(_impl_._cached_size_)*/{}
  960. , /*decltype(_impl_.zn_msgcontent_)*/ {
  961. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  962. }
  963. } {}
  964. struct SendChatToAllParamsDefaultTypeInternal {
  965. PROTOBUF_CONSTEXPR SendChatToAllParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  966. ~SendChatToAllParamsDefaultTypeInternal() {}
  967. union {
  968. SendChatToAllParams _instance;
  969. };
  970. };
  971. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  972. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SendChatToAllParamsDefaultTypeInternal _SendChatToAllParams_default_instance_;
  973. PROTOBUF_CONSTEXPR StartLiveStreamParams::StartLiveStreamParams(
  974. ::_pbi::ConstantInitialized): _impl_{
  975. /*decltype(_impl_._has_bits_)*/{}
  976. , /*decltype(_impl_._cached_size_)*/{}
  977. , /*decltype(_impl_.zn_streamurl_)*/ {
  978. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  979. }
  980. , /*decltype(_impl_.zn_key_)*/ {
  981. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  982. }
  983. , /*decltype(_impl_.zn_broadcasturl_)*/ {
  984. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  985. }
  986. } {}
  987. struct StartLiveStreamParamsDefaultTypeInternal {
  988. PROTOBUF_CONSTEXPR StartLiveStreamParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  989. ~StartLiveStreamParamsDefaultTypeInternal() {}
  990. union {
  991. StartLiveStreamParams _instance;
  992. };
  993. };
  994. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  995. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartLiveStreamParamsDefaultTypeInternal _StartLiveStreamParams_default_instance_;
  996. PROTOBUF_CONSTEXPR StartShareViewParams::StartShareViewParams(
  997. ::_pbi::ConstantInitialized): _impl_{
  998. /*decltype(_impl_._has_bits_)*/{}
  999. , /*decltype(_impl_._cached_size_)*/{}
  1000. , /*decltype(_impl_.zn_handle_)*/ {
  1001. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1002. }
  1003. , /*decltype(_impl_.iswithdeviceaudio_)*/ false
  1004. , /*decltype(_impl_.isoptimizeforsharedvideo_)*/ false
  1005. } {}
  1006. struct StartShareViewParamsDefaultTypeInternal {
  1007. PROTOBUF_CONSTEXPR StartShareViewParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1008. ~StartShareViewParamsDefaultTypeInternal() {}
  1009. union {
  1010. StartShareViewParams _instance;
  1011. };
  1012. };
  1013. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1014. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartShareViewParamsDefaultTypeInternal _StartShareViewParams_default_instance_;
  1015. PROTOBUF_CONSTEXPR StartShareScreenParams::StartShareScreenParams(
  1016. ::_pbi::ConstantInitialized): _impl_{
  1017. /*decltype(_impl_._has_bits_)*/{}
  1018. , /*decltype(_impl_._cached_size_)*/{}
  1019. , /*decltype(_impl_.zn_monitorid_)*/ {
  1020. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1021. }
  1022. , /*decltype(_impl_.iswithdeviceaudio_)*/ false
  1023. , /*decltype(_impl_.isoptimizeforsharedvideo_)*/ false
  1024. } {}
  1025. struct StartShareScreenParamsDefaultTypeInternal {
  1026. PROTOBUF_CONSTEXPR StartShareScreenParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1027. ~StartShareScreenParamsDefaultTypeInternal() {}
  1028. union {
  1029. StartShareScreenParams _instance;
  1030. };
  1031. };
  1032. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1033. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartShareScreenParamsDefaultTypeInternal _StartShareScreenParams_default_instance_;
  1034. PROTOBUF_CONSTEXPR LockShareParams::LockShareParams(
  1035. ::_pbi::ConstantInitialized): _impl_{
  1036. /*decltype(_impl_._has_bits_)*/{}
  1037. , /*decltype(_impl_._cached_size_)*/{}
  1038. , /*decltype(_impl_.zn_block_)*/ false
  1039. } {}
  1040. struct LockShareParamsDefaultTypeInternal {
  1041. PROTOBUF_CONSTEXPR LockShareParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1042. ~LockShareParamsDefaultTypeInternal() {}
  1043. union {
  1044. LockShareParams _instance;
  1045. };
  1046. };
  1047. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1048. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LockShareParamsDefaultTypeInternal _LockShareParams_default_instance_;
  1049. PROTOBUF_CONSTEXPR EnableShareDeviceAudioParams::EnableShareDeviceAudioParams(
  1050. ::_pbi::ConstantInitialized): _impl_{
  1051. /*decltype(_impl_._has_bits_)*/{}
  1052. , /*decltype(_impl_._cached_size_)*/{}
  1053. , /*decltype(_impl_.enable_)*/ false
  1054. } {}
  1055. struct EnableShareDeviceAudioParamsDefaultTypeInternal {
  1056. PROTOBUF_CONSTEXPR EnableShareDeviceAudioParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1057. ~EnableShareDeviceAudioParamsDefaultTypeInternal() {}
  1058. union {
  1059. EnableShareDeviceAudioParams _instance;
  1060. };
  1061. };
  1062. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1063. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnableShareDeviceAudioParamsDefaultTypeInternal _EnableShareDeviceAudioParams_default_instance_;
  1064. PROTOBUF_CONSTEXPR EnableOptimizeForSharedVideoParams::EnableOptimizeForSharedVideoParams(
  1065. ::_pbi::ConstantInitialized): _impl_{
  1066. /*decltype(_impl_._has_bits_)*/{}
  1067. , /*decltype(_impl_._cached_size_)*/{}
  1068. , /*decltype(_impl_.enable_)*/ false
  1069. } {}
  1070. struct EnableOptimizeForSharedVideoParamsDefaultTypeInternal {
  1071. PROTOBUF_CONSTEXPR EnableOptimizeForSharedVideoParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1072. ~EnableOptimizeForSharedVideoParamsDefaultTypeInternal() {}
  1073. union {
  1074. EnableOptimizeForSharedVideoParams _instance;
  1075. };
  1076. };
  1077. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1078. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnableOptimizeForSharedVideoParamsDefaultTypeInternal _EnableOptimizeForSharedVideoParams_default_instance_;
  1079. PROTOBUF_CONSTEXPR StartShare2ndCameraParams::StartShare2ndCameraParams(
  1080. ::_pbi::ConstantInitialized): _impl_{
  1081. /*decltype(_impl_._has_bits_)*/{}
  1082. , /*decltype(_impl_._cached_size_)*/{}
  1083. , /*decltype(_impl_.zn_cameraid_)*/ {
  1084. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1085. }
  1086. } {}
  1087. struct StartShare2ndCameraParamsDefaultTypeInternal {
  1088. PROTOBUF_CONSTEXPR StartShare2ndCameraParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1089. ~StartShare2ndCameraParamsDefaultTypeInternal() {}
  1090. union {
  1091. StartShare2ndCameraParams _instance;
  1092. };
  1093. };
  1094. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1095. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartShare2ndCameraParamsDefaultTypeInternal _StartShare2ndCameraParams_default_instance_;
  1096. PROTOBUF_CONSTEXPR SubscribeMyShareCameraParams::SubscribeMyShareCameraParams(
  1097. ::_pbi::ConstantInitialized): _impl_{
  1098. /*decltype(_impl_._has_bits_)*/{}
  1099. , /*decltype(_impl_._cached_size_)*/{}
  1100. , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
  1101. } {}
  1102. struct SubscribeMyShareCameraParamsDefaultTypeInternal {
  1103. PROTOBUF_CONSTEXPR SubscribeMyShareCameraParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1104. ~SubscribeMyShareCameraParamsDefaultTypeInternal() {}
  1105. union {
  1106. SubscribeMyShareCameraParams _instance;
  1107. };
  1108. };
  1109. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1110. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeMyShareCameraParamsDefaultTypeInternal _SubscribeMyShareCameraParams_default_instance_;
  1111. PROTOBUF_CONSTEXPR GetRemoteUsersParams::GetRemoteUsersParams(
  1112. ::_pbi::ConstantInitialized): _impl_{
  1113. /*decltype(_impl_._has_bits_)*/{}
  1114. , /*decltype(_impl_._cached_size_)*/{}
  1115. , /*decltype(_impl_.zn_options_)*/ ::int64_t{0}
  1116. } {}
  1117. struct GetRemoteUsersParamsDefaultTypeInternal {
  1118. PROTOBUF_CONSTEXPR GetRemoteUsersParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1119. ~GetRemoteUsersParamsDefaultTypeInternal() {}
  1120. union {
  1121. GetRemoteUsersParams _instance;
  1122. };
  1123. };
  1124. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1125. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRemoteUsersParamsDefaultTypeInternal _GetRemoteUsersParams_default_instance_;
  1126. PROTOBUF_CONSTEXPR GetMyInfoParams::GetMyInfoParams(
  1127. ::_pbi::ConstantInitialized): _impl_{
  1128. /*decltype(_impl_._has_bits_)*/{}
  1129. , /*decltype(_impl_._cached_size_)*/{}
  1130. , /*decltype(_impl_.zn_options_)*/ ::int64_t{0}
  1131. } {}
  1132. struct GetMyInfoParamsDefaultTypeInternal {
  1133. PROTOBUF_CONSTEXPR GetMyInfoParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1134. ~GetMyInfoParamsDefaultTypeInternal() {}
  1135. union {
  1136. GetMyInfoParams _instance;
  1137. };
  1138. };
  1139. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1140. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetMyInfoParamsDefaultTypeInternal _GetMyInfoParams_default_instance_;
  1141. PROTOBUF_CONSTEXPR ChangeNameParams::ChangeNameParams(
  1142. ::_pbi::ConstantInitialized): _impl_{
  1143. /*decltype(_impl_._has_bits_)*/{}
  1144. , /*decltype(_impl_._cached_size_)*/{}
  1145. , /*decltype(_impl_.zn_name_)*/ {
  1146. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1147. }
  1148. , /*decltype(_impl_.user_)*/nullptr} {}
  1149. struct ChangeNameParamsDefaultTypeInternal {
  1150. PROTOBUF_CONSTEXPR ChangeNameParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1151. ~ChangeNameParamsDefaultTypeInternal() {}
  1152. union {
  1153. ChangeNameParams _instance;
  1154. };
  1155. };
  1156. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1157. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ChangeNameParamsDefaultTypeInternal _ChangeNameParams_default_instance_;
  1158. PROTOBUF_CONSTEXPR MakeHostParams::MakeHostParams(
  1159. ::_pbi::ConstantInitialized): _impl_{
  1160. /*decltype(_impl_._has_bits_)*/{}
  1161. , /*decltype(_impl_._cached_size_)*/{}
  1162. , /*decltype(_impl_.zn_name_)*/ {
  1163. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1164. }
  1165. , /*decltype(_impl_.user_)*/nullptr} {}
  1166. struct MakeHostParamsDefaultTypeInternal {
  1167. PROTOBUF_CONSTEXPR MakeHostParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1168. ~MakeHostParamsDefaultTypeInternal() {}
  1169. union {
  1170. MakeHostParams _instance;
  1171. };
  1172. };
  1173. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1174. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MakeHostParamsDefaultTypeInternal _MakeHostParams_default_instance_;
  1175. PROTOBUF_CONSTEXPR MakeManagerParams::MakeManagerParams(
  1176. ::_pbi::ConstantInitialized): _impl_{
  1177. /*decltype(_impl_._has_bits_)*/{}
  1178. , /*decltype(_impl_._cached_size_)*/{}
  1179. , /*decltype(_impl_.user_)*/nullptr} {}
  1180. struct MakeManagerParamsDefaultTypeInternal {
  1181. PROTOBUF_CONSTEXPR MakeManagerParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1182. ~MakeManagerParamsDefaultTypeInternal() {}
  1183. union {
  1184. MakeManagerParams _instance;
  1185. };
  1186. };
  1187. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1188. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MakeManagerParamsDefaultTypeInternal _MakeManagerParams_default_instance_;
  1189. PROTOBUF_CONSTEXPR RevokeManagerParams::RevokeManagerParams(
  1190. ::_pbi::ConstantInitialized): _impl_{
  1191. /*decltype(_impl_._has_bits_)*/{}
  1192. , /*decltype(_impl_._cached_size_)*/{}
  1193. , /*decltype(_impl_.user_)*/nullptr} {}
  1194. struct RevokeManagerParamsDefaultTypeInternal {
  1195. PROTOBUF_CONSTEXPR RevokeManagerParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1196. ~RevokeManagerParamsDefaultTypeInternal() {}
  1197. union {
  1198. RevokeManagerParams _instance;
  1199. };
  1200. };
  1201. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1202. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RevokeManagerParamsDefaultTypeInternal _RevokeManagerParams_default_instance_;
  1203. PROTOBUF_CONSTEXPR RemoveUserParams::RemoveUserParams(
  1204. ::_pbi::ConstantInitialized): _impl_{
  1205. /*decltype(_impl_._has_bits_)*/{}
  1206. , /*decltype(_impl_._cached_size_)*/{}
  1207. , /*decltype(_impl_.user_)*/nullptr} {}
  1208. struct RemoveUserParamsDefaultTypeInternal {
  1209. PROTOBUF_CONSTEXPR RemoveUserParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1210. ~RemoveUserParamsDefaultTypeInternal() {}
  1211. union {
  1212. RemoveUserParams _instance;
  1213. };
  1214. };
  1215. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1216. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoveUserParamsDefaultTypeInternal _RemoveUserParams_default_instance_;
  1217. PROTOBUF_CONSTEXPR RotateMyVideoParams::RotateMyVideoParams(
  1218. ::_pbi::ConstantInitialized): _impl_{
  1219. /*decltype(_impl_._has_bits_)*/{}
  1220. , /*decltype(_impl_._cached_size_)*/{}
  1221. , /*decltype(_impl_.zn_rotation_)*/ 0
  1222. } {}
  1223. struct RotateMyVideoParamsDefaultTypeInternal {
  1224. PROTOBUF_CONSTEXPR RotateMyVideoParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1225. ~RotateMyVideoParamsDefaultTypeInternal() {}
  1226. union {
  1227. RotateMyVideoParams _instance;
  1228. };
  1229. };
  1230. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1231. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RotateMyVideoParamsDefaultTypeInternal _RotateMyVideoParams_default_instance_;
  1232. PROTOBUF_CONSTEXPR SelectCameraParams::SelectCameraParams(
  1233. ::_pbi::ConstantInitialized): _impl_{
  1234. /*decltype(_impl_._has_bits_)*/{}
  1235. , /*decltype(_impl_._cached_size_)*/{}
  1236. , /*decltype(_impl_.zn_deviceid_)*/ {
  1237. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1238. }
  1239. } {}
  1240. struct SelectCameraParamsDefaultTypeInternal {
  1241. PROTOBUF_CONSTEXPR SelectCameraParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1242. ~SelectCameraParamsDefaultTypeInternal() {}
  1243. union {
  1244. SelectCameraParams _instance;
  1245. };
  1246. };
  1247. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1248. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SelectCameraParamsDefaultTypeInternal _SelectCameraParams_default_instance_;
  1249. PROTOBUF_CONSTEXPR CreateRenderParams::CreateRenderParams(
  1250. ::_pbi::ConstantInitialized): _impl_{
  1251. /*decltype(_impl_._has_bits_)*/{}
  1252. , /*decltype(_impl_._cached_size_)*/{}
  1253. , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
  1254. } {}
  1255. struct CreateRenderParamsDefaultTypeInternal {
  1256. PROTOBUF_CONSTEXPR CreateRenderParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1257. ~CreateRenderParamsDefaultTypeInternal() {}
  1258. union {
  1259. CreateRenderParams _instance;
  1260. };
  1261. };
  1262. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1263. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateRenderParamsDefaultTypeInternal _CreateRenderParams_default_instance_;
  1264. PROTOBUF_CONSTEXPR DestroyRendererParams::DestroyRendererParams(
  1265. ::_pbi::ConstantInitialized): _impl_{
  1266. /*decltype(_impl_._has_bits_)*/{}
  1267. , /*decltype(_impl_._cached_size_)*/{}
  1268. , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
  1269. } {}
  1270. struct DestroyRendererParamsDefaultTypeInternal {
  1271. PROTOBUF_CONSTEXPR DestroyRendererParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1272. ~DestroyRendererParamsDefaultTypeInternal() {}
  1273. union {
  1274. DestroyRendererParams _instance;
  1275. };
  1276. };
  1277. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1278. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DestroyRendererParamsDefaultTypeInternal _DestroyRendererParams_default_instance_;
  1279. PROTOBUF_CONSTEXPR SubscribeParams::SubscribeParams(
  1280. ::_pbi::ConstantInitialized): _impl_{
  1281. /*decltype(_impl_._has_bits_)*/{}
  1282. , /*decltype(_impl_._cached_size_)*/{}
  1283. , /*decltype(_impl_.zn_user_)*/nullptr
  1284. , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
  1285. , /*decltype(_impl_.zn_type_)*/ 0
  1286. , /*decltype(_impl_.zn_resolution_)*/ 0
  1287. } {}
  1288. struct SubscribeParamsDefaultTypeInternal {
  1289. PROTOBUF_CONSTEXPR SubscribeParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1290. ~SubscribeParamsDefaultTypeInternal() {}
  1291. union {
  1292. SubscribeParams _instance;
  1293. };
  1294. };
  1295. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1296. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeParamsDefaultTypeInternal _SubscribeParams_default_instance_;
  1297. PROTOBUF_CONSTEXPR UnSubscribeParams::UnSubscribeParams(
  1298. ::_pbi::ConstantInitialized): _impl_{
  1299. /*decltype(_impl_._has_bits_)*/{}
  1300. , /*decltype(_impl_._cached_size_)*/{}
  1301. , /*decltype(_impl_.zn_user_)*/nullptr
  1302. , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
  1303. , /*decltype(_impl_.zn_type_)*/ 0
  1304. } {}
  1305. struct UnSubscribeParamsDefaultTypeInternal {
  1306. PROTOBUF_CONSTEXPR UnSubscribeParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1307. ~UnSubscribeParamsDefaultTypeInternal() {}
  1308. union {
  1309. UnSubscribeParams _instance;
  1310. };
  1311. };
  1312. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1313. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnSubscribeParamsDefaultTypeInternal _UnSubscribeParams_default_instance_;
  1314. PROTOBUF_CONSTEXPR SubscribeToSharedComputerAudioParams::SubscribeToSharedComputerAudioParams(
  1315. ::_pbi::ConstantInitialized): _impl_{
  1316. /*decltype(_impl_._has_bits_)*/{}
  1317. , /*decltype(_impl_._cached_size_)*/{}
  1318. , /*decltype(_impl_.zn_user_)*/nullptr} {}
  1319. struct SubscribeToSharedComputerAudioParamsDefaultTypeInternal {
  1320. PROTOBUF_CONSTEXPR SubscribeToSharedComputerAudioParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1321. ~SubscribeToSharedComputerAudioParamsDefaultTypeInternal() {}
  1322. union {
  1323. SubscribeToSharedComputerAudioParams _instance;
  1324. };
  1325. };
  1326. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1327. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeToSharedComputerAudioParamsDefaultTypeInternal _SubscribeToSharedComputerAudioParams_default_instance_;
  1328. PROTOBUF_CONSTEXPR UnsubscribeToSharedComputerAudioParams::UnsubscribeToSharedComputerAudioParams(
  1329. ::_pbi::ConstantInitialized): _impl_{
  1330. /*decltype(_impl_._has_bits_)*/{}
  1331. , /*decltype(_impl_._cached_size_)*/{}
  1332. , /*decltype(_impl_.zn_user_)*/nullptr} {}
  1333. struct UnsubscribeToSharedComputerAudioParamsDefaultTypeInternal {
  1334. PROTOBUF_CONSTEXPR UnsubscribeToSharedComputerAudioParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1335. ~UnsubscribeToSharedComputerAudioParamsDefaultTypeInternal() {}
  1336. union {
  1337. UnsubscribeToSharedComputerAudioParams _instance;
  1338. };
  1339. };
  1340. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1341. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnsubscribeToSharedComputerAudioParamsDefaultTypeInternal _UnsubscribeToSharedComputerAudioParams_default_instance_;
  1342. PROTOBUF_CONSTEXPR SubscribeMultiCameraStreamParams::SubscribeMultiCameraStreamParams(
  1343. ::_pbi::ConstantInitialized): _impl_{
  1344. /*decltype(_impl_._has_bits_)*/{}
  1345. , /*decltype(_impl_._cached_size_)*/{}
  1346. , /*decltype(_impl_.zn_user_)*/nullptr
  1347. , /*decltype(_impl_.camerastreamid_)*/ ::int64_t{0}
  1348. , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
  1349. , /*decltype(_impl_.zn_resolution_)*/ 0
  1350. } {}
  1351. struct SubscribeMultiCameraStreamParamsDefaultTypeInternal {
  1352. PROTOBUF_CONSTEXPR SubscribeMultiCameraStreamParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1353. ~SubscribeMultiCameraStreamParamsDefaultTypeInternal() {}
  1354. union {
  1355. SubscribeMultiCameraStreamParams _instance;
  1356. };
  1357. };
  1358. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1359. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeMultiCameraStreamParamsDefaultTypeInternal _SubscribeMultiCameraStreamParams_default_instance_;
  1360. PROTOBUF_CONSTEXPR UnSubscribeMultiCameraStreamParams::UnSubscribeMultiCameraStreamParams(
  1361. ::_pbi::ConstantInitialized): _impl_{
  1362. /*decltype(_impl_._has_bits_)*/{}
  1363. , /*decltype(_impl_._cached_size_)*/{}
  1364. , /*decltype(_impl_.zn_user_)*/nullptr
  1365. , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
  1366. , /*decltype(_impl_.camerastreamid_)*/ ::int64_t{0}
  1367. } {}
  1368. struct UnSubscribeMultiCameraStreamParamsDefaultTypeInternal {
  1369. PROTOBUF_CONSTEXPR UnSubscribeMultiCameraStreamParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1370. ~UnSubscribeMultiCameraStreamParamsDefaultTypeInternal() {}
  1371. union {
  1372. UnSubscribeMultiCameraStreamParams _instance;
  1373. };
  1374. };
  1375. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1376. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnSubscribeMultiCameraStreamParamsDefaultTypeInternal _UnSubscribeMultiCameraStreamParams_default_instance_;
  1377. PROTOBUF_CONSTEXPR SetRawDataResolutionParams::SetRawDataResolutionParams(
  1378. ::_pbi::ConstantInitialized): _impl_{
  1379. /*decltype(_impl_._has_bits_)*/{}
  1380. , /*decltype(_impl_._cached_size_)*/{}
  1381. , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
  1382. , /*decltype(_impl_.zn_resolution_)*/ 0
  1383. } {}
  1384. struct SetRawDataResolutionParamsDefaultTypeInternal {
  1385. PROTOBUF_CONSTEXPR SetRawDataResolutionParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1386. ~SetRawDataResolutionParamsDefaultTypeInternal() {}
  1387. union {
  1388. SetRawDataResolutionParams _instance;
  1389. };
  1390. };
  1391. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1392. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetRawDataResolutionParamsDefaultTypeInternal _SetRawDataResolutionParams_default_instance_;
  1393. PROTOBUF_CONSTEXPR GetResolutionParams::GetResolutionParams(
  1394. ::_pbi::ConstantInitialized): _impl_{
  1395. /*decltype(_impl_._has_bits_)*/{}
  1396. , /*decltype(_impl_._cached_size_)*/{}
  1397. , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
  1398. } {}
  1399. struct GetResolutionParamsDefaultTypeInternal {
  1400. PROTOBUF_CONSTEXPR GetResolutionParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1401. ~GetResolutionParamsDefaultTypeInternal() {}
  1402. union {
  1403. GetResolutionParams _instance;
  1404. };
  1405. };
  1406. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1407. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetResolutionParamsDefaultTypeInternal _GetResolutionParams_default_instance_;
  1408. PROTOBUF_CONSTEXPR GetRawDataTypeParams::GetRawDataTypeParams(
  1409. ::_pbi::ConstantInitialized): _impl_{
  1410. /*decltype(_impl_._has_bits_)*/{}
  1411. , /*decltype(_impl_._cached_size_)*/{}
  1412. , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
  1413. } {}
  1414. struct GetRawDataTypeParamsDefaultTypeInternal {
  1415. PROTOBUF_CONSTEXPR GetRawDataTypeParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1416. ~GetRawDataTypeParamsDefaultTypeInternal() {}
  1417. union {
  1418. GetRawDataTypeParams _instance;
  1419. };
  1420. };
  1421. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1422. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRawDataTypeParamsDefaultTypeInternal _GetRawDataTypeParams_default_instance_;
  1423. PROTOBUF_CONSTEXPR sendVideoFrameParams::sendVideoFrameParams(
  1424. ::_pbi::ConstantInitialized): _impl_{
  1425. /*decltype(_impl_._has_bits_)*/{}
  1426. , /*decltype(_impl_._cached_size_)*/{}
  1427. , /*decltype(_impl_.framebuffer_)*/ {
  1428. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1429. }
  1430. , /*decltype(_impl_.width_)*/ 0
  1431. , /*decltype(_impl_.height_)*/ 0
  1432. , /*decltype(_impl_.framelength_)*/ 0
  1433. , /*decltype(_impl_.rotaion_)*/ 0
  1434. } {}
  1435. struct sendVideoFrameParamsDefaultTypeInternal {
  1436. PROTOBUF_CONSTEXPR sendVideoFrameParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1437. ~sendVideoFrameParamsDefaultTypeInternal() {}
  1438. union {
  1439. sendVideoFrameParams _instance;
  1440. };
  1441. };
  1442. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1443. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 sendVideoFrameParamsDefaultTypeInternal _sendVideoFrameParams_default_instance_;
  1444. PROTOBUF_CONSTEXPR CameraInfos::CameraInfos(
  1445. ::_pbi::ConstantInitialized): _impl_{
  1446. /*decltype(_impl_._has_bits_)*/{}
  1447. , /*decltype(_impl_._cached_size_)*/{}
  1448. , /*decltype(_impl_.deviceid_)*/ {
  1449. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1450. }
  1451. , /*decltype(_impl_.devicename_)*/ {
  1452. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1453. }
  1454. , /*decltype(_impl_.isselecteddevice_)*/ false
  1455. , /*decltype(_impl_.isselectedasmulticamera_)*/ false
  1456. , /*decltype(_impl_.isrunningasmulticamera_)*/ false
  1457. } {}
  1458. struct CameraInfosDefaultTypeInternal {
  1459. PROTOBUF_CONSTEXPR CameraInfosDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1460. ~CameraInfosDefaultTypeInternal() {}
  1461. union {
  1462. CameraInfos _instance;
  1463. };
  1464. };
  1465. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1466. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CameraInfosDefaultTypeInternal _CameraInfos_default_instance_;
  1467. PROTOBUF_CONSTEXPR GetCameraList::GetCameraList(
  1468. ::_pbi::ConstantInitialized): _impl_{
  1469. /*decltype(_impl_.camerainfo_)*/{}
  1470. , /*decltype(_impl_._cached_size_)*/{}} {}
  1471. struct GetCameraListDefaultTypeInternal {
  1472. PROTOBUF_CONSTEXPR GetCameraListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1473. ~GetCameraListDefaultTypeInternal() {}
  1474. union {
  1475. GetCameraList _instance;
  1476. };
  1477. };
  1478. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1479. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetCameraListDefaultTypeInternal _GetCameraList_default_instance_;
  1480. PROTOBUF_CONSTEXPR MultiCameraStreamInfos::MultiCameraStreamInfos(
  1481. ::_pbi::ConstantInitialized): _impl_{
  1482. /*decltype(_impl_._has_bits_)*/{}
  1483. , /*decltype(_impl_._cached_size_)*/{}
  1484. , /*decltype(_impl_.camerastreamid_)*/ ::int64_t{0}
  1485. } {}
  1486. struct MultiCameraStreamInfosDefaultTypeInternal {
  1487. PROTOBUF_CONSTEXPR MultiCameraStreamInfosDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1488. ~MultiCameraStreamInfosDefaultTypeInternal() {}
  1489. union {
  1490. MultiCameraStreamInfos _instance;
  1491. };
  1492. };
  1493. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1494. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MultiCameraStreamInfosDefaultTypeInternal _MultiCameraStreamInfos_default_instance_;
  1495. PROTOBUF_CONSTEXPR MultiCameraStreamList::MultiCameraStreamList(
  1496. ::_pbi::ConstantInitialized): _impl_{
  1497. /*decltype(_impl_.camerastreaminfo_)*/{}
  1498. , /*decltype(_impl_._cached_size_)*/{}} {}
  1499. struct MultiCameraStreamListDefaultTypeInternal {
  1500. PROTOBUF_CONSTEXPR MultiCameraStreamListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1501. ~MultiCameraStreamListDefaultTypeInternal() {}
  1502. union {
  1503. MultiCameraStreamList _instance;
  1504. };
  1505. };
  1506. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1507. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MultiCameraStreamListDefaultTypeInternal _MultiCameraStreamList_default_instance_;
  1508. PROTOBUF_CONSTEXPR GetMultiCameraStreamList::GetMultiCameraStreamList(
  1509. ::_pbi::ConstantInitialized): _impl_{
  1510. /*decltype(_impl_._has_bits_)*/{}
  1511. , /*decltype(_impl_._cached_size_)*/{}
  1512. , /*decltype(_impl_.user_)*/nullptr} {}
  1513. struct GetMultiCameraStreamListDefaultTypeInternal {
  1514. PROTOBUF_CONSTEXPR GetMultiCameraStreamListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1515. ~GetMultiCameraStreamListDefaultTypeInternal() {}
  1516. union {
  1517. GetMultiCameraStreamList _instance;
  1518. };
  1519. };
  1520. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1521. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetMultiCameraStreamListDefaultTypeInternal _GetMultiCameraStreamList_default_instance_;
  1522. PROTOBUF_CONSTEXPR MicInfos::MicInfos(
  1523. ::_pbi::ConstantInitialized): _impl_{
  1524. /*decltype(_impl_._has_bits_)*/{}
  1525. , /*decltype(_impl_._cached_size_)*/{}
  1526. , /*decltype(_impl_.deviceid_)*/ {
  1527. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1528. }
  1529. , /*decltype(_impl_.devicename_)*/ {
  1530. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1531. }
  1532. , /*decltype(_impl_.isselecteddevice_)*/ false
  1533. } {}
  1534. struct MicInfosDefaultTypeInternal {
  1535. PROTOBUF_CONSTEXPR MicInfosDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1536. ~MicInfosDefaultTypeInternal() {}
  1537. union {
  1538. MicInfos _instance;
  1539. };
  1540. };
  1541. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1542. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MicInfosDefaultTypeInternal _MicInfos_default_instance_;
  1543. PROTOBUF_CONSTEXPR GetMicList::GetMicList(
  1544. ::_pbi::ConstantInitialized): _impl_{
  1545. /*decltype(_impl_.micinfo_)*/{}
  1546. , /*decltype(_impl_._cached_size_)*/{}} {}
  1547. struct GetMicListDefaultTypeInternal {
  1548. PROTOBUF_CONSTEXPR GetMicListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1549. ~GetMicListDefaultTypeInternal() {}
  1550. union {
  1551. GetMicList _instance;
  1552. };
  1553. };
  1554. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1555. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetMicListDefaultTypeInternal _GetMicList_default_instance_;
  1556. PROTOBUF_CONSTEXPR SpeakerInfos::SpeakerInfos(
  1557. ::_pbi::ConstantInitialized): _impl_{
  1558. /*decltype(_impl_._has_bits_)*/{}
  1559. , /*decltype(_impl_._cached_size_)*/{}
  1560. , /*decltype(_impl_.deviceid_)*/ {
  1561. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1562. }
  1563. , /*decltype(_impl_.devicename_)*/ {
  1564. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1565. }
  1566. , /*decltype(_impl_.isselecteddevice_)*/ false
  1567. } {}
  1568. struct SpeakerInfosDefaultTypeInternal {
  1569. PROTOBUF_CONSTEXPR SpeakerInfosDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1570. ~SpeakerInfosDefaultTypeInternal() {}
  1571. union {
  1572. SpeakerInfos _instance;
  1573. };
  1574. };
  1575. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1576. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SpeakerInfosDefaultTypeInternal _SpeakerInfos_default_instance_;
  1577. PROTOBUF_CONSTEXPR GetSpeakerList::GetSpeakerList(
  1578. ::_pbi::ConstantInitialized): _impl_{
  1579. /*decltype(_impl_.speakerinfo_)*/{}
  1580. , /*decltype(_impl_._cached_size_)*/{}} {}
  1581. struct GetSpeakerListDefaultTypeInternal {
  1582. PROTOBUF_CONSTEXPR GetSpeakerListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1583. ~GetSpeakerListDefaultTypeInternal() {}
  1584. union {
  1585. GetSpeakerList _instance;
  1586. };
  1587. };
  1588. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1589. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetSpeakerListDefaultTypeInternal _GetSpeakerList_default_instance_;
  1590. PROTOBUF_CONSTEXPR SendCommandParams::SendCommandParams(
  1591. ::_pbi::ConstantInitialized): _impl_{
  1592. /*decltype(_impl_._has_bits_)*/{}
  1593. , /*decltype(_impl_._cached_size_)*/{}
  1594. , /*decltype(_impl_.strcmd_)*/ {
  1595. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1596. }
  1597. , /*decltype(_impl_.user_)*/nullptr} {}
  1598. struct SendCommandParamsDefaultTypeInternal {
  1599. PROTOBUF_CONSTEXPR SendCommandParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1600. ~SendCommandParamsDefaultTypeInternal() {}
  1601. union {
  1602. SendCommandParams _instance;
  1603. };
  1604. };
  1605. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1606. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SendCommandParamsDefaultTypeInternal _SendCommandParams_default_instance_;
  1607. PROTOBUF_CONSTEXPR PhoneSupportCountryInfos::PhoneSupportCountryInfos(
  1608. ::_pbi::ConstantInitialized): _impl_{
  1609. /*decltype(_impl_._has_bits_)*/{}
  1610. , /*decltype(_impl_._cached_size_)*/{}
  1611. , /*decltype(_impl_.countryid_)*/ {
  1612. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1613. }
  1614. , /*decltype(_impl_.countryname_)*/ {
  1615. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1616. }
  1617. , /*decltype(_impl_.countrycode_)*/ {
  1618. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1619. }
  1620. } {}
  1621. struct PhoneSupportCountryInfosDefaultTypeInternal {
  1622. PROTOBUF_CONSTEXPR PhoneSupportCountryInfosDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1623. ~PhoneSupportCountryInfosDefaultTypeInternal() {}
  1624. union {
  1625. PhoneSupportCountryInfos _instance;
  1626. };
  1627. };
  1628. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1629. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PhoneSupportCountryInfosDefaultTypeInternal _PhoneSupportCountryInfos_default_instance_;
  1630. PROTOBUF_CONSTEXPR GetPhoneSupportCountryList::GetPhoneSupportCountryList(
  1631. ::_pbi::ConstantInitialized): _impl_{
  1632. /*decltype(_impl_.phonesupportcountryinfo_)*/{}
  1633. , /*decltype(_impl_._cached_size_)*/{}} {}
  1634. struct GetPhoneSupportCountryListDefaultTypeInternal {
  1635. PROTOBUF_CONSTEXPR GetPhoneSupportCountryListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1636. ~GetPhoneSupportCountryListDefaultTypeInternal() {}
  1637. union {
  1638. GetPhoneSupportCountryList _instance;
  1639. };
  1640. };
  1641. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1642. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetPhoneSupportCountryListDefaultTypeInternal _GetPhoneSupportCountryList_default_instance_;
  1643. PROTOBUF_CONSTEXPR InviteByPhoneParams::InviteByPhoneParams(
  1644. ::_pbi::ConstantInitialized): _impl_{
  1645. /*decltype(_impl_._has_bits_)*/{}
  1646. , /*decltype(_impl_._cached_size_)*/{}
  1647. , /*decltype(_impl_.countrycode_)*/ {
  1648. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1649. }
  1650. , /*decltype(_impl_.phonenumber_)*/ {
  1651. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1652. }
  1653. , /*decltype(_impl_.name_)*/ {
  1654. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1655. }
  1656. } {}
  1657. struct InviteByPhoneParamsDefaultTypeInternal {
  1658. PROTOBUF_CONSTEXPR InviteByPhoneParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1659. ~InviteByPhoneParamsDefaultTypeInternal() {}
  1660. union {
  1661. InviteByPhoneParams _instance;
  1662. };
  1663. };
  1664. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1665. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InviteByPhoneParamsDefaultTypeInternal _InviteByPhoneParams_default_instance_;
  1666. PROTOBUF_CONSTEXPR LocalCameraCtrlTurnLeftParams::LocalCameraCtrlTurnLeftParams(
  1667. ::_pbi::ConstantInitialized): _impl_{
  1668. /*decltype(_impl_._has_bits_)*/{}
  1669. , /*decltype(_impl_._cached_size_)*/{}
  1670. , /*decltype(_impl_.range_)*/ 0u
  1671. } {}
  1672. struct LocalCameraCtrlTurnLeftParamsDefaultTypeInternal {
  1673. PROTOBUF_CONSTEXPR LocalCameraCtrlTurnLeftParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1674. ~LocalCameraCtrlTurnLeftParamsDefaultTypeInternal() {}
  1675. union {
  1676. LocalCameraCtrlTurnLeftParams _instance;
  1677. };
  1678. };
  1679. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1680. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalCameraCtrlTurnLeftParamsDefaultTypeInternal _LocalCameraCtrlTurnLeftParams_default_instance_;
  1681. PROTOBUF_CONSTEXPR LocalCameraCtrlTurnRightParams::LocalCameraCtrlTurnRightParams(
  1682. ::_pbi::ConstantInitialized): _impl_{
  1683. /*decltype(_impl_._has_bits_)*/{}
  1684. , /*decltype(_impl_._cached_size_)*/{}
  1685. , /*decltype(_impl_.range_)*/ 0u
  1686. } {}
  1687. struct LocalCameraCtrlTurnRightParamsDefaultTypeInternal {
  1688. PROTOBUF_CONSTEXPR LocalCameraCtrlTurnRightParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1689. ~LocalCameraCtrlTurnRightParamsDefaultTypeInternal() {}
  1690. union {
  1691. LocalCameraCtrlTurnRightParams _instance;
  1692. };
  1693. };
  1694. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1695. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalCameraCtrlTurnRightParamsDefaultTypeInternal _LocalCameraCtrlTurnRightParams_default_instance_;
  1696. PROTOBUF_CONSTEXPR LocalCameraCtrlTurnUpParams::LocalCameraCtrlTurnUpParams(
  1697. ::_pbi::ConstantInitialized): _impl_{
  1698. /*decltype(_impl_._has_bits_)*/{}
  1699. , /*decltype(_impl_._cached_size_)*/{}
  1700. , /*decltype(_impl_.range_)*/ 0u
  1701. } {}
  1702. struct LocalCameraCtrlTurnUpParamsDefaultTypeInternal {
  1703. PROTOBUF_CONSTEXPR LocalCameraCtrlTurnUpParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1704. ~LocalCameraCtrlTurnUpParamsDefaultTypeInternal() {}
  1705. union {
  1706. LocalCameraCtrlTurnUpParams _instance;
  1707. };
  1708. };
  1709. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1710. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalCameraCtrlTurnUpParamsDefaultTypeInternal _LocalCameraCtrlTurnUpParams_default_instance_;
  1711. PROTOBUF_CONSTEXPR LocalCameraCtrlTurnDownParams::LocalCameraCtrlTurnDownParams(
  1712. ::_pbi::ConstantInitialized): _impl_{
  1713. /*decltype(_impl_._has_bits_)*/{}
  1714. , /*decltype(_impl_._cached_size_)*/{}
  1715. , /*decltype(_impl_.range_)*/ 0u
  1716. } {}
  1717. struct LocalCameraCtrlTurnDownParamsDefaultTypeInternal {
  1718. PROTOBUF_CONSTEXPR LocalCameraCtrlTurnDownParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1719. ~LocalCameraCtrlTurnDownParamsDefaultTypeInternal() {}
  1720. union {
  1721. LocalCameraCtrlTurnDownParams _instance;
  1722. };
  1723. };
  1724. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1725. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalCameraCtrlTurnDownParamsDefaultTypeInternal _LocalCameraCtrlTurnDownParams_default_instance_;
  1726. PROTOBUF_CONSTEXPR LocalCameraCtrlZoomInParams::LocalCameraCtrlZoomInParams(
  1727. ::_pbi::ConstantInitialized): _impl_{
  1728. /*decltype(_impl_._has_bits_)*/{}
  1729. , /*decltype(_impl_._cached_size_)*/{}
  1730. , /*decltype(_impl_.range_)*/ 0u
  1731. } {}
  1732. struct LocalCameraCtrlZoomInParamsDefaultTypeInternal {
  1733. PROTOBUF_CONSTEXPR LocalCameraCtrlZoomInParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1734. ~LocalCameraCtrlZoomInParamsDefaultTypeInternal() {}
  1735. union {
  1736. LocalCameraCtrlZoomInParams _instance;
  1737. };
  1738. };
  1739. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1740. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalCameraCtrlZoomInParamsDefaultTypeInternal _LocalCameraCtrlZoomInParams_default_instance_;
  1741. PROTOBUF_CONSTEXPR LocalCameraCtrlZoomOutParams::LocalCameraCtrlZoomOutParams(
  1742. ::_pbi::ConstantInitialized): _impl_{
  1743. /*decltype(_impl_._has_bits_)*/{}
  1744. , /*decltype(_impl_._cached_size_)*/{}
  1745. , /*decltype(_impl_.range_)*/ 0u
  1746. } {}
  1747. struct LocalCameraCtrlZoomOutParamsDefaultTypeInternal {
  1748. PROTOBUF_CONSTEXPR LocalCameraCtrlZoomOutParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1749. ~LocalCameraCtrlZoomOutParamsDefaultTypeInternal() {}
  1750. union {
  1751. LocalCameraCtrlZoomOutParams _instance;
  1752. };
  1753. };
  1754. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1755. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalCameraCtrlZoomOutParamsDefaultTypeInternal _LocalCameraCtrlZoomOutParams_default_instance_;
  1756. PROTOBUF_CONSTEXPR RequestControlRemoteCameraParams::RequestControlRemoteCameraParams(
  1757. ::_pbi::ConstantInitialized): _impl_{
  1758. /*decltype(_impl_._has_bits_)*/{}
  1759. , /*decltype(_impl_._cached_size_)*/{}
  1760. , /*decltype(_impl_.user_)*/nullptr} {}
  1761. struct RequestControlRemoteCameraParamsDefaultTypeInternal {
  1762. PROTOBUF_CONSTEXPR RequestControlRemoteCameraParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1763. ~RequestControlRemoteCameraParamsDefaultTypeInternal() {}
  1764. union {
  1765. RequestControlRemoteCameraParams _instance;
  1766. };
  1767. };
  1768. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1769. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RequestControlRemoteCameraParamsDefaultTypeInternal _RequestControlRemoteCameraParams_default_instance_;
  1770. PROTOBUF_CONSTEXPR GiveUpControlRemoteCameraParams::GiveUpControlRemoteCameraParams(
  1771. ::_pbi::ConstantInitialized): _impl_{
  1772. /*decltype(_impl_._has_bits_)*/{}
  1773. , /*decltype(_impl_._cached_size_)*/{}
  1774. , /*decltype(_impl_.user_)*/nullptr} {}
  1775. struct GiveUpControlRemoteCameraParamsDefaultTypeInternal {
  1776. PROTOBUF_CONSTEXPR GiveUpControlRemoteCameraParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1777. ~GiveUpControlRemoteCameraParamsDefaultTypeInternal() {}
  1778. union {
  1779. GiveUpControlRemoteCameraParams _instance;
  1780. };
  1781. };
  1782. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1783. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GiveUpControlRemoteCameraParamsDefaultTypeInternal _GiveUpControlRemoteCameraParams_default_instance_;
  1784. PROTOBUF_CONSTEXPR RemoteCameraCtrlTurnLeftParams::RemoteCameraCtrlTurnLeftParams(
  1785. ::_pbi::ConstantInitialized): _impl_{
  1786. /*decltype(_impl_._has_bits_)*/{}
  1787. , /*decltype(_impl_._cached_size_)*/{}
  1788. , /*decltype(_impl_.user_)*/nullptr
  1789. , /*decltype(_impl_.range_)*/ 0u
  1790. } {}
  1791. struct RemoteCameraCtrlTurnLeftParamsDefaultTypeInternal {
  1792. PROTOBUF_CONSTEXPR RemoteCameraCtrlTurnLeftParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1793. ~RemoteCameraCtrlTurnLeftParamsDefaultTypeInternal() {}
  1794. union {
  1795. RemoteCameraCtrlTurnLeftParams _instance;
  1796. };
  1797. };
  1798. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1799. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteCameraCtrlTurnLeftParamsDefaultTypeInternal _RemoteCameraCtrlTurnLeftParams_default_instance_;
  1800. PROTOBUF_CONSTEXPR RemoteCameraCtrlTurnRightParams::RemoteCameraCtrlTurnRightParams(
  1801. ::_pbi::ConstantInitialized): _impl_{
  1802. /*decltype(_impl_._has_bits_)*/{}
  1803. , /*decltype(_impl_._cached_size_)*/{}
  1804. , /*decltype(_impl_.user_)*/nullptr
  1805. , /*decltype(_impl_.range_)*/ 0u
  1806. } {}
  1807. struct RemoteCameraCtrlTurnRightParamsDefaultTypeInternal {
  1808. PROTOBUF_CONSTEXPR RemoteCameraCtrlTurnRightParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1809. ~RemoteCameraCtrlTurnRightParamsDefaultTypeInternal() {}
  1810. union {
  1811. RemoteCameraCtrlTurnRightParams _instance;
  1812. };
  1813. };
  1814. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1815. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteCameraCtrlTurnRightParamsDefaultTypeInternal _RemoteCameraCtrlTurnRightParams_default_instance_;
  1816. PROTOBUF_CONSTEXPR RemoteCameraCtrlTurnUpParams::RemoteCameraCtrlTurnUpParams(
  1817. ::_pbi::ConstantInitialized): _impl_{
  1818. /*decltype(_impl_._has_bits_)*/{}
  1819. , /*decltype(_impl_._cached_size_)*/{}
  1820. , /*decltype(_impl_.user_)*/nullptr
  1821. , /*decltype(_impl_.range_)*/ 0u
  1822. } {}
  1823. struct RemoteCameraCtrlTurnUpParamsDefaultTypeInternal {
  1824. PROTOBUF_CONSTEXPR RemoteCameraCtrlTurnUpParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1825. ~RemoteCameraCtrlTurnUpParamsDefaultTypeInternal() {}
  1826. union {
  1827. RemoteCameraCtrlTurnUpParams _instance;
  1828. };
  1829. };
  1830. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1831. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteCameraCtrlTurnUpParamsDefaultTypeInternal _RemoteCameraCtrlTurnUpParams_default_instance_;
  1832. PROTOBUF_CONSTEXPR RemoteCameraCtrlTurnDownParams::RemoteCameraCtrlTurnDownParams(
  1833. ::_pbi::ConstantInitialized): _impl_{
  1834. /*decltype(_impl_._has_bits_)*/{}
  1835. , /*decltype(_impl_._cached_size_)*/{}
  1836. , /*decltype(_impl_.user_)*/nullptr
  1837. , /*decltype(_impl_.range_)*/ 0u
  1838. } {}
  1839. struct RemoteCameraCtrlTurnDownParamsDefaultTypeInternal {
  1840. PROTOBUF_CONSTEXPR RemoteCameraCtrlTurnDownParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1841. ~RemoteCameraCtrlTurnDownParamsDefaultTypeInternal() {}
  1842. union {
  1843. RemoteCameraCtrlTurnDownParams _instance;
  1844. };
  1845. };
  1846. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1847. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteCameraCtrlTurnDownParamsDefaultTypeInternal _RemoteCameraCtrlTurnDownParams_default_instance_;
  1848. PROTOBUF_CONSTEXPR RemoteCameraCtrlZoomInParams::RemoteCameraCtrlZoomInParams(
  1849. ::_pbi::ConstantInitialized): _impl_{
  1850. /*decltype(_impl_._has_bits_)*/{}
  1851. , /*decltype(_impl_._cached_size_)*/{}
  1852. , /*decltype(_impl_.user_)*/nullptr
  1853. , /*decltype(_impl_.range_)*/ 0u
  1854. } {}
  1855. struct RemoteCameraCtrlZoomInParamsDefaultTypeInternal {
  1856. PROTOBUF_CONSTEXPR RemoteCameraCtrlZoomInParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1857. ~RemoteCameraCtrlZoomInParamsDefaultTypeInternal() {}
  1858. union {
  1859. RemoteCameraCtrlZoomInParams _instance;
  1860. };
  1861. };
  1862. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1863. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteCameraCtrlZoomInParamsDefaultTypeInternal _RemoteCameraCtrlZoomInParams_default_instance_;
  1864. PROTOBUF_CONSTEXPR RemoteCameraCtrlZoomOutParams::RemoteCameraCtrlZoomOutParams(
  1865. ::_pbi::ConstantInitialized): _impl_{
  1866. /*decltype(_impl_._has_bits_)*/{}
  1867. , /*decltype(_impl_._cached_size_)*/{}
  1868. , /*decltype(_impl_.user_)*/nullptr
  1869. , /*decltype(_impl_.range_)*/ 0u
  1870. } {}
  1871. struct RemoteCameraCtrlZoomOutParamsDefaultTypeInternal {
  1872. PROTOBUF_CONSTEXPR RemoteCameraCtrlZoomOutParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1873. ~RemoteCameraCtrlZoomOutParamsDefaultTypeInternal() {}
  1874. union {
  1875. RemoteCameraCtrlZoomOutParams _instance;
  1876. };
  1877. };
  1878. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1879. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteCameraCtrlZoomOutParamsDefaultTypeInternal _RemoteCameraCtrlZoomOutParams_default_instance_;
  1880. PROTOBUF_CONSTEXPR SetVideoQualityPreferenceParams::SetVideoQualityPreferenceParams(
  1881. ::_pbi::ConstantInitialized): _impl_{
  1882. /*decltype(_impl_._has_bits_)*/{}
  1883. , /*decltype(_impl_._cached_size_)*/{}
  1884. , /*decltype(_impl_.mode_)*/ 0
  1885. , /*decltype(_impl_.minimum_frame_rate_)*/ 0u
  1886. , /*decltype(_impl_.maximum_frame_rate_)*/ 0u
  1887. } {}
  1888. struct SetVideoQualityPreferenceParamsDefaultTypeInternal {
  1889. PROTOBUF_CONSTEXPR SetVideoQualityPreferenceParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1890. ~SetVideoQualityPreferenceParamsDefaultTypeInternal() {}
  1891. union {
  1892. SetVideoQualityPreferenceParams _instance;
  1893. };
  1894. };
  1895. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1896. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetVideoQualityPreferenceParamsDefaultTypeInternal _SetVideoQualityPreferenceParams_default_instance_;
  1897. PROTOBUF_CONSTEXPR SetSuppressBackgroundNoiseLevelParams::SetSuppressBackgroundNoiseLevelParams(
  1898. ::_pbi::ConstantInitialized): _impl_{
  1899. /*decltype(_impl_._has_bits_)*/{}
  1900. , /*decltype(_impl_._cached_size_)*/{}
  1901. , /*decltype(_impl_.level_)*/ 0
  1902. } {}
  1903. struct SetSuppressBackgroundNoiseLevelParamsDefaultTypeInternal {
  1904. PROTOBUF_CONSTEXPR SetSuppressBackgroundNoiseLevelParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1905. ~SetSuppressBackgroundNoiseLevelParamsDefaultTypeInternal() {}
  1906. union {
  1907. SetSuppressBackgroundNoiseLevelParams _instance;
  1908. };
  1909. };
  1910. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1911. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetSuppressBackgroundNoiseLevelParamsDefaultTypeInternal _SetSuppressBackgroundNoiseLevelParams_default_instance_;
  1912. PROTOBUF_CONSTEXPR SetEchoCancellationLevelParams::SetEchoCancellationLevelParams(
  1913. ::_pbi::ConstantInitialized): _impl_{
  1914. /*decltype(_impl_._has_bits_)*/{}
  1915. , /*decltype(_impl_._cached_size_)*/{}
  1916. , /*decltype(_impl_.level_)*/ 0
  1917. } {}
  1918. struct SetEchoCancellationLevelParamsDefaultTypeInternal {
  1919. PROTOBUF_CONSTEXPR SetEchoCancellationLevelParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1920. ~SetEchoCancellationLevelParamsDefaultTypeInternal() {}
  1921. union {
  1922. SetEchoCancellationLevelParams _instance;
  1923. };
  1924. };
  1925. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1926. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetEchoCancellationLevelParamsDefaultTypeInternal _SetEchoCancellationLevelParams_default_instance_;
  1927. PROTOBUF_CONSTEXPR EnableMicOriginalInputParams::EnableMicOriginalInputParams(
  1928. ::_pbi::ConstantInitialized): _impl_{
  1929. /*decltype(_impl_._has_bits_)*/{}
  1930. , /*decltype(_impl_._cached_size_)*/{}
  1931. , /*decltype(_impl_.benable_)*/ false
  1932. } {}
  1933. struct EnableMicOriginalInputParamsDefaultTypeInternal {
  1934. PROTOBUF_CONSTEXPR EnableMicOriginalInputParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1935. ~EnableMicOriginalInputParamsDefaultTypeInternal() {}
  1936. union {
  1937. EnableMicOriginalInputParams _instance;
  1938. };
  1939. };
  1940. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1941. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnableMicOriginalInputParamsDefaultTypeInternal _EnableMicOriginalInputParams_default_instance_;
  1942. PROTOBUF_CONSTEXPR EnableHighFidelityMusicModeParams::EnableHighFidelityMusicModeParams(
  1943. ::_pbi::ConstantInitialized): _impl_{
  1944. /*decltype(_impl_._has_bits_)*/{}
  1945. , /*decltype(_impl_._cached_size_)*/{}
  1946. , /*decltype(_impl_.benable_)*/ false
  1947. } {}
  1948. struct EnableHighFidelityMusicModeParamsDefaultTypeInternal {
  1949. PROTOBUF_CONSTEXPR EnableHighFidelityMusicModeParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1950. ~EnableHighFidelityMusicModeParamsDefaultTypeInternal() {}
  1951. union {
  1952. EnableHighFidelityMusicModeParams _instance;
  1953. };
  1954. };
  1955. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1956. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnableHighFidelityMusicModeParamsDefaultTypeInternal _EnableHighFidelityMusicModeParams_default_instance_;
  1957. PROTOBUF_CONSTEXPR EnableEchoCancellationParams::EnableEchoCancellationParams(
  1958. ::_pbi::ConstantInitialized): _impl_{
  1959. /*decltype(_impl_._has_bits_)*/{}
  1960. , /*decltype(_impl_._cached_size_)*/{}
  1961. , /*decltype(_impl_.benable_)*/ false
  1962. } {}
  1963. struct EnableEchoCancellationParamsDefaultTypeInternal {
  1964. PROTOBUF_CONSTEXPR EnableEchoCancellationParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1965. ~EnableEchoCancellationParamsDefaultTypeInternal() {}
  1966. union {
  1967. EnableEchoCancellationParams _instance;
  1968. };
  1969. };
  1970. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1971. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnableEchoCancellationParamsDefaultTypeInternal _EnableEchoCancellationParams_default_instance_;
  1972. PROTOBUF_CONSTEXPR EnableStereoAudioParams::EnableStereoAudioParams(
  1973. ::_pbi::ConstantInitialized): _impl_{
  1974. /*decltype(_impl_._has_bits_)*/{}
  1975. , /*decltype(_impl_._cached_size_)*/{}
  1976. , /*decltype(_impl_.benable_)*/ false
  1977. } {}
  1978. struct EnableStereoAudioParamsDefaultTypeInternal {
  1979. PROTOBUF_CONSTEXPR EnableStereoAudioParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1980. ~EnableStereoAudioParamsDefaultTypeInternal() {}
  1981. union {
  1982. EnableStereoAudioParams _instance;
  1983. };
  1984. };
  1985. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  1986. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnableStereoAudioParamsDefaultTypeInternal _EnableStereoAudioParams_default_instance_;
  1987. PROTOBUF_CONSTEXPR StartMicTestRecordingParams::StartMicTestRecordingParams(
  1988. ::_pbi::ConstantInitialized): _impl_{
  1989. /*decltype(_impl_._has_bits_)*/{}
  1990. , /*decltype(_impl_._cached_size_)*/{}
  1991. , /*decltype(_impl_.deviceid_)*/ {
  1992. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  1993. }
  1994. } {}
  1995. struct StartMicTestRecordingParamsDefaultTypeInternal {
  1996. PROTOBUF_CONSTEXPR StartMicTestRecordingParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  1997. ~StartMicTestRecordingParamsDefaultTypeInternal() {}
  1998. union {
  1999. StartMicTestRecordingParams _instance;
  2000. };
  2001. };
  2002. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2003. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartMicTestRecordingParamsDefaultTypeInternal _StartMicTestRecordingParams_default_instance_;
  2004. PROTOBUF_CONSTEXPR StartSpeakerTestParams::StartSpeakerTestParams(
  2005. ::_pbi::ConstantInitialized): _impl_{
  2006. /*decltype(_impl_._has_bits_)*/{}
  2007. , /*decltype(_impl_._cached_size_)*/{}
  2008. , /*decltype(_impl_.deviceid_)*/ {
  2009. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  2010. }
  2011. } {}
  2012. struct StartSpeakerTestParamsDefaultTypeInternal {
  2013. PROTOBUF_CONSTEXPR StartSpeakerTestParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  2014. ~StartSpeakerTestParamsDefaultTypeInternal() {}
  2015. union {
  2016. StartSpeakerTestParams _instance;
  2017. };
  2018. };
  2019. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2020. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartSpeakerTestParamsDefaultTypeInternal _StartSpeakerTestParams_default_instance_;
  2021. PROTOBUF_CONSTEXPR SetTimerIntervalParams::SetTimerIntervalParams(
  2022. ::_pbi::ConstantInitialized): _impl_{
  2023. /*decltype(_impl_._has_bits_)*/{}
  2024. , /*decltype(_impl_._cached_size_)*/{}
  2025. , /*decltype(_impl_.timerinterval_)*/ 0u
  2026. } {}
  2027. struct SetTimerIntervalParamsDefaultTypeInternal {
  2028. PROTOBUF_CONSTEXPR SetTimerIntervalParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  2029. ~SetTimerIntervalParamsDefaultTypeInternal() {}
  2030. union {
  2031. SetTimerIntervalParams _instance;
  2032. };
  2033. };
  2034. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2035. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetTimerIntervalParamsDefaultTypeInternal _SetTimerIntervalParams_default_instance_;
  2036. PROTOBUF_CONSTEXPR EnableMultiStreamVideoParams::EnableMultiStreamVideoParams(
  2037. ::_pbi::ConstantInitialized): _impl_{
  2038. /*decltype(_impl_._has_bits_)*/{}
  2039. , /*decltype(_impl_._cached_size_)*/{}
  2040. , /*decltype(_impl_.deviceid_)*/ {
  2041. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  2042. }
  2043. } {}
  2044. struct EnableMultiStreamVideoParamsDefaultTypeInternal {
  2045. PROTOBUF_CONSTEXPR EnableMultiStreamVideoParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  2046. ~EnableMultiStreamVideoParamsDefaultTypeInternal() {}
  2047. union {
  2048. EnableMultiStreamVideoParams _instance;
  2049. };
  2050. };
  2051. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2052. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnableMultiStreamVideoParamsDefaultTypeInternal _EnableMultiStreamVideoParams_default_instance_;
  2053. PROTOBUF_CONSTEXPR DisableMultiStreamVideoParams::DisableMultiStreamVideoParams(
  2054. ::_pbi::ConstantInitialized): _impl_{
  2055. /*decltype(_impl_._has_bits_)*/{}
  2056. , /*decltype(_impl_._cached_size_)*/{}
  2057. , /*decltype(_impl_.deviceid_)*/ {
  2058. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  2059. }
  2060. } {}
  2061. struct DisableMultiStreamVideoParamsDefaultTypeInternal {
  2062. PROTOBUF_CONSTEXPR DisableMultiStreamVideoParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  2063. ~DisableMultiStreamVideoParamsDefaultTypeInternal() {}
  2064. union {
  2065. DisableMultiStreamVideoParams _instance;
  2066. };
  2067. };
  2068. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2069. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DisableMultiStreamVideoParamsDefaultTypeInternal _DisableMultiStreamVideoParams_default_instance_;
  2070. PROTOBUF_CONSTEXPR StartVideoPreviewParams::StartVideoPreviewParams(
  2071. ::_pbi::ConstantInitialized): _impl_{
  2072. /*decltype(_impl_._has_bits_)*/{}
  2073. , /*decltype(_impl_._cached_size_)*/{}
  2074. , /*decltype(_impl_.cameradeviceid_)*/ {
  2075. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  2076. }
  2077. , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
  2078. } {}
  2079. struct StartVideoPreviewParamsDefaultTypeInternal {
  2080. PROTOBUF_CONSTEXPR StartVideoPreviewParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  2081. ~StartVideoPreviewParamsDefaultTypeInternal() {}
  2082. union {
  2083. StartVideoPreviewParams _instance;
  2084. };
  2085. };
  2086. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2087. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartVideoPreviewParamsDefaultTypeInternal _StartVideoPreviewParams_default_instance_;
  2088. PROTOBUF_CONSTEXPR StopVideoPreviewParams::StopVideoPreviewParams(
  2089. ::_pbi::ConstantInitialized): _impl_{
  2090. /*decltype(_impl_._has_bits_)*/{}
  2091. , /*decltype(_impl_._cached_size_)*/{}
  2092. , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
  2093. } {}
  2094. struct StopVideoPreviewParamsDefaultTypeInternal {
  2095. PROTOBUF_CONSTEXPR StopVideoPreviewParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  2096. ~StopVideoPreviewParamsDefaultTypeInternal() {}
  2097. union {
  2098. StopVideoPreviewParams _instance;
  2099. };
  2100. };
  2101. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2102. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StopVideoPreviewParamsDefaultTypeInternal _StopVideoPreviewParams_default_instance_;
  2103. PROTOBUF_CONSTEXPR SetSpokenLanguageParams::SetSpokenLanguageParams(
  2104. ::_pbi::ConstantInitialized): _impl_{
  2105. /*decltype(_impl_._has_bits_)*/{}
  2106. , /*decltype(_impl_._cached_size_)*/{}
  2107. , /*decltype(_impl_.languageid_)*/ 0
  2108. } {}
  2109. struct SetSpokenLanguageParamsDefaultTypeInternal {
  2110. PROTOBUF_CONSTEXPR SetSpokenLanguageParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  2111. ~SetSpokenLanguageParamsDefaultTypeInternal() {}
  2112. union {
  2113. SetSpokenLanguageParams _instance;
  2114. };
  2115. };
  2116. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2117. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetSpokenLanguageParamsDefaultTypeInternal _SetSpokenLanguageParams_default_instance_;
  2118. PROTOBUF_CONSTEXPR LTTLanguagesList::LTTLanguagesList(
  2119. ::_pbi::ConstantInitialized): _impl_{
  2120. /*decltype(_impl_.lttlanguageinfo_)*/{}
  2121. , /*decltype(_impl_._cached_size_)*/{}} {}
  2122. struct LTTLanguagesListDefaultTypeInternal {
  2123. PROTOBUF_CONSTEXPR LTTLanguagesListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  2124. ~LTTLanguagesListDefaultTypeInternal() {}
  2125. union {
  2126. LTTLanguagesList _instance;
  2127. };
  2128. };
  2129. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2130. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LTTLanguagesListDefaultTypeInternal _LTTLanguagesList_default_instance_;
  2131. PROTOBUF_CONSTEXPR SetTranslationLanguageParams::SetTranslationLanguageParams(
  2132. ::_pbi::ConstantInitialized): _impl_{
  2133. /*decltype(_impl_._has_bits_)*/{}
  2134. , /*decltype(_impl_._cached_size_)*/{}
  2135. , /*decltype(_impl_.languageid_)*/ 0
  2136. } {}
  2137. struct SetTranslationLanguageParamsDefaultTypeInternal {
  2138. PROTOBUF_CONSTEXPR SetTranslationLanguageParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  2139. ~SetTranslationLanguageParamsDefaultTypeInternal() {}
  2140. union {
  2141. SetTranslationLanguageParams _instance;
  2142. };
  2143. };
  2144. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2145. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetTranslationLanguageParamsDefaultTypeInternal _SetTranslationLanguageParams_default_instance_;
  2146. PROTOBUF_CONSTEXPR CanChatMessageBeDeletedParams::CanChatMessageBeDeletedParams(
  2147. ::_pbi::ConstantInitialized): _impl_{
  2148. /*decltype(_impl_._has_bits_)*/{}
  2149. , /*decltype(_impl_._cached_size_)*/{}
  2150. , /*decltype(_impl_.messageid_)*/ {
  2151. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  2152. }
  2153. } {}
  2154. struct CanChatMessageBeDeletedParamsDefaultTypeInternal {
  2155. PROTOBUF_CONSTEXPR CanChatMessageBeDeletedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  2156. ~CanChatMessageBeDeletedParamsDefaultTypeInternal() {}
  2157. union {
  2158. CanChatMessageBeDeletedParams _instance;
  2159. };
  2160. };
  2161. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2162. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CanChatMessageBeDeletedParamsDefaultTypeInternal _CanChatMessageBeDeletedParams_default_instance_;
  2163. PROTOBUF_CONSTEXPR DeleteChatMessageParams::DeleteChatMessageParams(
  2164. ::_pbi::ConstantInitialized): _impl_{
  2165. /*decltype(_impl_._has_bits_)*/{}
  2166. , /*decltype(_impl_._cached_size_)*/{}
  2167. , /*decltype(_impl_.messageid_)*/ {
  2168. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  2169. }
  2170. } {}
  2171. struct DeleteChatMessageParamsDefaultTypeInternal {
  2172. PROTOBUF_CONSTEXPR DeleteChatMessageParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  2173. ~DeleteChatMessageParamsDefaultTypeInternal() {}
  2174. union {
  2175. DeleteChatMessageParams _instance;
  2176. };
  2177. };
  2178. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2179. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeleteChatMessageParamsDefaultTypeInternal _DeleteChatMessageParams_default_instance_;
  2180. PROTOBUF_CONSTEXPR VBItemInfo::VBItemInfo(
  2181. ::_pbi::ConstantInitialized): _impl_{
  2182. /*decltype(_impl_._has_bits_)*/{}
  2183. , /*decltype(_impl_._cached_size_)*/{}
  2184. , /*decltype(_impl_.imagefilepath_)*/ {
  2185. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  2186. }
  2187. , /*decltype(_impl_.imagename_)*/ {
  2188. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  2189. }
  2190. , /*decltype(_impl_.vbtype_)*/ 0
  2191. , /*decltype(_impl_.canbedeleted_)*/ false
  2192. } {}
  2193. struct VBItemInfoDefaultTypeInternal {
  2194. PROTOBUF_CONSTEXPR VBItemInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  2195. ~VBItemInfoDefaultTypeInternal() {}
  2196. union {
  2197. VBItemInfo _instance;
  2198. };
  2199. };
  2200. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2201. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VBItemInfoDefaultTypeInternal _VBItemInfo_default_instance_;
  2202. PROTOBUF_CONSTEXPR VBItemHandleList::VBItemHandleList(
  2203. ::_pbi::ConstantInitialized): _impl_{
  2204. /*decltype(_impl_.vbitemhandle_)*/ {}
  2205. , /*decltype(_impl_._cached_size_)*/{}} {}
  2206. struct VBItemHandleListDefaultTypeInternal {
  2207. PROTOBUF_CONSTEXPR VBItemHandleListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  2208. ~VBItemHandleListDefaultTypeInternal() {}
  2209. union {
  2210. VBItemHandleList _instance;
  2211. };
  2212. };
  2213. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2214. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VBItemHandleListDefaultTypeInternal _VBItemHandleList_default_instance_;
  2215. PROTOBUF_CONSTEXPR AddVirtualBackgroundItemParams::AddVirtualBackgroundItemParams(
  2216. ::_pbi::ConstantInitialized): _impl_{
  2217. /*decltype(_impl_._has_bits_)*/{}
  2218. , /*decltype(_impl_._cached_size_)*/{}
  2219. , /*decltype(_impl_.imagepath_)*/ {
  2220. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  2221. }
  2222. } {}
  2223. struct AddVirtualBackgroundItemParamsDefaultTypeInternal {
  2224. PROTOBUF_CONSTEXPR AddVirtualBackgroundItemParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  2225. ~AddVirtualBackgroundItemParamsDefaultTypeInternal() {}
  2226. union {
  2227. AddVirtualBackgroundItemParams _instance;
  2228. };
  2229. };
  2230. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2231. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AddVirtualBackgroundItemParamsDefaultTypeInternal _AddVirtualBackgroundItemParams_default_instance_;
  2232. PROTOBUF_CONSTEXPR RemoveVirtualBackgroundItemParams::RemoveVirtualBackgroundItemParams(
  2233. ::_pbi::ConstantInitialized): _impl_{
  2234. /*decltype(_impl_._has_bits_)*/{}
  2235. , /*decltype(_impl_._cached_size_)*/{}
  2236. , /*decltype(_impl_.vbitemhandle_)*/ ::int64_t{0}
  2237. } {}
  2238. struct RemoveVirtualBackgroundItemParamsDefaultTypeInternal {
  2239. PROTOBUF_CONSTEXPR RemoveVirtualBackgroundItemParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  2240. ~RemoveVirtualBackgroundItemParamsDefaultTypeInternal() {}
  2241. union {
  2242. RemoveVirtualBackgroundItemParams _instance;
  2243. };
  2244. };
  2245. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2246. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoveVirtualBackgroundItemParamsDefaultTypeInternal _RemoveVirtualBackgroundItemParams_default_instance_;
  2247. PROTOBUF_CONSTEXPR SetVirtualBackgroundItemParams::SetVirtualBackgroundItemParams(
  2248. ::_pbi::ConstantInitialized): _impl_{
  2249. /*decltype(_impl_._has_bits_)*/{}
  2250. , /*decltype(_impl_._cached_size_)*/{}
  2251. , /*decltype(_impl_.vbitemhandle_)*/ ::int64_t{0}
  2252. } {}
  2253. struct SetVirtualBackgroundItemParamsDefaultTypeInternal {
  2254. PROTOBUF_CONSTEXPR SetVirtualBackgroundItemParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  2255. ~SetVirtualBackgroundItemParamsDefaultTypeInternal() {}
  2256. union {
  2257. SetVirtualBackgroundItemParams _instance;
  2258. };
  2259. };
  2260. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2261. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetVirtualBackgroundItemParamsDefaultTypeInternal _SetVirtualBackgroundItemParams_default_instance_;
  2262. PROTOBUF_CONSTEXPR GetVirtualBackgroundItemInfoParams::GetVirtualBackgroundItemInfoParams(
  2263. ::_pbi::ConstantInitialized): _impl_{
  2264. /*decltype(_impl_._has_bits_)*/{}
  2265. , /*decltype(_impl_._cached_size_)*/{}
  2266. , /*decltype(_impl_.vbitemhandle_)*/ ::int64_t{0}
  2267. } {}
  2268. struct GetVirtualBackgroundItemInfoParamsDefaultTypeInternal {
  2269. PROTOBUF_CONSTEXPR GetVirtualBackgroundItemInfoParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  2270. ~GetVirtualBackgroundItemInfoParamsDefaultTypeInternal() {}
  2271. union {
  2272. GetVirtualBackgroundItemInfoParams _instance;
  2273. };
  2274. };
  2275. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  2276. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetVirtualBackgroundItemInfoParamsDefaultTypeInternal _GetVirtualBackgroundItemInfoParams_default_instance_;
  2277. } // namespace proto
  2278. } // namespace sdk
  2279. } // namespace zoomvideo
  2280. } // namespace electron
  2281. } // namespace com
  2282. namespace com {
  2283. namespace electron {
  2284. namespace zoomvideo {
  2285. namespace sdk {
  2286. namespace proto {
  2287. // ===================================================================
  2288. class VideoSDKUser::_Internal {
  2289. public:
  2290. using HasBits = decltype(std::declval<VideoSDKUser>()._impl_._has_bits_);
  2291. static constexpr ::int32_t kHasBitsOffset =
  2292. 8 * PROTOBUF_FIELD_OFFSET(VideoSDKUser, _impl_._has_bits_);
  2293. static void set_has_p_user(HasBits* has_bits) {
  2294. (*has_bits)[0] |= 8u;
  2295. }
  2296. static void set_has_custom_identity(HasBits* has_bits) {
  2297. (*has_bits)[0] |= 1u;
  2298. }
  2299. static void set_has_username(HasBits* has_bits) {
  2300. (*has_bits)[0] |= 2u;
  2301. }
  2302. static void set_has_ishasvideodevice(HasBits* has_bits) {
  2303. (*has_bits)[0] |= 32u;
  2304. }
  2305. static void set_has_isvideoon(HasBits* has_bits) {
  2306. (*has_bits)[0] |= 64u;
  2307. }
  2308. static void set_has_audiotype(HasBits* has_bits) {
  2309. (*has_bits)[0] |= 16u;
  2310. }
  2311. static void set_has_isaudiomuted(HasBits* has_bits) {
  2312. (*has_bits)[0] |= 128u;
  2313. }
  2314. static void set_has_isaudiotalking(HasBits* has_bits) {
  2315. (*has_bits)[0] |= 256u;
  2316. }
  2317. static void set_has_sharestatus(HasBits* has_bits) {
  2318. (*has_bits)[0] |= 512u;
  2319. }
  2320. static void set_has_ishost(HasBits* has_bits) {
  2321. (*has_bits)[0] |= 1024u;
  2322. }
  2323. static void set_has_ismanager(HasBits* has_bits) {
  2324. (*has_bits)[0] |= 2048u;
  2325. }
  2326. static void set_has_videostatisticinfo_width(HasBits* has_bits) {
  2327. (*has_bits)[0] |= 4096u;
  2328. }
  2329. static void set_has_videostatisticinfo_height(HasBits* has_bits) {
  2330. (*has_bits)[0] |= 8192u;
  2331. }
  2332. static void set_has_videostatisticinfo_fps(HasBits* has_bits) {
  2333. (*has_bits)[0] |= 16384u;
  2334. }
  2335. static void set_has_videostatisticinfo_bpf(HasBits* has_bits) {
  2336. (*has_bits)[0] |= 32768u;
  2337. }
  2338. static void set_has_sharestatisticinfo_width(HasBits* has_bits) {
  2339. (*has_bits)[0] |= 65536u;
  2340. }
  2341. static void set_has_sharestatisticinfo_height(HasBits* has_bits) {
  2342. (*has_bits)[0] |= 131072u;
  2343. }
  2344. static void set_has_sharestatisticinfo_fps(HasBits* has_bits) {
  2345. (*has_bits)[0] |= 262144u;
  2346. }
  2347. static void set_has_sharestatisticinfo_bpf(HasBits* has_bits) {
  2348. (*has_bits)[0] |= 524288u;
  2349. }
  2350. static void set_has_userid(HasBits* has_bits) {
  2351. (*has_bits)[0] |= 4u;
  2352. }
  2353. };
  2354. VideoSDKUser::VideoSDKUser(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  2355. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  2356. SharedCtor(arena);
  2357. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
  2358. }
  2359. VideoSDKUser::VideoSDKUser(const VideoSDKUser& from)
  2360. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  2361. VideoSDKUser* const _this = this; (void)_this;
  2362. new (&_impl_) Impl_{
  2363. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  2364. , /*decltype(_impl_._cached_size_)*/{}
  2365. , decltype(_impl_.custom_identity_) {}
  2366. , decltype(_impl_.username_) {}
  2367. , decltype(_impl_.userid_) {}
  2368. , decltype(_impl_.p_user_) {}
  2369. , decltype(_impl_.audiotype_) {}
  2370. , decltype(_impl_.ishasvideodevice_) {}
  2371. , decltype(_impl_.isvideoon_) {}
  2372. , decltype(_impl_.isaudiomuted_) {}
  2373. , decltype(_impl_.isaudiotalking_) {}
  2374. , decltype(_impl_.sharestatus_) {}
  2375. , decltype(_impl_.ishost_) {}
  2376. , decltype(_impl_.ismanager_) {}
  2377. , decltype(_impl_.videostatisticinfo_width_) {}
  2378. , decltype(_impl_.videostatisticinfo_height_) {}
  2379. , decltype(_impl_.videostatisticinfo_fps_) {}
  2380. , decltype(_impl_.videostatisticinfo_bpf_) {}
  2381. , decltype(_impl_.sharestatisticinfo_width_) {}
  2382. , decltype(_impl_.sharestatisticinfo_height_) {}
  2383. , decltype(_impl_.sharestatisticinfo_fps_) {}
  2384. , decltype(_impl_.sharestatisticinfo_bpf_) {}
  2385. };
  2386. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  2387. _impl_.custom_identity_.InitDefault();
  2388. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2389. _impl_.custom_identity_.Set("", GetArenaForAllocation());
  2390. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2391. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  2392. _this->_impl_.custom_identity_.Set(from._internal_custom_identity(), _this->GetArenaForAllocation());
  2393. }
  2394. _impl_.username_.InitDefault();
  2395. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2396. _impl_.username_.Set("", GetArenaForAllocation());
  2397. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2398. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  2399. _this->_impl_.username_.Set(from._internal_username(), _this->GetArenaForAllocation());
  2400. }
  2401. _impl_.userid_.InitDefault();
  2402. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2403. _impl_.userid_.Set("", GetArenaForAllocation());
  2404. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2405. if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
  2406. _this->_impl_.userid_.Set(from._internal_userid(), _this->GetArenaForAllocation());
  2407. }
  2408. ::memcpy(&_impl_.p_user_, &from._impl_.p_user_,
  2409. static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.sharestatisticinfo_bpf_) -
  2410. reinterpret_cast<char*>(&_impl_.p_user_)) + sizeof(_impl_.sharestatisticinfo_bpf_));
  2411. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
  2412. }
  2413. inline void VideoSDKUser::SharedCtor(::_pb::Arena* arena) {
  2414. (void)arena;
  2415. new (&_impl_) Impl_{
  2416. decltype(_impl_._has_bits_){}
  2417. , /*decltype(_impl_._cached_size_)*/{}
  2418. , decltype(_impl_.custom_identity_) {}
  2419. , decltype(_impl_.username_) {}
  2420. , decltype(_impl_.userid_) {}
  2421. , decltype(_impl_.p_user_) { ::int64_t{0} }
  2422. , decltype(_impl_.audiotype_) { 0 }
  2423. , decltype(_impl_.ishasvideodevice_) { false }
  2424. , decltype(_impl_.isvideoon_) { false }
  2425. , decltype(_impl_.isaudiomuted_) { false }
  2426. , decltype(_impl_.isaudiotalking_) { false }
  2427. , decltype(_impl_.sharestatus_) { 0 }
  2428. , decltype(_impl_.ishost_) { false }
  2429. , decltype(_impl_.ismanager_) { false }
  2430. , decltype(_impl_.videostatisticinfo_width_) { 0 }
  2431. , decltype(_impl_.videostatisticinfo_height_) { 0 }
  2432. , decltype(_impl_.videostatisticinfo_fps_) { 0 }
  2433. , decltype(_impl_.videostatisticinfo_bpf_) { 0 }
  2434. , decltype(_impl_.sharestatisticinfo_width_) { 0 }
  2435. , decltype(_impl_.sharestatisticinfo_height_) { 0 }
  2436. , decltype(_impl_.sharestatisticinfo_fps_) { 0 }
  2437. , decltype(_impl_.sharestatisticinfo_bpf_) { 0 }
  2438. };
  2439. _impl_.custom_identity_.InitDefault();
  2440. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2441. _impl_.custom_identity_.Set("", GetArenaForAllocation());
  2442. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2443. _impl_.username_.InitDefault();
  2444. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2445. _impl_.username_.Set("", GetArenaForAllocation());
  2446. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2447. _impl_.userid_.InitDefault();
  2448. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2449. _impl_.userid_.Set("", GetArenaForAllocation());
  2450. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2451. }
  2452. VideoSDKUser::~VideoSDKUser() {
  2453. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
  2454. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  2455. (void)arena;
  2456. return;
  2457. }
  2458. SharedDtor();
  2459. }
  2460. inline void VideoSDKUser::SharedDtor() {
  2461. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  2462. _impl_.custom_identity_.Destroy();
  2463. _impl_.username_.Destroy();
  2464. _impl_.userid_.Destroy();
  2465. }
  2466. void VideoSDKUser::SetCachedSize(int size) const {
  2467. _impl_._cached_size_.Set(size);
  2468. }
  2469. void VideoSDKUser::Clear() {
  2470. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
  2471. ::uint32_t cached_has_bits = 0;
  2472. // Prevent compiler warnings about cached_has_bits being unused
  2473. (void) cached_has_bits;
  2474. cached_has_bits = _impl_._has_bits_[0];
  2475. if (cached_has_bits & 0x00000007u) {
  2476. if (cached_has_bits & 0x00000001u) {
  2477. _impl_.custom_identity_.ClearNonDefaultToEmpty();
  2478. }
  2479. if (cached_has_bits & 0x00000002u) {
  2480. _impl_.username_.ClearNonDefaultToEmpty();
  2481. }
  2482. if (cached_has_bits & 0x00000004u) {
  2483. _impl_.userid_.ClearNonDefaultToEmpty();
  2484. }
  2485. }
  2486. if (cached_has_bits & 0x000000f8u) {
  2487. ::memset(&_impl_.p_user_, 0, static_cast<::size_t>(
  2488. reinterpret_cast<char*>(&_impl_.isaudiomuted_) -
  2489. reinterpret_cast<char*>(&_impl_.p_user_)) + sizeof(_impl_.isaudiomuted_));
  2490. }
  2491. if (cached_has_bits & 0x0000ff00u) {
  2492. ::memset(&_impl_.isaudiotalking_, 0, static_cast<::size_t>(
  2493. reinterpret_cast<char*>(&_impl_.videostatisticinfo_bpf_) -
  2494. reinterpret_cast<char*>(&_impl_.isaudiotalking_)) + sizeof(_impl_.videostatisticinfo_bpf_));
  2495. }
  2496. if (cached_has_bits & 0x000f0000u) {
  2497. ::memset(&_impl_.sharestatisticinfo_width_, 0, static_cast<::size_t>(
  2498. reinterpret_cast<char*>(&_impl_.sharestatisticinfo_bpf_) -
  2499. reinterpret_cast<char*>(&_impl_.sharestatisticinfo_width_)) + sizeof(_impl_.sharestatisticinfo_bpf_));
  2500. }
  2501. _impl_._has_bits_.Clear();
  2502. _internal_metadata_.Clear<std::string>();
  2503. }
  2504. const char* VideoSDKUser::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  2505. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  2506. _Internal::HasBits has_bits{};
  2507. while (!ctx->Done(&ptr)) {
  2508. ::uint32_t tag;
  2509. ptr = ::_pbi::ReadTag(ptr, &tag);
  2510. switch (tag >> 3) {
  2511. // optional int64 p_user = 1;
  2512. case 1:
  2513. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  2514. _Internal::set_has_p_user(&has_bits);
  2515. _impl_.p_user_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  2516. CHK_(ptr);
  2517. } else {
  2518. goto handle_unusual;
  2519. }
  2520. continue;
  2521. // optional string custom_identity = 2;
  2522. case 2:
  2523. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  2524. auto str = _internal_mutable_custom_identity();
  2525. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  2526. CHK_(ptr);
  2527. } else {
  2528. goto handle_unusual;
  2529. }
  2530. continue;
  2531. // optional string username = 3;
  2532. case 3:
  2533. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
  2534. auto str = _internal_mutable_username();
  2535. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  2536. CHK_(ptr);
  2537. } else {
  2538. goto handle_unusual;
  2539. }
  2540. continue;
  2541. // optional bool isHasVideoDevice = 4;
  2542. case 4:
  2543. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
  2544. _Internal::set_has_ishasvideodevice(&has_bits);
  2545. _impl_.ishasvideodevice_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  2546. CHK_(ptr);
  2547. } else {
  2548. goto handle_unusual;
  2549. }
  2550. continue;
  2551. // optional bool isVideoOn = 5;
  2552. case 5:
  2553. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
  2554. _Internal::set_has_isvideoon(&has_bits);
  2555. _impl_.isvideoon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  2556. CHK_(ptr);
  2557. } else {
  2558. goto handle_unusual;
  2559. }
  2560. continue;
  2561. // optional int32 audioType = 6;
  2562. case 6:
  2563. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
  2564. _Internal::set_has_audiotype(&has_bits);
  2565. _impl_.audiotype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  2566. CHK_(ptr);
  2567. } else {
  2568. goto handle_unusual;
  2569. }
  2570. continue;
  2571. // optional bool isAudioMuted = 7;
  2572. case 7:
  2573. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
  2574. _Internal::set_has_isaudiomuted(&has_bits);
  2575. _impl_.isaudiomuted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  2576. CHK_(ptr);
  2577. } else {
  2578. goto handle_unusual;
  2579. }
  2580. continue;
  2581. // optional bool isAudioTalking = 8;
  2582. case 8:
  2583. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
  2584. _Internal::set_has_isaudiotalking(&has_bits);
  2585. _impl_.isaudiotalking_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  2586. CHK_(ptr);
  2587. } else {
  2588. goto handle_unusual;
  2589. }
  2590. continue;
  2591. // optional int32 ShareStatus = 9;
  2592. case 9:
  2593. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
  2594. _Internal::set_has_sharestatus(&has_bits);
  2595. _impl_.sharestatus_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  2596. CHK_(ptr);
  2597. } else {
  2598. goto handle_unusual;
  2599. }
  2600. continue;
  2601. // optional bool isHost = 10;
  2602. case 10:
  2603. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
  2604. _Internal::set_has_ishost(&has_bits);
  2605. _impl_.ishost_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  2606. CHK_(ptr);
  2607. } else {
  2608. goto handle_unusual;
  2609. }
  2610. continue;
  2611. // optional bool isManager = 11;
  2612. case 11:
  2613. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 88)) {
  2614. _Internal::set_has_ismanager(&has_bits);
  2615. _impl_.ismanager_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  2616. CHK_(ptr);
  2617. } else {
  2618. goto handle_unusual;
  2619. }
  2620. continue;
  2621. // optional int32 VideoStatisticInfo_width = 12;
  2622. case 12:
  2623. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 96)) {
  2624. _Internal::set_has_videostatisticinfo_width(&has_bits);
  2625. _impl_.videostatisticinfo_width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  2626. CHK_(ptr);
  2627. } else {
  2628. goto handle_unusual;
  2629. }
  2630. continue;
  2631. // optional int32 VideoStatisticInfo_height = 13;
  2632. case 13:
  2633. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 104)) {
  2634. _Internal::set_has_videostatisticinfo_height(&has_bits);
  2635. _impl_.videostatisticinfo_height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  2636. CHK_(ptr);
  2637. } else {
  2638. goto handle_unusual;
  2639. }
  2640. continue;
  2641. // optional int32 VideoStatisticInfo_fps = 14;
  2642. case 14:
  2643. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 112)) {
  2644. _Internal::set_has_videostatisticinfo_fps(&has_bits);
  2645. _impl_.videostatisticinfo_fps_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  2646. CHK_(ptr);
  2647. } else {
  2648. goto handle_unusual;
  2649. }
  2650. continue;
  2651. // optional int32 VideoStatisticInfo_bpf = 15;
  2652. case 15:
  2653. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 120)) {
  2654. _Internal::set_has_videostatisticinfo_bpf(&has_bits);
  2655. _impl_.videostatisticinfo_bpf_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  2656. CHK_(ptr);
  2657. } else {
  2658. goto handle_unusual;
  2659. }
  2660. continue;
  2661. // optional int32 ShareStatisticInfo_width = 16;
  2662. case 16:
  2663. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 128)) {
  2664. _Internal::set_has_sharestatisticinfo_width(&has_bits);
  2665. _impl_.sharestatisticinfo_width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  2666. CHK_(ptr);
  2667. } else {
  2668. goto handle_unusual;
  2669. }
  2670. continue;
  2671. // optional int32 ShareStatisticInfo_height = 17;
  2672. case 17:
  2673. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 136)) {
  2674. _Internal::set_has_sharestatisticinfo_height(&has_bits);
  2675. _impl_.sharestatisticinfo_height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  2676. CHK_(ptr);
  2677. } else {
  2678. goto handle_unusual;
  2679. }
  2680. continue;
  2681. // optional int32 ShareStatisticInfo_fps = 18;
  2682. case 18:
  2683. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 144)) {
  2684. _Internal::set_has_sharestatisticinfo_fps(&has_bits);
  2685. _impl_.sharestatisticinfo_fps_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  2686. CHK_(ptr);
  2687. } else {
  2688. goto handle_unusual;
  2689. }
  2690. continue;
  2691. // optional int32 ShareStatisticInfo_bpf = 19;
  2692. case 19:
  2693. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 152)) {
  2694. _Internal::set_has_sharestatisticinfo_bpf(&has_bits);
  2695. _impl_.sharestatisticinfo_bpf_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  2696. CHK_(ptr);
  2697. } else {
  2698. goto handle_unusual;
  2699. }
  2700. continue;
  2701. // optional string userid = 20;
  2702. case 20:
  2703. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 162)) {
  2704. auto str = _internal_mutable_userid();
  2705. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  2706. CHK_(ptr);
  2707. } else {
  2708. goto handle_unusual;
  2709. }
  2710. continue;
  2711. default:
  2712. goto handle_unusual;
  2713. } // switch
  2714. handle_unusual:
  2715. if ((tag == 0) || ((tag & 7) == 4)) {
  2716. CHK_(ptr);
  2717. ctx->SetLastTag(tag);
  2718. goto message_done;
  2719. }
  2720. ptr = UnknownFieldParse(
  2721. tag,
  2722. _internal_metadata_.mutable_unknown_fields<std::string>(),
  2723. ptr, ctx);
  2724. CHK_(ptr != nullptr);
  2725. } // while
  2726. message_done:
  2727. _impl_._has_bits_.Or(has_bits);
  2728. return ptr;
  2729. failure:
  2730. ptr = nullptr;
  2731. goto message_done;
  2732. #undef CHK_
  2733. }
  2734. ::uint8_t* VideoSDKUser::_InternalSerialize(
  2735. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  2736. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
  2737. ::uint32_t cached_has_bits = 0;
  2738. (void) cached_has_bits;
  2739. cached_has_bits = _impl_._has_bits_[0];
  2740. // optional int64 p_user = 1;
  2741. if (cached_has_bits & 0x00000008u) {
  2742. target = stream->EnsureSpace(target);
  2743. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  2744. 1, this->_internal_p_user(), target);
  2745. }
  2746. // optional string custom_identity = 2;
  2747. if (cached_has_bits & 0x00000001u) {
  2748. const std::string& _s = this->_internal_custom_identity();
  2749. target = stream->WriteStringMaybeAliased(2, _s, target);
  2750. }
  2751. // optional string username = 3;
  2752. if (cached_has_bits & 0x00000002u) {
  2753. const std::string& _s = this->_internal_username();
  2754. target = stream->WriteStringMaybeAliased(3, _s, target);
  2755. }
  2756. // optional bool isHasVideoDevice = 4;
  2757. if (cached_has_bits & 0x00000020u) {
  2758. target = stream->EnsureSpace(target);
  2759. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  2760. 4, this->_internal_ishasvideodevice(), target);
  2761. }
  2762. // optional bool isVideoOn = 5;
  2763. if (cached_has_bits & 0x00000040u) {
  2764. target = stream->EnsureSpace(target);
  2765. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  2766. 5, this->_internal_isvideoon(), target);
  2767. }
  2768. // optional int32 audioType = 6;
  2769. if (cached_has_bits & 0x00000010u) {
  2770. target = stream->EnsureSpace(target);
  2771. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  2772. 6, this->_internal_audiotype(), target);
  2773. }
  2774. // optional bool isAudioMuted = 7;
  2775. if (cached_has_bits & 0x00000080u) {
  2776. target = stream->EnsureSpace(target);
  2777. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  2778. 7, this->_internal_isaudiomuted(), target);
  2779. }
  2780. // optional bool isAudioTalking = 8;
  2781. if (cached_has_bits & 0x00000100u) {
  2782. target = stream->EnsureSpace(target);
  2783. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  2784. 8, this->_internal_isaudiotalking(), target);
  2785. }
  2786. // optional int32 ShareStatus = 9;
  2787. if (cached_has_bits & 0x00000200u) {
  2788. target = stream->EnsureSpace(target);
  2789. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  2790. 9, this->_internal_sharestatus(), target);
  2791. }
  2792. // optional bool isHost = 10;
  2793. if (cached_has_bits & 0x00000400u) {
  2794. target = stream->EnsureSpace(target);
  2795. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  2796. 10, this->_internal_ishost(), target);
  2797. }
  2798. // optional bool isManager = 11;
  2799. if (cached_has_bits & 0x00000800u) {
  2800. target = stream->EnsureSpace(target);
  2801. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  2802. 11, this->_internal_ismanager(), target);
  2803. }
  2804. // optional int32 VideoStatisticInfo_width = 12;
  2805. if (cached_has_bits & 0x00001000u) {
  2806. target = stream->EnsureSpace(target);
  2807. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  2808. 12, this->_internal_videostatisticinfo_width(), target);
  2809. }
  2810. // optional int32 VideoStatisticInfo_height = 13;
  2811. if (cached_has_bits & 0x00002000u) {
  2812. target = stream->EnsureSpace(target);
  2813. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  2814. 13, this->_internal_videostatisticinfo_height(), target);
  2815. }
  2816. // optional int32 VideoStatisticInfo_fps = 14;
  2817. if (cached_has_bits & 0x00004000u) {
  2818. target = stream->EnsureSpace(target);
  2819. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  2820. 14, this->_internal_videostatisticinfo_fps(), target);
  2821. }
  2822. // optional int32 VideoStatisticInfo_bpf = 15;
  2823. if (cached_has_bits & 0x00008000u) {
  2824. target = stream->EnsureSpace(target);
  2825. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  2826. 15, this->_internal_videostatisticinfo_bpf(), target);
  2827. }
  2828. // optional int32 ShareStatisticInfo_width = 16;
  2829. if (cached_has_bits & 0x00010000u) {
  2830. target = stream->EnsureSpace(target);
  2831. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  2832. 16, this->_internal_sharestatisticinfo_width(), target);
  2833. }
  2834. // optional int32 ShareStatisticInfo_height = 17;
  2835. if (cached_has_bits & 0x00020000u) {
  2836. target = stream->EnsureSpace(target);
  2837. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  2838. 17, this->_internal_sharestatisticinfo_height(), target);
  2839. }
  2840. // optional int32 ShareStatisticInfo_fps = 18;
  2841. if (cached_has_bits & 0x00040000u) {
  2842. target = stream->EnsureSpace(target);
  2843. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  2844. 18, this->_internal_sharestatisticinfo_fps(), target);
  2845. }
  2846. // optional int32 ShareStatisticInfo_bpf = 19;
  2847. if (cached_has_bits & 0x00080000u) {
  2848. target = stream->EnsureSpace(target);
  2849. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  2850. 19, this->_internal_sharestatisticinfo_bpf(), target);
  2851. }
  2852. // optional string userid = 20;
  2853. if (cached_has_bits & 0x00000004u) {
  2854. const std::string& _s = this->_internal_userid();
  2855. target = stream->WriteStringMaybeAliased(20, _s, target);
  2856. }
  2857. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  2858. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  2859. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  2860. }
  2861. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
  2862. return target;
  2863. }
  2864. ::size_t VideoSDKUser::ByteSizeLong() const {
  2865. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
  2866. ::size_t total_size = 0;
  2867. ::uint32_t cached_has_bits = 0;
  2868. // Prevent compiler warnings about cached_has_bits being unused
  2869. (void) cached_has_bits;
  2870. cached_has_bits = _impl_._has_bits_[0];
  2871. if (cached_has_bits & 0x000000ffu) {
  2872. // optional string custom_identity = 2;
  2873. if (cached_has_bits & 0x00000001u) {
  2874. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  2875. this->_internal_custom_identity());
  2876. }
  2877. // optional string username = 3;
  2878. if (cached_has_bits & 0x00000002u) {
  2879. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  2880. this->_internal_username());
  2881. }
  2882. // optional string userid = 20;
  2883. if (cached_has_bits & 0x00000004u) {
  2884. total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  2885. this->_internal_userid());
  2886. }
  2887. // optional int64 p_user = 1;
  2888. if (cached_has_bits & 0x00000008u) {
  2889. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  2890. this->_internal_p_user());
  2891. }
  2892. // optional int32 audioType = 6;
  2893. if (cached_has_bits & 0x00000010u) {
  2894. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  2895. this->_internal_audiotype());
  2896. }
  2897. // optional bool isHasVideoDevice = 4;
  2898. if (cached_has_bits & 0x00000020u) {
  2899. total_size += 2;
  2900. }
  2901. // optional bool isVideoOn = 5;
  2902. if (cached_has_bits & 0x00000040u) {
  2903. total_size += 2;
  2904. }
  2905. // optional bool isAudioMuted = 7;
  2906. if (cached_has_bits & 0x00000080u) {
  2907. total_size += 2;
  2908. }
  2909. }
  2910. if (cached_has_bits & 0x0000ff00u) {
  2911. // optional bool isAudioTalking = 8;
  2912. if (cached_has_bits & 0x00000100u) {
  2913. total_size += 2;
  2914. }
  2915. // optional int32 ShareStatus = 9;
  2916. if (cached_has_bits & 0x00000200u) {
  2917. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  2918. this->_internal_sharestatus());
  2919. }
  2920. // optional bool isHost = 10;
  2921. if (cached_has_bits & 0x00000400u) {
  2922. total_size += 2;
  2923. }
  2924. // optional bool isManager = 11;
  2925. if (cached_has_bits & 0x00000800u) {
  2926. total_size += 2;
  2927. }
  2928. // optional int32 VideoStatisticInfo_width = 12;
  2929. if (cached_has_bits & 0x00001000u) {
  2930. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  2931. this->_internal_videostatisticinfo_width());
  2932. }
  2933. // optional int32 VideoStatisticInfo_height = 13;
  2934. if (cached_has_bits & 0x00002000u) {
  2935. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  2936. this->_internal_videostatisticinfo_height());
  2937. }
  2938. // optional int32 VideoStatisticInfo_fps = 14;
  2939. if (cached_has_bits & 0x00004000u) {
  2940. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  2941. this->_internal_videostatisticinfo_fps());
  2942. }
  2943. // optional int32 VideoStatisticInfo_bpf = 15;
  2944. if (cached_has_bits & 0x00008000u) {
  2945. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  2946. this->_internal_videostatisticinfo_bpf());
  2947. }
  2948. }
  2949. if (cached_has_bits & 0x000f0000u) {
  2950. // optional int32 ShareStatisticInfo_width = 16;
  2951. if (cached_has_bits & 0x00010000u) {
  2952. total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
  2953. this->_internal_sharestatisticinfo_width());
  2954. }
  2955. // optional int32 ShareStatisticInfo_height = 17;
  2956. if (cached_has_bits & 0x00020000u) {
  2957. total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
  2958. this->_internal_sharestatisticinfo_height());
  2959. }
  2960. // optional int32 ShareStatisticInfo_fps = 18;
  2961. if (cached_has_bits & 0x00040000u) {
  2962. total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
  2963. this->_internal_sharestatisticinfo_fps());
  2964. }
  2965. // optional int32 ShareStatisticInfo_bpf = 19;
  2966. if (cached_has_bits & 0x00080000u) {
  2967. total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
  2968. this->_internal_sharestatisticinfo_bpf());
  2969. }
  2970. }
  2971. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  2972. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  2973. }
  2974. int cached_size = ::_pbi::ToCachedSize(total_size);
  2975. SetCachedSize(cached_size);
  2976. return total_size;
  2977. }
  2978. void VideoSDKUser::CheckTypeAndMergeFrom(
  2979. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  2980. MergeFrom(*::_pbi::DownCast<const VideoSDKUser*>(
  2981. &from));
  2982. }
  2983. void VideoSDKUser::MergeFrom(const VideoSDKUser& from) {
  2984. VideoSDKUser* const _this = this;
  2985. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
  2986. ABSL_DCHECK_NE(&from, _this);
  2987. ::uint32_t cached_has_bits = 0;
  2988. (void) cached_has_bits;
  2989. cached_has_bits = from._impl_._has_bits_[0];
  2990. if (cached_has_bits & 0x000000ffu) {
  2991. if (cached_has_bits & 0x00000001u) {
  2992. _this->_internal_set_custom_identity(from._internal_custom_identity());
  2993. }
  2994. if (cached_has_bits & 0x00000002u) {
  2995. _this->_internal_set_username(from._internal_username());
  2996. }
  2997. if (cached_has_bits & 0x00000004u) {
  2998. _this->_internal_set_userid(from._internal_userid());
  2999. }
  3000. if (cached_has_bits & 0x00000008u) {
  3001. _this->_impl_.p_user_ = from._impl_.p_user_;
  3002. }
  3003. if (cached_has_bits & 0x00000010u) {
  3004. _this->_impl_.audiotype_ = from._impl_.audiotype_;
  3005. }
  3006. if (cached_has_bits & 0x00000020u) {
  3007. _this->_impl_.ishasvideodevice_ = from._impl_.ishasvideodevice_;
  3008. }
  3009. if (cached_has_bits & 0x00000040u) {
  3010. _this->_impl_.isvideoon_ = from._impl_.isvideoon_;
  3011. }
  3012. if (cached_has_bits & 0x00000080u) {
  3013. _this->_impl_.isaudiomuted_ = from._impl_.isaudiomuted_;
  3014. }
  3015. _this->_impl_._has_bits_[0] |= cached_has_bits;
  3016. }
  3017. if (cached_has_bits & 0x0000ff00u) {
  3018. if (cached_has_bits & 0x00000100u) {
  3019. _this->_impl_.isaudiotalking_ = from._impl_.isaudiotalking_;
  3020. }
  3021. if (cached_has_bits & 0x00000200u) {
  3022. _this->_impl_.sharestatus_ = from._impl_.sharestatus_;
  3023. }
  3024. if (cached_has_bits & 0x00000400u) {
  3025. _this->_impl_.ishost_ = from._impl_.ishost_;
  3026. }
  3027. if (cached_has_bits & 0x00000800u) {
  3028. _this->_impl_.ismanager_ = from._impl_.ismanager_;
  3029. }
  3030. if (cached_has_bits & 0x00001000u) {
  3031. _this->_impl_.videostatisticinfo_width_ = from._impl_.videostatisticinfo_width_;
  3032. }
  3033. if (cached_has_bits & 0x00002000u) {
  3034. _this->_impl_.videostatisticinfo_height_ = from._impl_.videostatisticinfo_height_;
  3035. }
  3036. if (cached_has_bits & 0x00004000u) {
  3037. _this->_impl_.videostatisticinfo_fps_ = from._impl_.videostatisticinfo_fps_;
  3038. }
  3039. if (cached_has_bits & 0x00008000u) {
  3040. _this->_impl_.videostatisticinfo_bpf_ = from._impl_.videostatisticinfo_bpf_;
  3041. }
  3042. _this->_impl_._has_bits_[0] |= cached_has_bits;
  3043. }
  3044. if (cached_has_bits & 0x000f0000u) {
  3045. if (cached_has_bits & 0x00010000u) {
  3046. _this->_impl_.sharestatisticinfo_width_ = from._impl_.sharestatisticinfo_width_;
  3047. }
  3048. if (cached_has_bits & 0x00020000u) {
  3049. _this->_impl_.sharestatisticinfo_height_ = from._impl_.sharestatisticinfo_height_;
  3050. }
  3051. if (cached_has_bits & 0x00040000u) {
  3052. _this->_impl_.sharestatisticinfo_fps_ = from._impl_.sharestatisticinfo_fps_;
  3053. }
  3054. if (cached_has_bits & 0x00080000u) {
  3055. _this->_impl_.sharestatisticinfo_bpf_ = from._impl_.sharestatisticinfo_bpf_;
  3056. }
  3057. _this->_impl_._has_bits_[0] |= cached_has_bits;
  3058. }
  3059. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  3060. }
  3061. void VideoSDKUser::CopyFrom(const VideoSDKUser& from) {
  3062. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
  3063. if (&from == this) return;
  3064. Clear();
  3065. MergeFrom(from);
  3066. }
  3067. bool VideoSDKUser::IsInitialized() const {
  3068. return true;
  3069. }
  3070. void VideoSDKUser::InternalSwap(VideoSDKUser* other) {
  3071. using std::swap;
  3072. auto* lhs_arena = GetArenaForAllocation();
  3073. auto* rhs_arena = other->GetArenaForAllocation();
  3074. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  3075. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  3076. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.custom_identity_, lhs_arena,
  3077. &other->_impl_.custom_identity_, rhs_arena);
  3078. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.username_, lhs_arena,
  3079. &other->_impl_.username_, rhs_arena);
  3080. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.userid_, lhs_arena,
  3081. &other->_impl_.userid_, rhs_arena);
  3082. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  3083. PROTOBUF_FIELD_OFFSET(VideoSDKUser, _impl_.sharestatisticinfo_bpf_)
  3084. + sizeof(VideoSDKUser::_impl_.sharestatisticinfo_bpf_)
  3085. - PROTOBUF_FIELD_OFFSET(VideoSDKUser, _impl_.p_user_)>(
  3086. reinterpret_cast<char*>(&_impl_.p_user_),
  3087. reinterpret_cast<char*>(&other->_impl_.p_user_));
  3088. }
  3089. std::string VideoSDKUser::GetTypeName() const {
  3090. return "com.electron.zoomvideo.sdk.proto.VideoSDKUser";
  3091. }
  3092. // ===================================================================
  3093. class UserList::_Internal {
  3094. public:
  3095. };
  3096. UserList::UserList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  3097. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  3098. SharedCtor(arena);
  3099. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.UserList)
  3100. }
  3101. UserList::UserList(const UserList& from)
  3102. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  3103. UserList* const _this = this; (void)_this;
  3104. new (&_impl_) Impl_{
  3105. decltype(_impl_.user_){from._impl_.user_}
  3106. , /*decltype(_impl_._cached_size_)*/{}};
  3107. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  3108. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.UserList)
  3109. }
  3110. inline void UserList::SharedCtor(::_pb::Arena* arena) {
  3111. (void)arena;
  3112. new (&_impl_) Impl_{
  3113. decltype(_impl_.user_){arena}
  3114. , /*decltype(_impl_._cached_size_)*/{}
  3115. };
  3116. }
  3117. UserList::~UserList() {
  3118. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.UserList)
  3119. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  3120. (void)arena;
  3121. return;
  3122. }
  3123. SharedDtor();
  3124. }
  3125. inline void UserList::SharedDtor() {
  3126. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  3127. _impl_.user_.~RepeatedPtrField();
  3128. }
  3129. void UserList::SetCachedSize(int size) const {
  3130. _impl_._cached_size_.Set(size);
  3131. }
  3132. void UserList::Clear() {
  3133. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.UserList)
  3134. ::uint32_t cached_has_bits = 0;
  3135. // Prevent compiler warnings about cached_has_bits being unused
  3136. (void) cached_has_bits;
  3137. _impl_.user_.Clear();
  3138. _internal_metadata_.Clear<std::string>();
  3139. }
  3140. const char* UserList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  3141. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  3142. while (!ctx->Done(&ptr)) {
  3143. ::uint32_t tag;
  3144. ptr = ::_pbi::ReadTag(ptr, &tag);
  3145. switch (tag >> 3) {
  3146. // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  3147. case 1:
  3148. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  3149. ptr -= 1;
  3150. do {
  3151. ptr += 1;
  3152. ptr = ctx->ParseMessage(_internal_add_user(), ptr);
  3153. CHK_(ptr);
  3154. if (!ctx->DataAvailable(ptr)) break;
  3155. } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
  3156. } else {
  3157. goto handle_unusual;
  3158. }
  3159. continue;
  3160. default:
  3161. goto handle_unusual;
  3162. } // switch
  3163. handle_unusual:
  3164. if ((tag == 0) || ((tag & 7) == 4)) {
  3165. CHK_(ptr);
  3166. ctx->SetLastTag(tag);
  3167. goto message_done;
  3168. }
  3169. ptr = UnknownFieldParse(
  3170. tag,
  3171. _internal_metadata_.mutable_unknown_fields<std::string>(),
  3172. ptr, ctx);
  3173. CHK_(ptr != nullptr);
  3174. } // while
  3175. message_done:
  3176. return ptr;
  3177. failure:
  3178. ptr = nullptr;
  3179. goto message_done;
  3180. #undef CHK_
  3181. }
  3182. ::uint8_t* UserList::_InternalSerialize(
  3183. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  3184. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.UserList)
  3185. ::uint32_t cached_has_bits = 0;
  3186. (void) cached_has_bits;
  3187. // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  3188. for (unsigned i = 0,
  3189. n = static_cast<unsigned>(this->_internal_user_size()); i < n; i++) {
  3190. const auto& repfield = this->_internal_user(i);
  3191. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  3192. InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
  3193. }
  3194. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  3195. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  3196. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  3197. }
  3198. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.UserList)
  3199. return target;
  3200. }
  3201. ::size_t UserList::ByteSizeLong() const {
  3202. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.UserList)
  3203. ::size_t total_size = 0;
  3204. ::uint32_t cached_has_bits = 0;
  3205. // Prevent compiler warnings about cached_has_bits being unused
  3206. (void) cached_has_bits;
  3207. // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  3208. total_size += 1UL * this->_internal_user_size();
  3209. for (const auto& msg : this->_impl_.user_) {
  3210. total_size +=
  3211. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
  3212. }
  3213. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  3214. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  3215. }
  3216. int cached_size = ::_pbi::ToCachedSize(total_size);
  3217. SetCachedSize(cached_size);
  3218. return total_size;
  3219. }
  3220. void UserList::CheckTypeAndMergeFrom(
  3221. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  3222. MergeFrom(*::_pbi::DownCast<const UserList*>(
  3223. &from));
  3224. }
  3225. void UserList::MergeFrom(const UserList& from) {
  3226. UserList* const _this = this;
  3227. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.UserList)
  3228. ABSL_DCHECK_NE(&from, _this);
  3229. ::uint32_t cached_has_bits = 0;
  3230. (void) cached_has_bits;
  3231. _this->_impl_.user_.MergeFrom(from._impl_.user_);
  3232. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  3233. }
  3234. void UserList::CopyFrom(const UserList& from) {
  3235. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.UserList)
  3236. if (&from == this) return;
  3237. Clear();
  3238. MergeFrom(from);
  3239. }
  3240. bool UserList::IsInitialized() const {
  3241. return true;
  3242. }
  3243. void UserList::InternalSwap(UserList* other) {
  3244. using std::swap;
  3245. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  3246. _impl_.user_.InternalSwap(&other->_impl_.user_);
  3247. }
  3248. std::string UserList::GetTypeName() const {
  3249. return "com.electron.zoomvideo.sdk.proto.UserList";
  3250. }
  3251. // ===================================================================
  3252. class VideoSDKSessionAudioStatisticInfo::_Internal {
  3253. public:
  3254. using HasBits = decltype(std::declval<VideoSDKSessionAudioStatisticInfo>()._impl_._has_bits_);
  3255. static constexpr ::int32_t kHasBitsOffset =
  3256. 8 * PROTOBUF_FIELD_OFFSET(VideoSDKSessionAudioStatisticInfo, _impl_._has_bits_);
  3257. static void set_has_frequency(HasBits* has_bits) {
  3258. (*has_bits)[0] |= 1u;
  3259. }
  3260. static void set_has_latency(HasBits* has_bits) {
  3261. (*has_bits)[0] |= 2u;
  3262. }
  3263. static void set_has_jitter(HasBits* has_bits) {
  3264. (*has_bits)[0] |= 4u;
  3265. }
  3266. static void set_has_packetlossavg(HasBits* has_bits) {
  3267. (*has_bits)[0] |= 8u;
  3268. }
  3269. static void set_has_packetlossmax(HasBits* has_bits) {
  3270. (*has_bits)[0] |= 16u;
  3271. }
  3272. };
  3273. VideoSDKSessionAudioStatisticInfo::VideoSDKSessionAudioStatisticInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  3274. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  3275. SharedCtor(arena);
  3276. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
  3277. }
  3278. VideoSDKSessionAudioStatisticInfo::VideoSDKSessionAudioStatisticInfo(const VideoSDKSessionAudioStatisticInfo& from)
  3279. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  3280. _internal_metadata_.MergeFrom<std::string>(
  3281. from._internal_metadata_);
  3282. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
  3283. }
  3284. inline void VideoSDKSessionAudioStatisticInfo::SharedCtor(::_pb::Arena* arena) {
  3285. (void)arena;
  3286. new (&_impl_) Impl_{
  3287. decltype(_impl_._has_bits_){}
  3288. , /*decltype(_impl_._cached_size_)*/{}
  3289. , decltype(_impl_.frequency_) { ::int64_t{0} }
  3290. , decltype(_impl_.latency_) { ::int64_t{0} }
  3291. , decltype(_impl_.jitter_) { ::int64_t{0} }
  3292. , decltype(_impl_.packetlossavg_) { 0 }
  3293. , decltype(_impl_.packetlossmax_) { 0 }
  3294. };
  3295. }
  3296. VideoSDKSessionAudioStatisticInfo::~VideoSDKSessionAudioStatisticInfo() {
  3297. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
  3298. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  3299. (void)arena;
  3300. return;
  3301. }
  3302. SharedDtor();
  3303. }
  3304. inline void VideoSDKSessionAudioStatisticInfo::SharedDtor() {
  3305. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  3306. }
  3307. void VideoSDKSessionAudioStatisticInfo::SetCachedSize(int size) const {
  3308. _impl_._cached_size_.Set(size);
  3309. }
  3310. void VideoSDKSessionAudioStatisticInfo::Clear() {
  3311. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
  3312. ::uint32_t cached_has_bits = 0;
  3313. // Prevent compiler warnings about cached_has_bits being unused
  3314. (void) cached_has_bits;
  3315. cached_has_bits = _impl_._has_bits_[0];
  3316. if (cached_has_bits & 0x0000001fu) {
  3317. ::memset(&_impl_.frequency_, 0, static_cast<::size_t>(
  3318. reinterpret_cast<char*>(&_impl_.packetlossmax_) -
  3319. reinterpret_cast<char*>(&_impl_.frequency_)) + sizeof(_impl_.packetlossmax_));
  3320. }
  3321. _impl_._has_bits_.Clear();
  3322. _internal_metadata_.Clear<std::string>();
  3323. }
  3324. const char* VideoSDKSessionAudioStatisticInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  3325. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  3326. _Internal::HasBits has_bits{};
  3327. while (!ctx->Done(&ptr)) {
  3328. ::uint32_t tag;
  3329. ptr = ::_pbi::ReadTag(ptr, &tag);
  3330. switch (tag >> 3) {
  3331. // optional int64 frequency = 1;
  3332. case 1:
  3333. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  3334. _Internal::set_has_frequency(&has_bits);
  3335. _impl_.frequency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  3336. CHK_(ptr);
  3337. } else {
  3338. goto handle_unusual;
  3339. }
  3340. continue;
  3341. // optional int64 latency = 2;
  3342. case 2:
  3343. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  3344. _Internal::set_has_latency(&has_bits);
  3345. _impl_.latency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  3346. CHK_(ptr);
  3347. } else {
  3348. goto handle_unusual;
  3349. }
  3350. continue;
  3351. // optional int64 Jitter = 3;
  3352. case 3:
  3353. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  3354. _Internal::set_has_jitter(&has_bits);
  3355. _impl_.jitter_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  3356. CHK_(ptr);
  3357. } else {
  3358. goto handle_unusual;
  3359. }
  3360. continue;
  3361. // optional float packetLossAvg = 4;
  3362. case 4:
  3363. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 37)) {
  3364. _Internal::set_has_packetlossavg(&has_bits);
  3365. _impl_.packetlossavg_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
  3366. ptr += sizeof(float);
  3367. } else {
  3368. goto handle_unusual;
  3369. }
  3370. continue;
  3371. // optional float packetLossMax = 5;
  3372. case 5:
  3373. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 45)) {
  3374. _Internal::set_has_packetlossmax(&has_bits);
  3375. _impl_.packetlossmax_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
  3376. ptr += sizeof(float);
  3377. } else {
  3378. goto handle_unusual;
  3379. }
  3380. continue;
  3381. default:
  3382. goto handle_unusual;
  3383. } // switch
  3384. handle_unusual:
  3385. if ((tag == 0) || ((tag & 7) == 4)) {
  3386. CHK_(ptr);
  3387. ctx->SetLastTag(tag);
  3388. goto message_done;
  3389. }
  3390. ptr = UnknownFieldParse(
  3391. tag,
  3392. _internal_metadata_.mutable_unknown_fields<std::string>(),
  3393. ptr, ctx);
  3394. CHK_(ptr != nullptr);
  3395. } // while
  3396. message_done:
  3397. _impl_._has_bits_.Or(has_bits);
  3398. return ptr;
  3399. failure:
  3400. ptr = nullptr;
  3401. goto message_done;
  3402. #undef CHK_
  3403. }
  3404. ::uint8_t* VideoSDKSessionAudioStatisticInfo::_InternalSerialize(
  3405. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  3406. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
  3407. ::uint32_t cached_has_bits = 0;
  3408. (void) cached_has_bits;
  3409. cached_has_bits = _impl_._has_bits_[0];
  3410. // optional int64 frequency = 1;
  3411. if (cached_has_bits & 0x00000001u) {
  3412. target = stream->EnsureSpace(target);
  3413. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  3414. 1, this->_internal_frequency(), target);
  3415. }
  3416. // optional int64 latency = 2;
  3417. if (cached_has_bits & 0x00000002u) {
  3418. target = stream->EnsureSpace(target);
  3419. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  3420. 2, this->_internal_latency(), target);
  3421. }
  3422. // optional int64 Jitter = 3;
  3423. if (cached_has_bits & 0x00000004u) {
  3424. target = stream->EnsureSpace(target);
  3425. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  3426. 3, this->_internal_jitter(), target);
  3427. }
  3428. // optional float packetLossAvg = 4;
  3429. if (cached_has_bits & 0x00000008u) {
  3430. target = stream->EnsureSpace(target);
  3431. target = ::_pbi::WireFormatLite::WriteFloatToArray(
  3432. 4, this->_internal_packetlossavg(), target);
  3433. }
  3434. // optional float packetLossMax = 5;
  3435. if (cached_has_bits & 0x00000010u) {
  3436. target = stream->EnsureSpace(target);
  3437. target = ::_pbi::WireFormatLite::WriteFloatToArray(
  3438. 5, this->_internal_packetlossmax(), target);
  3439. }
  3440. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  3441. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  3442. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  3443. }
  3444. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
  3445. return target;
  3446. }
  3447. ::size_t VideoSDKSessionAudioStatisticInfo::ByteSizeLong() const {
  3448. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
  3449. ::size_t total_size = 0;
  3450. ::uint32_t cached_has_bits = 0;
  3451. // Prevent compiler warnings about cached_has_bits being unused
  3452. (void) cached_has_bits;
  3453. cached_has_bits = _impl_._has_bits_[0];
  3454. if (cached_has_bits & 0x0000001fu) {
  3455. // optional int64 frequency = 1;
  3456. if (cached_has_bits & 0x00000001u) {
  3457. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  3458. this->_internal_frequency());
  3459. }
  3460. // optional int64 latency = 2;
  3461. if (cached_has_bits & 0x00000002u) {
  3462. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  3463. this->_internal_latency());
  3464. }
  3465. // optional int64 Jitter = 3;
  3466. if (cached_has_bits & 0x00000004u) {
  3467. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  3468. this->_internal_jitter());
  3469. }
  3470. // optional float packetLossAvg = 4;
  3471. if (cached_has_bits & 0x00000008u) {
  3472. total_size += 5;
  3473. }
  3474. // optional float packetLossMax = 5;
  3475. if (cached_has_bits & 0x00000010u) {
  3476. total_size += 5;
  3477. }
  3478. }
  3479. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  3480. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  3481. }
  3482. int cached_size = ::_pbi::ToCachedSize(total_size);
  3483. SetCachedSize(cached_size);
  3484. return total_size;
  3485. }
  3486. void VideoSDKSessionAudioStatisticInfo::CheckTypeAndMergeFrom(
  3487. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  3488. MergeFrom(*::_pbi::DownCast<const VideoSDKSessionAudioStatisticInfo*>(
  3489. &from));
  3490. }
  3491. void VideoSDKSessionAudioStatisticInfo::MergeFrom(const VideoSDKSessionAudioStatisticInfo& from) {
  3492. VideoSDKSessionAudioStatisticInfo* const _this = this;
  3493. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
  3494. ABSL_DCHECK_NE(&from, _this);
  3495. ::uint32_t cached_has_bits = 0;
  3496. (void) cached_has_bits;
  3497. cached_has_bits = from._impl_._has_bits_[0];
  3498. if (cached_has_bits & 0x0000001fu) {
  3499. if (cached_has_bits & 0x00000001u) {
  3500. _this->_impl_.frequency_ = from._impl_.frequency_;
  3501. }
  3502. if (cached_has_bits & 0x00000002u) {
  3503. _this->_impl_.latency_ = from._impl_.latency_;
  3504. }
  3505. if (cached_has_bits & 0x00000004u) {
  3506. _this->_impl_.jitter_ = from._impl_.jitter_;
  3507. }
  3508. if (cached_has_bits & 0x00000008u) {
  3509. _this->_impl_.packetlossavg_ = from._impl_.packetlossavg_;
  3510. }
  3511. if (cached_has_bits & 0x00000010u) {
  3512. _this->_impl_.packetlossmax_ = from._impl_.packetlossmax_;
  3513. }
  3514. _this->_impl_._has_bits_[0] |= cached_has_bits;
  3515. }
  3516. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  3517. }
  3518. void VideoSDKSessionAudioStatisticInfo::CopyFrom(const VideoSDKSessionAudioStatisticInfo& from) {
  3519. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
  3520. if (&from == this) return;
  3521. Clear();
  3522. MergeFrom(from);
  3523. }
  3524. bool VideoSDKSessionAudioStatisticInfo::IsInitialized() const {
  3525. return true;
  3526. }
  3527. void VideoSDKSessionAudioStatisticInfo::InternalSwap(VideoSDKSessionAudioStatisticInfo* other) {
  3528. using std::swap;
  3529. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  3530. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  3531. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  3532. PROTOBUF_FIELD_OFFSET(VideoSDKSessionAudioStatisticInfo, _impl_.packetlossmax_)
  3533. + sizeof(VideoSDKSessionAudioStatisticInfo::_impl_.packetlossmax_)
  3534. - PROTOBUF_FIELD_OFFSET(VideoSDKSessionAudioStatisticInfo, _impl_.frequency_)>(
  3535. reinterpret_cast<char*>(&_impl_.frequency_),
  3536. reinterpret_cast<char*>(&other->_impl_.frequency_));
  3537. }
  3538. std::string VideoSDKSessionAudioStatisticInfo::GetTypeName() const {
  3539. return "com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo";
  3540. }
  3541. // ===================================================================
  3542. class VideoSDKSessionAudioStatisticInfoList::_Internal {
  3543. public:
  3544. };
  3545. VideoSDKSessionAudioStatisticInfoList::VideoSDKSessionAudioStatisticInfoList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  3546. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  3547. SharedCtor(arena);
  3548. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
  3549. }
  3550. VideoSDKSessionAudioStatisticInfoList::VideoSDKSessionAudioStatisticInfoList(const VideoSDKSessionAudioStatisticInfoList& from)
  3551. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  3552. VideoSDKSessionAudioStatisticInfoList* const _this = this; (void)_this;
  3553. new (&_impl_) Impl_{
  3554. decltype(_impl_.audiostatisticinfo_){from._impl_.audiostatisticinfo_}
  3555. , /*decltype(_impl_._cached_size_)*/{}};
  3556. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  3557. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
  3558. }
  3559. inline void VideoSDKSessionAudioStatisticInfoList::SharedCtor(::_pb::Arena* arena) {
  3560. (void)arena;
  3561. new (&_impl_) Impl_{
  3562. decltype(_impl_.audiostatisticinfo_){arena}
  3563. , /*decltype(_impl_._cached_size_)*/{}
  3564. };
  3565. }
  3566. VideoSDKSessionAudioStatisticInfoList::~VideoSDKSessionAudioStatisticInfoList() {
  3567. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
  3568. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  3569. (void)arena;
  3570. return;
  3571. }
  3572. SharedDtor();
  3573. }
  3574. inline void VideoSDKSessionAudioStatisticInfoList::SharedDtor() {
  3575. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  3576. _impl_.audiostatisticinfo_.~RepeatedPtrField();
  3577. }
  3578. void VideoSDKSessionAudioStatisticInfoList::SetCachedSize(int size) const {
  3579. _impl_._cached_size_.Set(size);
  3580. }
  3581. void VideoSDKSessionAudioStatisticInfoList::Clear() {
  3582. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
  3583. ::uint32_t cached_has_bits = 0;
  3584. // Prevent compiler warnings about cached_has_bits being unused
  3585. (void) cached_has_bits;
  3586. _impl_.audiostatisticinfo_.Clear();
  3587. _internal_metadata_.Clear<std::string>();
  3588. }
  3589. const char* VideoSDKSessionAudioStatisticInfoList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  3590. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  3591. while (!ctx->Done(&ptr)) {
  3592. ::uint32_t tag;
  3593. ptr = ::_pbi::ReadTag(ptr, &tag);
  3594. switch (tag >> 3) {
  3595. // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo audioStatisticInfo = 1;
  3596. case 1:
  3597. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  3598. ptr -= 1;
  3599. do {
  3600. ptr += 1;
  3601. ptr = ctx->ParseMessage(_internal_add_audiostatisticinfo(), ptr);
  3602. CHK_(ptr);
  3603. if (!ctx->DataAvailable(ptr)) break;
  3604. } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
  3605. } else {
  3606. goto handle_unusual;
  3607. }
  3608. continue;
  3609. default:
  3610. goto handle_unusual;
  3611. } // switch
  3612. handle_unusual:
  3613. if ((tag == 0) || ((tag & 7) == 4)) {
  3614. CHK_(ptr);
  3615. ctx->SetLastTag(tag);
  3616. goto message_done;
  3617. }
  3618. ptr = UnknownFieldParse(
  3619. tag,
  3620. _internal_metadata_.mutable_unknown_fields<std::string>(),
  3621. ptr, ctx);
  3622. CHK_(ptr != nullptr);
  3623. } // while
  3624. message_done:
  3625. return ptr;
  3626. failure:
  3627. ptr = nullptr;
  3628. goto message_done;
  3629. #undef CHK_
  3630. }
  3631. ::uint8_t* VideoSDKSessionAudioStatisticInfoList::_InternalSerialize(
  3632. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  3633. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
  3634. ::uint32_t cached_has_bits = 0;
  3635. (void) cached_has_bits;
  3636. // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo audioStatisticInfo = 1;
  3637. for (unsigned i = 0,
  3638. n = static_cast<unsigned>(this->_internal_audiostatisticinfo_size()); i < n; i++) {
  3639. const auto& repfield = this->_internal_audiostatisticinfo(i);
  3640. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  3641. InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
  3642. }
  3643. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  3644. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  3645. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  3646. }
  3647. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
  3648. return target;
  3649. }
  3650. ::size_t VideoSDKSessionAudioStatisticInfoList::ByteSizeLong() const {
  3651. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
  3652. ::size_t total_size = 0;
  3653. ::uint32_t cached_has_bits = 0;
  3654. // Prevent compiler warnings about cached_has_bits being unused
  3655. (void) cached_has_bits;
  3656. // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo audioStatisticInfo = 1;
  3657. total_size += 1UL * this->_internal_audiostatisticinfo_size();
  3658. for (const auto& msg : this->_impl_.audiostatisticinfo_) {
  3659. total_size +=
  3660. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
  3661. }
  3662. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  3663. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  3664. }
  3665. int cached_size = ::_pbi::ToCachedSize(total_size);
  3666. SetCachedSize(cached_size);
  3667. return total_size;
  3668. }
  3669. void VideoSDKSessionAudioStatisticInfoList::CheckTypeAndMergeFrom(
  3670. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  3671. MergeFrom(*::_pbi::DownCast<const VideoSDKSessionAudioStatisticInfoList*>(
  3672. &from));
  3673. }
  3674. void VideoSDKSessionAudioStatisticInfoList::MergeFrom(const VideoSDKSessionAudioStatisticInfoList& from) {
  3675. VideoSDKSessionAudioStatisticInfoList* const _this = this;
  3676. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
  3677. ABSL_DCHECK_NE(&from, _this);
  3678. ::uint32_t cached_has_bits = 0;
  3679. (void) cached_has_bits;
  3680. _this->_impl_.audiostatisticinfo_.MergeFrom(from._impl_.audiostatisticinfo_);
  3681. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  3682. }
  3683. void VideoSDKSessionAudioStatisticInfoList::CopyFrom(const VideoSDKSessionAudioStatisticInfoList& from) {
  3684. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
  3685. if (&from == this) return;
  3686. Clear();
  3687. MergeFrom(from);
  3688. }
  3689. bool VideoSDKSessionAudioStatisticInfoList::IsInitialized() const {
  3690. return true;
  3691. }
  3692. void VideoSDKSessionAudioStatisticInfoList::InternalSwap(VideoSDKSessionAudioStatisticInfoList* other) {
  3693. using std::swap;
  3694. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  3695. _impl_.audiostatisticinfo_.InternalSwap(&other->_impl_.audiostatisticinfo_);
  3696. }
  3697. std::string VideoSDKSessionAudioStatisticInfoList::GetTypeName() const {
  3698. return "com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList";
  3699. }
  3700. // ===================================================================
  3701. class VideoSDKSessionASVStatisticInfo::_Internal {
  3702. public:
  3703. using HasBits = decltype(std::declval<VideoSDKSessionASVStatisticInfo>()._impl_._has_bits_);
  3704. static constexpr ::int32_t kHasBitsOffset =
  3705. 8 * PROTOBUF_FIELD_OFFSET(VideoSDKSessionASVStatisticInfo, _impl_._has_bits_);
  3706. static void set_has_frame_width(HasBits* has_bits) {
  3707. (*has_bits)[0] |= 1u;
  3708. }
  3709. static void set_has_frame_height(HasBits* has_bits) {
  3710. (*has_bits)[0] |= 2u;
  3711. }
  3712. static void set_has_fps(HasBits* has_bits) {
  3713. (*has_bits)[0] |= 4u;
  3714. }
  3715. static void set_has_latency(HasBits* has_bits) {
  3716. (*has_bits)[0] |= 8u;
  3717. }
  3718. static void set_has_jitter(HasBits* has_bits) {
  3719. (*has_bits)[0] |= 16u;
  3720. }
  3721. static void set_has_packetlossavg(HasBits* has_bits) {
  3722. (*has_bits)[0] |= 32u;
  3723. }
  3724. static void set_has_packetlossmax(HasBits* has_bits) {
  3725. (*has_bits)[0] |= 64u;
  3726. }
  3727. };
  3728. VideoSDKSessionASVStatisticInfo::VideoSDKSessionASVStatisticInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  3729. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  3730. SharedCtor(arena);
  3731. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
  3732. }
  3733. VideoSDKSessionASVStatisticInfo::VideoSDKSessionASVStatisticInfo(const VideoSDKSessionASVStatisticInfo& from)
  3734. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  3735. _internal_metadata_.MergeFrom<std::string>(
  3736. from._internal_metadata_);
  3737. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
  3738. }
  3739. inline void VideoSDKSessionASVStatisticInfo::SharedCtor(::_pb::Arena* arena) {
  3740. (void)arena;
  3741. new (&_impl_) Impl_{
  3742. decltype(_impl_._has_bits_){}
  3743. , /*decltype(_impl_._cached_size_)*/{}
  3744. , decltype(_impl_.frame_width_) { ::int64_t{0} }
  3745. , decltype(_impl_.frame_height_) { ::int64_t{0} }
  3746. , decltype(_impl_.fps_) { ::int64_t{0} }
  3747. , decltype(_impl_.latency_) { ::int64_t{0} }
  3748. , decltype(_impl_.jitter_) { ::int64_t{0} }
  3749. , decltype(_impl_.packetlossavg_) { 0 }
  3750. , decltype(_impl_.packetlossmax_) { 0 }
  3751. };
  3752. }
  3753. VideoSDKSessionASVStatisticInfo::~VideoSDKSessionASVStatisticInfo() {
  3754. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
  3755. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  3756. (void)arena;
  3757. return;
  3758. }
  3759. SharedDtor();
  3760. }
  3761. inline void VideoSDKSessionASVStatisticInfo::SharedDtor() {
  3762. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  3763. }
  3764. void VideoSDKSessionASVStatisticInfo::SetCachedSize(int size) const {
  3765. _impl_._cached_size_.Set(size);
  3766. }
  3767. void VideoSDKSessionASVStatisticInfo::Clear() {
  3768. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
  3769. ::uint32_t cached_has_bits = 0;
  3770. // Prevent compiler warnings about cached_has_bits being unused
  3771. (void) cached_has_bits;
  3772. cached_has_bits = _impl_._has_bits_[0];
  3773. if (cached_has_bits & 0x0000007fu) {
  3774. ::memset(&_impl_.frame_width_, 0, static_cast<::size_t>(
  3775. reinterpret_cast<char*>(&_impl_.packetlossmax_) -
  3776. reinterpret_cast<char*>(&_impl_.frame_width_)) + sizeof(_impl_.packetlossmax_));
  3777. }
  3778. _impl_._has_bits_.Clear();
  3779. _internal_metadata_.Clear<std::string>();
  3780. }
  3781. const char* VideoSDKSessionASVStatisticInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  3782. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  3783. _Internal::HasBits has_bits{};
  3784. while (!ctx->Done(&ptr)) {
  3785. ::uint32_t tag;
  3786. ptr = ::_pbi::ReadTag(ptr, &tag);
  3787. switch (tag >> 3) {
  3788. // optional int64 frame_width = 1;
  3789. case 1:
  3790. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  3791. _Internal::set_has_frame_width(&has_bits);
  3792. _impl_.frame_width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  3793. CHK_(ptr);
  3794. } else {
  3795. goto handle_unusual;
  3796. }
  3797. continue;
  3798. // optional int64 frame_height = 2;
  3799. case 2:
  3800. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  3801. _Internal::set_has_frame_height(&has_bits);
  3802. _impl_.frame_height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  3803. CHK_(ptr);
  3804. } else {
  3805. goto handle_unusual;
  3806. }
  3807. continue;
  3808. // optional int64 fps = 3;
  3809. case 3:
  3810. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  3811. _Internal::set_has_fps(&has_bits);
  3812. _impl_.fps_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  3813. CHK_(ptr);
  3814. } else {
  3815. goto handle_unusual;
  3816. }
  3817. continue;
  3818. // optional int64 latency = 4;
  3819. case 4:
  3820. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
  3821. _Internal::set_has_latency(&has_bits);
  3822. _impl_.latency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  3823. CHK_(ptr);
  3824. } else {
  3825. goto handle_unusual;
  3826. }
  3827. continue;
  3828. // optional int64 Jitter = 5;
  3829. case 5:
  3830. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
  3831. _Internal::set_has_jitter(&has_bits);
  3832. _impl_.jitter_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  3833. CHK_(ptr);
  3834. } else {
  3835. goto handle_unusual;
  3836. }
  3837. continue;
  3838. // optional float packetLossAvg = 6;
  3839. case 6:
  3840. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 53)) {
  3841. _Internal::set_has_packetlossavg(&has_bits);
  3842. _impl_.packetlossavg_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
  3843. ptr += sizeof(float);
  3844. } else {
  3845. goto handle_unusual;
  3846. }
  3847. continue;
  3848. // optional float packetLossMax = 7;
  3849. case 7:
  3850. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 61)) {
  3851. _Internal::set_has_packetlossmax(&has_bits);
  3852. _impl_.packetlossmax_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
  3853. ptr += sizeof(float);
  3854. } else {
  3855. goto handle_unusual;
  3856. }
  3857. continue;
  3858. default:
  3859. goto handle_unusual;
  3860. } // switch
  3861. handle_unusual:
  3862. if ((tag == 0) || ((tag & 7) == 4)) {
  3863. CHK_(ptr);
  3864. ctx->SetLastTag(tag);
  3865. goto message_done;
  3866. }
  3867. ptr = UnknownFieldParse(
  3868. tag,
  3869. _internal_metadata_.mutable_unknown_fields<std::string>(),
  3870. ptr, ctx);
  3871. CHK_(ptr != nullptr);
  3872. } // while
  3873. message_done:
  3874. _impl_._has_bits_.Or(has_bits);
  3875. return ptr;
  3876. failure:
  3877. ptr = nullptr;
  3878. goto message_done;
  3879. #undef CHK_
  3880. }
  3881. ::uint8_t* VideoSDKSessionASVStatisticInfo::_InternalSerialize(
  3882. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  3883. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
  3884. ::uint32_t cached_has_bits = 0;
  3885. (void) cached_has_bits;
  3886. cached_has_bits = _impl_._has_bits_[0];
  3887. // optional int64 frame_width = 1;
  3888. if (cached_has_bits & 0x00000001u) {
  3889. target = stream->EnsureSpace(target);
  3890. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  3891. 1, this->_internal_frame_width(), target);
  3892. }
  3893. // optional int64 frame_height = 2;
  3894. if (cached_has_bits & 0x00000002u) {
  3895. target = stream->EnsureSpace(target);
  3896. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  3897. 2, this->_internal_frame_height(), target);
  3898. }
  3899. // optional int64 fps = 3;
  3900. if (cached_has_bits & 0x00000004u) {
  3901. target = stream->EnsureSpace(target);
  3902. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  3903. 3, this->_internal_fps(), target);
  3904. }
  3905. // optional int64 latency = 4;
  3906. if (cached_has_bits & 0x00000008u) {
  3907. target = stream->EnsureSpace(target);
  3908. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  3909. 4, this->_internal_latency(), target);
  3910. }
  3911. // optional int64 Jitter = 5;
  3912. if (cached_has_bits & 0x00000010u) {
  3913. target = stream->EnsureSpace(target);
  3914. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  3915. 5, this->_internal_jitter(), target);
  3916. }
  3917. // optional float packetLossAvg = 6;
  3918. if (cached_has_bits & 0x00000020u) {
  3919. target = stream->EnsureSpace(target);
  3920. target = ::_pbi::WireFormatLite::WriteFloatToArray(
  3921. 6, this->_internal_packetlossavg(), target);
  3922. }
  3923. // optional float packetLossMax = 7;
  3924. if (cached_has_bits & 0x00000040u) {
  3925. target = stream->EnsureSpace(target);
  3926. target = ::_pbi::WireFormatLite::WriteFloatToArray(
  3927. 7, this->_internal_packetlossmax(), target);
  3928. }
  3929. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  3930. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  3931. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  3932. }
  3933. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
  3934. return target;
  3935. }
  3936. ::size_t VideoSDKSessionASVStatisticInfo::ByteSizeLong() const {
  3937. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
  3938. ::size_t total_size = 0;
  3939. ::uint32_t cached_has_bits = 0;
  3940. // Prevent compiler warnings about cached_has_bits being unused
  3941. (void) cached_has_bits;
  3942. cached_has_bits = _impl_._has_bits_[0];
  3943. if (cached_has_bits & 0x0000007fu) {
  3944. // optional int64 frame_width = 1;
  3945. if (cached_has_bits & 0x00000001u) {
  3946. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  3947. this->_internal_frame_width());
  3948. }
  3949. // optional int64 frame_height = 2;
  3950. if (cached_has_bits & 0x00000002u) {
  3951. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  3952. this->_internal_frame_height());
  3953. }
  3954. // optional int64 fps = 3;
  3955. if (cached_has_bits & 0x00000004u) {
  3956. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  3957. this->_internal_fps());
  3958. }
  3959. // optional int64 latency = 4;
  3960. if (cached_has_bits & 0x00000008u) {
  3961. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  3962. this->_internal_latency());
  3963. }
  3964. // optional int64 Jitter = 5;
  3965. if (cached_has_bits & 0x00000010u) {
  3966. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  3967. this->_internal_jitter());
  3968. }
  3969. // optional float packetLossAvg = 6;
  3970. if (cached_has_bits & 0x00000020u) {
  3971. total_size += 5;
  3972. }
  3973. // optional float packetLossMax = 7;
  3974. if (cached_has_bits & 0x00000040u) {
  3975. total_size += 5;
  3976. }
  3977. }
  3978. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  3979. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  3980. }
  3981. int cached_size = ::_pbi::ToCachedSize(total_size);
  3982. SetCachedSize(cached_size);
  3983. return total_size;
  3984. }
  3985. void VideoSDKSessionASVStatisticInfo::CheckTypeAndMergeFrom(
  3986. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  3987. MergeFrom(*::_pbi::DownCast<const VideoSDKSessionASVStatisticInfo*>(
  3988. &from));
  3989. }
  3990. void VideoSDKSessionASVStatisticInfo::MergeFrom(const VideoSDKSessionASVStatisticInfo& from) {
  3991. VideoSDKSessionASVStatisticInfo* const _this = this;
  3992. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
  3993. ABSL_DCHECK_NE(&from, _this);
  3994. ::uint32_t cached_has_bits = 0;
  3995. (void) cached_has_bits;
  3996. cached_has_bits = from._impl_._has_bits_[0];
  3997. if (cached_has_bits & 0x0000007fu) {
  3998. if (cached_has_bits & 0x00000001u) {
  3999. _this->_impl_.frame_width_ = from._impl_.frame_width_;
  4000. }
  4001. if (cached_has_bits & 0x00000002u) {
  4002. _this->_impl_.frame_height_ = from._impl_.frame_height_;
  4003. }
  4004. if (cached_has_bits & 0x00000004u) {
  4005. _this->_impl_.fps_ = from._impl_.fps_;
  4006. }
  4007. if (cached_has_bits & 0x00000008u) {
  4008. _this->_impl_.latency_ = from._impl_.latency_;
  4009. }
  4010. if (cached_has_bits & 0x00000010u) {
  4011. _this->_impl_.jitter_ = from._impl_.jitter_;
  4012. }
  4013. if (cached_has_bits & 0x00000020u) {
  4014. _this->_impl_.packetlossavg_ = from._impl_.packetlossavg_;
  4015. }
  4016. if (cached_has_bits & 0x00000040u) {
  4017. _this->_impl_.packetlossmax_ = from._impl_.packetlossmax_;
  4018. }
  4019. _this->_impl_._has_bits_[0] |= cached_has_bits;
  4020. }
  4021. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  4022. }
  4023. void VideoSDKSessionASVStatisticInfo::CopyFrom(const VideoSDKSessionASVStatisticInfo& from) {
  4024. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
  4025. if (&from == this) return;
  4026. Clear();
  4027. MergeFrom(from);
  4028. }
  4029. bool VideoSDKSessionASVStatisticInfo::IsInitialized() const {
  4030. return true;
  4031. }
  4032. void VideoSDKSessionASVStatisticInfo::InternalSwap(VideoSDKSessionASVStatisticInfo* other) {
  4033. using std::swap;
  4034. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  4035. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  4036. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  4037. PROTOBUF_FIELD_OFFSET(VideoSDKSessionASVStatisticInfo, _impl_.packetlossmax_)
  4038. + sizeof(VideoSDKSessionASVStatisticInfo::_impl_.packetlossmax_)
  4039. - PROTOBUF_FIELD_OFFSET(VideoSDKSessionASVStatisticInfo, _impl_.frame_width_)>(
  4040. reinterpret_cast<char*>(&_impl_.frame_width_),
  4041. reinterpret_cast<char*>(&other->_impl_.frame_width_));
  4042. }
  4043. std::string VideoSDKSessionASVStatisticInfo::GetTypeName() const {
  4044. return "com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo";
  4045. }
  4046. // ===================================================================
  4047. class VideoSDKSessionASVStatisticInfoList::_Internal {
  4048. public:
  4049. };
  4050. VideoSDKSessionASVStatisticInfoList::VideoSDKSessionASVStatisticInfoList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  4051. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  4052. SharedCtor(arena);
  4053. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
  4054. }
  4055. VideoSDKSessionASVStatisticInfoList::VideoSDKSessionASVStatisticInfoList(const VideoSDKSessionASVStatisticInfoList& from)
  4056. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  4057. VideoSDKSessionASVStatisticInfoList* const _this = this; (void)_this;
  4058. new (&_impl_) Impl_{
  4059. decltype(_impl_.asvstatisticinfo_){from._impl_.asvstatisticinfo_}
  4060. , /*decltype(_impl_._cached_size_)*/{}};
  4061. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  4062. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
  4063. }
  4064. inline void VideoSDKSessionASVStatisticInfoList::SharedCtor(::_pb::Arena* arena) {
  4065. (void)arena;
  4066. new (&_impl_) Impl_{
  4067. decltype(_impl_.asvstatisticinfo_){arena}
  4068. , /*decltype(_impl_._cached_size_)*/{}
  4069. };
  4070. }
  4071. VideoSDKSessionASVStatisticInfoList::~VideoSDKSessionASVStatisticInfoList() {
  4072. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
  4073. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  4074. (void)arena;
  4075. return;
  4076. }
  4077. SharedDtor();
  4078. }
  4079. inline void VideoSDKSessionASVStatisticInfoList::SharedDtor() {
  4080. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  4081. _impl_.asvstatisticinfo_.~RepeatedPtrField();
  4082. }
  4083. void VideoSDKSessionASVStatisticInfoList::SetCachedSize(int size) const {
  4084. _impl_._cached_size_.Set(size);
  4085. }
  4086. void VideoSDKSessionASVStatisticInfoList::Clear() {
  4087. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
  4088. ::uint32_t cached_has_bits = 0;
  4089. // Prevent compiler warnings about cached_has_bits being unused
  4090. (void) cached_has_bits;
  4091. _impl_.asvstatisticinfo_.Clear();
  4092. _internal_metadata_.Clear<std::string>();
  4093. }
  4094. const char* VideoSDKSessionASVStatisticInfoList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  4095. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  4096. while (!ctx->Done(&ptr)) {
  4097. ::uint32_t tag;
  4098. ptr = ::_pbi::ReadTag(ptr, &tag);
  4099. switch (tag >> 3) {
  4100. // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo ASVStatisticInfo = 1;
  4101. case 1:
  4102. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  4103. ptr -= 1;
  4104. do {
  4105. ptr += 1;
  4106. ptr = ctx->ParseMessage(_internal_add_asvstatisticinfo(), ptr);
  4107. CHK_(ptr);
  4108. if (!ctx->DataAvailable(ptr)) break;
  4109. } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
  4110. } else {
  4111. goto handle_unusual;
  4112. }
  4113. continue;
  4114. default:
  4115. goto handle_unusual;
  4116. } // switch
  4117. handle_unusual:
  4118. if ((tag == 0) || ((tag & 7) == 4)) {
  4119. CHK_(ptr);
  4120. ctx->SetLastTag(tag);
  4121. goto message_done;
  4122. }
  4123. ptr = UnknownFieldParse(
  4124. tag,
  4125. _internal_metadata_.mutable_unknown_fields<std::string>(),
  4126. ptr, ctx);
  4127. CHK_(ptr != nullptr);
  4128. } // while
  4129. message_done:
  4130. return ptr;
  4131. failure:
  4132. ptr = nullptr;
  4133. goto message_done;
  4134. #undef CHK_
  4135. }
  4136. ::uint8_t* VideoSDKSessionASVStatisticInfoList::_InternalSerialize(
  4137. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  4138. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
  4139. ::uint32_t cached_has_bits = 0;
  4140. (void) cached_has_bits;
  4141. // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo ASVStatisticInfo = 1;
  4142. for (unsigned i = 0,
  4143. n = static_cast<unsigned>(this->_internal_asvstatisticinfo_size()); i < n; i++) {
  4144. const auto& repfield = this->_internal_asvstatisticinfo(i);
  4145. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  4146. InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
  4147. }
  4148. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  4149. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  4150. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  4151. }
  4152. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
  4153. return target;
  4154. }
  4155. ::size_t VideoSDKSessionASVStatisticInfoList::ByteSizeLong() const {
  4156. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
  4157. ::size_t total_size = 0;
  4158. ::uint32_t cached_has_bits = 0;
  4159. // Prevent compiler warnings about cached_has_bits being unused
  4160. (void) cached_has_bits;
  4161. // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo ASVStatisticInfo = 1;
  4162. total_size += 1UL * this->_internal_asvstatisticinfo_size();
  4163. for (const auto& msg : this->_impl_.asvstatisticinfo_) {
  4164. total_size +=
  4165. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
  4166. }
  4167. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  4168. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  4169. }
  4170. int cached_size = ::_pbi::ToCachedSize(total_size);
  4171. SetCachedSize(cached_size);
  4172. return total_size;
  4173. }
  4174. void VideoSDKSessionASVStatisticInfoList::CheckTypeAndMergeFrom(
  4175. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  4176. MergeFrom(*::_pbi::DownCast<const VideoSDKSessionASVStatisticInfoList*>(
  4177. &from));
  4178. }
  4179. void VideoSDKSessionASVStatisticInfoList::MergeFrom(const VideoSDKSessionASVStatisticInfoList& from) {
  4180. VideoSDKSessionASVStatisticInfoList* const _this = this;
  4181. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
  4182. ABSL_DCHECK_NE(&from, _this);
  4183. ::uint32_t cached_has_bits = 0;
  4184. (void) cached_has_bits;
  4185. _this->_impl_.asvstatisticinfo_.MergeFrom(from._impl_.asvstatisticinfo_);
  4186. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  4187. }
  4188. void VideoSDKSessionASVStatisticInfoList::CopyFrom(const VideoSDKSessionASVStatisticInfoList& from) {
  4189. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
  4190. if (&from == this) return;
  4191. Clear();
  4192. MergeFrom(from);
  4193. }
  4194. bool VideoSDKSessionASVStatisticInfoList::IsInitialized() const {
  4195. return true;
  4196. }
  4197. void VideoSDKSessionASVStatisticInfoList::InternalSwap(VideoSDKSessionASVStatisticInfoList* other) {
  4198. using std::swap;
  4199. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  4200. _impl_.asvstatisticinfo_.InternalSwap(&other->_impl_.asvstatisticinfo_);
  4201. }
  4202. std::string VideoSDKSessionASVStatisticInfoList::GetTypeName() const {
  4203. return "com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList";
  4204. }
  4205. // ===================================================================
  4206. class SDKVideoCapability::_Internal {
  4207. public:
  4208. using HasBits = decltype(std::declval<SDKVideoCapability>()._impl_._has_bits_);
  4209. static constexpr ::int32_t kHasBitsOffset =
  4210. 8 * PROTOBUF_FIELD_OFFSET(SDKVideoCapability, _impl_._has_bits_);
  4211. static void set_has_iseffective(HasBits* has_bits) {
  4212. (*has_bits)[0] |= 1u;
  4213. }
  4214. static void set_has_width(HasBits* has_bits) {
  4215. (*has_bits)[0] |= 2u;
  4216. }
  4217. static void set_has_height(HasBits* has_bits) {
  4218. (*has_bits)[0] |= 4u;
  4219. }
  4220. static void set_has_frame(HasBits* has_bits) {
  4221. (*has_bits)[0] |= 8u;
  4222. }
  4223. };
  4224. SDKVideoCapability::SDKVideoCapability(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  4225. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  4226. SharedCtor(arena);
  4227. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
  4228. }
  4229. SDKVideoCapability::SDKVideoCapability(const SDKVideoCapability& from)
  4230. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  4231. _internal_metadata_.MergeFrom<std::string>(
  4232. from._internal_metadata_);
  4233. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
  4234. }
  4235. inline void SDKVideoCapability::SharedCtor(::_pb::Arena* arena) {
  4236. (void)arena;
  4237. new (&_impl_) Impl_{
  4238. decltype(_impl_._has_bits_){}
  4239. , /*decltype(_impl_._cached_size_)*/{}
  4240. , decltype(_impl_.iseffective_) { false }
  4241. , decltype(_impl_.width_) { 0 }
  4242. , decltype(_impl_.height_) { 0 }
  4243. , decltype(_impl_.frame_) { 0 }
  4244. };
  4245. }
  4246. SDKVideoCapability::~SDKVideoCapability() {
  4247. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
  4248. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  4249. (void)arena;
  4250. return;
  4251. }
  4252. SharedDtor();
  4253. }
  4254. inline void SDKVideoCapability::SharedDtor() {
  4255. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  4256. }
  4257. void SDKVideoCapability::SetCachedSize(int size) const {
  4258. _impl_._cached_size_.Set(size);
  4259. }
  4260. void SDKVideoCapability::Clear() {
  4261. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
  4262. ::uint32_t cached_has_bits = 0;
  4263. // Prevent compiler warnings about cached_has_bits being unused
  4264. (void) cached_has_bits;
  4265. cached_has_bits = _impl_._has_bits_[0];
  4266. if (cached_has_bits & 0x0000000fu) {
  4267. ::memset(&_impl_.iseffective_, 0, static_cast<::size_t>(
  4268. reinterpret_cast<char*>(&_impl_.frame_) -
  4269. reinterpret_cast<char*>(&_impl_.iseffective_)) + sizeof(_impl_.frame_));
  4270. }
  4271. _impl_._has_bits_.Clear();
  4272. _internal_metadata_.Clear<std::string>();
  4273. }
  4274. const char* SDKVideoCapability::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  4275. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  4276. _Internal::HasBits has_bits{};
  4277. while (!ctx->Done(&ptr)) {
  4278. ::uint32_t tag;
  4279. ptr = ::_pbi::ReadTag(ptr, &tag);
  4280. switch (tag >> 3) {
  4281. // optional bool isEffective = 1;
  4282. case 1:
  4283. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  4284. _Internal::set_has_iseffective(&has_bits);
  4285. _impl_.iseffective_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  4286. CHK_(ptr);
  4287. } else {
  4288. goto handle_unusual;
  4289. }
  4290. continue;
  4291. // optional int32 width = 2;
  4292. case 2:
  4293. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  4294. _Internal::set_has_width(&has_bits);
  4295. _impl_.width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  4296. CHK_(ptr);
  4297. } else {
  4298. goto handle_unusual;
  4299. }
  4300. continue;
  4301. // optional int32 height = 3;
  4302. case 3:
  4303. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  4304. _Internal::set_has_height(&has_bits);
  4305. _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  4306. CHK_(ptr);
  4307. } else {
  4308. goto handle_unusual;
  4309. }
  4310. continue;
  4311. // optional int32 frame = 4;
  4312. case 4:
  4313. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
  4314. _Internal::set_has_frame(&has_bits);
  4315. _impl_.frame_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  4316. CHK_(ptr);
  4317. } else {
  4318. goto handle_unusual;
  4319. }
  4320. continue;
  4321. default:
  4322. goto handle_unusual;
  4323. } // switch
  4324. handle_unusual:
  4325. if ((tag == 0) || ((tag & 7) == 4)) {
  4326. CHK_(ptr);
  4327. ctx->SetLastTag(tag);
  4328. goto message_done;
  4329. }
  4330. ptr = UnknownFieldParse(
  4331. tag,
  4332. _internal_metadata_.mutable_unknown_fields<std::string>(),
  4333. ptr, ctx);
  4334. CHK_(ptr != nullptr);
  4335. } // while
  4336. message_done:
  4337. _impl_._has_bits_.Or(has_bits);
  4338. return ptr;
  4339. failure:
  4340. ptr = nullptr;
  4341. goto message_done;
  4342. #undef CHK_
  4343. }
  4344. ::uint8_t* SDKVideoCapability::_InternalSerialize(
  4345. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  4346. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
  4347. ::uint32_t cached_has_bits = 0;
  4348. (void) cached_has_bits;
  4349. cached_has_bits = _impl_._has_bits_[0];
  4350. // optional bool isEffective = 1;
  4351. if (cached_has_bits & 0x00000001u) {
  4352. target = stream->EnsureSpace(target);
  4353. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  4354. 1, this->_internal_iseffective(), target);
  4355. }
  4356. // optional int32 width = 2;
  4357. if (cached_has_bits & 0x00000002u) {
  4358. target = stream->EnsureSpace(target);
  4359. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  4360. 2, this->_internal_width(), target);
  4361. }
  4362. // optional int32 height = 3;
  4363. if (cached_has_bits & 0x00000004u) {
  4364. target = stream->EnsureSpace(target);
  4365. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  4366. 3, this->_internal_height(), target);
  4367. }
  4368. // optional int32 frame = 4;
  4369. if (cached_has_bits & 0x00000008u) {
  4370. target = stream->EnsureSpace(target);
  4371. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  4372. 4, this->_internal_frame(), target);
  4373. }
  4374. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  4375. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  4376. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  4377. }
  4378. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
  4379. return target;
  4380. }
  4381. ::size_t SDKVideoCapability::ByteSizeLong() const {
  4382. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
  4383. ::size_t total_size = 0;
  4384. ::uint32_t cached_has_bits = 0;
  4385. // Prevent compiler warnings about cached_has_bits being unused
  4386. (void) cached_has_bits;
  4387. cached_has_bits = _impl_._has_bits_[0];
  4388. if (cached_has_bits & 0x0000000fu) {
  4389. // optional bool isEffective = 1;
  4390. if (cached_has_bits & 0x00000001u) {
  4391. total_size += 2;
  4392. }
  4393. // optional int32 width = 2;
  4394. if (cached_has_bits & 0x00000002u) {
  4395. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  4396. this->_internal_width());
  4397. }
  4398. // optional int32 height = 3;
  4399. if (cached_has_bits & 0x00000004u) {
  4400. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  4401. this->_internal_height());
  4402. }
  4403. // optional int32 frame = 4;
  4404. if (cached_has_bits & 0x00000008u) {
  4405. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  4406. this->_internal_frame());
  4407. }
  4408. }
  4409. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  4410. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  4411. }
  4412. int cached_size = ::_pbi::ToCachedSize(total_size);
  4413. SetCachedSize(cached_size);
  4414. return total_size;
  4415. }
  4416. void SDKVideoCapability::CheckTypeAndMergeFrom(
  4417. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  4418. MergeFrom(*::_pbi::DownCast<const SDKVideoCapability*>(
  4419. &from));
  4420. }
  4421. void SDKVideoCapability::MergeFrom(const SDKVideoCapability& from) {
  4422. SDKVideoCapability* const _this = this;
  4423. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
  4424. ABSL_DCHECK_NE(&from, _this);
  4425. ::uint32_t cached_has_bits = 0;
  4426. (void) cached_has_bits;
  4427. cached_has_bits = from._impl_._has_bits_[0];
  4428. if (cached_has_bits & 0x0000000fu) {
  4429. if (cached_has_bits & 0x00000001u) {
  4430. _this->_impl_.iseffective_ = from._impl_.iseffective_;
  4431. }
  4432. if (cached_has_bits & 0x00000002u) {
  4433. _this->_impl_.width_ = from._impl_.width_;
  4434. }
  4435. if (cached_has_bits & 0x00000004u) {
  4436. _this->_impl_.height_ = from._impl_.height_;
  4437. }
  4438. if (cached_has_bits & 0x00000008u) {
  4439. _this->_impl_.frame_ = from._impl_.frame_;
  4440. }
  4441. _this->_impl_._has_bits_[0] |= cached_has_bits;
  4442. }
  4443. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  4444. }
  4445. void SDKVideoCapability::CopyFrom(const SDKVideoCapability& from) {
  4446. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
  4447. if (&from == this) return;
  4448. Clear();
  4449. MergeFrom(from);
  4450. }
  4451. bool SDKVideoCapability::IsInitialized() const {
  4452. return true;
  4453. }
  4454. void SDKVideoCapability::InternalSwap(SDKVideoCapability* other) {
  4455. using std::swap;
  4456. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  4457. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  4458. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  4459. PROTOBUF_FIELD_OFFSET(SDKVideoCapability, _impl_.frame_)
  4460. + sizeof(SDKVideoCapability::_impl_.frame_)
  4461. - PROTOBUF_FIELD_OFFSET(SDKVideoCapability, _impl_.iseffective_)>(
  4462. reinterpret_cast<char*>(&_impl_.iseffective_),
  4463. reinterpret_cast<char*>(&other->_impl_.iseffective_));
  4464. }
  4465. std::string SDKVideoCapability::GetTypeName() const {
  4466. return "com.electron.zoomvideo.sdk.proto.SDKVideoCapability";
  4467. }
  4468. // ===================================================================
  4469. class SDKVideoCapabilityList::_Internal {
  4470. public:
  4471. };
  4472. SDKVideoCapabilityList::SDKVideoCapabilityList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  4473. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  4474. SharedCtor(arena);
  4475. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
  4476. }
  4477. SDKVideoCapabilityList::SDKVideoCapabilityList(const SDKVideoCapabilityList& from)
  4478. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  4479. SDKVideoCapabilityList* const _this = this; (void)_this;
  4480. new (&_impl_) Impl_{
  4481. decltype(_impl_.videocapability_){from._impl_.videocapability_}
  4482. , /*decltype(_impl_._cached_size_)*/{}};
  4483. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  4484. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
  4485. }
  4486. inline void SDKVideoCapabilityList::SharedCtor(::_pb::Arena* arena) {
  4487. (void)arena;
  4488. new (&_impl_) Impl_{
  4489. decltype(_impl_.videocapability_){arena}
  4490. , /*decltype(_impl_._cached_size_)*/{}
  4491. };
  4492. }
  4493. SDKVideoCapabilityList::~SDKVideoCapabilityList() {
  4494. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
  4495. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  4496. (void)arena;
  4497. return;
  4498. }
  4499. SharedDtor();
  4500. }
  4501. inline void SDKVideoCapabilityList::SharedDtor() {
  4502. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  4503. _impl_.videocapability_.~RepeatedPtrField();
  4504. }
  4505. void SDKVideoCapabilityList::SetCachedSize(int size) const {
  4506. _impl_._cached_size_.Set(size);
  4507. }
  4508. void SDKVideoCapabilityList::Clear() {
  4509. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
  4510. ::uint32_t cached_has_bits = 0;
  4511. // Prevent compiler warnings about cached_has_bits being unused
  4512. (void) cached_has_bits;
  4513. _impl_.videocapability_.Clear();
  4514. _internal_metadata_.Clear<std::string>();
  4515. }
  4516. const char* SDKVideoCapabilityList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  4517. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  4518. while (!ctx->Done(&ptr)) {
  4519. ::uint32_t tag;
  4520. ptr = ::_pbi::ReadTag(ptr, &tag);
  4521. switch (tag >> 3) {
  4522. // repeated .com.electron.zoomvideo.sdk.proto.SDKVideoCapability VideoCapability = 1;
  4523. case 1:
  4524. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  4525. ptr -= 1;
  4526. do {
  4527. ptr += 1;
  4528. ptr = ctx->ParseMessage(_internal_add_videocapability(), ptr);
  4529. CHK_(ptr);
  4530. if (!ctx->DataAvailable(ptr)) break;
  4531. } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
  4532. } else {
  4533. goto handle_unusual;
  4534. }
  4535. continue;
  4536. default:
  4537. goto handle_unusual;
  4538. } // switch
  4539. handle_unusual:
  4540. if ((tag == 0) || ((tag & 7) == 4)) {
  4541. CHK_(ptr);
  4542. ctx->SetLastTag(tag);
  4543. goto message_done;
  4544. }
  4545. ptr = UnknownFieldParse(
  4546. tag,
  4547. _internal_metadata_.mutable_unknown_fields<std::string>(),
  4548. ptr, ctx);
  4549. CHK_(ptr != nullptr);
  4550. } // while
  4551. message_done:
  4552. return ptr;
  4553. failure:
  4554. ptr = nullptr;
  4555. goto message_done;
  4556. #undef CHK_
  4557. }
  4558. ::uint8_t* SDKVideoCapabilityList::_InternalSerialize(
  4559. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  4560. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
  4561. ::uint32_t cached_has_bits = 0;
  4562. (void) cached_has_bits;
  4563. // repeated .com.electron.zoomvideo.sdk.proto.SDKVideoCapability VideoCapability = 1;
  4564. for (unsigned i = 0,
  4565. n = static_cast<unsigned>(this->_internal_videocapability_size()); i < n; i++) {
  4566. const auto& repfield = this->_internal_videocapability(i);
  4567. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  4568. InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
  4569. }
  4570. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  4571. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  4572. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  4573. }
  4574. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
  4575. return target;
  4576. }
  4577. ::size_t SDKVideoCapabilityList::ByteSizeLong() const {
  4578. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
  4579. ::size_t total_size = 0;
  4580. ::uint32_t cached_has_bits = 0;
  4581. // Prevent compiler warnings about cached_has_bits being unused
  4582. (void) cached_has_bits;
  4583. // repeated .com.electron.zoomvideo.sdk.proto.SDKVideoCapability VideoCapability = 1;
  4584. total_size += 1UL * this->_internal_videocapability_size();
  4585. for (const auto& msg : this->_impl_.videocapability_) {
  4586. total_size +=
  4587. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
  4588. }
  4589. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  4590. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  4591. }
  4592. int cached_size = ::_pbi::ToCachedSize(total_size);
  4593. SetCachedSize(cached_size);
  4594. return total_size;
  4595. }
  4596. void SDKVideoCapabilityList::CheckTypeAndMergeFrom(
  4597. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  4598. MergeFrom(*::_pbi::DownCast<const SDKVideoCapabilityList*>(
  4599. &from));
  4600. }
  4601. void SDKVideoCapabilityList::MergeFrom(const SDKVideoCapabilityList& from) {
  4602. SDKVideoCapabilityList* const _this = this;
  4603. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
  4604. ABSL_DCHECK_NE(&from, _this);
  4605. ::uint32_t cached_has_bits = 0;
  4606. (void) cached_has_bits;
  4607. _this->_impl_.videocapability_.MergeFrom(from._impl_.videocapability_);
  4608. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  4609. }
  4610. void SDKVideoCapabilityList::CopyFrom(const SDKVideoCapabilityList& from) {
  4611. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
  4612. if (&from == this) return;
  4613. Clear();
  4614. MergeFrom(from);
  4615. }
  4616. bool SDKVideoCapabilityList::IsInitialized() const {
  4617. return true;
  4618. }
  4619. void SDKVideoCapabilityList::InternalSwap(SDKVideoCapabilityList* other) {
  4620. using std::swap;
  4621. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  4622. _impl_.videocapability_.InternalSwap(&other->_impl_.videocapability_);
  4623. }
  4624. std::string SDKVideoCapabilityList::GetTypeName() const {
  4625. return "com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList";
  4626. }
  4627. // ===================================================================
  4628. class LTTLanguage::_Internal {
  4629. public:
  4630. using HasBits = decltype(std::declval<LTTLanguage>()._impl_._has_bits_);
  4631. static constexpr ::int32_t kHasBitsOffset =
  4632. 8 * PROTOBUF_FIELD_OFFSET(LTTLanguage, _impl_._has_bits_);
  4633. static void set_has_lttlanguageid(HasBits* has_bits) {
  4634. (*has_bits)[0] |= 2u;
  4635. }
  4636. static void set_has_lttlanguagename(HasBits* has_bits) {
  4637. (*has_bits)[0] |= 1u;
  4638. }
  4639. };
  4640. LTTLanguage::LTTLanguage(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  4641. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  4642. SharedCtor(arena);
  4643. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LTTLanguage)
  4644. }
  4645. LTTLanguage::LTTLanguage(const LTTLanguage& from)
  4646. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  4647. LTTLanguage* const _this = this; (void)_this;
  4648. new (&_impl_) Impl_{
  4649. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  4650. , /*decltype(_impl_._cached_size_)*/{}
  4651. , decltype(_impl_.lttlanguagename_) {}
  4652. , decltype(_impl_.lttlanguageid_) {}
  4653. };
  4654. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  4655. _impl_.lttlanguagename_.InitDefault();
  4656. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  4657. _impl_.lttlanguagename_.Set("", GetArenaForAllocation());
  4658. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  4659. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  4660. _this->_impl_.lttlanguagename_.Set(from._internal_lttlanguagename(), _this->GetArenaForAllocation());
  4661. }
  4662. _this->_impl_.lttlanguageid_ = from._impl_.lttlanguageid_;
  4663. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LTTLanguage)
  4664. }
  4665. inline void LTTLanguage::SharedCtor(::_pb::Arena* arena) {
  4666. (void)arena;
  4667. new (&_impl_) Impl_{
  4668. decltype(_impl_._has_bits_){}
  4669. , /*decltype(_impl_._cached_size_)*/{}
  4670. , decltype(_impl_.lttlanguagename_) {}
  4671. , decltype(_impl_.lttlanguageid_) { 0 }
  4672. };
  4673. _impl_.lttlanguagename_.InitDefault();
  4674. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  4675. _impl_.lttlanguagename_.Set("", GetArenaForAllocation());
  4676. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  4677. }
  4678. LTTLanguage::~LTTLanguage() {
  4679. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LTTLanguage)
  4680. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  4681. (void)arena;
  4682. return;
  4683. }
  4684. SharedDtor();
  4685. }
  4686. inline void LTTLanguage::SharedDtor() {
  4687. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  4688. _impl_.lttlanguagename_.Destroy();
  4689. }
  4690. void LTTLanguage::SetCachedSize(int size) const {
  4691. _impl_._cached_size_.Set(size);
  4692. }
  4693. void LTTLanguage::Clear() {
  4694. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LTTLanguage)
  4695. ::uint32_t cached_has_bits = 0;
  4696. // Prevent compiler warnings about cached_has_bits being unused
  4697. (void) cached_has_bits;
  4698. cached_has_bits = _impl_._has_bits_[0];
  4699. if (cached_has_bits & 0x00000001u) {
  4700. _impl_.lttlanguagename_.ClearNonDefaultToEmpty();
  4701. }
  4702. _impl_.lttlanguageid_ = 0;
  4703. _impl_._has_bits_.Clear();
  4704. _internal_metadata_.Clear<std::string>();
  4705. }
  4706. const char* LTTLanguage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  4707. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  4708. _Internal::HasBits has_bits{};
  4709. while (!ctx->Done(&ptr)) {
  4710. ::uint32_t tag;
  4711. ptr = ::_pbi::ReadTag(ptr, &tag);
  4712. switch (tag >> 3) {
  4713. // optional int32 lttLanguageID = 1;
  4714. case 1:
  4715. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  4716. _Internal::set_has_lttlanguageid(&has_bits);
  4717. _impl_.lttlanguageid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  4718. CHK_(ptr);
  4719. } else {
  4720. goto handle_unusual;
  4721. }
  4722. continue;
  4723. // optional string lttLanguageName = 2;
  4724. case 2:
  4725. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  4726. auto str = _internal_mutable_lttlanguagename();
  4727. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  4728. CHK_(ptr);
  4729. } else {
  4730. goto handle_unusual;
  4731. }
  4732. continue;
  4733. default:
  4734. goto handle_unusual;
  4735. } // switch
  4736. handle_unusual:
  4737. if ((tag == 0) || ((tag & 7) == 4)) {
  4738. CHK_(ptr);
  4739. ctx->SetLastTag(tag);
  4740. goto message_done;
  4741. }
  4742. ptr = UnknownFieldParse(
  4743. tag,
  4744. _internal_metadata_.mutable_unknown_fields<std::string>(),
  4745. ptr, ctx);
  4746. CHK_(ptr != nullptr);
  4747. } // while
  4748. message_done:
  4749. _impl_._has_bits_.Or(has_bits);
  4750. return ptr;
  4751. failure:
  4752. ptr = nullptr;
  4753. goto message_done;
  4754. #undef CHK_
  4755. }
  4756. ::uint8_t* LTTLanguage::_InternalSerialize(
  4757. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  4758. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LTTLanguage)
  4759. ::uint32_t cached_has_bits = 0;
  4760. (void) cached_has_bits;
  4761. cached_has_bits = _impl_._has_bits_[0];
  4762. // optional int32 lttLanguageID = 1;
  4763. if (cached_has_bits & 0x00000002u) {
  4764. target = stream->EnsureSpace(target);
  4765. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  4766. 1, this->_internal_lttlanguageid(), target);
  4767. }
  4768. // optional string lttLanguageName = 2;
  4769. if (cached_has_bits & 0x00000001u) {
  4770. const std::string& _s = this->_internal_lttlanguagename();
  4771. target = stream->WriteStringMaybeAliased(2, _s, target);
  4772. }
  4773. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  4774. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  4775. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  4776. }
  4777. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LTTLanguage)
  4778. return target;
  4779. }
  4780. ::size_t LTTLanguage::ByteSizeLong() const {
  4781. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LTTLanguage)
  4782. ::size_t total_size = 0;
  4783. ::uint32_t cached_has_bits = 0;
  4784. // Prevent compiler warnings about cached_has_bits being unused
  4785. (void) cached_has_bits;
  4786. cached_has_bits = _impl_._has_bits_[0];
  4787. if (cached_has_bits & 0x00000003u) {
  4788. // optional string lttLanguageName = 2;
  4789. if (cached_has_bits & 0x00000001u) {
  4790. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  4791. this->_internal_lttlanguagename());
  4792. }
  4793. // optional int32 lttLanguageID = 1;
  4794. if (cached_has_bits & 0x00000002u) {
  4795. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  4796. this->_internal_lttlanguageid());
  4797. }
  4798. }
  4799. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  4800. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  4801. }
  4802. int cached_size = ::_pbi::ToCachedSize(total_size);
  4803. SetCachedSize(cached_size);
  4804. return total_size;
  4805. }
  4806. void LTTLanguage::CheckTypeAndMergeFrom(
  4807. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  4808. MergeFrom(*::_pbi::DownCast<const LTTLanguage*>(
  4809. &from));
  4810. }
  4811. void LTTLanguage::MergeFrom(const LTTLanguage& from) {
  4812. LTTLanguage* const _this = this;
  4813. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LTTLanguage)
  4814. ABSL_DCHECK_NE(&from, _this);
  4815. ::uint32_t cached_has_bits = 0;
  4816. (void) cached_has_bits;
  4817. cached_has_bits = from._impl_._has_bits_[0];
  4818. if (cached_has_bits & 0x00000003u) {
  4819. if (cached_has_bits & 0x00000001u) {
  4820. _this->_internal_set_lttlanguagename(from._internal_lttlanguagename());
  4821. }
  4822. if (cached_has_bits & 0x00000002u) {
  4823. _this->_impl_.lttlanguageid_ = from._impl_.lttlanguageid_;
  4824. }
  4825. _this->_impl_._has_bits_[0] |= cached_has_bits;
  4826. }
  4827. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  4828. }
  4829. void LTTLanguage::CopyFrom(const LTTLanguage& from) {
  4830. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LTTLanguage)
  4831. if (&from == this) return;
  4832. Clear();
  4833. MergeFrom(from);
  4834. }
  4835. bool LTTLanguage::IsInitialized() const {
  4836. return true;
  4837. }
  4838. void LTTLanguage::InternalSwap(LTTLanguage* other) {
  4839. using std::swap;
  4840. auto* lhs_arena = GetArenaForAllocation();
  4841. auto* rhs_arena = other->GetArenaForAllocation();
  4842. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  4843. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  4844. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.lttlanguagename_, lhs_arena,
  4845. &other->_impl_.lttlanguagename_, rhs_arena);
  4846. swap(_impl_.lttlanguageid_, other->_impl_.lttlanguageid_);
  4847. }
  4848. std::string LTTLanguage::GetTypeName() const {
  4849. return "com.electron.zoomvideo.sdk.proto.LTTLanguage";
  4850. }
  4851. // ===================================================================
  4852. class CallbackBody_onErrorParams::_Internal {
  4853. public:
  4854. using HasBits = decltype(std::declval<CallbackBody_onErrorParams>()._impl_._has_bits_);
  4855. static constexpr ::int32_t kHasBitsOffset =
  4856. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onErrorParams, _impl_._has_bits_);
  4857. static void set_has_errorcode(HasBits* has_bits) {
  4858. (*has_bits)[0] |= 1u;
  4859. }
  4860. static void set_has_detailerrorcode(HasBits* has_bits) {
  4861. (*has_bits)[0] |= 2u;
  4862. }
  4863. };
  4864. CallbackBody_onErrorParams::CallbackBody_onErrorParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  4865. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  4866. SharedCtor(arena);
  4867. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
  4868. }
  4869. CallbackBody_onErrorParams::CallbackBody_onErrorParams(const CallbackBody_onErrorParams& from)
  4870. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  4871. _internal_metadata_.MergeFrom<std::string>(
  4872. from._internal_metadata_);
  4873. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
  4874. }
  4875. inline void CallbackBody_onErrorParams::SharedCtor(::_pb::Arena* arena) {
  4876. (void)arena;
  4877. new (&_impl_) Impl_{
  4878. decltype(_impl_._has_bits_){}
  4879. , /*decltype(_impl_._cached_size_)*/{}
  4880. , decltype(_impl_.errorcode_) { 0 }
  4881. , decltype(_impl_.detailerrorcode_) { 0 }
  4882. };
  4883. }
  4884. CallbackBody_onErrorParams::~CallbackBody_onErrorParams() {
  4885. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
  4886. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  4887. (void)arena;
  4888. return;
  4889. }
  4890. SharedDtor();
  4891. }
  4892. inline void CallbackBody_onErrorParams::SharedDtor() {
  4893. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  4894. }
  4895. void CallbackBody_onErrorParams::SetCachedSize(int size) const {
  4896. _impl_._cached_size_.Set(size);
  4897. }
  4898. void CallbackBody_onErrorParams::Clear() {
  4899. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
  4900. ::uint32_t cached_has_bits = 0;
  4901. // Prevent compiler warnings about cached_has_bits being unused
  4902. (void) cached_has_bits;
  4903. cached_has_bits = _impl_._has_bits_[0];
  4904. if (cached_has_bits & 0x00000003u) {
  4905. ::memset(&_impl_.errorcode_, 0, static_cast<::size_t>(
  4906. reinterpret_cast<char*>(&_impl_.detailerrorcode_) -
  4907. reinterpret_cast<char*>(&_impl_.errorcode_)) + sizeof(_impl_.detailerrorcode_));
  4908. }
  4909. _impl_._has_bits_.Clear();
  4910. _internal_metadata_.Clear<std::string>();
  4911. }
  4912. const char* CallbackBody_onErrorParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  4913. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  4914. _Internal::HasBits has_bits{};
  4915. while (!ctx->Done(&ptr)) {
  4916. ::uint32_t tag;
  4917. ptr = ::_pbi::ReadTag(ptr, &tag);
  4918. switch (tag >> 3) {
  4919. // optional int32 errorCode = 1;
  4920. case 1:
  4921. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  4922. _Internal::set_has_errorcode(&has_bits);
  4923. _impl_.errorcode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  4924. CHK_(ptr);
  4925. } else {
  4926. goto handle_unusual;
  4927. }
  4928. continue;
  4929. // optional int32 detailErrorCode = 2;
  4930. case 2:
  4931. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  4932. _Internal::set_has_detailerrorcode(&has_bits);
  4933. _impl_.detailerrorcode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  4934. CHK_(ptr);
  4935. } else {
  4936. goto handle_unusual;
  4937. }
  4938. continue;
  4939. default:
  4940. goto handle_unusual;
  4941. } // switch
  4942. handle_unusual:
  4943. if ((tag == 0) || ((tag & 7) == 4)) {
  4944. CHK_(ptr);
  4945. ctx->SetLastTag(tag);
  4946. goto message_done;
  4947. }
  4948. ptr = UnknownFieldParse(
  4949. tag,
  4950. _internal_metadata_.mutable_unknown_fields<std::string>(),
  4951. ptr, ctx);
  4952. CHK_(ptr != nullptr);
  4953. } // while
  4954. message_done:
  4955. _impl_._has_bits_.Or(has_bits);
  4956. return ptr;
  4957. failure:
  4958. ptr = nullptr;
  4959. goto message_done;
  4960. #undef CHK_
  4961. }
  4962. ::uint8_t* CallbackBody_onErrorParams::_InternalSerialize(
  4963. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  4964. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
  4965. ::uint32_t cached_has_bits = 0;
  4966. (void) cached_has_bits;
  4967. cached_has_bits = _impl_._has_bits_[0];
  4968. // optional int32 errorCode = 1;
  4969. if (cached_has_bits & 0x00000001u) {
  4970. target = stream->EnsureSpace(target);
  4971. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  4972. 1, this->_internal_errorcode(), target);
  4973. }
  4974. // optional int32 detailErrorCode = 2;
  4975. if (cached_has_bits & 0x00000002u) {
  4976. target = stream->EnsureSpace(target);
  4977. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  4978. 2, this->_internal_detailerrorcode(), target);
  4979. }
  4980. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  4981. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  4982. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  4983. }
  4984. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
  4985. return target;
  4986. }
  4987. ::size_t CallbackBody_onErrorParams::ByteSizeLong() const {
  4988. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
  4989. ::size_t total_size = 0;
  4990. ::uint32_t cached_has_bits = 0;
  4991. // Prevent compiler warnings about cached_has_bits being unused
  4992. (void) cached_has_bits;
  4993. cached_has_bits = _impl_._has_bits_[0];
  4994. if (cached_has_bits & 0x00000003u) {
  4995. // optional int32 errorCode = 1;
  4996. if (cached_has_bits & 0x00000001u) {
  4997. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  4998. this->_internal_errorcode());
  4999. }
  5000. // optional int32 detailErrorCode = 2;
  5001. if (cached_has_bits & 0x00000002u) {
  5002. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  5003. this->_internal_detailerrorcode());
  5004. }
  5005. }
  5006. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  5007. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  5008. }
  5009. int cached_size = ::_pbi::ToCachedSize(total_size);
  5010. SetCachedSize(cached_size);
  5011. return total_size;
  5012. }
  5013. void CallbackBody_onErrorParams::CheckTypeAndMergeFrom(
  5014. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  5015. MergeFrom(*::_pbi::DownCast<const CallbackBody_onErrorParams*>(
  5016. &from));
  5017. }
  5018. void CallbackBody_onErrorParams::MergeFrom(const CallbackBody_onErrorParams& from) {
  5019. CallbackBody_onErrorParams* const _this = this;
  5020. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
  5021. ABSL_DCHECK_NE(&from, _this);
  5022. ::uint32_t cached_has_bits = 0;
  5023. (void) cached_has_bits;
  5024. cached_has_bits = from._impl_._has_bits_[0];
  5025. if (cached_has_bits & 0x00000003u) {
  5026. if (cached_has_bits & 0x00000001u) {
  5027. _this->_impl_.errorcode_ = from._impl_.errorcode_;
  5028. }
  5029. if (cached_has_bits & 0x00000002u) {
  5030. _this->_impl_.detailerrorcode_ = from._impl_.detailerrorcode_;
  5031. }
  5032. _this->_impl_._has_bits_[0] |= cached_has_bits;
  5033. }
  5034. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  5035. }
  5036. void CallbackBody_onErrorParams::CopyFrom(const CallbackBody_onErrorParams& from) {
  5037. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
  5038. if (&from == this) return;
  5039. Clear();
  5040. MergeFrom(from);
  5041. }
  5042. bool CallbackBody_onErrorParams::IsInitialized() const {
  5043. return true;
  5044. }
  5045. void CallbackBody_onErrorParams::InternalSwap(CallbackBody_onErrorParams* other) {
  5046. using std::swap;
  5047. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  5048. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  5049. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  5050. PROTOBUF_FIELD_OFFSET(CallbackBody_onErrorParams, _impl_.detailerrorcode_)
  5051. + sizeof(CallbackBody_onErrorParams::_impl_.detailerrorcode_)
  5052. - PROTOBUF_FIELD_OFFSET(CallbackBody_onErrorParams, _impl_.errorcode_)>(
  5053. reinterpret_cast<char*>(&_impl_.errorcode_),
  5054. reinterpret_cast<char*>(&other->_impl_.errorcode_));
  5055. }
  5056. std::string CallbackBody_onErrorParams::GetTypeName() const {
  5057. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams";
  5058. }
  5059. // ===================================================================
  5060. class CallbackBody_onUserJoinParams::_Internal {
  5061. public:
  5062. using HasBits = decltype(std::declval<CallbackBody_onUserJoinParams>()._impl_._has_bits_);
  5063. static constexpr ::int32_t kHasBitsOffset =
  5064. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserJoinParams, _impl_._has_bits_);
  5065. static const ::com::electron::zoomvideo::sdk::proto::UserList& zn_userlist(const CallbackBody_onUserJoinParams* msg);
  5066. static void set_has_zn_userlist(HasBits* has_bits) {
  5067. (*has_bits)[0] |= 1u;
  5068. }
  5069. };
  5070. const ::com::electron::zoomvideo::sdk::proto::UserList&
  5071. CallbackBody_onUserJoinParams::_Internal::zn_userlist(const CallbackBody_onUserJoinParams* msg) {
  5072. return *msg->_impl_.zn_userlist_;
  5073. }
  5074. CallbackBody_onUserJoinParams::CallbackBody_onUserJoinParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  5075. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  5076. SharedCtor(arena);
  5077. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
  5078. }
  5079. CallbackBody_onUserJoinParams::CallbackBody_onUserJoinParams(const CallbackBody_onUserJoinParams& from)
  5080. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  5081. CallbackBody_onUserJoinParams* const _this = this; (void)_this;
  5082. new (&_impl_) Impl_{
  5083. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  5084. , /*decltype(_impl_._cached_size_)*/{}
  5085. , decltype(_impl_.zn_userlist_){nullptr}};
  5086. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  5087. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  5088. _this->_impl_.zn_userlist_ = new ::com::electron::zoomvideo::sdk::proto::UserList(*from._impl_.zn_userlist_);
  5089. }
  5090. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
  5091. }
  5092. inline void CallbackBody_onUserJoinParams::SharedCtor(::_pb::Arena* arena) {
  5093. (void)arena;
  5094. new (&_impl_) Impl_{
  5095. decltype(_impl_._has_bits_){}
  5096. , /*decltype(_impl_._cached_size_)*/{}
  5097. , decltype(_impl_.zn_userlist_){nullptr}
  5098. };
  5099. }
  5100. CallbackBody_onUserJoinParams::~CallbackBody_onUserJoinParams() {
  5101. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
  5102. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  5103. (void)arena;
  5104. return;
  5105. }
  5106. SharedDtor();
  5107. }
  5108. inline void CallbackBody_onUserJoinParams::SharedDtor() {
  5109. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  5110. if (this != internal_default_instance()) delete _impl_.zn_userlist_;
  5111. }
  5112. void CallbackBody_onUserJoinParams::SetCachedSize(int size) const {
  5113. _impl_._cached_size_.Set(size);
  5114. }
  5115. void CallbackBody_onUserJoinParams::Clear() {
  5116. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
  5117. ::uint32_t cached_has_bits = 0;
  5118. // Prevent compiler warnings about cached_has_bits being unused
  5119. (void) cached_has_bits;
  5120. cached_has_bits = _impl_._has_bits_[0];
  5121. if (cached_has_bits & 0x00000001u) {
  5122. ABSL_DCHECK(_impl_.zn_userlist_ != nullptr);
  5123. _impl_.zn_userlist_->Clear();
  5124. }
  5125. _impl_._has_bits_.Clear();
  5126. _internal_metadata_.Clear<std::string>();
  5127. }
  5128. const char* CallbackBody_onUserJoinParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  5129. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  5130. _Internal::HasBits has_bits{};
  5131. while (!ctx->Done(&ptr)) {
  5132. ::uint32_t tag;
  5133. ptr = ::_pbi::ReadTag(ptr, &tag);
  5134. switch (tag >> 3) {
  5135. // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
  5136. case 1:
  5137. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  5138. ptr = ctx->ParseMessage(_internal_mutable_zn_userlist(), ptr);
  5139. CHK_(ptr);
  5140. } else {
  5141. goto handle_unusual;
  5142. }
  5143. continue;
  5144. default:
  5145. goto handle_unusual;
  5146. } // switch
  5147. handle_unusual:
  5148. if ((tag == 0) || ((tag & 7) == 4)) {
  5149. CHK_(ptr);
  5150. ctx->SetLastTag(tag);
  5151. goto message_done;
  5152. }
  5153. ptr = UnknownFieldParse(
  5154. tag,
  5155. _internal_metadata_.mutable_unknown_fields<std::string>(),
  5156. ptr, ctx);
  5157. CHK_(ptr != nullptr);
  5158. } // while
  5159. message_done:
  5160. _impl_._has_bits_.Or(has_bits);
  5161. return ptr;
  5162. failure:
  5163. ptr = nullptr;
  5164. goto message_done;
  5165. #undef CHK_
  5166. }
  5167. ::uint8_t* CallbackBody_onUserJoinParams::_InternalSerialize(
  5168. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  5169. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
  5170. ::uint32_t cached_has_bits = 0;
  5171. (void) cached_has_bits;
  5172. cached_has_bits = _impl_._has_bits_[0];
  5173. // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
  5174. if (cached_has_bits & 0x00000001u) {
  5175. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  5176. InternalWriteMessage(1, _Internal::zn_userlist(this),
  5177. _Internal::zn_userlist(this).GetCachedSize(), target, stream);
  5178. }
  5179. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  5180. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  5181. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  5182. }
  5183. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
  5184. return target;
  5185. }
  5186. ::size_t CallbackBody_onUserJoinParams::ByteSizeLong() const {
  5187. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
  5188. ::size_t total_size = 0;
  5189. ::uint32_t cached_has_bits = 0;
  5190. // Prevent compiler warnings about cached_has_bits being unused
  5191. (void) cached_has_bits;
  5192. // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
  5193. cached_has_bits = _impl_._has_bits_[0];
  5194. if (cached_has_bits & 0x00000001u) {
  5195. total_size += 1 +
  5196. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  5197. *_impl_.zn_userlist_);
  5198. }
  5199. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  5200. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  5201. }
  5202. int cached_size = ::_pbi::ToCachedSize(total_size);
  5203. SetCachedSize(cached_size);
  5204. return total_size;
  5205. }
  5206. void CallbackBody_onUserJoinParams::CheckTypeAndMergeFrom(
  5207. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  5208. MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserJoinParams*>(
  5209. &from));
  5210. }
  5211. void CallbackBody_onUserJoinParams::MergeFrom(const CallbackBody_onUserJoinParams& from) {
  5212. CallbackBody_onUserJoinParams* const _this = this;
  5213. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
  5214. ABSL_DCHECK_NE(&from, _this);
  5215. ::uint32_t cached_has_bits = 0;
  5216. (void) cached_has_bits;
  5217. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  5218. _this->_internal_mutable_zn_userlist()->::com::electron::zoomvideo::sdk::proto::UserList::MergeFrom(
  5219. from._internal_zn_userlist());
  5220. }
  5221. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  5222. }
  5223. void CallbackBody_onUserJoinParams::CopyFrom(const CallbackBody_onUserJoinParams& from) {
  5224. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
  5225. if (&from == this) return;
  5226. Clear();
  5227. MergeFrom(from);
  5228. }
  5229. bool CallbackBody_onUserJoinParams::IsInitialized() const {
  5230. return true;
  5231. }
  5232. void CallbackBody_onUserJoinParams::InternalSwap(CallbackBody_onUserJoinParams* other) {
  5233. using std::swap;
  5234. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  5235. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  5236. swap(_impl_.zn_userlist_, other->_impl_.zn_userlist_);
  5237. }
  5238. std::string CallbackBody_onUserJoinParams::GetTypeName() const {
  5239. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams";
  5240. }
  5241. // ===================================================================
  5242. class CallbackBody_onUserLeaveParams::_Internal {
  5243. public:
  5244. using HasBits = decltype(std::declval<CallbackBody_onUserLeaveParams>()._impl_._has_bits_);
  5245. static constexpr ::int32_t kHasBitsOffset =
  5246. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserLeaveParams, _impl_._has_bits_);
  5247. static const ::com::electron::zoomvideo::sdk::proto::UserList& zn_userlist(const CallbackBody_onUserLeaveParams* msg);
  5248. static void set_has_zn_userlist(HasBits* has_bits) {
  5249. (*has_bits)[0] |= 1u;
  5250. }
  5251. };
  5252. const ::com::electron::zoomvideo::sdk::proto::UserList&
  5253. CallbackBody_onUserLeaveParams::_Internal::zn_userlist(const CallbackBody_onUserLeaveParams* msg) {
  5254. return *msg->_impl_.zn_userlist_;
  5255. }
  5256. CallbackBody_onUserLeaveParams::CallbackBody_onUserLeaveParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  5257. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  5258. SharedCtor(arena);
  5259. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
  5260. }
  5261. CallbackBody_onUserLeaveParams::CallbackBody_onUserLeaveParams(const CallbackBody_onUserLeaveParams& from)
  5262. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  5263. CallbackBody_onUserLeaveParams* const _this = this; (void)_this;
  5264. new (&_impl_) Impl_{
  5265. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  5266. , /*decltype(_impl_._cached_size_)*/{}
  5267. , decltype(_impl_.zn_userlist_){nullptr}};
  5268. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  5269. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  5270. _this->_impl_.zn_userlist_ = new ::com::electron::zoomvideo::sdk::proto::UserList(*from._impl_.zn_userlist_);
  5271. }
  5272. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
  5273. }
  5274. inline void CallbackBody_onUserLeaveParams::SharedCtor(::_pb::Arena* arena) {
  5275. (void)arena;
  5276. new (&_impl_) Impl_{
  5277. decltype(_impl_._has_bits_){}
  5278. , /*decltype(_impl_._cached_size_)*/{}
  5279. , decltype(_impl_.zn_userlist_){nullptr}
  5280. };
  5281. }
  5282. CallbackBody_onUserLeaveParams::~CallbackBody_onUserLeaveParams() {
  5283. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
  5284. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  5285. (void)arena;
  5286. return;
  5287. }
  5288. SharedDtor();
  5289. }
  5290. inline void CallbackBody_onUserLeaveParams::SharedDtor() {
  5291. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  5292. if (this != internal_default_instance()) delete _impl_.zn_userlist_;
  5293. }
  5294. void CallbackBody_onUserLeaveParams::SetCachedSize(int size) const {
  5295. _impl_._cached_size_.Set(size);
  5296. }
  5297. void CallbackBody_onUserLeaveParams::Clear() {
  5298. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
  5299. ::uint32_t cached_has_bits = 0;
  5300. // Prevent compiler warnings about cached_has_bits being unused
  5301. (void) cached_has_bits;
  5302. cached_has_bits = _impl_._has_bits_[0];
  5303. if (cached_has_bits & 0x00000001u) {
  5304. ABSL_DCHECK(_impl_.zn_userlist_ != nullptr);
  5305. _impl_.zn_userlist_->Clear();
  5306. }
  5307. _impl_._has_bits_.Clear();
  5308. _internal_metadata_.Clear<std::string>();
  5309. }
  5310. const char* CallbackBody_onUserLeaveParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  5311. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  5312. _Internal::HasBits has_bits{};
  5313. while (!ctx->Done(&ptr)) {
  5314. ::uint32_t tag;
  5315. ptr = ::_pbi::ReadTag(ptr, &tag);
  5316. switch (tag >> 3) {
  5317. // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
  5318. case 1:
  5319. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  5320. ptr = ctx->ParseMessage(_internal_mutable_zn_userlist(), ptr);
  5321. CHK_(ptr);
  5322. } else {
  5323. goto handle_unusual;
  5324. }
  5325. continue;
  5326. default:
  5327. goto handle_unusual;
  5328. } // switch
  5329. handle_unusual:
  5330. if ((tag == 0) || ((tag & 7) == 4)) {
  5331. CHK_(ptr);
  5332. ctx->SetLastTag(tag);
  5333. goto message_done;
  5334. }
  5335. ptr = UnknownFieldParse(
  5336. tag,
  5337. _internal_metadata_.mutable_unknown_fields<std::string>(),
  5338. ptr, ctx);
  5339. CHK_(ptr != nullptr);
  5340. } // while
  5341. message_done:
  5342. _impl_._has_bits_.Or(has_bits);
  5343. return ptr;
  5344. failure:
  5345. ptr = nullptr;
  5346. goto message_done;
  5347. #undef CHK_
  5348. }
  5349. ::uint8_t* CallbackBody_onUserLeaveParams::_InternalSerialize(
  5350. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  5351. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
  5352. ::uint32_t cached_has_bits = 0;
  5353. (void) cached_has_bits;
  5354. cached_has_bits = _impl_._has_bits_[0];
  5355. // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
  5356. if (cached_has_bits & 0x00000001u) {
  5357. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  5358. InternalWriteMessage(1, _Internal::zn_userlist(this),
  5359. _Internal::zn_userlist(this).GetCachedSize(), target, stream);
  5360. }
  5361. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  5362. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  5363. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  5364. }
  5365. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
  5366. return target;
  5367. }
  5368. ::size_t CallbackBody_onUserLeaveParams::ByteSizeLong() const {
  5369. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
  5370. ::size_t total_size = 0;
  5371. ::uint32_t cached_has_bits = 0;
  5372. // Prevent compiler warnings about cached_has_bits being unused
  5373. (void) cached_has_bits;
  5374. // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
  5375. cached_has_bits = _impl_._has_bits_[0];
  5376. if (cached_has_bits & 0x00000001u) {
  5377. total_size += 1 +
  5378. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  5379. *_impl_.zn_userlist_);
  5380. }
  5381. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  5382. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  5383. }
  5384. int cached_size = ::_pbi::ToCachedSize(total_size);
  5385. SetCachedSize(cached_size);
  5386. return total_size;
  5387. }
  5388. void CallbackBody_onUserLeaveParams::CheckTypeAndMergeFrom(
  5389. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  5390. MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserLeaveParams*>(
  5391. &from));
  5392. }
  5393. void CallbackBody_onUserLeaveParams::MergeFrom(const CallbackBody_onUserLeaveParams& from) {
  5394. CallbackBody_onUserLeaveParams* const _this = this;
  5395. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
  5396. ABSL_DCHECK_NE(&from, _this);
  5397. ::uint32_t cached_has_bits = 0;
  5398. (void) cached_has_bits;
  5399. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  5400. _this->_internal_mutable_zn_userlist()->::com::electron::zoomvideo::sdk::proto::UserList::MergeFrom(
  5401. from._internal_zn_userlist());
  5402. }
  5403. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  5404. }
  5405. void CallbackBody_onUserLeaveParams::CopyFrom(const CallbackBody_onUserLeaveParams& from) {
  5406. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
  5407. if (&from == this) return;
  5408. Clear();
  5409. MergeFrom(from);
  5410. }
  5411. bool CallbackBody_onUserLeaveParams::IsInitialized() const {
  5412. return true;
  5413. }
  5414. void CallbackBody_onUserLeaveParams::InternalSwap(CallbackBody_onUserLeaveParams* other) {
  5415. using std::swap;
  5416. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  5417. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  5418. swap(_impl_.zn_userlist_, other->_impl_.zn_userlist_);
  5419. }
  5420. std::string CallbackBody_onUserLeaveParams::GetTypeName() const {
  5421. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams";
  5422. }
  5423. // ===================================================================
  5424. class CallbackBody_onUserVideoStatusChangedParams::_Internal {
  5425. public:
  5426. using HasBits = decltype(std::declval<CallbackBody_onUserVideoStatusChangedParams>()._impl_._has_bits_);
  5427. static constexpr ::int32_t kHasBitsOffset =
  5428. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserVideoStatusChangedParams, _impl_._has_bits_);
  5429. static const ::com::electron::zoomvideo::sdk::proto::UserList& zn_userlist(const CallbackBody_onUserVideoStatusChangedParams* msg);
  5430. static void set_has_zn_userlist(HasBits* has_bits) {
  5431. (*has_bits)[0] |= 1u;
  5432. }
  5433. };
  5434. const ::com::electron::zoomvideo::sdk::proto::UserList&
  5435. CallbackBody_onUserVideoStatusChangedParams::_Internal::zn_userlist(const CallbackBody_onUserVideoStatusChangedParams* msg) {
  5436. return *msg->_impl_.zn_userlist_;
  5437. }
  5438. CallbackBody_onUserVideoStatusChangedParams::CallbackBody_onUserVideoStatusChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  5439. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  5440. SharedCtor(arena);
  5441. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
  5442. }
  5443. CallbackBody_onUserVideoStatusChangedParams::CallbackBody_onUserVideoStatusChangedParams(const CallbackBody_onUserVideoStatusChangedParams& from)
  5444. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  5445. CallbackBody_onUserVideoStatusChangedParams* const _this = this; (void)_this;
  5446. new (&_impl_) Impl_{
  5447. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  5448. , /*decltype(_impl_._cached_size_)*/{}
  5449. , decltype(_impl_.zn_userlist_){nullptr}};
  5450. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  5451. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  5452. _this->_impl_.zn_userlist_ = new ::com::electron::zoomvideo::sdk::proto::UserList(*from._impl_.zn_userlist_);
  5453. }
  5454. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
  5455. }
  5456. inline void CallbackBody_onUserVideoStatusChangedParams::SharedCtor(::_pb::Arena* arena) {
  5457. (void)arena;
  5458. new (&_impl_) Impl_{
  5459. decltype(_impl_._has_bits_){}
  5460. , /*decltype(_impl_._cached_size_)*/{}
  5461. , decltype(_impl_.zn_userlist_){nullptr}
  5462. };
  5463. }
  5464. CallbackBody_onUserVideoStatusChangedParams::~CallbackBody_onUserVideoStatusChangedParams() {
  5465. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
  5466. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  5467. (void)arena;
  5468. return;
  5469. }
  5470. SharedDtor();
  5471. }
  5472. inline void CallbackBody_onUserVideoStatusChangedParams::SharedDtor() {
  5473. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  5474. if (this != internal_default_instance()) delete _impl_.zn_userlist_;
  5475. }
  5476. void CallbackBody_onUserVideoStatusChangedParams::SetCachedSize(int size) const {
  5477. _impl_._cached_size_.Set(size);
  5478. }
  5479. void CallbackBody_onUserVideoStatusChangedParams::Clear() {
  5480. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
  5481. ::uint32_t cached_has_bits = 0;
  5482. // Prevent compiler warnings about cached_has_bits being unused
  5483. (void) cached_has_bits;
  5484. cached_has_bits = _impl_._has_bits_[0];
  5485. if (cached_has_bits & 0x00000001u) {
  5486. ABSL_DCHECK(_impl_.zn_userlist_ != nullptr);
  5487. _impl_.zn_userlist_->Clear();
  5488. }
  5489. _impl_._has_bits_.Clear();
  5490. _internal_metadata_.Clear<std::string>();
  5491. }
  5492. const char* CallbackBody_onUserVideoStatusChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  5493. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  5494. _Internal::HasBits has_bits{};
  5495. while (!ctx->Done(&ptr)) {
  5496. ::uint32_t tag;
  5497. ptr = ::_pbi::ReadTag(ptr, &tag);
  5498. switch (tag >> 3) {
  5499. // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
  5500. case 1:
  5501. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  5502. ptr = ctx->ParseMessage(_internal_mutable_zn_userlist(), ptr);
  5503. CHK_(ptr);
  5504. } else {
  5505. goto handle_unusual;
  5506. }
  5507. continue;
  5508. default:
  5509. goto handle_unusual;
  5510. } // switch
  5511. handle_unusual:
  5512. if ((tag == 0) || ((tag & 7) == 4)) {
  5513. CHK_(ptr);
  5514. ctx->SetLastTag(tag);
  5515. goto message_done;
  5516. }
  5517. ptr = UnknownFieldParse(
  5518. tag,
  5519. _internal_metadata_.mutable_unknown_fields<std::string>(),
  5520. ptr, ctx);
  5521. CHK_(ptr != nullptr);
  5522. } // while
  5523. message_done:
  5524. _impl_._has_bits_.Or(has_bits);
  5525. return ptr;
  5526. failure:
  5527. ptr = nullptr;
  5528. goto message_done;
  5529. #undef CHK_
  5530. }
  5531. ::uint8_t* CallbackBody_onUserVideoStatusChangedParams::_InternalSerialize(
  5532. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  5533. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
  5534. ::uint32_t cached_has_bits = 0;
  5535. (void) cached_has_bits;
  5536. cached_has_bits = _impl_._has_bits_[0];
  5537. // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
  5538. if (cached_has_bits & 0x00000001u) {
  5539. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  5540. InternalWriteMessage(1, _Internal::zn_userlist(this),
  5541. _Internal::zn_userlist(this).GetCachedSize(), target, stream);
  5542. }
  5543. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  5544. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  5545. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  5546. }
  5547. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
  5548. return target;
  5549. }
  5550. ::size_t CallbackBody_onUserVideoStatusChangedParams::ByteSizeLong() const {
  5551. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
  5552. ::size_t total_size = 0;
  5553. ::uint32_t cached_has_bits = 0;
  5554. // Prevent compiler warnings about cached_has_bits being unused
  5555. (void) cached_has_bits;
  5556. // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
  5557. cached_has_bits = _impl_._has_bits_[0];
  5558. if (cached_has_bits & 0x00000001u) {
  5559. total_size += 1 +
  5560. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  5561. *_impl_.zn_userlist_);
  5562. }
  5563. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  5564. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  5565. }
  5566. int cached_size = ::_pbi::ToCachedSize(total_size);
  5567. SetCachedSize(cached_size);
  5568. return total_size;
  5569. }
  5570. void CallbackBody_onUserVideoStatusChangedParams::CheckTypeAndMergeFrom(
  5571. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  5572. MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserVideoStatusChangedParams*>(
  5573. &from));
  5574. }
  5575. void CallbackBody_onUserVideoStatusChangedParams::MergeFrom(const CallbackBody_onUserVideoStatusChangedParams& from) {
  5576. CallbackBody_onUserVideoStatusChangedParams* const _this = this;
  5577. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
  5578. ABSL_DCHECK_NE(&from, _this);
  5579. ::uint32_t cached_has_bits = 0;
  5580. (void) cached_has_bits;
  5581. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  5582. _this->_internal_mutable_zn_userlist()->::com::electron::zoomvideo::sdk::proto::UserList::MergeFrom(
  5583. from._internal_zn_userlist());
  5584. }
  5585. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  5586. }
  5587. void CallbackBody_onUserVideoStatusChangedParams::CopyFrom(const CallbackBody_onUserVideoStatusChangedParams& from) {
  5588. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
  5589. if (&from == this) return;
  5590. Clear();
  5591. MergeFrom(from);
  5592. }
  5593. bool CallbackBody_onUserVideoStatusChangedParams::IsInitialized() const {
  5594. return true;
  5595. }
  5596. void CallbackBody_onUserVideoStatusChangedParams::InternalSwap(CallbackBody_onUserVideoStatusChangedParams* other) {
  5597. using std::swap;
  5598. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  5599. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  5600. swap(_impl_.zn_userlist_, other->_impl_.zn_userlist_);
  5601. }
  5602. std::string CallbackBody_onUserVideoStatusChangedParams::GetTypeName() const {
  5603. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams";
  5604. }
  5605. // ===================================================================
  5606. class CallbackBody_onUserAudioStatusChangedParams::_Internal {
  5607. public:
  5608. using HasBits = decltype(std::declval<CallbackBody_onUserAudioStatusChangedParams>()._impl_._has_bits_);
  5609. static constexpr ::int32_t kHasBitsOffset =
  5610. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserAudioStatusChangedParams, _impl_._has_bits_);
  5611. static const ::com::electron::zoomvideo::sdk::proto::UserList& zn_userlist(const CallbackBody_onUserAudioStatusChangedParams* msg);
  5612. static void set_has_zn_userlist(HasBits* has_bits) {
  5613. (*has_bits)[0] |= 1u;
  5614. }
  5615. };
  5616. const ::com::electron::zoomvideo::sdk::proto::UserList&
  5617. CallbackBody_onUserAudioStatusChangedParams::_Internal::zn_userlist(const CallbackBody_onUserAudioStatusChangedParams* msg) {
  5618. return *msg->_impl_.zn_userlist_;
  5619. }
  5620. CallbackBody_onUserAudioStatusChangedParams::CallbackBody_onUserAudioStatusChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  5621. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  5622. SharedCtor(arena);
  5623. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
  5624. }
  5625. CallbackBody_onUserAudioStatusChangedParams::CallbackBody_onUserAudioStatusChangedParams(const CallbackBody_onUserAudioStatusChangedParams& from)
  5626. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  5627. CallbackBody_onUserAudioStatusChangedParams* const _this = this; (void)_this;
  5628. new (&_impl_) Impl_{
  5629. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  5630. , /*decltype(_impl_._cached_size_)*/{}
  5631. , decltype(_impl_.zn_userlist_){nullptr}};
  5632. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  5633. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  5634. _this->_impl_.zn_userlist_ = new ::com::electron::zoomvideo::sdk::proto::UserList(*from._impl_.zn_userlist_);
  5635. }
  5636. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
  5637. }
  5638. inline void CallbackBody_onUserAudioStatusChangedParams::SharedCtor(::_pb::Arena* arena) {
  5639. (void)arena;
  5640. new (&_impl_) Impl_{
  5641. decltype(_impl_._has_bits_){}
  5642. , /*decltype(_impl_._cached_size_)*/{}
  5643. , decltype(_impl_.zn_userlist_){nullptr}
  5644. };
  5645. }
  5646. CallbackBody_onUserAudioStatusChangedParams::~CallbackBody_onUserAudioStatusChangedParams() {
  5647. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
  5648. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  5649. (void)arena;
  5650. return;
  5651. }
  5652. SharedDtor();
  5653. }
  5654. inline void CallbackBody_onUserAudioStatusChangedParams::SharedDtor() {
  5655. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  5656. if (this != internal_default_instance()) delete _impl_.zn_userlist_;
  5657. }
  5658. void CallbackBody_onUserAudioStatusChangedParams::SetCachedSize(int size) const {
  5659. _impl_._cached_size_.Set(size);
  5660. }
  5661. void CallbackBody_onUserAudioStatusChangedParams::Clear() {
  5662. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
  5663. ::uint32_t cached_has_bits = 0;
  5664. // Prevent compiler warnings about cached_has_bits being unused
  5665. (void) cached_has_bits;
  5666. cached_has_bits = _impl_._has_bits_[0];
  5667. if (cached_has_bits & 0x00000001u) {
  5668. ABSL_DCHECK(_impl_.zn_userlist_ != nullptr);
  5669. _impl_.zn_userlist_->Clear();
  5670. }
  5671. _impl_._has_bits_.Clear();
  5672. _internal_metadata_.Clear<std::string>();
  5673. }
  5674. const char* CallbackBody_onUserAudioStatusChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  5675. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  5676. _Internal::HasBits has_bits{};
  5677. while (!ctx->Done(&ptr)) {
  5678. ::uint32_t tag;
  5679. ptr = ::_pbi::ReadTag(ptr, &tag);
  5680. switch (tag >> 3) {
  5681. // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
  5682. case 1:
  5683. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  5684. ptr = ctx->ParseMessage(_internal_mutable_zn_userlist(), ptr);
  5685. CHK_(ptr);
  5686. } else {
  5687. goto handle_unusual;
  5688. }
  5689. continue;
  5690. default:
  5691. goto handle_unusual;
  5692. } // switch
  5693. handle_unusual:
  5694. if ((tag == 0) || ((tag & 7) == 4)) {
  5695. CHK_(ptr);
  5696. ctx->SetLastTag(tag);
  5697. goto message_done;
  5698. }
  5699. ptr = UnknownFieldParse(
  5700. tag,
  5701. _internal_metadata_.mutable_unknown_fields<std::string>(),
  5702. ptr, ctx);
  5703. CHK_(ptr != nullptr);
  5704. } // while
  5705. message_done:
  5706. _impl_._has_bits_.Or(has_bits);
  5707. return ptr;
  5708. failure:
  5709. ptr = nullptr;
  5710. goto message_done;
  5711. #undef CHK_
  5712. }
  5713. ::uint8_t* CallbackBody_onUserAudioStatusChangedParams::_InternalSerialize(
  5714. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  5715. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
  5716. ::uint32_t cached_has_bits = 0;
  5717. (void) cached_has_bits;
  5718. cached_has_bits = _impl_._has_bits_[0];
  5719. // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
  5720. if (cached_has_bits & 0x00000001u) {
  5721. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  5722. InternalWriteMessage(1, _Internal::zn_userlist(this),
  5723. _Internal::zn_userlist(this).GetCachedSize(), target, stream);
  5724. }
  5725. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  5726. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  5727. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  5728. }
  5729. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
  5730. return target;
  5731. }
  5732. ::size_t CallbackBody_onUserAudioStatusChangedParams::ByteSizeLong() const {
  5733. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
  5734. ::size_t total_size = 0;
  5735. ::uint32_t cached_has_bits = 0;
  5736. // Prevent compiler warnings about cached_has_bits being unused
  5737. (void) cached_has_bits;
  5738. // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
  5739. cached_has_bits = _impl_._has_bits_[0];
  5740. if (cached_has_bits & 0x00000001u) {
  5741. total_size += 1 +
  5742. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  5743. *_impl_.zn_userlist_);
  5744. }
  5745. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  5746. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  5747. }
  5748. int cached_size = ::_pbi::ToCachedSize(total_size);
  5749. SetCachedSize(cached_size);
  5750. return total_size;
  5751. }
  5752. void CallbackBody_onUserAudioStatusChangedParams::CheckTypeAndMergeFrom(
  5753. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  5754. MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserAudioStatusChangedParams*>(
  5755. &from));
  5756. }
  5757. void CallbackBody_onUserAudioStatusChangedParams::MergeFrom(const CallbackBody_onUserAudioStatusChangedParams& from) {
  5758. CallbackBody_onUserAudioStatusChangedParams* const _this = this;
  5759. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
  5760. ABSL_DCHECK_NE(&from, _this);
  5761. ::uint32_t cached_has_bits = 0;
  5762. (void) cached_has_bits;
  5763. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  5764. _this->_internal_mutable_zn_userlist()->::com::electron::zoomvideo::sdk::proto::UserList::MergeFrom(
  5765. from._internal_zn_userlist());
  5766. }
  5767. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  5768. }
  5769. void CallbackBody_onUserAudioStatusChangedParams::CopyFrom(const CallbackBody_onUserAudioStatusChangedParams& from) {
  5770. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
  5771. if (&from == this) return;
  5772. Clear();
  5773. MergeFrom(from);
  5774. }
  5775. bool CallbackBody_onUserAudioStatusChangedParams::IsInitialized() const {
  5776. return true;
  5777. }
  5778. void CallbackBody_onUserAudioStatusChangedParams::InternalSwap(CallbackBody_onUserAudioStatusChangedParams* other) {
  5779. using std::swap;
  5780. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  5781. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  5782. swap(_impl_.zn_userlist_, other->_impl_.zn_userlist_);
  5783. }
  5784. std::string CallbackBody_onUserAudioStatusChangedParams::GetTypeName() const {
  5785. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams";
  5786. }
  5787. // ===================================================================
  5788. class CallbackBody_onUserShareStatusChangedParams::_Internal {
  5789. public:
  5790. using HasBits = decltype(std::declval<CallbackBody_onUserShareStatusChangedParams>()._impl_._has_bits_);
  5791. static constexpr ::int32_t kHasBitsOffset =
  5792. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserShareStatusChangedParams, _impl_._has_bits_);
  5793. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const CallbackBody_onUserShareStatusChangedParams* msg);
  5794. static void set_has_user(HasBits* has_bits) {
  5795. (*has_bits)[0] |= 1u;
  5796. }
  5797. static void set_has_status(HasBits* has_bits) {
  5798. (*has_bits)[0] |= 2u;
  5799. }
  5800. static void set_has_type(HasBits* has_bits) {
  5801. (*has_bits)[0] |= 4u;
  5802. }
  5803. };
  5804. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  5805. CallbackBody_onUserShareStatusChangedParams::_Internal::user(const CallbackBody_onUserShareStatusChangedParams* msg) {
  5806. return *msg->_impl_.user_;
  5807. }
  5808. CallbackBody_onUserShareStatusChangedParams::CallbackBody_onUserShareStatusChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  5809. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  5810. SharedCtor(arena);
  5811. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
  5812. }
  5813. CallbackBody_onUserShareStatusChangedParams::CallbackBody_onUserShareStatusChangedParams(const CallbackBody_onUserShareStatusChangedParams& from)
  5814. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  5815. CallbackBody_onUserShareStatusChangedParams* const _this = this; (void)_this;
  5816. new (&_impl_) Impl_{
  5817. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  5818. , /*decltype(_impl_._cached_size_)*/{}
  5819. , decltype(_impl_.user_){nullptr}
  5820. , decltype(_impl_.status_) {}
  5821. , decltype(_impl_.type_) {}
  5822. };
  5823. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  5824. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  5825. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  5826. }
  5827. ::memcpy(&_impl_.status_, &from._impl_.status_,
  5828. static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.type_) -
  5829. reinterpret_cast<char*>(&_impl_.status_)) + sizeof(_impl_.type_));
  5830. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
  5831. }
  5832. inline void CallbackBody_onUserShareStatusChangedParams::SharedCtor(::_pb::Arena* arena) {
  5833. (void)arena;
  5834. new (&_impl_) Impl_{
  5835. decltype(_impl_._has_bits_){}
  5836. , /*decltype(_impl_._cached_size_)*/{}
  5837. , decltype(_impl_.user_){nullptr}
  5838. , decltype(_impl_.status_) { 0 }
  5839. , decltype(_impl_.type_) { 0 }
  5840. };
  5841. }
  5842. CallbackBody_onUserShareStatusChangedParams::~CallbackBody_onUserShareStatusChangedParams() {
  5843. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
  5844. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  5845. (void)arena;
  5846. return;
  5847. }
  5848. SharedDtor();
  5849. }
  5850. inline void CallbackBody_onUserShareStatusChangedParams::SharedDtor() {
  5851. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  5852. if (this != internal_default_instance()) delete _impl_.user_;
  5853. }
  5854. void CallbackBody_onUserShareStatusChangedParams::SetCachedSize(int size) const {
  5855. _impl_._cached_size_.Set(size);
  5856. }
  5857. void CallbackBody_onUserShareStatusChangedParams::Clear() {
  5858. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
  5859. ::uint32_t cached_has_bits = 0;
  5860. // Prevent compiler warnings about cached_has_bits being unused
  5861. (void) cached_has_bits;
  5862. cached_has_bits = _impl_._has_bits_[0];
  5863. if (cached_has_bits & 0x00000001u) {
  5864. ABSL_DCHECK(_impl_.user_ != nullptr);
  5865. _impl_.user_->Clear();
  5866. }
  5867. if (cached_has_bits & 0x00000006u) {
  5868. ::memset(&_impl_.status_, 0, static_cast<::size_t>(
  5869. reinterpret_cast<char*>(&_impl_.type_) -
  5870. reinterpret_cast<char*>(&_impl_.status_)) + sizeof(_impl_.type_));
  5871. }
  5872. _impl_._has_bits_.Clear();
  5873. _internal_metadata_.Clear<std::string>();
  5874. }
  5875. const char* CallbackBody_onUserShareStatusChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  5876. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  5877. _Internal::HasBits has_bits{};
  5878. while (!ctx->Done(&ptr)) {
  5879. ::uint32_t tag;
  5880. ptr = ::_pbi::ReadTag(ptr, &tag);
  5881. switch (tag >> 3) {
  5882. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  5883. case 1:
  5884. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  5885. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  5886. CHK_(ptr);
  5887. } else {
  5888. goto handle_unusual;
  5889. }
  5890. continue;
  5891. // optional int32 status = 2;
  5892. case 2:
  5893. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  5894. _Internal::set_has_status(&has_bits);
  5895. _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  5896. CHK_(ptr);
  5897. } else {
  5898. goto handle_unusual;
  5899. }
  5900. continue;
  5901. // optional int32 type = 3;
  5902. case 3:
  5903. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  5904. _Internal::set_has_type(&has_bits);
  5905. _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  5906. CHK_(ptr);
  5907. } else {
  5908. goto handle_unusual;
  5909. }
  5910. continue;
  5911. default:
  5912. goto handle_unusual;
  5913. } // switch
  5914. handle_unusual:
  5915. if ((tag == 0) || ((tag & 7) == 4)) {
  5916. CHK_(ptr);
  5917. ctx->SetLastTag(tag);
  5918. goto message_done;
  5919. }
  5920. ptr = UnknownFieldParse(
  5921. tag,
  5922. _internal_metadata_.mutable_unknown_fields<std::string>(),
  5923. ptr, ctx);
  5924. CHK_(ptr != nullptr);
  5925. } // while
  5926. message_done:
  5927. _impl_._has_bits_.Or(has_bits);
  5928. return ptr;
  5929. failure:
  5930. ptr = nullptr;
  5931. goto message_done;
  5932. #undef CHK_
  5933. }
  5934. ::uint8_t* CallbackBody_onUserShareStatusChangedParams::_InternalSerialize(
  5935. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  5936. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
  5937. ::uint32_t cached_has_bits = 0;
  5938. (void) cached_has_bits;
  5939. cached_has_bits = _impl_._has_bits_[0];
  5940. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  5941. if (cached_has_bits & 0x00000001u) {
  5942. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  5943. InternalWriteMessage(1, _Internal::user(this),
  5944. _Internal::user(this).GetCachedSize(), target, stream);
  5945. }
  5946. // optional int32 status = 2;
  5947. if (cached_has_bits & 0x00000002u) {
  5948. target = stream->EnsureSpace(target);
  5949. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  5950. 2, this->_internal_status(), target);
  5951. }
  5952. // optional int32 type = 3;
  5953. if (cached_has_bits & 0x00000004u) {
  5954. target = stream->EnsureSpace(target);
  5955. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  5956. 3, this->_internal_type(), target);
  5957. }
  5958. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  5959. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  5960. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  5961. }
  5962. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
  5963. return target;
  5964. }
  5965. ::size_t CallbackBody_onUserShareStatusChangedParams::ByteSizeLong() const {
  5966. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
  5967. ::size_t total_size = 0;
  5968. ::uint32_t cached_has_bits = 0;
  5969. // Prevent compiler warnings about cached_has_bits being unused
  5970. (void) cached_has_bits;
  5971. cached_has_bits = _impl_._has_bits_[0];
  5972. if (cached_has_bits & 0x00000007u) {
  5973. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  5974. if (cached_has_bits & 0x00000001u) {
  5975. total_size += 1 +
  5976. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  5977. *_impl_.user_);
  5978. }
  5979. // optional int32 status = 2;
  5980. if (cached_has_bits & 0x00000002u) {
  5981. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  5982. this->_internal_status());
  5983. }
  5984. // optional int32 type = 3;
  5985. if (cached_has_bits & 0x00000004u) {
  5986. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  5987. this->_internal_type());
  5988. }
  5989. }
  5990. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  5991. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  5992. }
  5993. int cached_size = ::_pbi::ToCachedSize(total_size);
  5994. SetCachedSize(cached_size);
  5995. return total_size;
  5996. }
  5997. void CallbackBody_onUserShareStatusChangedParams::CheckTypeAndMergeFrom(
  5998. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  5999. MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserShareStatusChangedParams*>(
  6000. &from));
  6001. }
  6002. void CallbackBody_onUserShareStatusChangedParams::MergeFrom(const CallbackBody_onUserShareStatusChangedParams& from) {
  6003. CallbackBody_onUserShareStatusChangedParams* const _this = this;
  6004. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
  6005. ABSL_DCHECK_NE(&from, _this);
  6006. ::uint32_t cached_has_bits = 0;
  6007. (void) cached_has_bits;
  6008. cached_has_bits = from._impl_._has_bits_[0];
  6009. if (cached_has_bits & 0x00000007u) {
  6010. if (cached_has_bits & 0x00000001u) {
  6011. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  6012. from._internal_user());
  6013. }
  6014. if (cached_has_bits & 0x00000002u) {
  6015. _this->_impl_.status_ = from._impl_.status_;
  6016. }
  6017. if (cached_has_bits & 0x00000004u) {
  6018. _this->_impl_.type_ = from._impl_.type_;
  6019. }
  6020. _this->_impl_._has_bits_[0] |= cached_has_bits;
  6021. }
  6022. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  6023. }
  6024. void CallbackBody_onUserShareStatusChangedParams::CopyFrom(const CallbackBody_onUserShareStatusChangedParams& from) {
  6025. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
  6026. if (&from == this) return;
  6027. Clear();
  6028. MergeFrom(from);
  6029. }
  6030. bool CallbackBody_onUserShareStatusChangedParams::IsInitialized() const {
  6031. return true;
  6032. }
  6033. void CallbackBody_onUserShareStatusChangedParams::InternalSwap(CallbackBody_onUserShareStatusChangedParams* other) {
  6034. using std::swap;
  6035. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  6036. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  6037. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  6038. PROTOBUF_FIELD_OFFSET(CallbackBody_onUserShareStatusChangedParams, _impl_.type_)
  6039. + sizeof(CallbackBody_onUserShareStatusChangedParams::_impl_.type_)
  6040. - PROTOBUF_FIELD_OFFSET(CallbackBody_onUserShareStatusChangedParams, _impl_.user_)>(
  6041. reinterpret_cast<char*>(&_impl_.user_),
  6042. reinterpret_cast<char*>(&other->_impl_.user_));
  6043. }
  6044. std::string CallbackBody_onUserShareStatusChangedParams::GetTypeName() const {
  6045. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams";
  6046. }
  6047. // ===================================================================
  6048. class CallbackBody_onLiveStreamStatusChangedParams::_Internal {
  6049. public:
  6050. using HasBits = decltype(std::declval<CallbackBody_onLiveStreamStatusChangedParams>()._impl_._has_bits_);
  6051. static constexpr ::int32_t kHasBitsOffset =
  6052. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onLiveStreamStatusChangedParams, _impl_._has_bits_);
  6053. static void set_has_status(HasBits* has_bits) {
  6054. (*has_bits)[0] |= 1u;
  6055. }
  6056. };
  6057. CallbackBody_onLiveStreamStatusChangedParams::CallbackBody_onLiveStreamStatusChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  6058. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  6059. SharedCtor(arena);
  6060. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
  6061. }
  6062. CallbackBody_onLiveStreamStatusChangedParams::CallbackBody_onLiveStreamStatusChangedParams(const CallbackBody_onLiveStreamStatusChangedParams& from)
  6063. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  6064. _internal_metadata_.MergeFrom<std::string>(
  6065. from._internal_metadata_);
  6066. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
  6067. }
  6068. inline void CallbackBody_onLiveStreamStatusChangedParams::SharedCtor(::_pb::Arena* arena) {
  6069. (void)arena;
  6070. new (&_impl_) Impl_{
  6071. decltype(_impl_._has_bits_){}
  6072. , /*decltype(_impl_._cached_size_)*/{}
  6073. , decltype(_impl_.status_) { 0 }
  6074. };
  6075. }
  6076. CallbackBody_onLiveStreamStatusChangedParams::~CallbackBody_onLiveStreamStatusChangedParams() {
  6077. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
  6078. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  6079. (void)arena;
  6080. return;
  6081. }
  6082. SharedDtor();
  6083. }
  6084. inline void CallbackBody_onLiveStreamStatusChangedParams::SharedDtor() {
  6085. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  6086. }
  6087. void CallbackBody_onLiveStreamStatusChangedParams::SetCachedSize(int size) const {
  6088. _impl_._cached_size_.Set(size);
  6089. }
  6090. void CallbackBody_onLiveStreamStatusChangedParams::Clear() {
  6091. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
  6092. ::uint32_t cached_has_bits = 0;
  6093. // Prevent compiler warnings about cached_has_bits being unused
  6094. (void) cached_has_bits;
  6095. _impl_.status_ = 0;
  6096. _impl_._has_bits_.Clear();
  6097. _internal_metadata_.Clear<std::string>();
  6098. }
  6099. const char* CallbackBody_onLiveStreamStatusChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  6100. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  6101. _Internal::HasBits has_bits{};
  6102. while (!ctx->Done(&ptr)) {
  6103. ::uint32_t tag;
  6104. ptr = ::_pbi::ReadTag(ptr, &tag);
  6105. switch (tag >> 3) {
  6106. // optional int32 status = 1;
  6107. case 1:
  6108. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  6109. _Internal::set_has_status(&has_bits);
  6110. _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  6111. CHK_(ptr);
  6112. } else {
  6113. goto handle_unusual;
  6114. }
  6115. continue;
  6116. default:
  6117. goto handle_unusual;
  6118. } // switch
  6119. handle_unusual:
  6120. if ((tag == 0) || ((tag & 7) == 4)) {
  6121. CHK_(ptr);
  6122. ctx->SetLastTag(tag);
  6123. goto message_done;
  6124. }
  6125. ptr = UnknownFieldParse(
  6126. tag,
  6127. _internal_metadata_.mutable_unknown_fields<std::string>(),
  6128. ptr, ctx);
  6129. CHK_(ptr != nullptr);
  6130. } // while
  6131. message_done:
  6132. _impl_._has_bits_.Or(has_bits);
  6133. return ptr;
  6134. failure:
  6135. ptr = nullptr;
  6136. goto message_done;
  6137. #undef CHK_
  6138. }
  6139. ::uint8_t* CallbackBody_onLiveStreamStatusChangedParams::_InternalSerialize(
  6140. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  6141. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
  6142. ::uint32_t cached_has_bits = 0;
  6143. (void) cached_has_bits;
  6144. cached_has_bits = _impl_._has_bits_[0];
  6145. // optional int32 status = 1;
  6146. if (cached_has_bits & 0x00000001u) {
  6147. target = stream->EnsureSpace(target);
  6148. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  6149. 1, this->_internal_status(), target);
  6150. }
  6151. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  6152. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  6153. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  6154. }
  6155. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
  6156. return target;
  6157. }
  6158. ::size_t CallbackBody_onLiveStreamStatusChangedParams::ByteSizeLong() const {
  6159. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
  6160. ::size_t total_size = 0;
  6161. ::uint32_t cached_has_bits = 0;
  6162. // Prevent compiler warnings about cached_has_bits being unused
  6163. (void) cached_has_bits;
  6164. // optional int32 status = 1;
  6165. cached_has_bits = _impl_._has_bits_[0];
  6166. if (cached_has_bits & 0x00000001u) {
  6167. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  6168. this->_internal_status());
  6169. }
  6170. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  6171. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  6172. }
  6173. int cached_size = ::_pbi::ToCachedSize(total_size);
  6174. SetCachedSize(cached_size);
  6175. return total_size;
  6176. }
  6177. void CallbackBody_onLiveStreamStatusChangedParams::CheckTypeAndMergeFrom(
  6178. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  6179. MergeFrom(*::_pbi::DownCast<const CallbackBody_onLiveStreamStatusChangedParams*>(
  6180. &from));
  6181. }
  6182. void CallbackBody_onLiveStreamStatusChangedParams::MergeFrom(const CallbackBody_onLiveStreamStatusChangedParams& from) {
  6183. CallbackBody_onLiveStreamStatusChangedParams* const _this = this;
  6184. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
  6185. ABSL_DCHECK_NE(&from, _this);
  6186. ::uint32_t cached_has_bits = 0;
  6187. (void) cached_has_bits;
  6188. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  6189. _this->_internal_set_status(from._internal_status());
  6190. }
  6191. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  6192. }
  6193. void CallbackBody_onLiveStreamStatusChangedParams::CopyFrom(const CallbackBody_onLiveStreamStatusChangedParams& from) {
  6194. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
  6195. if (&from == this) return;
  6196. Clear();
  6197. MergeFrom(from);
  6198. }
  6199. bool CallbackBody_onLiveStreamStatusChangedParams::IsInitialized() const {
  6200. return true;
  6201. }
  6202. void CallbackBody_onLiveStreamStatusChangedParams::InternalSwap(CallbackBody_onLiveStreamStatusChangedParams* other) {
  6203. using std::swap;
  6204. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  6205. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  6206. swap(_impl_.status_, other->_impl_.status_);
  6207. }
  6208. std::string CallbackBody_onLiveStreamStatusChangedParams::GetTypeName() const {
  6209. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams";
  6210. }
  6211. // ===================================================================
  6212. class CallbackBody_onUserHostChangedParams::_Internal {
  6213. public:
  6214. using HasBits = decltype(std::declval<CallbackBody_onUserHostChangedParams>()._impl_._has_bits_);
  6215. static constexpr ::int32_t kHasBitsOffset =
  6216. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserHostChangedParams, _impl_._has_bits_);
  6217. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const CallbackBody_onUserHostChangedParams* msg);
  6218. static void set_has_user(HasBits* has_bits) {
  6219. (*has_bits)[0] |= 1u;
  6220. }
  6221. };
  6222. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  6223. CallbackBody_onUserHostChangedParams::_Internal::user(const CallbackBody_onUserHostChangedParams* msg) {
  6224. return *msg->_impl_.user_;
  6225. }
  6226. CallbackBody_onUserHostChangedParams::CallbackBody_onUserHostChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  6227. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  6228. SharedCtor(arena);
  6229. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
  6230. }
  6231. CallbackBody_onUserHostChangedParams::CallbackBody_onUserHostChangedParams(const CallbackBody_onUserHostChangedParams& from)
  6232. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  6233. CallbackBody_onUserHostChangedParams* const _this = this; (void)_this;
  6234. new (&_impl_) Impl_{
  6235. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  6236. , /*decltype(_impl_._cached_size_)*/{}
  6237. , decltype(_impl_.user_){nullptr}};
  6238. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  6239. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  6240. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  6241. }
  6242. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
  6243. }
  6244. inline void CallbackBody_onUserHostChangedParams::SharedCtor(::_pb::Arena* arena) {
  6245. (void)arena;
  6246. new (&_impl_) Impl_{
  6247. decltype(_impl_._has_bits_){}
  6248. , /*decltype(_impl_._cached_size_)*/{}
  6249. , decltype(_impl_.user_){nullptr}
  6250. };
  6251. }
  6252. CallbackBody_onUserHostChangedParams::~CallbackBody_onUserHostChangedParams() {
  6253. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
  6254. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  6255. (void)arena;
  6256. return;
  6257. }
  6258. SharedDtor();
  6259. }
  6260. inline void CallbackBody_onUserHostChangedParams::SharedDtor() {
  6261. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  6262. if (this != internal_default_instance()) delete _impl_.user_;
  6263. }
  6264. void CallbackBody_onUserHostChangedParams::SetCachedSize(int size) const {
  6265. _impl_._cached_size_.Set(size);
  6266. }
  6267. void CallbackBody_onUserHostChangedParams::Clear() {
  6268. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
  6269. ::uint32_t cached_has_bits = 0;
  6270. // Prevent compiler warnings about cached_has_bits being unused
  6271. (void) cached_has_bits;
  6272. cached_has_bits = _impl_._has_bits_[0];
  6273. if (cached_has_bits & 0x00000001u) {
  6274. ABSL_DCHECK(_impl_.user_ != nullptr);
  6275. _impl_.user_->Clear();
  6276. }
  6277. _impl_._has_bits_.Clear();
  6278. _internal_metadata_.Clear<std::string>();
  6279. }
  6280. const char* CallbackBody_onUserHostChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  6281. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  6282. _Internal::HasBits has_bits{};
  6283. while (!ctx->Done(&ptr)) {
  6284. ::uint32_t tag;
  6285. ptr = ::_pbi::ReadTag(ptr, &tag);
  6286. switch (tag >> 3) {
  6287. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  6288. case 1:
  6289. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  6290. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  6291. CHK_(ptr);
  6292. } else {
  6293. goto handle_unusual;
  6294. }
  6295. continue;
  6296. default:
  6297. goto handle_unusual;
  6298. } // switch
  6299. handle_unusual:
  6300. if ((tag == 0) || ((tag & 7) == 4)) {
  6301. CHK_(ptr);
  6302. ctx->SetLastTag(tag);
  6303. goto message_done;
  6304. }
  6305. ptr = UnknownFieldParse(
  6306. tag,
  6307. _internal_metadata_.mutable_unknown_fields<std::string>(),
  6308. ptr, ctx);
  6309. CHK_(ptr != nullptr);
  6310. } // while
  6311. message_done:
  6312. _impl_._has_bits_.Or(has_bits);
  6313. return ptr;
  6314. failure:
  6315. ptr = nullptr;
  6316. goto message_done;
  6317. #undef CHK_
  6318. }
  6319. ::uint8_t* CallbackBody_onUserHostChangedParams::_InternalSerialize(
  6320. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  6321. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
  6322. ::uint32_t cached_has_bits = 0;
  6323. (void) cached_has_bits;
  6324. cached_has_bits = _impl_._has_bits_[0];
  6325. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  6326. if (cached_has_bits & 0x00000001u) {
  6327. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  6328. InternalWriteMessage(1, _Internal::user(this),
  6329. _Internal::user(this).GetCachedSize(), target, stream);
  6330. }
  6331. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  6332. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  6333. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  6334. }
  6335. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
  6336. return target;
  6337. }
  6338. ::size_t CallbackBody_onUserHostChangedParams::ByteSizeLong() const {
  6339. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
  6340. ::size_t total_size = 0;
  6341. ::uint32_t cached_has_bits = 0;
  6342. // Prevent compiler warnings about cached_has_bits being unused
  6343. (void) cached_has_bits;
  6344. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  6345. cached_has_bits = _impl_._has_bits_[0];
  6346. if (cached_has_bits & 0x00000001u) {
  6347. total_size += 1 +
  6348. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  6349. *_impl_.user_);
  6350. }
  6351. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  6352. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  6353. }
  6354. int cached_size = ::_pbi::ToCachedSize(total_size);
  6355. SetCachedSize(cached_size);
  6356. return total_size;
  6357. }
  6358. void CallbackBody_onUserHostChangedParams::CheckTypeAndMergeFrom(
  6359. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  6360. MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserHostChangedParams*>(
  6361. &from));
  6362. }
  6363. void CallbackBody_onUserHostChangedParams::MergeFrom(const CallbackBody_onUserHostChangedParams& from) {
  6364. CallbackBody_onUserHostChangedParams* const _this = this;
  6365. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
  6366. ABSL_DCHECK_NE(&from, _this);
  6367. ::uint32_t cached_has_bits = 0;
  6368. (void) cached_has_bits;
  6369. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  6370. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  6371. from._internal_user());
  6372. }
  6373. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  6374. }
  6375. void CallbackBody_onUserHostChangedParams::CopyFrom(const CallbackBody_onUserHostChangedParams& from) {
  6376. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
  6377. if (&from == this) return;
  6378. Clear();
  6379. MergeFrom(from);
  6380. }
  6381. bool CallbackBody_onUserHostChangedParams::IsInitialized() const {
  6382. return true;
  6383. }
  6384. void CallbackBody_onUserHostChangedParams::InternalSwap(CallbackBody_onUserHostChangedParams* other) {
  6385. using std::swap;
  6386. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  6387. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  6388. swap(_impl_.user_, other->_impl_.user_);
  6389. }
  6390. std::string CallbackBody_onUserHostChangedParams::GetTypeName() const {
  6391. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams";
  6392. }
  6393. // ===================================================================
  6394. class CallbackBody_onUserNameChangedParams::_Internal {
  6395. public:
  6396. using HasBits = decltype(std::declval<CallbackBody_onUserNameChangedParams>()._impl_._has_bits_);
  6397. static constexpr ::int32_t kHasBitsOffset =
  6398. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserNameChangedParams, _impl_._has_bits_);
  6399. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const CallbackBody_onUserNameChangedParams* msg);
  6400. static void set_has_user(HasBits* has_bits) {
  6401. (*has_bits)[0] |= 1u;
  6402. }
  6403. };
  6404. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  6405. CallbackBody_onUserNameChangedParams::_Internal::user(const CallbackBody_onUserNameChangedParams* msg) {
  6406. return *msg->_impl_.user_;
  6407. }
  6408. CallbackBody_onUserNameChangedParams::CallbackBody_onUserNameChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  6409. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  6410. SharedCtor(arena);
  6411. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
  6412. }
  6413. CallbackBody_onUserNameChangedParams::CallbackBody_onUserNameChangedParams(const CallbackBody_onUserNameChangedParams& from)
  6414. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  6415. CallbackBody_onUserNameChangedParams* const _this = this; (void)_this;
  6416. new (&_impl_) Impl_{
  6417. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  6418. , /*decltype(_impl_._cached_size_)*/{}
  6419. , decltype(_impl_.user_){nullptr}};
  6420. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  6421. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  6422. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  6423. }
  6424. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
  6425. }
  6426. inline void CallbackBody_onUserNameChangedParams::SharedCtor(::_pb::Arena* arena) {
  6427. (void)arena;
  6428. new (&_impl_) Impl_{
  6429. decltype(_impl_._has_bits_){}
  6430. , /*decltype(_impl_._cached_size_)*/{}
  6431. , decltype(_impl_.user_){nullptr}
  6432. };
  6433. }
  6434. CallbackBody_onUserNameChangedParams::~CallbackBody_onUserNameChangedParams() {
  6435. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
  6436. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  6437. (void)arena;
  6438. return;
  6439. }
  6440. SharedDtor();
  6441. }
  6442. inline void CallbackBody_onUserNameChangedParams::SharedDtor() {
  6443. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  6444. if (this != internal_default_instance()) delete _impl_.user_;
  6445. }
  6446. void CallbackBody_onUserNameChangedParams::SetCachedSize(int size) const {
  6447. _impl_._cached_size_.Set(size);
  6448. }
  6449. void CallbackBody_onUserNameChangedParams::Clear() {
  6450. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
  6451. ::uint32_t cached_has_bits = 0;
  6452. // Prevent compiler warnings about cached_has_bits being unused
  6453. (void) cached_has_bits;
  6454. cached_has_bits = _impl_._has_bits_[0];
  6455. if (cached_has_bits & 0x00000001u) {
  6456. ABSL_DCHECK(_impl_.user_ != nullptr);
  6457. _impl_.user_->Clear();
  6458. }
  6459. _impl_._has_bits_.Clear();
  6460. _internal_metadata_.Clear<std::string>();
  6461. }
  6462. const char* CallbackBody_onUserNameChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  6463. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  6464. _Internal::HasBits has_bits{};
  6465. while (!ctx->Done(&ptr)) {
  6466. ::uint32_t tag;
  6467. ptr = ::_pbi::ReadTag(ptr, &tag);
  6468. switch (tag >> 3) {
  6469. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  6470. case 1:
  6471. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  6472. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  6473. CHK_(ptr);
  6474. } else {
  6475. goto handle_unusual;
  6476. }
  6477. continue;
  6478. default:
  6479. goto handle_unusual;
  6480. } // switch
  6481. handle_unusual:
  6482. if ((tag == 0) || ((tag & 7) == 4)) {
  6483. CHK_(ptr);
  6484. ctx->SetLastTag(tag);
  6485. goto message_done;
  6486. }
  6487. ptr = UnknownFieldParse(
  6488. tag,
  6489. _internal_metadata_.mutable_unknown_fields<std::string>(),
  6490. ptr, ctx);
  6491. CHK_(ptr != nullptr);
  6492. } // while
  6493. message_done:
  6494. _impl_._has_bits_.Or(has_bits);
  6495. return ptr;
  6496. failure:
  6497. ptr = nullptr;
  6498. goto message_done;
  6499. #undef CHK_
  6500. }
  6501. ::uint8_t* CallbackBody_onUserNameChangedParams::_InternalSerialize(
  6502. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  6503. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
  6504. ::uint32_t cached_has_bits = 0;
  6505. (void) cached_has_bits;
  6506. cached_has_bits = _impl_._has_bits_[0];
  6507. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  6508. if (cached_has_bits & 0x00000001u) {
  6509. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  6510. InternalWriteMessage(1, _Internal::user(this),
  6511. _Internal::user(this).GetCachedSize(), target, stream);
  6512. }
  6513. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  6514. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  6515. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  6516. }
  6517. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
  6518. return target;
  6519. }
  6520. ::size_t CallbackBody_onUserNameChangedParams::ByteSizeLong() const {
  6521. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
  6522. ::size_t total_size = 0;
  6523. ::uint32_t cached_has_bits = 0;
  6524. // Prevent compiler warnings about cached_has_bits being unused
  6525. (void) cached_has_bits;
  6526. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  6527. cached_has_bits = _impl_._has_bits_[0];
  6528. if (cached_has_bits & 0x00000001u) {
  6529. total_size += 1 +
  6530. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  6531. *_impl_.user_);
  6532. }
  6533. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  6534. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  6535. }
  6536. int cached_size = ::_pbi::ToCachedSize(total_size);
  6537. SetCachedSize(cached_size);
  6538. return total_size;
  6539. }
  6540. void CallbackBody_onUserNameChangedParams::CheckTypeAndMergeFrom(
  6541. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  6542. MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserNameChangedParams*>(
  6543. &from));
  6544. }
  6545. void CallbackBody_onUserNameChangedParams::MergeFrom(const CallbackBody_onUserNameChangedParams& from) {
  6546. CallbackBody_onUserNameChangedParams* const _this = this;
  6547. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
  6548. ABSL_DCHECK_NE(&from, _this);
  6549. ::uint32_t cached_has_bits = 0;
  6550. (void) cached_has_bits;
  6551. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  6552. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  6553. from._internal_user());
  6554. }
  6555. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  6556. }
  6557. void CallbackBody_onUserNameChangedParams::CopyFrom(const CallbackBody_onUserNameChangedParams& from) {
  6558. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
  6559. if (&from == this) return;
  6560. Clear();
  6561. MergeFrom(from);
  6562. }
  6563. bool CallbackBody_onUserNameChangedParams::IsInitialized() const {
  6564. return true;
  6565. }
  6566. void CallbackBody_onUserNameChangedParams::InternalSwap(CallbackBody_onUserNameChangedParams* other) {
  6567. using std::swap;
  6568. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  6569. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  6570. swap(_impl_.user_, other->_impl_.user_);
  6571. }
  6572. std::string CallbackBody_onUserNameChangedParams::GetTypeName() const {
  6573. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams";
  6574. }
  6575. // ===================================================================
  6576. class CallbackBody_onUserManagerChangedParams::_Internal {
  6577. public:
  6578. using HasBits = decltype(std::declval<CallbackBody_onUserManagerChangedParams>()._impl_._has_bits_);
  6579. static constexpr ::int32_t kHasBitsOffset =
  6580. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserManagerChangedParams, _impl_._has_bits_);
  6581. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const CallbackBody_onUserManagerChangedParams* msg);
  6582. static void set_has_user(HasBits* has_bits) {
  6583. (*has_bits)[0] |= 1u;
  6584. }
  6585. };
  6586. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  6587. CallbackBody_onUserManagerChangedParams::_Internal::user(const CallbackBody_onUserManagerChangedParams* msg) {
  6588. return *msg->_impl_.user_;
  6589. }
  6590. CallbackBody_onUserManagerChangedParams::CallbackBody_onUserManagerChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  6591. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  6592. SharedCtor(arena);
  6593. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
  6594. }
  6595. CallbackBody_onUserManagerChangedParams::CallbackBody_onUserManagerChangedParams(const CallbackBody_onUserManagerChangedParams& from)
  6596. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  6597. CallbackBody_onUserManagerChangedParams* const _this = this; (void)_this;
  6598. new (&_impl_) Impl_{
  6599. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  6600. , /*decltype(_impl_._cached_size_)*/{}
  6601. , decltype(_impl_.user_){nullptr}};
  6602. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  6603. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  6604. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  6605. }
  6606. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
  6607. }
  6608. inline void CallbackBody_onUserManagerChangedParams::SharedCtor(::_pb::Arena* arena) {
  6609. (void)arena;
  6610. new (&_impl_) Impl_{
  6611. decltype(_impl_._has_bits_){}
  6612. , /*decltype(_impl_._cached_size_)*/{}
  6613. , decltype(_impl_.user_){nullptr}
  6614. };
  6615. }
  6616. CallbackBody_onUserManagerChangedParams::~CallbackBody_onUserManagerChangedParams() {
  6617. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
  6618. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  6619. (void)arena;
  6620. return;
  6621. }
  6622. SharedDtor();
  6623. }
  6624. inline void CallbackBody_onUserManagerChangedParams::SharedDtor() {
  6625. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  6626. if (this != internal_default_instance()) delete _impl_.user_;
  6627. }
  6628. void CallbackBody_onUserManagerChangedParams::SetCachedSize(int size) const {
  6629. _impl_._cached_size_.Set(size);
  6630. }
  6631. void CallbackBody_onUserManagerChangedParams::Clear() {
  6632. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
  6633. ::uint32_t cached_has_bits = 0;
  6634. // Prevent compiler warnings about cached_has_bits being unused
  6635. (void) cached_has_bits;
  6636. cached_has_bits = _impl_._has_bits_[0];
  6637. if (cached_has_bits & 0x00000001u) {
  6638. ABSL_DCHECK(_impl_.user_ != nullptr);
  6639. _impl_.user_->Clear();
  6640. }
  6641. _impl_._has_bits_.Clear();
  6642. _internal_metadata_.Clear<std::string>();
  6643. }
  6644. const char* CallbackBody_onUserManagerChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  6645. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  6646. _Internal::HasBits has_bits{};
  6647. while (!ctx->Done(&ptr)) {
  6648. ::uint32_t tag;
  6649. ptr = ::_pbi::ReadTag(ptr, &tag);
  6650. switch (tag >> 3) {
  6651. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  6652. case 1:
  6653. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  6654. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  6655. CHK_(ptr);
  6656. } else {
  6657. goto handle_unusual;
  6658. }
  6659. continue;
  6660. default:
  6661. goto handle_unusual;
  6662. } // switch
  6663. handle_unusual:
  6664. if ((tag == 0) || ((tag & 7) == 4)) {
  6665. CHK_(ptr);
  6666. ctx->SetLastTag(tag);
  6667. goto message_done;
  6668. }
  6669. ptr = UnknownFieldParse(
  6670. tag,
  6671. _internal_metadata_.mutable_unknown_fields<std::string>(),
  6672. ptr, ctx);
  6673. CHK_(ptr != nullptr);
  6674. } // while
  6675. message_done:
  6676. _impl_._has_bits_.Or(has_bits);
  6677. return ptr;
  6678. failure:
  6679. ptr = nullptr;
  6680. goto message_done;
  6681. #undef CHK_
  6682. }
  6683. ::uint8_t* CallbackBody_onUserManagerChangedParams::_InternalSerialize(
  6684. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  6685. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
  6686. ::uint32_t cached_has_bits = 0;
  6687. (void) cached_has_bits;
  6688. cached_has_bits = _impl_._has_bits_[0];
  6689. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  6690. if (cached_has_bits & 0x00000001u) {
  6691. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  6692. InternalWriteMessage(1, _Internal::user(this),
  6693. _Internal::user(this).GetCachedSize(), target, stream);
  6694. }
  6695. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  6696. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  6697. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  6698. }
  6699. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
  6700. return target;
  6701. }
  6702. ::size_t CallbackBody_onUserManagerChangedParams::ByteSizeLong() const {
  6703. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
  6704. ::size_t total_size = 0;
  6705. ::uint32_t cached_has_bits = 0;
  6706. // Prevent compiler warnings about cached_has_bits being unused
  6707. (void) cached_has_bits;
  6708. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  6709. cached_has_bits = _impl_._has_bits_[0];
  6710. if (cached_has_bits & 0x00000001u) {
  6711. total_size += 1 +
  6712. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  6713. *_impl_.user_);
  6714. }
  6715. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  6716. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  6717. }
  6718. int cached_size = ::_pbi::ToCachedSize(total_size);
  6719. SetCachedSize(cached_size);
  6720. return total_size;
  6721. }
  6722. void CallbackBody_onUserManagerChangedParams::CheckTypeAndMergeFrom(
  6723. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  6724. MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserManagerChangedParams*>(
  6725. &from));
  6726. }
  6727. void CallbackBody_onUserManagerChangedParams::MergeFrom(const CallbackBody_onUserManagerChangedParams& from) {
  6728. CallbackBody_onUserManagerChangedParams* const _this = this;
  6729. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
  6730. ABSL_DCHECK_NE(&from, _this);
  6731. ::uint32_t cached_has_bits = 0;
  6732. (void) cached_has_bits;
  6733. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  6734. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  6735. from._internal_user());
  6736. }
  6737. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  6738. }
  6739. void CallbackBody_onUserManagerChangedParams::CopyFrom(const CallbackBody_onUserManagerChangedParams& from) {
  6740. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
  6741. if (&from == this) return;
  6742. Clear();
  6743. MergeFrom(from);
  6744. }
  6745. bool CallbackBody_onUserManagerChangedParams::IsInitialized() const {
  6746. return true;
  6747. }
  6748. void CallbackBody_onUserManagerChangedParams::InternalSwap(CallbackBody_onUserManagerChangedParams* other) {
  6749. using std::swap;
  6750. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  6751. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  6752. swap(_impl_.user_, other->_impl_.user_);
  6753. }
  6754. std::string CallbackBody_onUserManagerChangedParams::GetTypeName() const {
  6755. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams";
  6756. }
  6757. // ===================================================================
  6758. class CallbackBody_onUserActiveAudioChangedParams::_Internal {
  6759. public:
  6760. using HasBits = decltype(std::declval<CallbackBody_onUserActiveAudioChangedParams>()._impl_._has_bits_);
  6761. static constexpr ::int32_t kHasBitsOffset =
  6762. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserActiveAudioChangedParams, _impl_._has_bits_);
  6763. static const ::com::electron::zoomvideo::sdk::proto::UserList& zn_userlist(const CallbackBody_onUserActiveAudioChangedParams* msg);
  6764. static void set_has_zn_userlist(HasBits* has_bits) {
  6765. (*has_bits)[0] |= 1u;
  6766. }
  6767. };
  6768. const ::com::electron::zoomvideo::sdk::proto::UserList&
  6769. CallbackBody_onUserActiveAudioChangedParams::_Internal::zn_userlist(const CallbackBody_onUserActiveAudioChangedParams* msg) {
  6770. return *msg->_impl_.zn_userlist_;
  6771. }
  6772. CallbackBody_onUserActiveAudioChangedParams::CallbackBody_onUserActiveAudioChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  6773. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  6774. SharedCtor(arena);
  6775. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
  6776. }
  6777. CallbackBody_onUserActiveAudioChangedParams::CallbackBody_onUserActiveAudioChangedParams(const CallbackBody_onUserActiveAudioChangedParams& from)
  6778. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  6779. CallbackBody_onUserActiveAudioChangedParams* const _this = this; (void)_this;
  6780. new (&_impl_) Impl_{
  6781. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  6782. , /*decltype(_impl_._cached_size_)*/{}
  6783. , decltype(_impl_.zn_userlist_){nullptr}};
  6784. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  6785. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  6786. _this->_impl_.zn_userlist_ = new ::com::electron::zoomvideo::sdk::proto::UserList(*from._impl_.zn_userlist_);
  6787. }
  6788. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
  6789. }
  6790. inline void CallbackBody_onUserActiveAudioChangedParams::SharedCtor(::_pb::Arena* arena) {
  6791. (void)arena;
  6792. new (&_impl_) Impl_{
  6793. decltype(_impl_._has_bits_){}
  6794. , /*decltype(_impl_._cached_size_)*/{}
  6795. , decltype(_impl_.zn_userlist_){nullptr}
  6796. };
  6797. }
  6798. CallbackBody_onUserActiveAudioChangedParams::~CallbackBody_onUserActiveAudioChangedParams() {
  6799. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
  6800. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  6801. (void)arena;
  6802. return;
  6803. }
  6804. SharedDtor();
  6805. }
  6806. inline void CallbackBody_onUserActiveAudioChangedParams::SharedDtor() {
  6807. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  6808. if (this != internal_default_instance()) delete _impl_.zn_userlist_;
  6809. }
  6810. void CallbackBody_onUserActiveAudioChangedParams::SetCachedSize(int size) const {
  6811. _impl_._cached_size_.Set(size);
  6812. }
  6813. void CallbackBody_onUserActiveAudioChangedParams::Clear() {
  6814. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
  6815. ::uint32_t cached_has_bits = 0;
  6816. // Prevent compiler warnings about cached_has_bits being unused
  6817. (void) cached_has_bits;
  6818. cached_has_bits = _impl_._has_bits_[0];
  6819. if (cached_has_bits & 0x00000001u) {
  6820. ABSL_DCHECK(_impl_.zn_userlist_ != nullptr);
  6821. _impl_.zn_userlist_->Clear();
  6822. }
  6823. _impl_._has_bits_.Clear();
  6824. _internal_metadata_.Clear<std::string>();
  6825. }
  6826. const char* CallbackBody_onUserActiveAudioChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  6827. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  6828. _Internal::HasBits has_bits{};
  6829. while (!ctx->Done(&ptr)) {
  6830. ::uint32_t tag;
  6831. ptr = ::_pbi::ReadTag(ptr, &tag);
  6832. switch (tag >> 3) {
  6833. // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
  6834. case 1:
  6835. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  6836. ptr = ctx->ParseMessage(_internal_mutable_zn_userlist(), ptr);
  6837. CHK_(ptr);
  6838. } else {
  6839. goto handle_unusual;
  6840. }
  6841. continue;
  6842. default:
  6843. goto handle_unusual;
  6844. } // switch
  6845. handle_unusual:
  6846. if ((tag == 0) || ((tag & 7) == 4)) {
  6847. CHK_(ptr);
  6848. ctx->SetLastTag(tag);
  6849. goto message_done;
  6850. }
  6851. ptr = UnknownFieldParse(
  6852. tag,
  6853. _internal_metadata_.mutable_unknown_fields<std::string>(),
  6854. ptr, ctx);
  6855. CHK_(ptr != nullptr);
  6856. } // while
  6857. message_done:
  6858. _impl_._has_bits_.Or(has_bits);
  6859. return ptr;
  6860. failure:
  6861. ptr = nullptr;
  6862. goto message_done;
  6863. #undef CHK_
  6864. }
  6865. ::uint8_t* CallbackBody_onUserActiveAudioChangedParams::_InternalSerialize(
  6866. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  6867. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
  6868. ::uint32_t cached_has_bits = 0;
  6869. (void) cached_has_bits;
  6870. cached_has_bits = _impl_._has_bits_[0];
  6871. // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
  6872. if (cached_has_bits & 0x00000001u) {
  6873. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  6874. InternalWriteMessage(1, _Internal::zn_userlist(this),
  6875. _Internal::zn_userlist(this).GetCachedSize(), target, stream);
  6876. }
  6877. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  6878. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  6879. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  6880. }
  6881. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
  6882. return target;
  6883. }
  6884. ::size_t CallbackBody_onUserActiveAudioChangedParams::ByteSizeLong() const {
  6885. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
  6886. ::size_t total_size = 0;
  6887. ::uint32_t cached_has_bits = 0;
  6888. // Prevent compiler warnings about cached_has_bits being unused
  6889. (void) cached_has_bits;
  6890. // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
  6891. cached_has_bits = _impl_._has_bits_[0];
  6892. if (cached_has_bits & 0x00000001u) {
  6893. total_size += 1 +
  6894. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  6895. *_impl_.zn_userlist_);
  6896. }
  6897. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  6898. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  6899. }
  6900. int cached_size = ::_pbi::ToCachedSize(total_size);
  6901. SetCachedSize(cached_size);
  6902. return total_size;
  6903. }
  6904. void CallbackBody_onUserActiveAudioChangedParams::CheckTypeAndMergeFrom(
  6905. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  6906. MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserActiveAudioChangedParams*>(
  6907. &from));
  6908. }
  6909. void CallbackBody_onUserActiveAudioChangedParams::MergeFrom(const CallbackBody_onUserActiveAudioChangedParams& from) {
  6910. CallbackBody_onUserActiveAudioChangedParams* const _this = this;
  6911. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
  6912. ABSL_DCHECK_NE(&from, _this);
  6913. ::uint32_t cached_has_bits = 0;
  6914. (void) cached_has_bits;
  6915. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  6916. _this->_internal_mutable_zn_userlist()->::com::electron::zoomvideo::sdk::proto::UserList::MergeFrom(
  6917. from._internal_zn_userlist());
  6918. }
  6919. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  6920. }
  6921. void CallbackBody_onUserActiveAudioChangedParams::CopyFrom(const CallbackBody_onUserActiveAudioChangedParams& from) {
  6922. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
  6923. if (&from == this) return;
  6924. Clear();
  6925. MergeFrom(from);
  6926. }
  6927. bool CallbackBody_onUserActiveAudioChangedParams::IsInitialized() const {
  6928. return true;
  6929. }
  6930. void CallbackBody_onUserActiveAudioChangedParams::InternalSwap(CallbackBody_onUserActiveAudioChangedParams* other) {
  6931. using std::swap;
  6932. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  6933. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  6934. swap(_impl_.zn_userlist_, other->_impl_.zn_userlist_);
  6935. }
  6936. std::string CallbackBody_onUserActiveAudioChangedParams::GetTypeName() const {
  6937. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams";
  6938. }
  6939. // ===================================================================
  6940. class CallbackBody_onChatNewMessageNotifyParams::_Internal {
  6941. public:
  6942. using HasBits = decltype(std::declval<CallbackBody_onChatNewMessageNotifyParams>()._impl_._has_bits_);
  6943. static constexpr ::int32_t kHasBitsOffset =
  6944. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onChatNewMessageNotifyParams, _impl_._has_bits_);
  6945. static void set_has_psender(HasBits* has_bits) {
  6946. (*has_bits)[0] |= 16u;
  6947. }
  6948. static void set_has_sendername(HasBits* has_bits) {
  6949. (*has_bits)[0] |= 1u;
  6950. }
  6951. static void set_has_preceiver(HasBits* has_bits) {
  6952. (*has_bits)[0] |= 32u;
  6953. }
  6954. static void set_has_receivername(HasBits* has_bits) {
  6955. (*has_bits)[0] |= 2u;
  6956. }
  6957. static void set_has_messagecontent(HasBits* has_bits) {
  6958. (*has_bits)[0] |= 4u;
  6959. }
  6960. static void set_has_timestamp(HasBits* has_bits) {
  6961. (*has_bits)[0] |= 64u;
  6962. }
  6963. static void set_has_ischattoall(HasBits* has_bits) {
  6964. (*has_bits)[0] |= 128u;
  6965. }
  6966. static void set_has_isselfsend(HasBits* has_bits) {
  6967. (*has_bits)[0] |= 256u;
  6968. }
  6969. static void set_has_messageid(HasBits* has_bits) {
  6970. (*has_bits)[0] |= 8u;
  6971. }
  6972. };
  6973. CallbackBody_onChatNewMessageNotifyParams::CallbackBody_onChatNewMessageNotifyParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  6974. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  6975. SharedCtor(arena);
  6976. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
  6977. }
  6978. CallbackBody_onChatNewMessageNotifyParams::CallbackBody_onChatNewMessageNotifyParams(const CallbackBody_onChatNewMessageNotifyParams& from)
  6979. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  6980. CallbackBody_onChatNewMessageNotifyParams* const _this = this; (void)_this;
  6981. new (&_impl_) Impl_{
  6982. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  6983. , /*decltype(_impl_._cached_size_)*/{}
  6984. , decltype(_impl_.sendername_) {}
  6985. , decltype(_impl_.receivername_) {}
  6986. , decltype(_impl_.messagecontent_) {}
  6987. , decltype(_impl_.messageid_) {}
  6988. , decltype(_impl_.psender_) {}
  6989. , decltype(_impl_.preceiver_) {}
  6990. , decltype(_impl_.timestamp_) {}
  6991. , decltype(_impl_.ischattoall_) {}
  6992. , decltype(_impl_.isselfsend_) {}
  6993. };
  6994. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  6995. _impl_.sendername_.InitDefault();
  6996. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6997. _impl_.sendername_.Set("", GetArenaForAllocation());
  6998. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  6999. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  7000. _this->_impl_.sendername_.Set(from._internal_sendername(), _this->GetArenaForAllocation());
  7001. }
  7002. _impl_.receivername_.InitDefault();
  7003. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7004. _impl_.receivername_.Set("", GetArenaForAllocation());
  7005. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7006. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  7007. _this->_impl_.receivername_.Set(from._internal_receivername(), _this->GetArenaForAllocation());
  7008. }
  7009. _impl_.messagecontent_.InitDefault();
  7010. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7011. _impl_.messagecontent_.Set("", GetArenaForAllocation());
  7012. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7013. if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
  7014. _this->_impl_.messagecontent_.Set(from._internal_messagecontent(), _this->GetArenaForAllocation());
  7015. }
  7016. _impl_.messageid_.InitDefault();
  7017. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7018. _impl_.messageid_.Set("", GetArenaForAllocation());
  7019. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7020. if ((from._impl_._has_bits_[0] & 0x00000008u) != 0) {
  7021. _this->_impl_.messageid_.Set(from._internal_messageid(), _this->GetArenaForAllocation());
  7022. }
  7023. ::memcpy(&_impl_.psender_, &from._impl_.psender_,
  7024. static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.isselfsend_) -
  7025. reinterpret_cast<char*>(&_impl_.psender_)) + sizeof(_impl_.isselfsend_));
  7026. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
  7027. }
  7028. inline void CallbackBody_onChatNewMessageNotifyParams::SharedCtor(::_pb::Arena* arena) {
  7029. (void)arena;
  7030. new (&_impl_) Impl_{
  7031. decltype(_impl_._has_bits_){}
  7032. , /*decltype(_impl_._cached_size_)*/{}
  7033. , decltype(_impl_.sendername_) {}
  7034. , decltype(_impl_.receivername_) {}
  7035. , decltype(_impl_.messagecontent_) {}
  7036. , decltype(_impl_.messageid_) {}
  7037. , decltype(_impl_.psender_) { ::int64_t{0} }
  7038. , decltype(_impl_.preceiver_) { ::int64_t{0} }
  7039. , decltype(_impl_.timestamp_) { ::int64_t{0} }
  7040. , decltype(_impl_.ischattoall_) { false }
  7041. , decltype(_impl_.isselfsend_) { false }
  7042. };
  7043. _impl_.sendername_.InitDefault();
  7044. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7045. _impl_.sendername_.Set("", GetArenaForAllocation());
  7046. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7047. _impl_.receivername_.InitDefault();
  7048. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7049. _impl_.receivername_.Set("", GetArenaForAllocation());
  7050. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7051. _impl_.messagecontent_.InitDefault();
  7052. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7053. _impl_.messagecontent_.Set("", GetArenaForAllocation());
  7054. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7055. _impl_.messageid_.InitDefault();
  7056. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7057. _impl_.messageid_.Set("", GetArenaForAllocation());
  7058. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7059. }
  7060. CallbackBody_onChatNewMessageNotifyParams::~CallbackBody_onChatNewMessageNotifyParams() {
  7061. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
  7062. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  7063. (void)arena;
  7064. return;
  7065. }
  7066. SharedDtor();
  7067. }
  7068. inline void CallbackBody_onChatNewMessageNotifyParams::SharedDtor() {
  7069. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  7070. _impl_.sendername_.Destroy();
  7071. _impl_.receivername_.Destroy();
  7072. _impl_.messagecontent_.Destroy();
  7073. _impl_.messageid_.Destroy();
  7074. }
  7075. void CallbackBody_onChatNewMessageNotifyParams::SetCachedSize(int size) const {
  7076. _impl_._cached_size_.Set(size);
  7077. }
  7078. void CallbackBody_onChatNewMessageNotifyParams::Clear() {
  7079. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
  7080. ::uint32_t cached_has_bits = 0;
  7081. // Prevent compiler warnings about cached_has_bits being unused
  7082. (void) cached_has_bits;
  7083. cached_has_bits = _impl_._has_bits_[0];
  7084. if (cached_has_bits & 0x0000000fu) {
  7085. if (cached_has_bits & 0x00000001u) {
  7086. _impl_.sendername_.ClearNonDefaultToEmpty();
  7087. }
  7088. if (cached_has_bits & 0x00000002u) {
  7089. _impl_.receivername_.ClearNonDefaultToEmpty();
  7090. }
  7091. if (cached_has_bits & 0x00000004u) {
  7092. _impl_.messagecontent_.ClearNonDefaultToEmpty();
  7093. }
  7094. if (cached_has_bits & 0x00000008u) {
  7095. _impl_.messageid_.ClearNonDefaultToEmpty();
  7096. }
  7097. }
  7098. if (cached_has_bits & 0x000000f0u) {
  7099. ::memset(&_impl_.psender_, 0, static_cast<::size_t>(
  7100. reinterpret_cast<char*>(&_impl_.ischattoall_) -
  7101. reinterpret_cast<char*>(&_impl_.psender_)) + sizeof(_impl_.ischattoall_));
  7102. }
  7103. _impl_.isselfsend_ = false;
  7104. _impl_._has_bits_.Clear();
  7105. _internal_metadata_.Clear<std::string>();
  7106. }
  7107. const char* CallbackBody_onChatNewMessageNotifyParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  7108. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  7109. _Internal::HasBits has_bits{};
  7110. while (!ctx->Done(&ptr)) {
  7111. ::uint32_t tag;
  7112. ptr = ::_pbi::ReadTag(ptr, &tag);
  7113. switch (tag >> 3) {
  7114. // optional int64 pSender = 1;
  7115. case 1:
  7116. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  7117. _Internal::set_has_psender(&has_bits);
  7118. _impl_.psender_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  7119. CHK_(ptr);
  7120. } else {
  7121. goto handle_unusual;
  7122. }
  7123. continue;
  7124. // optional string senderName = 2;
  7125. case 2:
  7126. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  7127. auto str = _internal_mutable_sendername();
  7128. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  7129. CHK_(ptr);
  7130. } else {
  7131. goto handle_unusual;
  7132. }
  7133. continue;
  7134. // optional int64 pReceiver = 3;
  7135. case 3:
  7136. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  7137. _Internal::set_has_preceiver(&has_bits);
  7138. _impl_.preceiver_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  7139. CHK_(ptr);
  7140. } else {
  7141. goto handle_unusual;
  7142. }
  7143. continue;
  7144. // optional string receiverName = 4;
  7145. case 4:
  7146. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
  7147. auto str = _internal_mutable_receivername();
  7148. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  7149. CHK_(ptr);
  7150. } else {
  7151. goto handle_unusual;
  7152. }
  7153. continue;
  7154. // optional string messageContent = 5;
  7155. case 5:
  7156. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) {
  7157. auto str = _internal_mutable_messagecontent();
  7158. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  7159. CHK_(ptr);
  7160. } else {
  7161. goto handle_unusual;
  7162. }
  7163. continue;
  7164. // optional int64 timeStamp = 6;
  7165. case 6:
  7166. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
  7167. _Internal::set_has_timestamp(&has_bits);
  7168. _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  7169. CHK_(ptr);
  7170. } else {
  7171. goto handle_unusual;
  7172. }
  7173. continue;
  7174. // optional bool isChatToAll = 7;
  7175. case 7:
  7176. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
  7177. _Internal::set_has_ischattoall(&has_bits);
  7178. _impl_.ischattoall_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  7179. CHK_(ptr);
  7180. } else {
  7181. goto handle_unusual;
  7182. }
  7183. continue;
  7184. // optional bool isSelfSend = 8;
  7185. case 8:
  7186. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
  7187. _Internal::set_has_isselfsend(&has_bits);
  7188. _impl_.isselfsend_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  7189. CHK_(ptr);
  7190. } else {
  7191. goto handle_unusual;
  7192. }
  7193. continue;
  7194. // optional string messageID = 9;
  7195. case 9:
  7196. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) {
  7197. auto str = _internal_mutable_messageid();
  7198. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  7199. CHK_(ptr);
  7200. } else {
  7201. goto handle_unusual;
  7202. }
  7203. continue;
  7204. default:
  7205. goto handle_unusual;
  7206. } // switch
  7207. handle_unusual:
  7208. if ((tag == 0) || ((tag & 7) == 4)) {
  7209. CHK_(ptr);
  7210. ctx->SetLastTag(tag);
  7211. goto message_done;
  7212. }
  7213. ptr = UnknownFieldParse(
  7214. tag,
  7215. _internal_metadata_.mutable_unknown_fields<std::string>(),
  7216. ptr, ctx);
  7217. CHK_(ptr != nullptr);
  7218. } // while
  7219. message_done:
  7220. _impl_._has_bits_.Or(has_bits);
  7221. return ptr;
  7222. failure:
  7223. ptr = nullptr;
  7224. goto message_done;
  7225. #undef CHK_
  7226. }
  7227. ::uint8_t* CallbackBody_onChatNewMessageNotifyParams::_InternalSerialize(
  7228. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  7229. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
  7230. ::uint32_t cached_has_bits = 0;
  7231. (void) cached_has_bits;
  7232. cached_has_bits = _impl_._has_bits_[0];
  7233. // optional int64 pSender = 1;
  7234. if (cached_has_bits & 0x00000010u) {
  7235. target = stream->EnsureSpace(target);
  7236. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  7237. 1, this->_internal_psender(), target);
  7238. }
  7239. // optional string senderName = 2;
  7240. if (cached_has_bits & 0x00000001u) {
  7241. const std::string& _s = this->_internal_sendername();
  7242. target = stream->WriteStringMaybeAliased(2, _s, target);
  7243. }
  7244. // optional int64 pReceiver = 3;
  7245. if (cached_has_bits & 0x00000020u) {
  7246. target = stream->EnsureSpace(target);
  7247. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  7248. 3, this->_internal_preceiver(), target);
  7249. }
  7250. // optional string receiverName = 4;
  7251. if (cached_has_bits & 0x00000002u) {
  7252. const std::string& _s = this->_internal_receivername();
  7253. target = stream->WriteStringMaybeAliased(4, _s, target);
  7254. }
  7255. // optional string messageContent = 5;
  7256. if (cached_has_bits & 0x00000004u) {
  7257. const std::string& _s = this->_internal_messagecontent();
  7258. target = stream->WriteStringMaybeAliased(5, _s, target);
  7259. }
  7260. // optional int64 timeStamp = 6;
  7261. if (cached_has_bits & 0x00000040u) {
  7262. target = stream->EnsureSpace(target);
  7263. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  7264. 6, this->_internal_timestamp(), target);
  7265. }
  7266. // optional bool isChatToAll = 7;
  7267. if (cached_has_bits & 0x00000080u) {
  7268. target = stream->EnsureSpace(target);
  7269. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  7270. 7, this->_internal_ischattoall(), target);
  7271. }
  7272. // optional bool isSelfSend = 8;
  7273. if (cached_has_bits & 0x00000100u) {
  7274. target = stream->EnsureSpace(target);
  7275. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  7276. 8, this->_internal_isselfsend(), target);
  7277. }
  7278. // optional string messageID = 9;
  7279. if (cached_has_bits & 0x00000008u) {
  7280. const std::string& _s = this->_internal_messageid();
  7281. target = stream->WriteStringMaybeAliased(9, _s, target);
  7282. }
  7283. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  7284. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  7285. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  7286. }
  7287. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
  7288. return target;
  7289. }
  7290. ::size_t CallbackBody_onChatNewMessageNotifyParams::ByteSizeLong() const {
  7291. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
  7292. ::size_t total_size = 0;
  7293. ::uint32_t cached_has_bits = 0;
  7294. // Prevent compiler warnings about cached_has_bits being unused
  7295. (void) cached_has_bits;
  7296. cached_has_bits = _impl_._has_bits_[0];
  7297. if (cached_has_bits & 0x000000ffu) {
  7298. // optional string senderName = 2;
  7299. if (cached_has_bits & 0x00000001u) {
  7300. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  7301. this->_internal_sendername());
  7302. }
  7303. // optional string receiverName = 4;
  7304. if (cached_has_bits & 0x00000002u) {
  7305. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  7306. this->_internal_receivername());
  7307. }
  7308. // optional string messageContent = 5;
  7309. if (cached_has_bits & 0x00000004u) {
  7310. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  7311. this->_internal_messagecontent());
  7312. }
  7313. // optional string messageID = 9;
  7314. if (cached_has_bits & 0x00000008u) {
  7315. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  7316. this->_internal_messageid());
  7317. }
  7318. // optional int64 pSender = 1;
  7319. if (cached_has_bits & 0x00000010u) {
  7320. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  7321. this->_internal_psender());
  7322. }
  7323. // optional int64 pReceiver = 3;
  7324. if (cached_has_bits & 0x00000020u) {
  7325. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  7326. this->_internal_preceiver());
  7327. }
  7328. // optional int64 timeStamp = 6;
  7329. if (cached_has_bits & 0x00000040u) {
  7330. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  7331. this->_internal_timestamp());
  7332. }
  7333. // optional bool isChatToAll = 7;
  7334. if (cached_has_bits & 0x00000080u) {
  7335. total_size += 2;
  7336. }
  7337. }
  7338. // optional bool isSelfSend = 8;
  7339. if (cached_has_bits & 0x00000100u) {
  7340. total_size += 2;
  7341. }
  7342. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  7343. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  7344. }
  7345. int cached_size = ::_pbi::ToCachedSize(total_size);
  7346. SetCachedSize(cached_size);
  7347. return total_size;
  7348. }
  7349. void CallbackBody_onChatNewMessageNotifyParams::CheckTypeAndMergeFrom(
  7350. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  7351. MergeFrom(*::_pbi::DownCast<const CallbackBody_onChatNewMessageNotifyParams*>(
  7352. &from));
  7353. }
  7354. void CallbackBody_onChatNewMessageNotifyParams::MergeFrom(const CallbackBody_onChatNewMessageNotifyParams& from) {
  7355. CallbackBody_onChatNewMessageNotifyParams* const _this = this;
  7356. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
  7357. ABSL_DCHECK_NE(&from, _this);
  7358. ::uint32_t cached_has_bits = 0;
  7359. (void) cached_has_bits;
  7360. cached_has_bits = from._impl_._has_bits_[0];
  7361. if (cached_has_bits & 0x000000ffu) {
  7362. if (cached_has_bits & 0x00000001u) {
  7363. _this->_internal_set_sendername(from._internal_sendername());
  7364. }
  7365. if (cached_has_bits & 0x00000002u) {
  7366. _this->_internal_set_receivername(from._internal_receivername());
  7367. }
  7368. if (cached_has_bits & 0x00000004u) {
  7369. _this->_internal_set_messagecontent(from._internal_messagecontent());
  7370. }
  7371. if (cached_has_bits & 0x00000008u) {
  7372. _this->_internal_set_messageid(from._internal_messageid());
  7373. }
  7374. if (cached_has_bits & 0x00000010u) {
  7375. _this->_impl_.psender_ = from._impl_.psender_;
  7376. }
  7377. if (cached_has_bits & 0x00000020u) {
  7378. _this->_impl_.preceiver_ = from._impl_.preceiver_;
  7379. }
  7380. if (cached_has_bits & 0x00000040u) {
  7381. _this->_impl_.timestamp_ = from._impl_.timestamp_;
  7382. }
  7383. if (cached_has_bits & 0x00000080u) {
  7384. _this->_impl_.ischattoall_ = from._impl_.ischattoall_;
  7385. }
  7386. _this->_impl_._has_bits_[0] |= cached_has_bits;
  7387. }
  7388. if (cached_has_bits & 0x00000100u) {
  7389. _this->_internal_set_isselfsend(from._internal_isselfsend());
  7390. }
  7391. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  7392. }
  7393. void CallbackBody_onChatNewMessageNotifyParams::CopyFrom(const CallbackBody_onChatNewMessageNotifyParams& from) {
  7394. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
  7395. if (&from == this) return;
  7396. Clear();
  7397. MergeFrom(from);
  7398. }
  7399. bool CallbackBody_onChatNewMessageNotifyParams::IsInitialized() const {
  7400. return true;
  7401. }
  7402. void CallbackBody_onChatNewMessageNotifyParams::InternalSwap(CallbackBody_onChatNewMessageNotifyParams* other) {
  7403. using std::swap;
  7404. auto* lhs_arena = GetArenaForAllocation();
  7405. auto* rhs_arena = other->GetArenaForAllocation();
  7406. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  7407. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  7408. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.sendername_, lhs_arena,
  7409. &other->_impl_.sendername_, rhs_arena);
  7410. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.receivername_, lhs_arena,
  7411. &other->_impl_.receivername_, rhs_arena);
  7412. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.messagecontent_, lhs_arena,
  7413. &other->_impl_.messagecontent_, rhs_arena);
  7414. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.messageid_, lhs_arena,
  7415. &other->_impl_.messageid_, rhs_arena);
  7416. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  7417. PROTOBUF_FIELD_OFFSET(CallbackBody_onChatNewMessageNotifyParams, _impl_.isselfsend_)
  7418. + sizeof(CallbackBody_onChatNewMessageNotifyParams::_impl_.isselfsend_)
  7419. - PROTOBUF_FIELD_OFFSET(CallbackBody_onChatNewMessageNotifyParams, _impl_.psender_)>(
  7420. reinterpret_cast<char*>(&_impl_.psender_),
  7421. reinterpret_cast<char*>(&other->_impl_.psender_));
  7422. }
  7423. std::string CallbackBody_onChatNewMessageNotifyParams::GetTypeName() const {
  7424. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams";
  7425. }
  7426. // ===================================================================
  7427. class CallbackBody_onChatMsgDeleteNotificationParams::_Internal {
  7428. public:
  7429. using HasBits = decltype(std::declval<CallbackBody_onChatMsgDeleteNotificationParams>()._impl_._has_bits_);
  7430. static constexpr ::int32_t kHasBitsOffset =
  7431. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onChatMsgDeleteNotificationParams, _impl_._has_bits_);
  7432. static void set_has_messageid(HasBits* has_bits) {
  7433. (*has_bits)[0] |= 1u;
  7434. }
  7435. static void set_has_deleteby(HasBits* has_bits) {
  7436. (*has_bits)[0] |= 2u;
  7437. }
  7438. };
  7439. CallbackBody_onChatMsgDeleteNotificationParams::CallbackBody_onChatMsgDeleteNotificationParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  7440. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  7441. SharedCtor(arena);
  7442. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
  7443. }
  7444. CallbackBody_onChatMsgDeleteNotificationParams::CallbackBody_onChatMsgDeleteNotificationParams(const CallbackBody_onChatMsgDeleteNotificationParams& from)
  7445. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  7446. CallbackBody_onChatMsgDeleteNotificationParams* const _this = this; (void)_this;
  7447. new (&_impl_) Impl_{
  7448. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  7449. , /*decltype(_impl_._cached_size_)*/{}
  7450. , decltype(_impl_.messageid_) {}
  7451. , decltype(_impl_.deleteby_) {}
  7452. };
  7453. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  7454. _impl_.messageid_.InitDefault();
  7455. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7456. _impl_.messageid_.Set("", GetArenaForAllocation());
  7457. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7458. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  7459. _this->_impl_.messageid_.Set(from._internal_messageid(), _this->GetArenaForAllocation());
  7460. }
  7461. _this->_impl_.deleteby_ = from._impl_.deleteby_;
  7462. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
  7463. }
  7464. inline void CallbackBody_onChatMsgDeleteNotificationParams::SharedCtor(::_pb::Arena* arena) {
  7465. (void)arena;
  7466. new (&_impl_) Impl_{
  7467. decltype(_impl_._has_bits_){}
  7468. , /*decltype(_impl_._cached_size_)*/{}
  7469. , decltype(_impl_.messageid_) {}
  7470. , decltype(_impl_.deleteby_) { 0 }
  7471. };
  7472. _impl_.messageid_.InitDefault();
  7473. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7474. _impl_.messageid_.Set("", GetArenaForAllocation());
  7475. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  7476. }
  7477. CallbackBody_onChatMsgDeleteNotificationParams::~CallbackBody_onChatMsgDeleteNotificationParams() {
  7478. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
  7479. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  7480. (void)arena;
  7481. return;
  7482. }
  7483. SharedDtor();
  7484. }
  7485. inline void CallbackBody_onChatMsgDeleteNotificationParams::SharedDtor() {
  7486. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  7487. _impl_.messageid_.Destroy();
  7488. }
  7489. void CallbackBody_onChatMsgDeleteNotificationParams::SetCachedSize(int size) const {
  7490. _impl_._cached_size_.Set(size);
  7491. }
  7492. void CallbackBody_onChatMsgDeleteNotificationParams::Clear() {
  7493. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
  7494. ::uint32_t cached_has_bits = 0;
  7495. // Prevent compiler warnings about cached_has_bits being unused
  7496. (void) cached_has_bits;
  7497. cached_has_bits = _impl_._has_bits_[0];
  7498. if (cached_has_bits & 0x00000001u) {
  7499. _impl_.messageid_.ClearNonDefaultToEmpty();
  7500. }
  7501. _impl_.deleteby_ = 0;
  7502. _impl_._has_bits_.Clear();
  7503. _internal_metadata_.Clear<std::string>();
  7504. }
  7505. const char* CallbackBody_onChatMsgDeleteNotificationParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  7506. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  7507. _Internal::HasBits has_bits{};
  7508. while (!ctx->Done(&ptr)) {
  7509. ::uint32_t tag;
  7510. ptr = ::_pbi::ReadTag(ptr, &tag);
  7511. switch (tag >> 3) {
  7512. // optional string messageID = 1;
  7513. case 1:
  7514. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  7515. auto str = _internal_mutable_messageid();
  7516. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  7517. CHK_(ptr);
  7518. } else {
  7519. goto handle_unusual;
  7520. }
  7521. continue;
  7522. // optional int32 deleteBy = 2;
  7523. case 2:
  7524. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  7525. _Internal::set_has_deleteby(&has_bits);
  7526. _impl_.deleteby_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  7527. CHK_(ptr);
  7528. } else {
  7529. goto handle_unusual;
  7530. }
  7531. continue;
  7532. default:
  7533. goto handle_unusual;
  7534. } // switch
  7535. handle_unusual:
  7536. if ((tag == 0) || ((tag & 7) == 4)) {
  7537. CHK_(ptr);
  7538. ctx->SetLastTag(tag);
  7539. goto message_done;
  7540. }
  7541. ptr = UnknownFieldParse(
  7542. tag,
  7543. _internal_metadata_.mutable_unknown_fields<std::string>(),
  7544. ptr, ctx);
  7545. CHK_(ptr != nullptr);
  7546. } // while
  7547. message_done:
  7548. _impl_._has_bits_.Or(has_bits);
  7549. return ptr;
  7550. failure:
  7551. ptr = nullptr;
  7552. goto message_done;
  7553. #undef CHK_
  7554. }
  7555. ::uint8_t* CallbackBody_onChatMsgDeleteNotificationParams::_InternalSerialize(
  7556. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  7557. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
  7558. ::uint32_t cached_has_bits = 0;
  7559. (void) cached_has_bits;
  7560. cached_has_bits = _impl_._has_bits_[0];
  7561. // optional string messageID = 1;
  7562. if (cached_has_bits & 0x00000001u) {
  7563. const std::string& _s = this->_internal_messageid();
  7564. target = stream->WriteStringMaybeAliased(1, _s, target);
  7565. }
  7566. // optional int32 deleteBy = 2;
  7567. if (cached_has_bits & 0x00000002u) {
  7568. target = stream->EnsureSpace(target);
  7569. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  7570. 2, this->_internal_deleteby(), target);
  7571. }
  7572. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  7573. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  7574. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  7575. }
  7576. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
  7577. return target;
  7578. }
  7579. ::size_t CallbackBody_onChatMsgDeleteNotificationParams::ByteSizeLong() const {
  7580. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
  7581. ::size_t total_size = 0;
  7582. ::uint32_t cached_has_bits = 0;
  7583. // Prevent compiler warnings about cached_has_bits being unused
  7584. (void) cached_has_bits;
  7585. cached_has_bits = _impl_._has_bits_[0];
  7586. if (cached_has_bits & 0x00000003u) {
  7587. // optional string messageID = 1;
  7588. if (cached_has_bits & 0x00000001u) {
  7589. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  7590. this->_internal_messageid());
  7591. }
  7592. // optional int32 deleteBy = 2;
  7593. if (cached_has_bits & 0x00000002u) {
  7594. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  7595. this->_internal_deleteby());
  7596. }
  7597. }
  7598. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  7599. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  7600. }
  7601. int cached_size = ::_pbi::ToCachedSize(total_size);
  7602. SetCachedSize(cached_size);
  7603. return total_size;
  7604. }
  7605. void CallbackBody_onChatMsgDeleteNotificationParams::CheckTypeAndMergeFrom(
  7606. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  7607. MergeFrom(*::_pbi::DownCast<const CallbackBody_onChatMsgDeleteNotificationParams*>(
  7608. &from));
  7609. }
  7610. void CallbackBody_onChatMsgDeleteNotificationParams::MergeFrom(const CallbackBody_onChatMsgDeleteNotificationParams& from) {
  7611. CallbackBody_onChatMsgDeleteNotificationParams* const _this = this;
  7612. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
  7613. ABSL_DCHECK_NE(&from, _this);
  7614. ::uint32_t cached_has_bits = 0;
  7615. (void) cached_has_bits;
  7616. cached_has_bits = from._impl_._has_bits_[0];
  7617. if (cached_has_bits & 0x00000003u) {
  7618. if (cached_has_bits & 0x00000001u) {
  7619. _this->_internal_set_messageid(from._internal_messageid());
  7620. }
  7621. if (cached_has_bits & 0x00000002u) {
  7622. _this->_impl_.deleteby_ = from._impl_.deleteby_;
  7623. }
  7624. _this->_impl_._has_bits_[0] |= cached_has_bits;
  7625. }
  7626. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  7627. }
  7628. void CallbackBody_onChatMsgDeleteNotificationParams::CopyFrom(const CallbackBody_onChatMsgDeleteNotificationParams& from) {
  7629. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
  7630. if (&from == this) return;
  7631. Clear();
  7632. MergeFrom(from);
  7633. }
  7634. bool CallbackBody_onChatMsgDeleteNotificationParams::IsInitialized() const {
  7635. return true;
  7636. }
  7637. void CallbackBody_onChatMsgDeleteNotificationParams::InternalSwap(CallbackBody_onChatMsgDeleteNotificationParams* other) {
  7638. using std::swap;
  7639. auto* lhs_arena = GetArenaForAllocation();
  7640. auto* rhs_arena = other->GetArenaForAllocation();
  7641. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  7642. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  7643. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.messageid_, lhs_arena,
  7644. &other->_impl_.messageid_, rhs_arena);
  7645. swap(_impl_.deleteby_, other->_impl_.deleteby_);
  7646. }
  7647. std::string CallbackBody_onChatMsgDeleteNotificationParams::GetTypeName() const {
  7648. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams";
  7649. }
  7650. // ===================================================================
  7651. class CallbackBody_onVideoSourceInitializeParams::_Internal {
  7652. public:
  7653. using HasBits = decltype(std::declval<CallbackBody_onVideoSourceInitializeParams>()._impl_._has_bits_);
  7654. static constexpr ::int32_t kHasBitsOffset =
  7655. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onVideoSourceInitializeParams, _impl_._has_bits_);
  7656. static const ::com::electron::zoomvideo::sdk::proto::SDKVideoCapabilityList& videocapabilitylist(const CallbackBody_onVideoSourceInitializeParams* msg);
  7657. static void set_has_videocapabilitylist(HasBits* has_bits) {
  7658. (*has_bits)[0] |= 1u;
  7659. }
  7660. };
  7661. const ::com::electron::zoomvideo::sdk::proto::SDKVideoCapabilityList&
  7662. CallbackBody_onVideoSourceInitializeParams::_Internal::videocapabilitylist(const CallbackBody_onVideoSourceInitializeParams* msg) {
  7663. return *msg->_impl_.videocapabilitylist_;
  7664. }
  7665. CallbackBody_onVideoSourceInitializeParams::CallbackBody_onVideoSourceInitializeParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  7666. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  7667. SharedCtor(arena);
  7668. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
  7669. }
  7670. CallbackBody_onVideoSourceInitializeParams::CallbackBody_onVideoSourceInitializeParams(const CallbackBody_onVideoSourceInitializeParams& from)
  7671. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  7672. CallbackBody_onVideoSourceInitializeParams* const _this = this; (void)_this;
  7673. new (&_impl_) Impl_{
  7674. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  7675. , /*decltype(_impl_._cached_size_)*/{}
  7676. , decltype(_impl_.videocapabilitylist_){nullptr}};
  7677. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  7678. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  7679. _this->_impl_.videocapabilitylist_ = new ::com::electron::zoomvideo::sdk::proto::SDKVideoCapabilityList(*from._impl_.videocapabilitylist_);
  7680. }
  7681. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
  7682. }
  7683. inline void CallbackBody_onVideoSourceInitializeParams::SharedCtor(::_pb::Arena* arena) {
  7684. (void)arena;
  7685. new (&_impl_) Impl_{
  7686. decltype(_impl_._has_bits_){}
  7687. , /*decltype(_impl_._cached_size_)*/{}
  7688. , decltype(_impl_.videocapabilitylist_){nullptr}
  7689. };
  7690. }
  7691. CallbackBody_onVideoSourceInitializeParams::~CallbackBody_onVideoSourceInitializeParams() {
  7692. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
  7693. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  7694. (void)arena;
  7695. return;
  7696. }
  7697. SharedDtor();
  7698. }
  7699. inline void CallbackBody_onVideoSourceInitializeParams::SharedDtor() {
  7700. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  7701. if (this != internal_default_instance()) delete _impl_.videocapabilitylist_;
  7702. }
  7703. void CallbackBody_onVideoSourceInitializeParams::SetCachedSize(int size) const {
  7704. _impl_._cached_size_.Set(size);
  7705. }
  7706. void CallbackBody_onVideoSourceInitializeParams::Clear() {
  7707. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
  7708. ::uint32_t cached_has_bits = 0;
  7709. // Prevent compiler warnings about cached_has_bits being unused
  7710. (void) cached_has_bits;
  7711. cached_has_bits = _impl_._has_bits_[0];
  7712. if (cached_has_bits & 0x00000001u) {
  7713. ABSL_DCHECK(_impl_.videocapabilitylist_ != nullptr);
  7714. _impl_.videocapabilitylist_->Clear();
  7715. }
  7716. _impl_._has_bits_.Clear();
  7717. _internal_metadata_.Clear<std::string>();
  7718. }
  7719. const char* CallbackBody_onVideoSourceInitializeParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  7720. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  7721. _Internal::HasBits has_bits{};
  7722. while (!ctx->Done(&ptr)) {
  7723. ::uint32_t tag;
  7724. ptr = ::_pbi::ReadTag(ptr, &tag);
  7725. switch (tag >> 3) {
  7726. // optional .com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList VideoCapabilityList = 1;
  7727. case 1:
  7728. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  7729. ptr = ctx->ParseMessage(_internal_mutable_videocapabilitylist(), ptr);
  7730. CHK_(ptr);
  7731. } else {
  7732. goto handle_unusual;
  7733. }
  7734. continue;
  7735. default:
  7736. goto handle_unusual;
  7737. } // switch
  7738. handle_unusual:
  7739. if ((tag == 0) || ((tag & 7) == 4)) {
  7740. CHK_(ptr);
  7741. ctx->SetLastTag(tag);
  7742. goto message_done;
  7743. }
  7744. ptr = UnknownFieldParse(
  7745. tag,
  7746. _internal_metadata_.mutable_unknown_fields<std::string>(),
  7747. ptr, ctx);
  7748. CHK_(ptr != nullptr);
  7749. } // while
  7750. message_done:
  7751. _impl_._has_bits_.Or(has_bits);
  7752. return ptr;
  7753. failure:
  7754. ptr = nullptr;
  7755. goto message_done;
  7756. #undef CHK_
  7757. }
  7758. ::uint8_t* CallbackBody_onVideoSourceInitializeParams::_InternalSerialize(
  7759. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  7760. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
  7761. ::uint32_t cached_has_bits = 0;
  7762. (void) cached_has_bits;
  7763. cached_has_bits = _impl_._has_bits_[0];
  7764. // optional .com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList VideoCapabilityList = 1;
  7765. if (cached_has_bits & 0x00000001u) {
  7766. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  7767. InternalWriteMessage(1, _Internal::videocapabilitylist(this),
  7768. _Internal::videocapabilitylist(this).GetCachedSize(), target, stream);
  7769. }
  7770. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  7771. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  7772. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  7773. }
  7774. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
  7775. return target;
  7776. }
  7777. ::size_t CallbackBody_onVideoSourceInitializeParams::ByteSizeLong() const {
  7778. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
  7779. ::size_t total_size = 0;
  7780. ::uint32_t cached_has_bits = 0;
  7781. // Prevent compiler warnings about cached_has_bits being unused
  7782. (void) cached_has_bits;
  7783. // optional .com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList VideoCapabilityList = 1;
  7784. cached_has_bits = _impl_._has_bits_[0];
  7785. if (cached_has_bits & 0x00000001u) {
  7786. total_size += 1 +
  7787. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  7788. *_impl_.videocapabilitylist_);
  7789. }
  7790. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  7791. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  7792. }
  7793. int cached_size = ::_pbi::ToCachedSize(total_size);
  7794. SetCachedSize(cached_size);
  7795. return total_size;
  7796. }
  7797. void CallbackBody_onVideoSourceInitializeParams::CheckTypeAndMergeFrom(
  7798. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  7799. MergeFrom(*::_pbi::DownCast<const CallbackBody_onVideoSourceInitializeParams*>(
  7800. &from));
  7801. }
  7802. void CallbackBody_onVideoSourceInitializeParams::MergeFrom(const CallbackBody_onVideoSourceInitializeParams& from) {
  7803. CallbackBody_onVideoSourceInitializeParams* const _this = this;
  7804. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
  7805. ABSL_DCHECK_NE(&from, _this);
  7806. ::uint32_t cached_has_bits = 0;
  7807. (void) cached_has_bits;
  7808. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  7809. _this->_internal_mutable_videocapabilitylist()->::com::electron::zoomvideo::sdk::proto::SDKVideoCapabilityList::MergeFrom(
  7810. from._internal_videocapabilitylist());
  7811. }
  7812. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  7813. }
  7814. void CallbackBody_onVideoSourceInitializeParams::CopyFrom(const CallbackBody_onVideoSourceInitializeParams& from) {
  7815. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
  7816. if (&from == this) return;
  7817. Clear();
  7818. MergeFrom(from);
  7819. }
  7820. bool CallbackBody_onVideoSourceInitializeParams::IsInitialized() const {
  7821. return true;
  7822. }
  7823. void CallbackBody_onVideoSourceInitializeParams::InternalSwap(CallbackBody_onVideoSourceInitializeParams* other) {
  7824. using std::swap;
  7825. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  7826. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  7827. swap(_impl_.videocapabilitylist_, other->_impl_.videocapabilitylist_);
  7828. }
  7829. std::string CallbackBody_onVideoSourceInitializeParams::GetTypeName() const {
  7830. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams";
  7831. }
  7832. // ===================================================================
  7833. class CallbackBody_onPropertyChangeParams::_Internal {
  7834. public:
  7835. using HasBits = decltype(std::declval<CallbackBody_onPropertyChangeParams>()._impl_._has_bits_);
  7836. static constexpr ::int32_t kHasBitsOffset =
  7837. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onPropertyChangeParams, _impl_._has_bits_);
  7838. static const ::com::electron::zoomvideo::sdk::proto::SDKVideoCapability& videocapability(const CallbackBody_onPropertyChangeParams* msg);
  7839. static void set_has_videocapability(HasBits* has_bits) {
  7840. (*has_bits)[0] |= 1u;
  7841. }
  7842. };
  7843. const ::com::electron::zoomvideo::sdk::proto::SDKVideoCapability&
  7844. CallbackBody_onPropertyChangeParams::_Internal::videocapability(const CallbackBody_onPropertyChangeParams* msg) {
  7845. return *msg->_impl_.videocapability_;
  7846. }
  7847. CallbackBody_onPropertyChangeParams::CallbackBody_onPropertyChangeParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  7848. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  7849. SharedCtor(arena);
  7850. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
  7851. }
  7852. CallbackBody_onPropertyChangeParams::CallbackBody_onPropertyChangeParams(const CallbackBody_onPropertyChangeParams& from)
  7853. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  7854. CallbackBody_onPropertyChangeParams* const _this = this; (void)_this;
  7855. new (&_impl_) Impl_{
  7856. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  7857. , /*decltype(_impl_._cached_size_)*/{}
  7858. , decltype(_impl_.videocapability_){nullptr}};
  7859. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  7860. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  7861. _this->_impl_.videocapability_ = new ::com::electron::zoomvideo::sdk::proto::SDKVideoCapability(*from._impl_.videocapability_);
  7862. }
  7863. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
  7864. }
  7865. inline void CallbackBody_onPropertyChangeParams::SharedCtor(::_pb::Arena* arena) {
  7866. (void)arena;
  7867. new (&_impl_) Impl_{
  7868. decltype(_impl_._has_bits_){}
  7869. , /*decltype(_impl_._cached_size_)*/{}
  7870. , decltype(_impl_.videocapability_){nullptr}
  7871. };
  7872. }
  7873. CallbackBody_onPropertyChangeParams::~CallbackBody_onPropertyChangeParams() {
  7874. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
  7875. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  7876. (void)arena;
  7877. return;
  7878. }
  7879. SharedDtor();
  7880. }
  7881. inline void CallbackBody_onPropertyChangeParams::SharedDtor() {
  7882. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  7883. if (this != internal_default_instance()) delete _impl_.videocapability_;
  7884. }
  7885. void CallbackBody_onPropertyChangeParams::SetCachedSize(int size) const {
  7886. _impl_._cached_size_.Set(size);
  7887. }
  7888. void CallbackBody_onPropertyChangeParams::Clear() {
  7889. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
  7890. ::uint32_t cached_has_bits = 0;
  7891. // Prevent compiler warnings about cached_has_bits being unused
  7892. (void) cached_has_bits;
  7893. cached_has_bits = _impl_._has_bits_[0];
  7894. if (cached_has_bits & 0x00000001u) {
  7895. ABSL_DCHECK(_impl_.videocapability_ != nullptr);
  7896. _impl_.videocapability_->Clear();
  7897. }
  7898. _impl_._has_bits_.Clear();
  7899. _internal_metadata_.Clear<std::string>();
  7900. }
  7901. const char* CallbackBody_onPropertyChangeParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  7902. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  7903. _Internal::HasBits has_bits{};
  7904. while (!ctx->Done(&ptr)) {
  7905. ::uint32_t tag;
  7906. ptr = ::_pbi::ReadTag(ptr, &tag);
  7907. switch (tag >> 3) {
  7908. // optional .com.electron.zoomvideo.sdk.proto.SDKVideoCapability VideoCapability = 1;
  7909. case 1:
  7910. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  7911. ptr = ctx->ParseMessage(_internal_mutable_videocapability(), ptr);
  7912. CHK_(ptr);
  7913. } else {
  7914. goto handle_unusual;
  7915. }
  7916. continue;
  7917. default:
  7918. goto handle_unusual;
  7919. } // switch
  7920. handle_unusual:
  7921. if ((tag == 0) || ((tag & 7) == 4)) {
  7922. CHK_(ptr);
  7923. ctx->SetLastTag(tag);
  7924. goto message_done;
  7925. }
  7926. ptr = UnknownFieldParse(
  7927. tag,
  7928. _internal_metadata_.mutable_unknown_fields<std::string>(),
  7929. ptr, ctx);
  7930. CHK_(ptr != nullptr);
  7931. } // while
  7932. message_done:
  7933. _impl_._has_bits_.Or(has_bits);
  7934. return ptr;
  7935. failure:
  7936. ptr = nullptr;
  7937. goto message_done;
  7938. #undef CHK_
  7939. }
  7940. ::uint8_t* CallbackBody_onPropertyChangeParams::_InternalSerialize(
  7941. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  7942. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
  7943. ::uint32_t cached_has_bits = 0;
  7944. (void) cached_has_bits;
  7945. cached_has_bits = _impl_._has_bits_[0];
  7946. // optional .com.electron.zoomvideo.sdk.proto.SDKVideoCapability VideoCapability = 1;
  7947. if (cached_has_bits & 0x00000001u) {
  7948. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  7949. InternalWriteMessage(1, _Internal::videocapability(this),
  7950. _Internal::videocapability(this).GetCachedSize(), target, stream);
  7951. }
  7952. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  7953. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  7954. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  7955. }
  7956. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
  7957. return target;
  7958. }
  7959. ::size_t CallbackBody_onPropertyChangeParams::ByteSizeLong() const {
  7960. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
  7961. ::size_t total_size = 0;
  7962. ::uint32_t cached_has_bits = 0;
  7963. // Prevent compiler warnings about cached_has_bits being unused
  7964. (void) cached_has_bits;
  7965. // optional .com.electron.zoomvideo.sdk.proto.SDKVideoCapability VideoCapability = 1;
  7966. cached_has_bits = _impl_._has_bits_[0];
  7967. if (cached_has_bits & 0x00000001u) {
  7968. total_size += 1 +
  7969. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  7970. *_impl_.videocapability_);
  7971. }
  7972. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  7973. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  7974. }
  7975. int cached_size = ::_pbi::ToCachedSize(total_size);
  7976. SetCachedSize(cached_size);
  7977. return total_size;
  7978. }
  7979. void CallbackBody_onPropertyChangeParams::CheckTypeAndMergeFrom(
  7980. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  7981. MergeFrom(*::_pbi::DownCast<const CallbackBody_onPropertyChangeParams*>(
  7982. &from));
  7983. }
  7984. void CallbackBody_onPropertyChangeParams::MergeFrom(const CallbackBody_onPropertyChangeParams& from) {
  7985. CallbackBody_onPropertyChangeParams* const _this = this;
  7986. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
  7987. ABSL_DCHECK_NE(&from, _this);
  7988. ::uint32_t cached_has_bits = 0;
  7989. (void) cached_has_bits;
  7990. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  7991. _this->_internal_mutable_videocapability()->::com::electron::zoomvideo::sdk::proto::SDKVideoCapability::MergeFrom(
  7992. from._internal_videocapability());
  7993. }
  7994. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  7995. }
  7996. void CallbackBody_onPropertyChangeParams::CopyFrom(const CallbackBody_onPropertyChangeParams& from) {
  7997. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
  7998. if (&from == this) return;
  7999. Clear();
  8000. MergeFrom(from);
  8001. }
  8002. bool CallbackBody_onPropertyChangeParams::IsInitialized() const {
  8003. return true;
  8004. }
  8005. void CallbackBody_onPropertyChangeParams::InternalSwap(CallbackBody_onPropertyChangeParams* other) {
  8006. using std::swap;
  8007. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  8008. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  8009. swap(_impl_.videocapability_, other->_impl_.videocapability_);
  8010. }
  8011. std::string CallbackBody_onPropertyChangeParams::GetTypeName() const {
  8012. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams";
  8013. }
  8014. // ===================================================================
  8015. class CallbackBody_onRawDataStatusChangedParams::_Internal {
  8016. public:
  8017. using HasBits = decltype(std::declval<CallbackBody_onRawDataStatusChangedParams>()._impl_._has_bits_);
  8018. static constexpr ::int32_t kHasBitsOffset =
  8019. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onRawDataStatusChangedParams, _impl_._has_bits_);
  8020. static void set_has_recv_handle(HasBits* has_bits) {
  8021. (*has_bits)[0] |= 1u;
  8022. }
  8023. static void set_has_status(HasBits* has_bits) {
  8024. (*has_bits)[0] |= 2u;
  8025. }
  8026. };
  8027. CallbackBody_onRawDataStatusChangedParams::CallbackBody_onRawDataStatusChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  8028. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  8029. SharedCtor(arena);
  8030. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
  8031. }
  8032. CallbackBody_onRawDataStatusChangedParams::CallbackBody_onRawDataStatusChangedParams(const CallbackBody_onRawDataStatusChangedParams& from)
  8033. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  8034. _internal_metadata_.MergeFrom<std::string>(
  8035. from._internal_metadata_);
  8036. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
  8037. }
  8038. inline void CallbackBody_onRawDataStatusChangedParams::SharedCtor(::_pb::Arena* arena) {
  8039. (void)arena;
  8040. new (&_impl_) Impl_{
  8041. decltype(_impl_._has_bits_){}
  8042. , /*decltype(_impl_._cached_size_)*/{}
  8043. , decltype(_impl_.recv_handle_) { ::int64_t{0} }
  8044. , decltype(_impl_.status_) { 0 }
  8045. };
  8046. }
  8047. CallbackBody_onRawDataStatusChangedParams::~CallbackBody_onRawDataStatusChangedParams() {
  8048. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
  8049. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  8050. (void)arena;
  8051. return;
  8052. }
  8053. SharedDtor();
  8054. }
  8055. inline void CallbackBody_onRawDataStatusChangedParams::SharedDtor() {
  8056. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  8057. }
  8058. void CallbackBody_onRawDataStatusChangedParams::SetCachedSize(int size) const {
  8059. _impl_._cached_size_.Set(size);
  8060. }
  8061. void CallbackBody_onRawDataStatusChangedParams::Clear() {
  8062. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
  8063. ::uint32_t cached_has_bits = 0;
  8064. // Prevent compiler warnings about cached_has_bits being unused
  8065. (void) cached_has_bits;
  8066. cached_has_bits = _impl_._has_bits_[0];
  8067. if (cached_has_bits & 0x00000003u) {
  8068. ::memset(&_impl_.recv_handle_, 0, static_cast<::size_t>(
  8069. reinterpret_cast<char*>(&_impl_.status_) -
  8070. reinterpret_cast<char*>(&_impl_.recv_handle_)) + sizeof(_impl_.status_));
  8071. }
  8072. _impl_._has_bits_.Clear();
  8073. _internal_metadata_.Clear<std::string>();
  8074. }
  8075. const char* CallbackBody_onRawDataStatusChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  8076. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  8077. _Internal::HasBits has_bits{};
  8078. while (!ctx->Done(&ptr)) {
  8079. ::uint32_t tag;
  8080. ptr = ::_pbi::ReadTag(ptr, &tag);
  8081. switch (tag >> 3) {
  8082. // optional int64 recv_handle = 1;
  8083. case 1:
  8084. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  8085. _Internal::set_has_recv_handle(&has_bits);
  8086. _impl_.recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  8087. CHK_(ptr);
  8088. } else {
  8089. goto handle_unusual;
  8090. }
  8091. continue;
  8092. // optional int32 status = 2;
  8093. case 2:
  8094. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  8095. _Internal::set_has_status(&has_bits);
  8096. _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  8097. CHK_(ptr);
  8098. } else {
  8099. goto handle_unusual;
  8100. }
  8101. continue;
  8102. default:
  8103. goto handle_unusual;
  8104. } // switch
  8105. handle_unusual:
  8106. if ((tag == 0) || ((tag & 7) == 4)) {
  8107. CHK_(ptr);
  8108. ctx->SetLastTag(tag);
  8109. goto message_done;
  8110. }
  8111. ptr = UnknownFieldParse(
  8112. tag,
  8113. _internal_metadata_.mutable_unknown_fields<std::string>(),
  8114. ptr, ctx);
  8115. CHK_(ptr != nullptr);
  8116. } // while
  8117. message_done:
  8118. _impl_._has_bits_.Or(has_bits);
  8119. return ptr;
  8120. failure:
  8121. ptr = nullptr;
  8122. goto message_done;
  8123. #undef CHK_
  8124. }
  8125. ::uint8_t* CallbackBody_onRawDataStatusChangedParams::_InternalSerialize(
  8126. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  8127. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
  8128. ::uint32_t cached_has_bits = 0;
  8129. (void) cached_has_bits;
  8130. cached_has_bits = _impl_._has_bits_[0];
  8131. // optional int64 recv_handle = 1;
  8132. if (cached_has_bits & 0x00000001u) {
  8133. target = stream->EnsureSpace(target);
  8134. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  8135. 1, this->_internal_recv_handle(), target);
  8136. }
  8137. // optional int32 status = 2;
  8138. if (cached_has_bits & 0x00000002u) {
  8139. target = stream->EnsureSpace(target);
  8140. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  8141. 2, this->_internal_status(), target);
  8142. }
  8143. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  8144. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  8145. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  8146. }
  8147. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
  8148. return target;
  8149. }
  8150. ::size_t CallbackBody_onRawDataStatusChangedParams::ByteSizeLong() const {
  8151. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
  8152. ::size_t total_size = 0;
  8153. ::uint32_t cached_has_bits = 0;
  8154. // Prevent compiler warnings about cached_has_bits being unused
  8155. (void) cached_has_bits;
  8156. cached_has_bits = _impl_._has_bits_[0];
  8157. if (cached_has_bits & 0x00000003u) {
  8158. // optional int64 recv_handle = 1;
  8159. if (cached_has_bits & 0x00000001u) {
  8160. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  8161. this->_internal_recv_handle());
  8162. }
  8163. // optional int32 status = 2;
  8164. if (cached_has_bits & 0x00000002u) {
  8165. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  8166. this->_internal_status());
  8167. }
  8168. }
  8169. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  8170. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  8171. }
  8172. int cached_size = ::_pbi::ToCachedSize(total_size);
  8173. SetCachedSize(cached_size);
  8174. return total_size;
  8175. }
  8176. void CallbackBody_onRawDataStatusChangedParams::CheckTypeAndMergeFrom(
  8177. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  8178. MergeFrom(*::_pbi::DownCast<const CallbackBody_onRawDataStatusChangedParams*>(
  8179. &from));
  8180. }
  8181. void CallbackBody_onRawDataStatusChangedParams::MergeFrom(const CallbackBody_onRawDataStatusChangedParams& from) {
  8182. CallbackBody_onRawDataStatusChangedParams* const _this = this;
  8183. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
  8184. ABSL_DCHECK_NE(&from, _this);
  8185. ::uint32_t cached_has_bits = 0;
  8186. (void) cached_has_bits;
  8187. cached_has_bits = from._impl_._has_bits_[0];
  8188. if (cached_has_bits & 0x00000003u) {
  8189. if (cached_has_bits & 0x00000001u) {
  8190. _this->_impl_.recv_handle_ = from._impl_.recv_handle_;
  8191. }
  8192. if (cached_has_bits & 0x00000002u) {
  8193. _this->_impl_.status_ = from._impl_.status_;
  8194. }
  8195. _this->_impl_._has_bits_[0] |= cached_has_bits;
  8196. }
  8197. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  8198. }
  8199. void CallbackBody_onRawDataStatusChangedParams::CopyFrom(const CallbackBody_onRawDataStatusChangedParams& from) {
  8200. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
  8201. if (&from == this) return;
  8202. Clear();
  8203. MergeFrom(from);
  8204. }
  8205. bool CallbackBody_onRawDataStatusChangedParams::IsInitialized() const {
  8206. return true;
  8207. }
  8208. void CallbackBody_onRawDataStatusChangedParams::InternalSwap(CallbackBody_onRawDataStatusChangedParams* other) {
  8209. using std::swap;
  8210. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  8211. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  8212. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  8213. PROTOBUF_FIELD_OFFSET(CallbackBody_onRawDataStatusChangedParams, _impl_.status_)
  8214. + sizeof(CallbackBody_onRawDataStatusChangedParams::_impl_.status_)
  8215. - PROTOBUF_FIELD_OFFSET(CallbackBody_onRawDataStatusChangedParams, _impl_.recv_handle_)>(
  8216. reinterpret_cast<char*>(&_impl_.recv_handle_),
  8217. reinterpret_cast<char*>(&other->_impl_.recv_handle_));
  8218. }
  8219. std::string CallbackBody_onRawDataStatusChangedParams::GetTypeName() const {
  8220. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams";
  8221. }
  8222. // ===================================================================
  8223. class CallbackBody_onCommandReceivedParams::_Internal {
  8224. public:
  8225. using HasBits = decltype(std::declval<CallbackBody_onCommandReceivedParams>()._impl_._has_bits_);
  8226. static constexpr ::int32_t kHasBitsOffset =
  8227. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onCommandReceivedParams, _impl_._has_bits_);
  8228. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& psender(const CallbackBody_onCommandReceivedParams* msg);
  8229. static void set_has_psender(HasBits* has_bits) {
  8230. (*has_bits)[0] |= 2u;
  8231. }
  8232. static void set_has_strcmd(HasBits* has_bits) {
  8233. (*has_bits)[0] |= 1u;
  8234. }
  8235. };
  8236. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  8237. CallbackBody_onCommandReceivedParams::_Internal::psender(const CallbackBody_onCommandReceivedParams* msg) {
  8238. return *msg->_impl_.psender_;
  8239. }
  8240. CallbackBody_onCommandReceivedParams::CallbackBody_onCommandReceivedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  8241. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  8242. SharedCtor(arena);
  8243. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
  8244. }
  8245. CallbackBody_onCommandReceivedParams::CallbackBody_onCommandReceivedParams(const CallbackBody_onCommandReceivedParams& from)
  8246. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  8247. CallbackBody_onCommandReceivedParams* const _this = this; (void)_this;
  8248. new (&_impl_) Impl_{
  8249. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  8250. , /*decltype(_impl_._cached_size_)*/{}
  8251. , decltype(_impl_.strcmd_) {}
  8252. , decltype(_impl_.psender_){nullptr}};
  8253. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  8254. _impl_.strcmd_.InitDefault();
  8255. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8256. _impl_.strcmd_.Set("", GetArenaForAllocation());
  8257. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8258. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  8259. _this->_impl_.strcmd_.Set(from._internal_strcmd(), _this->GetArenaForAllocation());
  8260. }
  8261. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  8262. _this->_impl_.psender_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.psender_);
  8263. }
  8264. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
  8265. }
  8266. inline void CallbackBody_onCommandReceivedParams::SharedCtor(::_pb::Arena* arena) {
  8267. (void)arena;
  8268. new (&_impl_) Impl_{
  8269. decltype(_impl_._has_bits_){}
  8270. , /*decltype(_impl_._cached_size_)*/{}
  8271. , decltype(_impl_.strcmd_) {}
  8272. , decltype(_impl_.psender_){nullptr}
  8273. };
  8274. _impl_.strcmd_.InitDefault();
  8275. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8276. _impl_.strcmd_.Set("", GetArenaForAllocation());
  8277. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  8278. }
  8279. CallbackBody_onCommandReceivedParams::~CallbackBody_onCommandReceivedParams() {
  8280. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
  8281. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  8282. (void)arena;
  8283. return;
  8284. }
  8285. SharedDtor();
  8286. }
  8287. inline void CallbackBody_onCommandReceivedParams::SharedDtor() {
  8288. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  8289. _impl_.strcmd_.Destroy();
  8290. if (this != internal_default_instance()) delete _impl_.psender_;
  8291. }
  8292. void CallbackBody_onCommandReceivedParams::SetCachedSize(int size) const {
  8293. _impl_._cached_size_.Set(size);
  8294. }
  8295. void CallbackBody_onCommandReceivedParams::Clear() {
  8296. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
  8297. ::uint32_t cached_has_bits = 0;
  8298. // Prevent compiler warnings about cached_has_bits being unused
  8299. (void) cached_has_bits;
  8300. cached_has_bits = _impl_._has_bits_[0];
  8301. if (cached_has_bits & 0x00000003u) {
  8302. if (cached_has_bits & 0x00000001u) {
  8303. _impl_.strcmd_.ClearNonDefaultToEmpty();
  8304. }
  8305. if (cached_has_bits & 0x00000002u) {
  8306. ABSL_DCHECK(_impl_.psender_ != nullptr);
  8307. _impl_.psender_->Clear();
  8308. }
  8309. }
  8310. _impl_._has_bits_.Clear();
  8311. _internal_metadata_.Clear<std::string>();
  8312. }
  8313. const char* CallbackBody_onCommandReceivedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  8314. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  8315. _Internal::HasBits has_bits{};
  8316. while (!ctx->Done(&ptr)) {
  8317. ::uint32_t tag;
  8318. ptr = ::_pbi::ReadTag(ptr, &tag);
  8319. switch (tag >> 3) {
  8320. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pSender = 1;
  8321. case 1:
  8322. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  8323. ptr = ctx->ParseMessage(_internal_mutable_psender(), ptr);
  8324. CHK_(ptr);
  8325. } else {
  8326. goto handle_unusual;
  8327. }
  8328. continue;
  8329. // optional string strCmd = 2;
  8330. case 2:
  8331. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  8332. auto str = _internal_mutable_strcmd();
  8333. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  8334. CHK_(ptr);
  8335. } else {
  8336. goto handle_unusual;
  8337. }
  8338. continue;
  8339. default:
  8340. goto handle_unusual;
  8341. } // switch
  8342. handle_unusual:
  8343. if ((tag == 0) || ((tag & 7) == 4)) {
  8344. CHK_(ptr);
  8345. ctx->SetLastTag(tag);
  8346. goto message_done;
  8347. }
  8348. ptr = UnknownFieldParse(
  8349. tag,
  8350. _internal_metadata_.mutable_unknown_fields<std::string>(),
  8351. ptr, ctx);
  8352. CHK_(ptr != nullptr);
  8353. } // while
  8354. message_done:
  8355. _impl_._has_bits_.Or(has_bits);
  8356. return ptr;
  8357. failure:
  8358. ptr = nullptr;
  8359. goto message_done;
  8360. #undef CHK_
  8361. }
  8362. ::uint8_t* CallbackBody_onCommandReceivedParams::_InternalSerialize(
  8363. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  8364. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
  8365. ::uint32_t cached_has_bits = 0;
  8366. (void) cached_has_bits;
  8367. cached_has_bits = _impl_._has_bits_[0];
  8368. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pSender = 1;
  8369. if (cached_has_bits & 0x00000002u) {
  8370. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  8371. InternalWriteMessage(1, _Internal::psender(this),
  8372. _Internal::psender(this).GetCachedSize(), target, stream);
  8373. }
  8374. // optional string strCmd = 2;
  8375. if (cached_has_bits & 0x00000001u) {
  8376. const std::string& _s = this->_internal_strcmd();
  8377. target = stream->WriteStringMaybeAliased(2, _s, target);
  8378. }
  8379. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  8380. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  8381. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  8382. }
  8383. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
  8384. return target;
  8385. }
  8386. ::size_t CallbackBody_onCommandReceivedParams::ByteSizeLong() const {
  8387. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
  8388. ::size_t total_size = 0;
  8389. ::uint32_t cached_has_bits = 0;
  8390. // Prevent compiler warnings about cached_has_bits being unused
  8391. (void) cached_has_bits;
  8392. cached_has_bits = _impl_._has_bits_[0];
  8393. if (cached_has_bits & 0x00000003u) {
  8394. // optional string strCmd = 2;
  8395. if (cached_has_bits & 0x00000001u) {
  8396. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  8397. this->_internal_strcmd());
  8398. }
  8399. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pSender = 1;
  8400. if (cached_has_bits & 0x00000002u) {
  8401. total_size += 1 +
  8402. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  8403. *_impl_.psender_);
  8404. }
  8405. }
  8406. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  8407. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  8408. }
  8409. int cached_size = ::_pbi::ToCachedSize(total_size);
  8410. SetCachedSize(cached_size);
  8411. return total_size;
  8412. }
  8413. void CallbackBody_onCommandReceivedParams::CheckTypeAndMergeFrom(
  8414. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  8415. MergeFrom(*::_pbi::DownCast<const CallbackBody_onCommandReceivedParams*>(
  8416. &from));
  8417. }
  8418. void CallbackBody_onCommandReceivedParams::MergeFrom(const CallbackBody_onCommandReceivedParams& from) {
  8419. CallbackBody_onCommandReceivedParams* const _this = this;
  8420. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
  8421. ABSL_DCHECK_NE(&from, _this);
  8422. ::uint32_t cached_has_bits = 0;
  8423. (void) cached_has_bits;
  8424. cached_has_bits = from._impl_._has_bits_[0];
  8425. if (cached_has_bits & 0x00000003u) {
  8426. if (cached_has_bits & 0x00000001u) {
  8427. _this->_internal_set_strcmd(from._internal_strcmd());
  8428. }
  8429. if (cached_has_bits & 0x00000002u) {
  8430. _this->_internal_mutable_psender()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  8431. from._internal_psender());
  8432. }
  8433. }
  8434. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  8435. }
  8436. void CallbackBody_onCommandReceivedParams::CopyFrom(const CallbackBody_onCommandReceivedParams& from) {
  8437. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
  8438. if (&from == this) return;
  8439. Clear();
  8440. MergeFrom(from);
  8441. }
  8442. bool CallbackBody_onCommandReceivedParams::IsInitialized() const {
  8443. return true;
  8444. }
  8445. void CallbackBody_onCommandReceivedParams::InternalSwap(CallbackBody_onCommandReceivedParams* other) {
  8446. using std::swap;
  8447. auto* lhs_arena = GetArenaForAllocation();
  8448. auto* rhs_arena = other->GetArenaForAllocation();
  8449. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  8450. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  8451. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.strcmd_, lhs_arena,
  8452. &other->_impl_.strcmd_, rhs_arena);
  8453. swap(_impl_.psender_, other->_impl_.psender_);
  8454. }
  8455. std::string CallbackBody_onCommandReceivedParams::GetTypeName() const {
  8456. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams";
  8457. }
  8458. // ===================================================================
  8459. class CallbackBody_onCommandChannelConnectResultParams::_Internal {
  8460. public:
  8461. using HasBits = decltype(std::declval<CallbackBody_onCommandChannelConnectResultParams>()._impl_._has_bits_);
  8462. static constexpr ::int32_t kHasBitsOffset =
  8463. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onCommandChannelConnectResultParams, _impl_._has_bits_);
  8464. static void set_has_issuccess(HasBits* has_bits) {
  8465. (*has_bits)[0] |= 1u;
  8466. }
  8467. };
  8468. CallbackBody_onCommandChannelConnectResultParams::CallbackBody_onCommandChannelConnectResultParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  8469. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  8470. SharedCtor(arena);
  8471. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
  8472. }
  8473. CallbackBody_onCommandChannelConnectResultParams::CallbackBody_onCommandChannelConnectResultParams(const CallbackBody_onCommandChannelConnectResultParams& from)
  8474. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  8475. _internal_metadata_.MergeFrom<std::string>(
  8476. from._internal_metadata_);
  8477. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
  8478. }
  8479. inline void CallbackBody_onCommandChannelConnectResultParams::SharedCtor(::_pb::Arena* arena) {
  8480. (void)arena;
  8481. new (&_impl_) Impl_{
  8482. decltype(_impl_._has_bits_){}
  8483. , /*decltype(_impl_._cached_size_)*/{}
  8484. , decltype(_impl_.issuccess_) { false }
  8485. };
  8486. }
  8487. CallbackBody_onCommandChannelConnectResultParams::~CallbackBody_onCommandChannelConnectResultParams() {
  8488. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
  8489. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  8490. (void)arena;
  8491. return;
  8492. }
  8493. SharedDtor();
  8494. }
  8495. inline void CallbackBody_onCommandChannelConnectResultParams::SharedDtor() {
  8496. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  8497. }
  8498. void CallbackBody_onCommandChannelConnectResultParams::SetCachedSize(int size) const {
  8499. _impl_._cached_size_.Set(size);
  8500. }
  8501. void CallbackBody_onCommandChannelConnectResultParams::Clear() {
  8502. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
  8503. ::uint32_t cached_has_bits = 0;
  8504. // Prevent compiler warnings about cached_has_bits being unused
  8505. (void) cached_has_bits;
  8506. _impl_.issuccess_ = false;
  8507. _impl_._has_bits_.Clear();
  8508. _internal_metadata_.Clear<std::string>();
  8509. }
  8510. const char* CallbackBody_onCommandChannelConnectResultParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  8511. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  8512. _Internal::HasBits has_bits{};
  8513. while (!ctx->Done(&ptr)) {
  8514. ::uint32_t tag;
  8515. ptr = ::_pbi::ReadTag(ptr, &tag);
  8516. switch (tag >> 3) {
  8517. // optional bool isSuccess = 1;
  8518. case 1:
  8519. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  8520. _Internal::set_has_issuccess(&has_bits);
  8521. _impl_.issuccess_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  8522. CHK_(ptr);
  8523. } else {
  8524. goto handle_unusual;
  8525. }
  8526. continue;
  8527. default:
  8528. goto handle_unusual;
  8529. } // switch
  8530. handle_unusual:
  8531. if ((tag == 0) || ((tag & 7) == 4)) {
  8532. CHK_(ptr);
  8533. ctx->SetLastTag(tag);
  8534. goto message_done;
  8535. }
  8536. ptr = UnknownFieldParse(
  8537. tag,
  8538. _internal_metadata_.mutable_unknown_fields<std::string>(),
  8539. ptr, ctx);
  8540. CHK_(ptr != nullptr);
  8541. } // while
  8542. message_done:
  8543. _impl_._has_bits_.Or(has_bits);
  8544. return ptr;
  8545. failure:
  8546. ptr = nullptr;
  8547. goto message_done;
  8548. #undef CHK_
  8549. }
  8550. ::uint8_t* CallbackBody_onCommandChannelConnectResultParams::_InternalSerialize(
  8551. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  8552. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
  8553. ::uint32_t cached_has_bits = 0;
  8554. (void) cached_has_bits;
  8555. cached_has_bits = _impl_._has_bits_[0];
  8556. // optional bool isSuccess = 1;
  8557. if (cached_has_bits & 0x00000001u) {
  8558. target = stream->EnsureSpace(target);
  8559. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  8560. 1, this->_internal_issuccess(), target);
  8561. }
  8562. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  8563. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  8564. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  8565. }
  8566. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
  8567. return target;
  8568. }
  8569. ::size_t CallbackBody_onCommandChannelConnectResultParams::ByteSizeLong() const {
  8570. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
  8571. ::size_t total_size = 0;
  8572. ::uint32_t cached_has_bits = 0;
  8573. // Prevent compiler warnings about cached_has_bits being unused
  8574. (void) cached_has_bits;
  8575. // optional bool isSuccess = 1;
  8576. cached_has_bits = _impl_._has_bits_[0];
  8577. if (cached_has_bits & 0x00000001u) {
  8578. total_size += 2;
  8579. }
  8580. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  8581. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  8582. }
  8583. int cached_size = ::_pbi::ToCachedSize(total_size);
  8584. SetCachedSize(cached_size);
  8585. return total_size;
  8586. }
  8587. void CallbackBody_onCommandChannelConnectResultParams::CheckTypeAndMergeFrom(
  8588. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  8589. MergeFrom(*::_pbi::DownCast<const CallbackBody_onCommandChannelConnectResultParams*>(
  8590. &from));
  8591. }
  8592. void CallbackBody_onCommandChannelConnectResultParams::MergeFrom(const CallbackBody_onCommandChannelConnectResultParams& from) {
  8593. CallbackBody_onCommandChannelConnectResultParams* const _this = this;
  8594. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
  8595. ABSL_DCHECK_NE(&from, _this);
  8596. ::uint32_t cached_has_bits = 0;
  8597. (void) cached_has_bits;
  8598. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  8599. _this->_internal_set_issuccess(from._internal_issuccess());
  8600. }
  8601. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  8602. }
  8603. void CallbackBody_onCommandChannelConnectResultParams::CopyFrom(const CallbackBody_onCommandChannelConnectResultParams& from) {
  8604. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
  8605. if (&from == this) return;
  8606. Clear();
  8607. MergeFrom(from);
  8608. }
  8609. bool CallbackBody_onCommandChannelConnectResultParams::IsInitialized() const {
  8610. return true;
  8611. }
  8612. void CallbackBody_onCommandChannelConnectResultParams::InternalSwap(CallbackBody_onCommandChannelConnectResultParams* other) {
  8613. using std::swap;
  8614. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  8615. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  8616. swap(_impl_.issuccess_, other->_impl_.issuccess_);
  8617. }
  8618. std::string CallbackBody_onCommandChannelConnectResultParams::GetTypeName() const {
  8619. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams";
  8620. }
  8621. // ===================================================================
  8622. class CallbackBody_onInviteByPhoneStatusParams::_Internal {
  8623. public:
  8624. using HasBits = decltype(std::declval<CallbackBody_onInviteByPhoneStatusParams>()._impl_._has_bits_);
  8625. static constexpr ::int32_t kHasBitsOffset =
  8626. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onInviteByPhoneStatusParams, _impl_._has_bits_);
  8627. static void set_has_status(HasBits* has_bits) {
  8628. (*has_bits)[0] |= 1u;
  8629. }
  8630. static void set_has_reason(HasBits* has_bits) {
  8631. (*has_bits)[0] |= 2u;
  8632. }
  8633. };
  8634. CallbackBody_onInviteByPhoneStatusParams::CallbackBody_onInviteByPhoneStatusParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  8635. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  8636. SharedCtor(arena);
  8637. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
  8638. }
  8639. CallbackBody_onInviteByPhoneStatusParams::CallbackBody_onInviteByPhoneStatusParams(const CallbackBody_onInviteByPhoneStatusParams& from)
  8640. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  8641. _internal_metadata_.MergeFrom<std::string>(
  8642. from._internal_metadata_);
  8643. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
  8644. }
  8645. inline void CallbackBody_onInviteByPhoneStatusParams::SharedCtor(::_pb::Arena* arena) {
  8646. (void)arena;
  8647. new (&_impl_) Impl_{
  8648. decltype(_impl_._has_bits_){}
  8649. , /*decltype(_impl_._cached_size_)*/{}
  8650. , decltype(_impl_.status_) { 0 }
  8651. , decltype(_impl_.reason_) { 0 }
  8652. };
  8653. }
  8654. CallbackBody_onInviteByPhoneStatusParams::~CallbackBody_onInviteByPhoneStatusParams() {
  8655. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
  8656. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  8657. (void)arena;
  8658. return;
  8659. }
  8660. SharedDtor();
  8661. }
  8662. inline void CallbackBody_onInviteByPhoneStatusParams::SharedDtor() {
  8663. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  8664. }
  8665. void CallbackBody_onInviteByPhoneStatusParams::SetCachedSize(int size) const {
  8666. _impl_._cached_size_.Set(size);
  8667. }
  8668. void CallbackBody_onInviteByPhoneStatusParams::Clear() {
  8669. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
  8670. ::uint32_t cached_has_bits = 0;
  8671. // Prevent compiler warnings about cached_has_bits being unused
  8672. (void) cached_has_bits;
  8673. cached_has_bits = _impl_._has_bits_[0];
  8674. if (cached_has_bits & 0x00000003u) {
  8675. ::memset(&_impl_.status_, 0, static_cast<::size_t>(
  8676. reinterpret_cast<char*>(&_impl_.reason_) -
  8677. reinterpret_cast<char*>(&_impl_.status_)) + sizeof(_impl_.reason_));
  8678. }
  8679. _impl_._has_bits_.Clear();
  8680. _internal_metadata_.Clear<std::string>();
  8681. }
  8682. const char* CallbackBody_onInviteByPhoneStatusParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  8683. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  8684. _Internal::HasBits has_bits{};
  8685. while (!ctx->Done(&ptr)) {
  8686. ::uint32_t tag;
  8687. ptr = ::_pbi::ReadTag(ptr, &tag);
  8688. switch (tag >> 3) {
  8689. // optional int32 status = 1;
  8690. case 1:
  8691. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  8692. _Internal::set_has_status(&has_bits);
  8693. _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  8694. CHK_(ptr);
  8695. } else {
  8696. goto handle_unusual;
  8697. }
  8698. continue;
  8699. // optional int32 reason = 2;
  8700. case 2:
  8701. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  8702. _Internal::set_has_reason(&has_bits);
  8703. _impl_.reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  8704. CHK_(ptr);
  8705. } else {
  8706. goto handle_unusual;
  8707. }
  8708. continue;
  8709. default:
  8710. goto handle_unusual;
  8711. } // switch
  8712. handle_unusual:
  8713. if ((tag == 0) || ((tag & 7) == 4)) {
  8714. CHK_(ptr);
  8715. ctx->SetLastTag(tag);
  8716. goto message_done;
  8717. }
  8718. ptr = UnknownFieldParse(
  8719. tag,
  8720. _internal_metadata_.mutable_unknown_fields<std::string>(),
  8721. ptr, ctx);
  8722. CHK_(ptr != nullptr);
  8723. } // while
  8724. message_done:
  8725. _impl_._has_bits_.Or(has_bits);
  8726. return ptr;
  8727. failure:
  8728. ptr = nullptr;
  8729. goto message_done;
  8730. #undef CHK_
  8731. }
  8732. ::uint8_t* CallbackBody_onInviteByPhoneStatusParams::_InternalSerialize(
  8733. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  8734. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
  8735. ::uint32_t cached_has_bits = 0;
  8736. (void) cached_has_bits;
  8737. cached_has_bits = _impl_._has_bits_[0];
  8738. // optional int32 status = 1;
  8739. if (cached_has_bits & 0x00000001u) {
  8740. target = stream->EnsureSpace(target);
  8741. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  8742. 1, this->_internal_status(), target);
  8743. }
  8744. // optional int32 reason = 2;
  8745. if (cached_has_bits & 0x00000002u) {
  8746. target = stream->EnsureSpace(target);
  8747. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  8748. 2, this->_internal_reason(), target);
  8749. }
  8750. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  8751. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  8752. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  8753. }
  8754. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
  8755. return target;
  8756. }
  8757. ::size_t CallbackBody_onInviteByPhoneStatusParams::ByteSizeLong() const {
  8758. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
  8759. ::size_t total_size = 0;
  8760. ::uint32_t cached_has_bits = 0;
  8761. // Prevent compiler warnings about cached_has_bits being unused
  8762. (void) cached_has_bits;
  8763. cached_has_bits = _impl_._has_bits_[0];
  8764. if (cached_has_bits & 0x00000003u) {
  8765. // optional int32 status = 1;
  8766. if (cached_has_bits & 0x00000001u) {
  8767. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  8768. this->_internal_status());
  8769. }
  8770. // optional int32 reason = 2;
  8771. if (cached_has_bits & 0x00000002u) {
  8772. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  8773. this->_internal_reason());
  8774. }
  8775. }
  8776. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  8777. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  8778. }
  8779. int cached_size = ::_pbi::ToCachedSize(total_size);
  8780. SetCachedSize(cached_size);
  8781. return total_size;
  8782. }
  8783. void CallbackBody_onInviteByPhoneStatusParams::CheckTypeAndMergeFrom(
  8784. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  8785. MergeFrom(*::_pbi::DownCast<const CallbackBody_onInviteByPhoneStatusParams*>(
  8786. &from));
  8787. }
  8788. void CallbackBody_onInviteByPhoneStatusParams::MergeFrom(const CallbackBody_onInviteByPhoneStatusParams& from) {
  8789. CallbackBody_onInviteByPhoneStatusParams* const _this = this;
  8790. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
  8791. ABSL_DCHECK_NE(&from, _this);
  8792. ::uint32_t cached_has_bits = 0;
  8793. (void) cached_has_bits;
  8794. cached_has_bits = from._impl_._has_bits_[0];
  8795. if (cached_has_bits & 0x00000003u) {
  8796. if (cached_has_bits & 0x00000001u) {
  8797. _this->_impl_.status_ = from._impl_.status_;
  8798. }
  8799. if (cached_has_bits & 0x00000002u) {
  8800. _this->_impl_.reason_ = from._impl_.reason_;
  8801. }
  8802. _this->_impl_._has_bits_[0] |= cached_has_bits;
  8803. }
  8804. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  8805. }
  8806. void CallbackBody_onInviteByPhoneStatusParams::CopyFrom(const CallbackBody_onInviteByPhoneStatusParams& from) {
  8807. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
  8808. if (&from == this) return;
  8809. Clear();
  8810. MergeFrom(from);
  8811. }
  8812. bool CallbackBody_onInviteByPhoneStatusParams::IsInitialized() const {
  8813. return true;
  8814. }
  8815. void CallbackBody_onInviteByPhoneStatusParams::InternalSwap(CallbackBody_onInviteByPhoneStatusParams* other) {
  8816. using std::swap;
  8817. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  8818. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  8819. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  8820. PROTOBUF_FIELD_OFFSET(CallbackBody_onInviteByPhoneStatusParams, _impl_.reason_)
  8821. + sizeof(CallbackBody_onInviteByPhoneStatusParams::_impl_.reason_)
  8822. - PROTOBUF_FIELD_OFFSET(CallbackBody_onInviteByPhoneStatusParams, _impl_.status_)>(
  8823. reinterpret_cast<char*>(&_impl_.status_),
  8824. reinterpret_cast<char*>(&other->_impl_.status_));
  8825. }
  8826. std::string CallbackBody_onInviteByPhoneStatusParams::GetTypeName() const {
  8827. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams";
  8828. }
  8829. // ===================================================================
  8830. class CallbackBody_onCloudRecordingStatusParams::_Internal {
  8831. public:
  8832. using HasBits = decltype(std::declval<CallbackBody_onCloudRecordingStatusParams>()._impl_._has_bits_);
  8833. static constexpr ::int32_t kHasBitsOffset =
  8834. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onCloudRecordingStatusParams, _impl_._has_bits_);
  8835. static void set_has_status(HasBits* has_bits) {
  8836. (*has_bits)[0] |= 1u;
  8837. }
  8838. };
  8839. CallbackBody_onCloudRecordingStatusParams::CallbackBody_onCloudRecordingStatusParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  8840. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  8841. SharedCtor(arena);
  8842. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
  8843. }
  8844. CallbackBody_onCloudRecordingStatusParams::CallbackBody_onCloudRecordingStatusParams(const CallbackBody_onCloudRecordingStatusParams& from)
  8845. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  8846. _internal_metadata_.MergeFrom<std::string>(
  8847. from._internal_metadata_);
  8848. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
  8849. }
  8850. inline void CallbackBody_onCloudRecordingStatusParams::SharedCtor(::_pb::Arena* arena) {
  8851. (void)arena;
  8852. new (&_impl_) Impl_{
  8853. decltype(_impl_._has_bits_){}
  8854. , /*decltype(_impl_._cached_size_)*/{}
  8855. , decltype(_impl_.status_) { 0 }
  8856. };
  8857. }
  8858. CallbackBody_onCloudRecordingStatusParams::~CallbackBody_onCloudRecordingStatusParams() {
  8859. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
  8860. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  8861. (void)arena;
  8862. return;
  8863. }
  8864. SharedDtor();
  8865. }
  8866. inline void CallbackBody_onCloudRecordingStatusParams::SharedDtor() {
  8867. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  8868. }
  8869. void CallbackBody_onCloudRecordingStatusParams::SetCachedSize(int size) const {
  8870. _impl_._cached_size_.Set(size);
  8871. }
  8872. void CallbackBody_onCloudRecordingStatusParams::Clear() {
  8873. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
  8874. ::uint32_t cached_has_bits = 0;
  8875. // Prevent compiler warnings about cached_has_bits being unused
  8876. (void) cached_has_bits;
  8877. _impl_.status_ = 0;
  8878. _impl_._has_bits_.Clear();
  8879. _internal_metadata_.Clear<std::string>();
  8880. }
  8881. const char* CallbackBody_onCloudRecordingStatusParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  8882. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  8883. _Internal::HasBits has_bits{};
  8884. while (!ctx->Done(&ptr)) {
  8885. ::uint32_t tag;
  8886. ptr = ::_pbi::ReadTag(ptr, &tag);
  8887. switch (tag >> 3) {
  8888. // optional int32 status = 1;
  8889. case 1:
  8890. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  8891. _Internal::set_has_status(&has_bits);
  8892. _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  8893. CHK_(ptr);
  8894. } else {
  8895. goto handle_unusual;
  8896. }
  8897. continue;
  8898. default:
  8899. goto handle_unusual;
  8900. } // switch
  8901. handle_unusual:
  8902. if ((tag == 0) || ((tag & 7) == 4)) {
  8903. CHK_(ptr);
  8904. ctx->SetLastTag(tag);
  8905. goto message_done;
  8906. }
  8907. ptr = UnknownFieldParse(
  8908. tag,
  8909. _internal_metadata_.mutable_unknown_fields<std::string>(),
  8910. ptr, ctx);
  8911. CHK_(ptr != nullptr);
  8912. } // while
  8913. message_done:
  8914. _impl_._has_bits_.Or(has_bits);
  8915. return ptr;
  8916. failure:
  8917. ptr = nullptr;
  8918. goto message_done;
  8919. #undef CHK_
  8920. }
  8921. ::uint8_t* CallbackBody_onCloudRecordingStatusParams::_InternalSerialize(
  8922. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  8923. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
  8924. ::uint32_t cached_has_bits = 0;
  8925. (void) cached_has_bits;
  8926. cached_has_bits = _impl_._has_bits_[0];
  8927. // optional int32 status = 1;
  8928. if (cached_has_bits & 0x00000001u) {
  8929. target = stream->EnsureSpace(target);
  8930. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  8931. 1, this->_internal_status(), target);
  8932. }
  8933. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  8934. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  8935. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  8936. }
  8937. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
  8938. return target;
  8939. }
  8940. ::size_t CallbackBody_onCloudRecordingStatusParams::ByteSizeLong() const {
  8941. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
  8942. ::size_t total_size = 0;
  8943. ::uint32_t cached_has_bits = 0;
  8944. // Prevent compiler warnings about cached_has_bits being unused
  8945. (void) cached_has_bits;
  8946. // optional int32 status = 1;
  8947. cached_has_bits = _impl_._has_bits_[0];
  8948. if (cached_has_bits & 0x00000001u) {
  8949. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  8950. this->_internal_status());
  8951. }
  8952. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  8953. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  8954. }
  8955. int cached_size = ::_pbi::ToCachedSize(total_size);
  8956. SetCachedSize(cached_size);
  8957. return total_size;
  8958. }
  8959. void CallbackBody_onCloudRecordingStatusParams::CheckTypeAndMergeFrom(
  8960. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  8961. MergeFrom(*::_pbi::DownCast<const CallbackBody_onCloudRecordingStatusParams*>(
  8962. &from));
  8963. }
  8964. void CallbackBody_onCloudRecordingStatusParams::MergeFrom(const CallbackBody_onCloudRecordingStatusParams& from) {
  8965. CallbackBody_onCloudRecordingStatusParams* const _this = this;
  8966. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
  8967. ABSL_DCHECK_NE(&from, _this);
  8968. ::uint32_t cached_has_bits = 0;
  8969. (void) cached_has_bits;
  8970. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  8971. _this->_internal_set_status(from._internal_status());
  8972. }
  8973. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  8974. }
  8975. void CallbackBody_onCloudRecordingStatusParams::CopyFrom(const CallbackBody_onCloudRecordingStatusParams& from) {
  8976. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
  8977. if (&from == this) return;
  8978. Clear();
  8979. MergeFrom(from);
  8980. }
  8981. bool CallbackBody_onCloudRecordingStatusParams::IsInitialized() const {
  8982. return true;
  8983. }
  8984. void CallbackBody_onCloudRecordingStatusParams::InternalSwap(CallbackBody_onCloudRecordingStatusParams* other) {
  8985. using std::swap;
  8986. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  8987. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  8988. swap(_impl_.status_, other->_impl_.status_);
  8989. }
  8990. std::string CallbackBody_onCloudRecordingStatusParams::GetTypeName() const {
  8991. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams";
  8992. }
  8993. // ===================================================================
  8994. class CallbackBody_onCameraControlRequestResultParams::_Internal {
  8995. public:
  8996. using HasBits = decltype(std::declval<CallbackBody_onCameraControlRequestResultParams>()._impl_._has_bits_);
  8997. static constexpr ::int32_t kHasBitsOffset =
  8998. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onCameraControlRequestResultParams, _impl_._has_bits_);
  8999. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& puser(const CallbackBody_onCameraControlRequestResultParams* msg);
  9000. static void set_has_puser(HasBits* has_bits) {
  9001. (*has_bits)[0] |= 1u;
  9002. }
  9003. static void set_has_isapproved(HasBits* has_bits) {
  9004. (*has_bits)[0] |= 2u;
  9005. }
  9006. };
  9007. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  9008. CallbackBody_onCameraControlRequestResultParams::_Internal::puser(const CallbackBody_onCameraControlRequestResultParams* msg) {
  9009. return *msg->_impl_.puser_;
  9010. }
  9011. CallbackBody_onCameraControlRequestResultParams::CallbackBody_onCameraControlRequestResultParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  9012. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  9013. SharedCtor(arena);
  9014. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
  9015. }
  9016. CallbackBody_onCameraControlRequestResultParams::CallbackBody_onCameraControlRequestResultParams(const CallbackBody_onCameraControlRequestResultParams& from)
  9017. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  9018. CallbackBody_onCameraControlRequestResultParams* const _this = this; (void)_this;
  9019. new (&_impl_) Impl_{
  9020. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  9021. , /*decltype(_impl_._cached_size_)*/{}
  9022. , decltype(_impl_.puser_){nullptr}
  9023. , decltype(_impl_.isapproved_) {}
  9024. };
  9025. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  9026. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  9027. _this->_impl_.puser_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.puser_);
  9028. }
  9029. _this->_impl_.isapproved_ = from._impl_.isapproved_;
  9030. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
  9031. }
  9032. inline void CallbackBody_onCameraControlRequestResultParams::SharedCtor(::_pb::Arena* arena) {
  9033. (void)arena;
  9034. new (&_impl_) Impl_{
  9035. decltype(_impl_._has_bits_){}
  9036. , /*decltype(_impl_._cached_size_)*/{}
  9037. , decltype(_impl_.puser_){nullptr}
  9038. , decltype(_impl_.isapproved_) { false }
  9039. };
  9040. }
  9041. CallbackBody_onCameraControlRequestResultParams::~CallbackBody_onCameraControlRequestResultParams() {
  9042. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
  9043. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  9044. (void)arena;
  9045. return;
  9046. }
  9047. SharedDtor();
  9048. }
  9049. inline void CallbackBody_onCameraControlRequestResultParams::SharedDtor() {
  9050. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  9051. if (this != internal_default_instance()) delete _impl_.puser_;
  9052. }
  9053. void CallbackBody_onCameraControlRequestResultParams::SetCachedSize(int size) const {
  9054. _impl_._cached_size_.Set(size);
  9055. }
  9056. void CallbackBody_onCameraControlRequestResultParams::Clear() {
  9057. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
  9058. ::uint32_t cached_has_bits = 0;
  9059. // Prevent compiler warnings about cached_has_bits being unused
  9060. (void) cached_has_bits;
  9061. cached_has_bits = _impl_._has_bits_[0];
  9062. if (cached_has_bits & 0x00000001u) {
  9063. ABSL_DCHECK(_impl_.puser_ != nullptr);
  9064. _impl_.puser_->Clear();
  9065. }
  9066. _impl_.isapproved_ = false;
  9067. _impl_._has_bits_.Clear();
  9068. _internal_metadata_.Clear<std::string>();
  9069. }
  9070. const char* CallbackBody_onCameraControlRequestResultParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  9071. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  9072. _Internal::HasBits has_bits{};
  9073. while (!ctx->Done(&ptr)) {
  9074. ::uint32_t tag;
  9075. ptr = ::_pbi::ReadTag(ptr, &tag);
  9076. switch (tag >> 3) {
  9077. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pUser = 1;
  9078. case 1:
  9079. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  9080. ptr = ctx->ParseMessage(_internal_mutable_puser(), ptr);
  9081. CHK_(ptr);
  9082. } else {
  9083. goto handle_unusual;
  9084. }
  9085. continue;
  9086. // optional bool isApproved = 2;
  9087. case 2:
  9088. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  9089. _Internal::set_has_isapproved(&has_bits);
  9090. _impl_.isapproved_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  9091. CHK_(ptr);
  9092. } else {
  9093. goto handle_unusual;
  9094. }
  9095. continue;
  9096. default:
  9097. goto handle_unusual;
  9098. } // switch
  9099. handle_unusual:
  9100. if ((tag == 0) || ((tag & 7) == 4)) {
  9101. CHK_(ptr);
  9102. ctx->SetLastTag(tag);
  9103. goto message_done;
  9104. }
  9105. ptr = UnknownFieldParse(
  9106. tag,
  9107. _internal_metadata_.mutable_unknown_fields<std::string>(),
  9108. ptr, ctx);
  9109. CHK_(ptr != nullptr);
  9110. } // while
  9111. message_done:
  9112. _impl_._has_bits_.Or(has_bits);
  9113. return ptr;
  9114. failure:
  9115. ptr = nullptr;
  9116. goto message_done;
  9117. #undef CHK_
  9118. }
  9119. ::uint8_t* CallbackBody_onCameraControlRequestResultParams::_InternalSerialize(
  9120. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  9121. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
  9122. ::uint32_t cached_has_bits = 0;
  9123. (void) cached_has_bits;
  9124. cached_has_bits = _impl_._has_bits_[0];
  9125. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pUser = 1;
  9126. if (cached_has_bits & 0x00000001u) {
  9127. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  9128. InternalWriteMessage(1, _Internal::puser(this),
  9129. _Internal::puser(this).GetCachedSize(), target, stream);
  9130. }
  9131. // optional bool isApproved = 2;
  9132. if (cached_has_bits & 0x00000002u) {
  9133. target = stream->EnsureSpace(target);
  9134. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  9135. 2, this->_internal_isapproved(), target);
  9136. }
  9137. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  9138. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  9139. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  9140. }
  9141. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
  9142. return target;
  9143. }
  9144. ::size_t CallbackBody_onCameraControlRequestResultParams::ByteSizeLong() const {
  9145. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
  9146. ::size_t total_size = 0;
  9147. ::uint32_t cached_has_bits = 0;
  9148. // Prevent compiler warnings about cached_has_bits being unused
  9149. (void) cached_has_bits;
  9150. cached_has_bits = _impl_._has_bits_[0];
  9151. if (cached_has_bits & 0x00000003u) {
  9152. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pUser = 1;
  9153. if (cached_has_bits & 0x00000001u) {
  9154. total_size += 1 +
  9155. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  9156. *_impl_.puser_);
  9157. }
  9158. // optional bool isApproved = 2;
  9159. if (cached_has_bits & 0x00000002u) {
  9160. total_size += 2;
  9161. }
  9162. }
  9163. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  9164. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  9165. }
  9166. int cached_size = ::_pbi::ToCachedSize(total_size);
  9167. SetCachedSize(cached_size);
  9168. return total_size;
  9169. }
  9170. void CallbackBody_onCameraControlRequestResultParams::CheckTypeAndMergeFrom(
  9171. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  9172. MergeFrom(*::_pbi::DownCast<const CallbackBody_onCameraControlRequestResultParams*>(
  9173. &from));
  9174. }
  9175. void CallbackBody_onCameraControlRequestResultParams::MergeFrom(const CallbackBody_onCameraControlRequestResultParams& from) {
  9176. CallbackBody_onCameraControlRequestResultParams* const _this = this;
  9177. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
  9178. ABSL_DCHECK_NE(&from, _this);
  9179. ::uint32_t cached_has_bits = 0;
  9180. (void) cached_has_bits;
  9181. cached_has_bits = from._impl_._has_bits_[0];
  9182. if (cached_has_bits & 0x00000003u) {
  9183. if (cached_has_bits & 0x00000001u) {
  9184. _this->_internal_mutable_puser()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  9185. from._internal_puser());
  9186. }
  9187. if (cached_has_bits & 0x00000002u) {
  9188. _this->_impl_.isapproved_ = from._impl_.isapproved_;
  9189. }
  9190. _this->_impl_._has_bits_[0] |= cached_has_bits;
  9191. }
  9192. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  9193. }
  9194. void CallbackBody_onCameraControlRequestResultParams::CopyFrom(const CallbackBody_onCameraControlRequestResultParams& from) {
  9195. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
  9196. if (&from == this) return;
  9197. Clear();
  9198. MergeFrom(from);
  9199. }
  9200. bool CallbackBody_onCameraControlRequestResultParams::IsInitialized() const {
  9201. return true;
  9202. }
  9203. void CallbackBody_onCameraControlRequestResultParams::InternalSwap(CallbackBody_onCameraControlRequestResultParams* other) {
  9204. using std::swap;
  9205. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  9206. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  9207. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  9208. PROTOBUF_FIELD_OFFSET(CallbackBody_onCameraControlRequestResultParams, _impl_.isapproved_)
  9209. + sizeof(CallbackBody_onCameraControlRequestResultParams::_impl_.isapproved_)
  9210. - PROTOBUF_FIELD_OFFSET(CallbackBody_onCameraControlRequestResultParams, _impl_.puser_)>(
  9211. reinterpret_cast<char*>(&_impl_.puser_),
  9212. reinterpret_cast<char*>(&other->_impl_.puser_));
  9213. }
  9214. std::string CallbackBody_onCameraControlRequestResultParams::GetTypeName() const {
  9215. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams";
  9216. }
  9217. // ===================================================================
  9218. class CallbackBody_onCameraControlRequestReceivedParams::_Internal {
  9219. public:
  9220. using HasBits = decltype(std::declval<CallbackBody_onCameraControlRequestReceivedParams>()._impl_._has_bits_);
  9221. static constexpr ::int32_t kHasBitsOffset =
  9222. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onCameraControlRequestReceivedParams, _impl_._has_bits_);
  9223. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& puser(const CallbackBody_onCameraControlRequestReceivedParams* msg);
  9224. static void set_has_puser(HasBits* has_bits) {
  9225. (*has_bits)[0] |= 1u;
  9226. }
  9227. static void set_has_requesttype(HasBits* has_bits) {
  9228. (*has_bits)[0] |= 2u;
  9229. }
  9230. };
  9231. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  9232. CallbackBody_onCameraControlRequestReceivedParams::_Internal::puser(const CallbackBody_onCameraControlRequestReceivedParams* msg) {
  9233. return *msg->_impl_.puser_;
  9234. }
  9235. CallbackBody_onCameraControlRequestReceivedParams::CallbackBody_onCameraControlRequestReceivedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  9236. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  9237. SharedCtor(arena);
  9238. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
  9239. }
  9240. CallbackBody_onCameraControlRequestReceivedParams::CallbackBody_onCameraControlRequestReceivedParams(const CallbackBody_onCameraControlRequestReceivedParams& from)
  9241. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  9242. CallbackBody_onCameraControlRequestReceivedParams* const _this = this; (void)_this;
  9243. new (&_impl_) Impl_{
  9244. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  9245. , /*decltype(_impl_._cached_size_)*/{}
  9246. , decltype(_impl_.puser_){nullptr}
  9247. , decltype(_impl_.requesttype_) {}
  9248. };
  9249. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  9250. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  9251. _this->_impl_.puser_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.puser_);
  9252. }
  9253. _this->_impl_.requesttype_ = from._impl_.requesttype_;
  9254. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
  9255. }
  9256. inline void CallbackBody_onCameraControlRequestReceivedParams::SharedCtor(::_pb::Arena* arena) {
  9257. (void)arena;
  9258. new (&_impl_) Impl_{
  9259. decltype(_impl_._has_bits_){}
  9260. , /*decltype(_impl_._cached_size_)*/{}
  9261. , decltype(_impl_.puser_){nullptr}
  9262. , decltype(_impl_.requesttype_) { 0 }
  9263. };
  9264. }
  9265. CallbackBody_onCameraControlRequestReceivedParams::~CallbackBody_onCameraControlRequestReceivedParams() {
  9266. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
  9267. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  9268. (void)arena;
  9269. return;
  9270. }
  9271. SharedDtor();
  9272. }
  9273. inline void CallbackBody_onCameraControlRequestReceivedParams::SharedDtor() {
  9274. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  9275. if (this != internal_default_instance()) delete _impl_.puser_;
  9276. }
  9277. void CallbackBody_onCameraControlRequestReceivedParams::SetCachedSize(int size) const {
  9278. _impl_._cached_size_.Set(size);
  9279. }
  9280. void CallbackBody_onCameraControlRequestReceivedParams::Clear() {
  9281. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
  9282. ::uint32_t cached_has_bits = 0;
  9283. // Prevent compiler warnings about cached_has_bits being unused
  9284. (void) cached_has_bits;
  9285. cached_has_bits = _impl_._has_bits_[0];
  9286. if (cached_has_bits & 0x00000001u) {
  9287. ABSL_DCHECK(_impl_.puser_ != nullptr);
  9288. _impl_.puser_->Clear();
  9289. }
  9290. _impl_.requesttype_ = 0;
  9291. _impl_._has_bits_.Clear();
  9292. _internal_metadata_.Clear<std::string>();
  9293. }
  9294. const char* CallbackBody_onCameraControlRequestReceivedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  9295. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  9296. _Internal::HasBits has_bits{};
  9297. while (!ctx->Done(&ptr)) {
  9298. ::uint32_t tag;
  9299. ptr = ::_pbi::ReadTag(ptr, &tag);
  9300. switch (tag >> 3) {
  9301. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pUser = 1;
  9302. case 1:
  9303. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  9304. ptr = ctx->ParseMessage(_internal_mutable_puser(), ptr);
  9305. CHK_(ptr);
  9306. } else {
  9307. goto handle_unusual;
  9308. }
  9309. continue;
  9310. // optional int32 requestType = 2;
  9311. case 2:
  9312. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  9313. _Internal::set_has_requesttype(&has_bits);
  9314. _impl_.requesttype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  9315. CHK_(ptr);
  9316. } else {
  9317. goto handle_unusual;
  9318. }
  9319. continue;
  9320. default:
  9321. goto handle_unusual;
  9322. } // switch
  9323. handle_unusual:
  9324. if ((tag == 0) || ((tag & 7) == 4)) {
  9325. CHK_(ptr);
  9326. ctx->SetLastTag(tag);
  9327. goto message_done;
  9328. }
  9329. ptr = UnknownFieldParse(
  9330. tag,
  9331. _internal_metadata_.mutable_unknown_fields<std::string>(),
  9332. ptr, ctx);
  9333. CHK_(ptr != nullptr);
  9334. } // while
  9335. message_done:
  9336. _impl_._has_bits_.Or(has_bits);
  9337. return ptr;
  9338. failure:
  9339. ptr = nullptr;
  9340. goto message_done;
  9341. #undef CHK_
  9342. }
  9343. ::uint8_t* CallbackBody_onCameraControlRequestReceivedParams::_InternalSerialize(
  9344. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  9345. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
  9346. ::uint32_t cached_has_bits = 0;
  9347. (void) cached_has_bits;
  9348. cached_has_bits = _impl_._has_bits_[0];
  9349. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pUser = 1;
  9350. if (cached_has_bits & 0x00000001u) {
  9351. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  9352. InternalWriteMessage(1, _Internal::puser(this),
  9353. _Internal::puser(this).GetCachedSize(), target, stream);
  9354. }
  9355. // optional int32 requestType = 2;
  9356. if (cached_has_bits & 0x00000002u) {
  9357. target = stream->EnsureSpace(target);
  9358. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  9359. 2, this->_internal_requesttype(), target);
  9360. }
  9361. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  9362. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  9363. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  9364. }
  9365. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
  9366. return target;
  9367. }
  9368. ::size_t CallbackBody_onCameraControlRequestReceivedParams::ByteSizeLong() const {
  9369. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
  9370. ::size_t total_size = 0;
  9371. ::uint32_t cached_has_bits = 0;
  9372. // Prevent compiler warnings about cached_has_bits being unused
  9373. (void) cached_has_bits;
  9374. cached_has_bits = _impl_._has_bits_[0];
  9375. if (cached_has_bits & 0x00000003u) {
  9376. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pUser = 1;
  9377. if (cached_has_bits & 0x00000001u) {
  9378. total_size += 1 +
  9379. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  9380. *_impl_.puser_);
  9381. }
  9382. // optional int32 requestType = 2;
  9383. if (cached_has_bits & 0x00000002u) {
  9384. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  9385. this->_internal_requesttype());
  9386. }
  9387. }
  9388. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  9389. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  9390. }
  9391. int cached_size = ::_pbi::ToCachedSize(total_size);
  9392. SetCachedSize(cached_size);
  9393. return total_size;
  9394. }
  9395. void CallbackBody_onCameraControlRequestReceivedParams::CheckTypeAndMergeFrom(
  9396. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  9397. MergeFrom(*::_pbi::DownCast<const CallbackBody_onCameraControlRequestReceivedParams*>(
  9398. &from));
  9399. }
  9400. void CallbackBody_onCameraControlRequestReceivedParams::MergeFrom(const CallbackBody_onCameraControlRequestReceivedParams& from) {
  9401. CallbackBody_onCameraControlRequestReceivedParams* const _this = this;
  9402. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
  9403. ABSL_DCHECK_NE(&from, _this);
  9404. ::uint32_t cached_has_bits = 0;
  9405. (void) cached_has_bits;
  9406. cached_has_bits = from._impl_._has_bits_[0];
  9407. if (cached_has_bits & 0x00000003u) {
  9408. if (cached_has_bits & 0x00000001u) {
  9409. _this->_internal_mutable_puser()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  9410. from._internal_puser());
  9411. }
  9412. if (cached_has_bits & 0x00000002u) {
  9413. _this->_impl_.requesttype_ = from._impl_.requesttype_;
  9414. }
  9415. _this->_impl_._has_bits_[0] |= cached_has_bits;
  9416. }
  9417. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  9418. }
  9419. void CallbackBody_onCameraControlRequestReceivedParams::CopyFrom(const CallbackBody_onCameraControlRequestReceivedParams& from) {
  9420. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
  9421. if (&from == this) return;
  9422. Clear();
  9423. MergeFrom(from);
  9424. }
  9425. bool CallbackBody_onCameraControlRequestReceivedParams::IsInitialized() const {
  9426. return true;
  9427. }
  9428. void CallbackBody_onCameraControlRequestReceivedParams::InternalSwap(CallbackBody_onCameraControlRequestReceivedParams* other) {
  9429. using std::swap;
  9430. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  9431. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  9432. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  9433. PROTOBUF_FIELD_OFFSET(CallbackBody_onCameraControlRequestReceivedParams, _impl_.requesttype_)
  9434. + sizeof(CallbackBody_onCameraControlRequestReceivedParams::_impl_.requesttype_)
  9435. - PROTOBUF_FIELD_OFFSET(CallbackBody_onCameraControlRequestReceivedParams, _impl_.puser_)>(
  9436. reinterpret_cast<char*>(&_impl_.puser_),
  9437. reinterpret_cast<char*>(&other->_impl_.puser_));
  9438. }
  9439. std::string CallbackBody_onCameraControlRequestReceivedParams::GetTypeName() const {
  9440. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams";
  9441. }
  9442. // ===================================================================
  9443. class CallbackBody_onHostAskUnmuteParams::_Internal {
  9444. public:
  9445. };
  9446. CallbackBody_onHostAskUnmuteParams::CallbackBody_onHostAskUnmuteParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  9447. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  9448. SharedCtor(arena);
  9449. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
  9450. }
  9451. CallbackBody_onHostAskUnmuteParams::CallbackBody_onHostAskUnmuteParams(const CallbackBody_onHostAskUnmuteParams& from)
  9452. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  9453. _internal_metadata_.MergeFrom<std::string>(
  9454. from._internal_metadata_);
  9455. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
  9456. }
  9457. inline void CallbackBody_onHostAskUnmuteParams::SharedCtor(::_pb::Arena* arena) {
  9458. (void)arena;
  9459. new (&_impl_) Impl_{
  9460. /*decltype(_impl_._cached_size_)*/{}
  9461. };
  9462. }
  9463. CallbackBody_onHostAskUnmuteParams::~CallbackBody_onHostAskUnmuteParams() {
  9464. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
  9465. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  9466. (void)arena;
  9467. return;
  9468. }
  9469. SharedDtor();
  9470. }
  9471. inline void CallbackBody_onHostAskUnmuteParams::SharedDtor() {
  9472. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  9473. }
  9474. void CallbackBody_onHostAskUnmuteParams::SetCachedSize(int size) const {
  9475. _impl_._cached_size_.Set(size);
  9476. }
  9477. void CallbackBody_onHostAskUnmuteParams::Clear() {
  9478. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
  9479. ::uint32_t cached_has_bits = 0;
  9480. // Prevent compiler warnings about cached_has_bits being unused
  9481. (void) cached_has_bits;
  9482. _internal_metadata_.Clear<std::string>();
  9483. }
  9484. const char* CallbackBody_onHostAskUnmuteParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  9485. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  9486. while (!ctx->Done(&ptr)) {
  9487. ::uint32_t tag;
  9488. ptr = ::_pbi::ReadTag(ptr, &tag);
  9489. if ((tag == 0) || ((tag & 7) == 4)) {
  9490. CHK_(ptr);
  9491. ctx->SetLastTag(tag);
  9492. goto message_done;
  9493. }
  9494. ptr = UnknownFieldParse(
  9495. tag,
  9496. _internal_metadata_.mutable_unknown_fields<std::string>(),
  9497. ptr, ctx);
  9498. CHK_(ptr != nullptr);
  9499. } // while
  9500. message_done:
  9501. return ptr;
  9502. failure:
  9503. ptr = nullptr;
  9504. goto message_done;
  9505. #undef CHK_
  9506. }
  9507. ::uint8_t* CallbackBody_onHostAskUnmuteParams::_InternalSerialize(
  9508. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  9509. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
  9510. ::uint32_t cached_has_bits = 0;
  9511. (void) cached_has_bits;
  9512. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  9513. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  9514. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  9515. }
  9516. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
  9517. return target;
  9518. }
  9519. ::size_t CallbackBody_onHostAskUnmuteParams::ByteSizeLong() const {
  9520. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
  9521. ::size_t total_size = 0;
  9522. ::uint32_t cached_has_bits = 0;
  9523. // Prevent compiler warnings about cached_has_bits being unused
  9524. (void) cached_has_bits;
  9525. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  9526. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  9527. }
  9528. int cached_size = ::_pbi::ToCachedSize(total_size);
  9529. SetCachedSize(cached_size);
  9530. return total_size;
  9531. }
  9532. void CallbackBody_onHostAskUnmuteParams::CheckTypeAndMergeFrom(
  9533. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  9534. MergeFrom(*::_pbi::DownCast<const CallbackBody_onHostAskUnmuteParams*>(
  9535. &from));
  9536. }
  9537. void CallbackBody_onHostAskUnmuteParams::MergeFrom(const CallbackBody_onHostAskUnmuteParams& from) {
  9538. CallbackBody_onHostAskUnmuteParams* const _this = this;
  9539. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
  9540. ABSL_DCHECK_NE(&from, _this);
  9541. ::uint32_t cached_has_bits = 0;
  9542. (void) cached_has_bits;
  9543. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  9544. }
  9545. void CallbackBody_onHostAskUnmuteParams::CopyFrom(const CallbackBody_onHostAskUnmuteParams& from) {
  9546. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
  9547. if (&from == this) return;
  9548. Clear();
  9549. MergeFrom(from);
  9550. }
  9551. bool CallbackBody_onHostAskUnmuteParams::IsInitialized() const {
  9552. return true;
  9553. }
  9554. void CallbackBody_onHostAskUnmuteParams::InternalSwap(CallbackBody_onHostAskUnmuteParams* other) {
  9555. using std::swap;
  9556. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  9557. }
  9558. std::string CallbackBody_onHostAskUnmuteParams::GetTypeName() const {
  9559. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams";
  9560. }
  9561. // ===================================================================
  9562. class CallbackBody_onMultiCameraStreamStatusChangedParams::_Internal {
  9563. public:
  9564. using HasBits = decltype(std::declval<CallbackBody_onMultiCameraStreamStatusChangedParams>()._impl_._has_bits_);
  9565. static constexpr ::int32_t kHasBitsOffset =
  9566. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onMultiCameraStreamStatusChangedParams, _impl_._has_bits_);
  9567. static void set_has_status(HasBits* has_bits) {
  9568. (*has_bits)[0] |= 4u;
  9569. }
  9570. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const CallbackBody_onMultiCameraStreamStatusChangedParams* msg);
  9571. static void set_has_user(HasBits* has_bits) {
  9572. (*has_bits)[0] |= 1u;
  9573. }
  9574. static void set_has_camerastreamid(HasBits* has_bits) {
  9575. (*has_bits)[0] |= 2u;
  9576. }
  9577. };
  9578. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  9579. CallbackBody_onMultiCameraStreamStatusChangedParams::_Internal::user(const CallbackBody_onMultiCameraStreamStatusChangedParams* msg) {
  9580. return *msg->_impl_.user_;
  9581. }
  9582. CallbackBody_onMultiCameraStreamStatusChangedParams::CallbackBody_onMultiCameraStreamStatusChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  9583. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  9584. SharedCtor(arena);
  9585. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
  9586. }
  9587. CallbackBody_onMultiCameraStreamStatusChangedParams::CallbackBody_onMultiCameraStreamStatusChangedParams(const CallbackBody_onMultiCameraStreamStatusChangedParams& from)
  9588. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  9589. CallbackBody_onMultiCameraStreamStatusChangedParams* const _this = this; (void)_this;
  9590. new (&_impl_) Impl_{
  9591. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  9592. , /*decltype(_impl_._cached_size_)*/{}
  9593. , decltype(_impl_.user_){nullptr}
  9594. , decltype(_impl_.camerastreamid_) {}
  9595. , decltype(_impl_.status_) {}
  9596. };
  9597. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  9598. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  9599. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  9600. }
  9601. ::memcpy(&_impl_.camerastreamid_, &from._impl_.camerastreamid_,
  9602. static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.status_) -
  9603. reinterpret_cast<char*>(&_impl_.camerastreamid_)) + sizeof(_impl_.status_));
  9604. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
  9605. }
  9606. inline void CallbackBody_onMultiCameraStreamStatusChangedParams::SharedCtor(::_pb::Arena* arena) {
  9607. (void)arena;
  9608. new (&_impl_) Impl_{
  9609. decltype(_impl_._has_bits_){}
  9610. , /*decltype(_impl_._cached_size_)*/{}
  9611. , decltype(_impl_.user_){nullptr}
  9612. , decltype(_impl_.camerastreamid_) { ::int64_t{0} }
  9613. , decltype(_impl_.status_) { 0 }
  9614. };
  9615. }
  9616. CallbackBody_onMultiCameraStreamStatusChangedParams::~CallbackBody_onMultiCameraStreamStatusChangedParams() {
  9617. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
  9618. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  9619. (void)arena;
  9620. return;
  9621. }
  9622. SharedDtor();
  9623. }
  9624. inline void CallbackBody_onMultiCameraStreamStatusChangedParams::SharedDtor() {
  9625. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  9626. if (this != internal_default_instance()) delete _impl_.user_;
  9627. }
  9628. void CallbackBody_onMultiCameraStreamStatusChangedParams::SetCachedSize(int size) const {
  9629. _impl_._cached_size_.Set(size);
  9630. }
  9631. void CallbackBody_onMultiCameraStreamStatusChangedParams::Clear() {
  9632. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
  9633. ::uint32_t cached_has_bits = 0;
  9634. // Prevent compiler warnings about cached_has_bits being unused
  9635. (void) cached_has_bits;
  9636. cached_has_bits = _impl_._has_bits_[0];
  9637. if (cached_has_bits & 0x00000001u) {
  9638. ABSL_DCHECK(_impl_.user_ != nullptr);
  9639. _impl_.user_->Clear();
  9640. }
  9641. if (cached_has_bits & 0x00000006u) {
  9642. ::memset(&_impl_.camerastreamid_, 0, static_cast<::size_t>(
  9643. reinterpret_cast<char*>(&_impl_.status_) -
  9644. reinterpret_cast<char*>(&_impl_.camerastreamid_)) + sizeof(_impl_.status_));
  9645. }
  9646. _impl_._has_bits_.Clear();
  9647. _internal_metadata_.Clear<std::string>();
  9648. }
  9649. const char* CallbackBody_onMultiCameraStreamStatusChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  9650. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  9651. _Internal::HasBits has_bits{};
  9652. while (!ctx->Done(&ptr)) {
  9653. ::uint32_t tag;
  9654. ptr = ::_pbi::ReadTag(ptr, &tag);
  9655. switch (tag >> 3) {
  9656. // optional int32 status = 1;
  9657. case 1:
  9658. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  9659. _Internal::set_has_status(&has_bits);
  9660. _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  9661. CHK_(ptr);
  9662. } else {
  9663. goto handle_unusual;
  9664. }
  9665. continue;
  9666. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  9667. case 2:
  9668. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  9669. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  9670. CHK_(ptr);
  9671. } else {
  9672. goto handle_unusual;
  9673. }
  9674. continue;
  9675. // optional int64 cameraStreamID = 3;
  9676. case 3:
  9677. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  9678. _Internal::set_has_camerastreamid(&has_bits);
  9679. _impl_.camerastreamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  9680. CHK_(ptr);
  9681. } else {
  9682. goto handle_unusual;
  9683. }
  9684. continue;
  9685. default:
  9686. goto handle_unusual;
  9687. } // switch
  9688. handle_unusual:
  9689. if ((tag == 0) || ((tag & 7) == 4)) {
  9690. CHK_(ptr);
  9691. ctx->SetLastTag(tag);
  9692. goto message_done;
  9693. }
  9694. ptr = UnknownFieldParse(
  9695. tag,
  9696. _internal_metadata_.mutable_unknown_fields<std::string>(),
  9697. ptr, ctx);
  9698. CHK_(ptr != nullptr);
  9699. } // while
  9700. message_done:
  9701. _impl_._has_bits_.Or(has_bits);
  9702. return ptr;
  9703. failure:
  9704. ptr = nullptr;
  9705. goto message_done;
  9706. #undef CHK_
  9707. }
  9708. ::uint8_t* CallbackBody_onMultiCameraStreamStatusChangedParams::_InternalSerialize(
  9709. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  9710. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
  9711. ::uint32_t cached_has_bits = 0;
  9712. (void) cached_has_bits;
  9713. cached_has_bits = _impl_._has_bits_[0];
  9714. // optional int32 status = 1;
  9715. if (cached_has_bits & 0x00000004u) {
  9716. target = stream->EnsureSpace(target);
  9717. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  9718. 1, this->_internal_status(), target);
  9719. }
  9720. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  9721. if (cached_has_bits & 0x00000001u) {
  9722. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  9723. InternalWriteMessage(2, _Internal::user(this),
  9724. _Internal::user(this).GetCachedSize(), target, stream);
  9725. }
  9726. // optional int64 cameraStreamID = 3;
  9727. if (cached_has_bits & 0x00000002u) {
  9728. target = stream->EnsureSpace(target);
  9729. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  9730. 3, this->_internal_camerastreamid(), target);
  9731. }
  9732. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  9733. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  9734. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  9735. }
  9736. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
  9737. return target;
  9738. }
  9739. ::size_t CallbackBody_onMultiCameraStreamStatusChangedParams::ByteSizeLong() const {
  9740. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
  9741. ::size_t total_size = 0;
  9742. ::uint32_t cached_has_bits = 0;
  9743. // Prevent compiler warnings about cached_has_bits being unused
  9744. (void) cached_has_bits;
  9745. cached_has_bits = _impl_._has_bits_[0];
  9746. if (cached_has_bits & 0x00000007u) {
  9747. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  9748. if (cached_has_bits & 0x00000001u) {
  9749. total_size += 1 +
  9750. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  9751. *_impl_.user_);
  9752. }
  9753. // optional int64 cameraStreamID = 3;
  9754. if (cached_has_bits & 0x00000002u) {
  9755. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  9756. this->_internal_camerastreamid());
  9757. }
  9758. // optional int32 status = 1;
  9759. if (cached_has_bits & 0x00000004u) {
  9760. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  9761. this->_internal_status());
  9762. }
  9763. }
  9764. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  9765. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  9766. }
  9767. int cached_size = ::_pbi::ToCachedSize(total_size);
  9768. SetCachedSize(cached_size);
  9769. return total_size;
  9770. }
  9771. void CallbackBody_onMultiCameraStreamStatusChangedParams::CheckTypeAndMergeFrom(
  9772. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  9773. MergeFrom(*::_pbi::DownCast<const CallbackBody_onMultiCameraStreamStatusChangedParams*>(
  9774. &from));
  9775. }
  9776. void CallbackBody_onMultiCameraStreamStatusChangedParams::MergeFrom(const CallbackBody_onMultiCameraStreamStatusChangedParams& from) {
  9777. CallbackBody_onMultiCameraStreamStatusChangedParams* const _this = this;
  9778. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
  9779. ABSL_DCHECK_NE(&from, _this);
  9780. ::uint32_t cached_has_bits = 0;
  9781. (void) cached_has_bits;
  9782. cached_has_bits = from._impl_._has_bits_[0];
  9783. if (cached_has_bits & 0x00000007u) {
  9784. if (cached_has_bits & 0x00000001u) {
  9785. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  9786. from._internal_user());
  9787. }
  9788. if (cached_has_bits & 0x00000002u) {
  9789. _this->_impl_.camerastreamid_ = from._impl_.camerastreamid_;
  9790. }
  9791. if (cached_has_bits & 0x00000004u) {
  9792. _this->_impl_.status_ = from._impl_.status_;
  9793. }
  9794. _this->_impl_._has_bits_[0] |= cached_has_bits;
  9795. }
  9796. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  9797. }
  9798. void CallbackBody_onMultiCameraStreamStatusChangedParams::CopyFrom(const CallbackBody_onMultiCameraStreamStatusChangedParams& from) {
  9799. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
  9800. if (&from == this) return;
  9801. Clear();
  9802. MergeFrom(from);
  9803. }
  9804. bool CallbackBody_onMultiCameraStreamStatusChangedParams::IsInitialized() const {
  9805. return true;
  9806. }
  9807. void CallbackBody_onMultiCameraStreamStatusChangedParams::InternalSwap(CallbackBody_onMultiCameraStreamStatusChangedParams* other) {
  9808. using std::swap;
  9809. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  9810. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  9811. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  9812. PROTOBUF_FIELD_OFFSET(CallbackBody_onMultiCameraStreamStatusChangedParams, _impl_.status_)
  9813. + sizeof(CallbackBody_onMultiCameraStreamStatusChangedParams::_impl_.status_)
  9814. - PROTOBUF_FIELD_OFFSET(CallbackBody_onMultiCameraStreamStatusChangedParams, _impl_.user_)>(
  9815. reinterpret_cast<char*>(&_impl_.user_),
  9816. reinterpret_cast<char*>(&other->_impl_.user_));
  9817. }
  9818. std::string CallbackBody_onMultiCameraStreamStatusChangedParams::GetTypeName() const {
  9819. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams";
  9820. }
  9821. // ===================================================================
  9822. class CallbackBody_onMicSpeakerVolumeChangedParams::_Internal {
  9823. public:
  9824. using HasBits = decltype(std::declval<CallbackBody_onMicSpeakerVolumeChangedParams>()._impl_._has_bits_);
  9825. static constexpr ::int32_t kHasBitsOffset =
  9826. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onMicSpeakerVolumeChangedParams, _impl_._has_bits_);
  9827. static void set_has_micvolume(HasBits* has_bits) {
  9828. (*has_bits)[0] |= 1u;
  9829. }
  9830. static void set_has_speakervolume(HasBits* has_bits) {
  9831. (*has_bits)[0] |= 2u;
  9832. }
  9833. };
  9834. CallbackBody_onMicSpeakerVolumeChangedParams::CallbackBody_onMicSpeakerVolumeChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  9835. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  9836. SharedCtor(arena);
  9837. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
  9838. }
  9839. CallbackBody_onMicSpeakerVolumeChangedParams::CallbackBody_onMicSpeakerVolumeChangedParams(const CallbackBody_onMicSpeakerVolumeChangedParams& from)
  9840. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  9841. _internal_metadata_.MergeFrom<std::string>(
  9842. from._internal_metadata_);
  9843. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
  9844. }
  9845. inline void CallbackBody_onMicSpeakerVolumeChangedParams::SharedCtor(::_pb::Arena* arena) {
  9846. (void)arena;
  9847. new (&_impl_) Impl_{
  9848. decltype(_impl_._has_bits_){}
  9849. , /*decltype(_impl_._cached_size_)*/{}
  9850. , decltype(_impl_.micvolume_) { 0u }
  9851. , decltype(_impl_.speakervolume_) { 0u }
  9852. };
  9853. }
  9854. CallbackBody_onMicSpeakerVolumeChangedParams::~CallbackBody_onMicSpeakerVolumeChangedParams() {
  9855. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
  9856. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  9857. (void)arena;
  9858. return;
  9859. }
  9860. SharedDtor();
  9861. }
  9862. inline void CallbackBody_onMicSpeakerVolumeChangedParams::SharedDtor() {
  9863. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  9864. }
  9865. void CallbackBody_onMicSpeakerVolumeChangedParams::SetCachedSize(int size) const {
  9866. _impl_._cached_size_.Set(size);
  9867. }
  9868. void CallbackBody_onMicSpeakerVolumeChangedParams::Clear() {
  9869. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
  9870. ::uint32_t cached_has_bits = 0;
  9871. // Prevent compiler warnings about cached_has_bits being unused
  9872. (void) cached_has_bits;
  9873. cached_has_bits = _impl_._has_bits_[0];
  9874. if (cached_has_bits & 0x00000003u) {
  9875. ::memset(&_impl_.micvolume_, 0, static_cast<::size_t>(
  9876. reinterpret_cast<char*>(&_impl_.speakervolume_) -
  9877. reinterpret_cast<char*>(&_impl_.micvolume_)) + sizeof(_impl_.speakervolume_));
  9878. }
  9879. _impl_._has_bits_.Clear();
  9880. _internal_metadata_.Clear<std::string>();
  9881. }
  9882. const char* CallbackBody_onMicSpeakerVolumeChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  9883. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  9884. _Internal::HasBits has_bits{};
  9885. while (!ctx->Done(&ptr)) {
  9886. ::uint32_t tag;
  9887. ptr = ::_pbi::ReadTag(ptr, &tag);
  9888. switch (tag >> 3) {
  9889. // optional uint32 MicVolume = 1;
  9890. case 1:
  9891. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  9892. _Internal::set_has_micvolume(&has_bits);
  9893. _impl_.micvolume_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  9894. CHK_(ptr);
  9895. } else {
  9896. goto handle_unusual;
  9897. }
  9898. continue;
  9899. // optional uint32 SpeakerVolume = 2;
  9900. case 2:
  9901. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  9902. _Internal::set_has_speakervolume(&has_bits);
  9903. _impl_.speakervolume_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  9904. CHK_(ptr);
  9905. } else {
  9906. goto handle_unusual;
  9907. }
  9908. continue;
  9909. default:
  9910. goto handle_unusual;
  9911. } // switch
  9912. handle_unusual:
  9913. if ((tag == 0) || ((tag & 7) == 4)) {
  9914. CHK_(ptr);
  9915. ctx->SetLastTag(tag);
  9916. goto message_done;
  9917. }
  9918. ptr = UnknownFieldParse(
  9919. tag,
  9920. _internal_metadata_.mutable_unknown_fields<std::string>(),
  9921. ptr, ctx);
  9922. CHK_(ptr != nullptr);
  9923. } // while
  9924. message_done:
  9925. _impl_._has_bits_.Or(has_bits);
  9926. return ptr;
  9927. failure:
  9928. ptr = nullptr;
  9929. goto message_done;
  9930. #undef CHK_
  9931. }
  9932. ::uint8_t* CallbackBody_onMicSpeakerVolumeChangedParams::_InternalSerialize(
  9933. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  9934. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
  9935. ::uint32_t cached_has_bits = 0;
  9936. (void) cached_has_bits;
  9937. cached_has_bits = _impl_._has_bits_[0];
  9938. // optional uint32 MicVolume = 1;
  9939. if (cached_has_bits & 0x00000001u) {
  9940. target = stream->EnsureSpace(target);
  9941. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  9942. 1, this->_internal_micvolume(), target);
  9943. }
  9944. // optional uint32 SpeakerVolume = 2;
  9945. if (cached_has_bits & 0x00000002u) {
  9946. target = stream->EnsureSpace(target);
  9947. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  9948. 2, this->_internal_speakervolume(), target);
  9949. }
  9950. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  9951. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  9952. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  9953. }
  9954. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
  9955. return target;
  9956. }
  9957. ::size_t CallbackBody_onMicSpeakerVolumeChangedParams::ByteSizeLong() const {
  9958. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
  9959. ::size_t total_size = 0;
  9960. ::uint32_t cached_has_bits = 0;
  9961. // Prevent compiler warnings about cached_has_bits being unused
  9962. (void) cached_has_bits;
  9963. cached_has_bits = _impl_._has_bits_[0];
  9964. if (cached_has_bits & 0x00000003u) {
  9965. // optional uint32 MicVolume = 1;
  9966. if (cached_has_bits & 0x00000001u) {
  9967. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  9968. this->_internal_micvolume());
  9969. }
  9970. // optional uint32 SpeakerVolume = 2;
  9971. if (cached_has_bits & 0x00000002u) {
  9972. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  9973. this->_internal_speakervolume());
  9974. }
  9975. }
  9976. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  9977. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  9978. }
  9979. int cached_size = ::_pbi::ToCachedSize(total_size);
  9980. SetCachedSize(cached_size);
  9981. return total_size;
  9982. }
  9983. void CallbackBody_onMicSpeakerVolumeChangedParams::CheckTypeAndMergeFrom(
  9984. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  9985. MergeFrom(*::_pbi::DownCast<const CallbackBody_onMicSpeakerVolumeChangedParams*>(
  9986. &from));
  9987. }
  9988. void CallbackBody_onMicSpeakerVolumeChangedParams::MergeFrom(const CallbackBody_onMicSpeakerVolumeChangedParams& from) {
  9989. CallbackBody_onMicSpeakerVolumeChangedParams* const _this = this;
  9990. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
  9991. ABSL_DCHECK_NE(&from, _this);
  9992. ::uint32_t cached_has_bits = 0;
  9993. (void) cached_has_bits;
  9994. cached_has_bits = from._impl_._has_bits_[0];
  9995. if (cached_has_bits & 0x00000003u) {
  9996. if (cached_has_bits & 0x00000001u) {
  9997. _this->_impl_.micvolume_ = from._impl_.micvolume_;
  9998. }
  9999. if (cached_has_bits & 0x00000002u) {
  10000. _this->_impl_.speakervolume_ = from._impl_.speakervolume_;
  10001. }
  10002. _this->_impl_._has_bits_[0] |= cached_has_bits;
  10003. }
  10004. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  10005. }
  10006. void CallbackBody_onMicSpeakerVolumeChangedParams::CopyFrom(const CallbackBody_onMicSpeakerVolumeChangedParams& from) {
  10007. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
  10008. if (&from == this) return;
  10009. Clear();
  10010. MergeFrom(from);
  10011. }
  10012. bool CallbackBody_onMicSpeakerVolumeChangedParams::IsInitialized() const {
  10013. return true;
  10014. }
  10015. void CallbackBody_onMicSpeakerVolumeChangedParams::InternalSwap(CallbackBody_onMicSpeakerVolumeChangedParams* other) {
  10016. using std::swap;
  10017. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  10018. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  10019. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  10020. PROTOBUF_FIELD_OFFSET(CallbackBody_onMicSpeakerVolumeChangedParams, _impl_.speakervolume_)
  10021. + sizeof(CallbackBody_onMicSpeakerVolumeChangedParams::_impl_.speakervolume_)
  10022. - PROTOBUF_FIELD_OFFSET(CallbackBody_onMicSpeakerVolumeChangedParams, _impl_.micvolume_)>(
  10023. reinterpret_cast<char*>(&_impl_.micvolume_),
  10024. reinterpret_cast<char*>(&other->_impl_.micvolume_));
  10025. }
  10026. std::string CallbackBody_onMicSpeakerVolumeChangedParams::GetTypeName() const {
  10027. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams";
  10028. }
  10029. // ===================================================================
  10030. class CallbackBody_onAudioDeviceStatusChangedParams::_Internal {
  10031. public:
  10032. using HasBits = decltype(std::declval<CallbackBody_onAudioDeviceStatusChangedParams>()._impl_._has_bits_);
  10033. static constexpr ::int32_t kHasBitsOffset =
  10034. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onAudioDeviceStatusChangedParams, _impl_._has_bits_);
  10035. static void set_has_type(HasBits* has_bits) {
  10036. (*has_bits)[0] |= 1u;
  10037. }
  10038. static void set_has_status(HasBits* has_bits) {
  10039. (*has_bits)[0] |= 2u;
  10040. }
  10041. };
  10042. CallbackBody_onAudioDeviceStatusChangedParams::CallbackBody_onAudioDeviceStatusChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  10043. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  10044. SharedCtor(arena);
  10045. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
  10046. }
  10047. CallbackBody_onAudioDeviceStatusChangedParams::CallbackBody_onAudioDeviceStatusChangedParams(const CallbackBody_onAudioDeviceStatusChangedParams& from)
  10048. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  10049. _internal_metadata_.MergeFrom<std::string>(
  10050. from._internal_metadata_);
  10051. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
  10052. }
  10053. inline void CallbackBody_onAudioDeviceStatusChangedParams::SharedCtor(::_pb::Arena* arena) {
  10054. (void)arena;
  10055. new (&_impl_) Impl_{
  10056. decltype(_impl_._has_bits_){}
  10057. , /*decltype(_impl_._cached_size_)*/{}
  10058. , decltype(_impl_.type_) { 0 }
  10059. , decltype(_impl_.status_) { 0 }
  10060. };
  10061. }
  10062. CallbackBody_onAudioDeviceStatusChangedParams::~CallbackBody_onAudioDeviceStatusChangedParams() {
  10063. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
  10064. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  10065. (void)arena;
  10066. return;
  10067. }
  10068. SharedDtor();
  10069. }
  10070. inline void CallbackBody_onAudioDeviceStatusChangedParams::SharedDtor() {
  10071. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  10072. }
  10073. void CallbackBody_onAudioDeviceStatusChangedParams::SetCachedSize(int size) const {
  10074. _impl_._cached_size_.Set(size);
  10075. }
  10076. void CallbackBody_onAudioDeviceStatusChangedParams::Clear() {
  10077. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
  10078. ::uint32_t cached_has_bits = 0;
  10079. // Prevent compiler warnings about cached_has_bits being unused
  10080. (void) cached_has_bits;
  10081. cached_has_bits = _impl_._has_bits_[0];
  10082. if (cached_has_bits & 0x00000003u) {
  10083. ::memset(&_impl_.type_, 0, static_cast<::size_t>(
  10084. reinterpret_cast<char*>(&_impl_.status_) -
  10085. reinterpret_cast<char*>(&_impl_.type_)) + sizeof(_impl_.status_));
  10086. }
  10087. _impl_._has_bits_.Clear();
  10088. _internal_metadata_.Clear<std::string>();
  10089. }
  10090. const char* CallbackBody_onAudioDeviceStatusChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  10091. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  10092. _Internal::HasBits has_bits{};
  10093. while (!ctx->Done(&ptr)) {
  10094. ::uint32_t tag;
  10095. ptr = ::_pbi::ReadTag(ptr, &tag);
  10096. switch (tag >> 3) {
  10097. // optional int32 type = 1;
  10098. case 1:
  10099. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  10100. _Internal::set_has_type(&has_bits);
  10101. _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  10102. CHK_(ptr);
  10103. } else {
  10104. goto handle_unusual;
  10105. }
  10106. continue;
  10107. // optional int32 status = 2;
  10108. case 2:
  10109. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  10110. _Internal::set_has_status(&has_bits);
  10111. _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  10112. CHK_(ptr);
  10113. } else {
  10114. goto handle_unusual;
  10115. }
  10116. continue;
  10117. default:
  10118. goto handle_unusual;
  10119. } // switch
  10120. handle_unusual:
  10121. if ((tag == 0) || ((tag & 7) == 4)) {
  10122. CHK_(ptr);
  10123. ctx->SetLastTag(tag);
  10124. goto message_done;
  10125. }
  10126. ptr = UnknownFieldParse(
  10127. tag,
  10128. _internal_metadata_.mutable_unknown_fields<std::string>(),
  10129. ptr, ctx);
  10130. CHK_(ptr != nullptr);
  10131. } // while
  10132. message_done:
  10133. _impl_._has_bits_.Or(has_bits);
  10134. return ptr;
  10135. failure:
  10136. ptr = nullptr;
  10137. goto message_done;
  10138. #undef CHK_
  10139. }
  10140. ::uint8_t* CallbackBody_onAudioDeviceStatusChangedParams::_InternalSerialize(
  10141. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  10142. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
  10143. ::uint32_t cached_has_bits = 0;
  10144. (void) cached_has_bits;
  10145. cached_has_bits = _impl_._has_bits_[0];
  10146. // optional int32 type = 1;
  10147. if (cached_has_bits & 0x00000001u) {
  10148. target = stream->EnsureSpace(target);
  10149. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  10150. 1, this->_internal_type(), target);
  10151. }
  10152. // optional int32 status = 2;
  10153. if (cached_has_bits & 0x00000002u) {
  10154. target = stream->EnsureSpace(target);
  10155. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  10156. 2, this->_internal_status(), target);
  10157. }
  10158. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  10159. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  10160. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  10161. }
  10162. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
  10163. return target;
  10164. }
  10165. ::size_t CallbackBody_onAudioDeviceStatusChangedParams::ByteSizeLong() const {
  10166. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
  10167. ::size_t total_size = 0;
  10168. ::uint32_t cached_has_bits = 0;
  10169. // Prevent compiler warnings about cached_has_bits being unused
  10170. (void) cached_has_bits;
  10171. cached_has_bits = _impl_._has_bits_[0];
  10172. if (cached_has_bits & 0x00000003u) {
  10173. // optional int32 type = 1;
  10174. if (cached_has_bits & 0x00000001u) {
  10175. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  10176. this->_internal_type());
  10177. }
  10178. // optional int32 status = 2;
  10179. if (cached_has_bits & 0x00000002u) {
  10180. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  10181. this->_internal_status());
  10182. }
  10183. }
  10184. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  10185. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  10186. }
  10187. int cached_size = ::_pbi::ToCachedSize(total_size);
  10188. SetCachedSize(cached_size);
  10189. return total_size;
  10190. }
  10191. void CallbackBody_onAudioDeviceStatusChangedParams::CheckTypeAndMergeFrom(
  10192. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  10193. MergeFrom(*::_pbi::DownCast<const CallbackBody_onAudioDeviceStatusChangedParams*>(
  10194. &from));
  10195. }
  10196. void CallbackBody_onAudioDeviceStatusChangedParams::MergeFrom(const CallbackBody_onAudioDeviceStatusChangedParams& from) {
  10197. CallbackBody_onAudioDeviceStatusChangedParams* const _this = this;
  10198. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
  10199. ABSL_DCHECK_NE(&from, _this);
  10200. ::uint32_t cached_has_bits = 0;
  10201. (void) cached_has_bits;
  10202. cached_has_bits = from._impl_._has_bits_[0];
  10203. if (cached_has_bits & 0x00000003u) {
  10204. if (cached_has_bits & 0x00000001u) {
  10205. _this->_impl_.type_ = from._impl_.type_;
  10206. }
  10207. if (cached_has_bits & 0x00000002u) {
  10208. _this->_impl_.status_ = from._impl_.status_;
  10209. }
  10210. _this->_impl_._has_bits_[0] |= cached_has_bits;
  10211. }
  10212. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  10213. }
  10214. void CallbackBody_onAudioDeviceStatusChangedParams::CopyFrom(const CallbackBody_onAudioDeviceStatusChangedParams& from) {
  10215. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
  10216. if (&from == this) return;
  10217. Clear();
  10218. MergeFrom(from);
  10219. }
  10220. bool CallbackBody_onAudioDeviceStatusChangedParams::IsInitialized() const {
  10221. return true;
  10222. }
  10223. void CallbackBody_onAudioDeviceStatusChangedParams::InternalSwap(CallbackBody_onAudioDeviceStatusChangedParams* other) {
  10224. using std::swap;
  10225. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  10226. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  10227. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  10228. PROTOBUF_FIELD_OFFSET(CallbackBody_onAudioDeviceStatusChangedParams, _impl_.status_)
  10229. + sizeof(CallbackBody_onAudioDeviceStatusChangedParams::_impl_.status_)
  10230. - PROTOBUF_FIELD_OFFSET(CallbackBody_onAudioDeviceStatusChangedParams, _impl_.type_)>(
  10231. reinterpret_cast<char*>(&_impl_.type_),
  10232. reinterpret_cast<char*>(&other->_impl_.type_));
  10233. }
  10234. std::string CallbackBody_onAudioDeviceStatusChangedParams::GetTypeName() const {
  10235. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams";
  10236. }
  10237. // ===================================================================
  10238. class CallbackBody_onTestMicStatusChangedParams::_Internal {
  10239. public:
  10240. using HasBits = decltype(std::declval<CallbackBody_onTestMicStatusChangedParams>()._impl_._has_bits_);
  10241. static constexpr ::int32_t kHasBitsOffset =
  10242. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onTestMicStatusChangedParams, _impl_._has_bits_);
  10243. static void set_has_status(HasBits* has_bits) {
  10244. (*has_bits)[0] |= 1u;
  10245. }
  10246. };
  10247. CallbackBody_onTestMicStatusChangedParams::CallbackBody_onTestMicStatusChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  10248. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  10249. SharedCtor(arena);
  10250. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
  10251. }
  10252. CallbackBody_onTestMicStatusChangedParams::CallbackBody_onTestMicStatusChangedParams(const CallbackBody_onTestMicStatusChangedParams& from)
  10253. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  10254. _internal_metadata_.MergeFrom<std::string>(
  10255. from._internal_metadata_);
  10256. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
  10257. }
  10258. inline void CallbackBody_onTestMicStatusChangedParams::SharedCtor(::_pb::Arena* arena) {
  10259. (void)arena;
  10260. new (&_impl_) Impl_{
  10261. decltype(_impl_._has_bits_){}
  10262. , /*decltype(_impl_._cached_size_)*/{}
  10263. , decltype(_impl_.status_) { 0 }
  10264. };
  10265. }
  10266. CallbackBody_onTestMicStatusChangedParams::~CallbackBody_onTestMicStatusChangedParams() {
  10267. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
  10268. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  10269. (void)arena;
  10270. return;
  10271. }
  10272. SharedDtor();
  10273. }
  10274. inline void CallbackBody_onTestMicStatusChangedParams::SharedDtor() {
  10275. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  10276. }
  10277. void CallbackBody_onTestMicStatusChangedParams::SetCachedSize(int size) const {
  10278. _impl_._cached_size_.Set(size);
  10279. }
  10280. void CallbackBody_onTestMicStatusChangedParams::Clear() {
  10281. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
  10282. ::uint32_t cached_has_bits = 0;
  10283. // Prevent compiler warnings about cached_has_bits being unused
  10284. (void) cached_has_bits;
  10285. _impl_.status_ = 0;
  10286. _impl_._has_bits_.Clear();
  10287. _internal_metadata_.Clear<std::string>();
  10288. }
  10289. const char* CallbackBody_onTestMicStatusChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  10290. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  10291. _Internal::HasBits has_bits{};
  10292. while (!ctx->Done(&ptr)) {
  10293. ::uint32_t tag;
  10294. ptr = ::_pbi::ReadTag(ptr, &tag);
  10295. switch (tag >> 3) {
  10296. // optional int32 status = 1;
  10297. case 1:
  10298. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  10299. _Internal::set_has_status(&has_bits);
  10300. _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  10301. CHK_(ptr);
  10302. } else {
  10303. goto handle_unusual;
  10304. }
  10305. continue;
  10306. default:
  10307. goto handle_unusual;
  10308. } // switch
  10309. handle_unusual:
  10310. if ((tag == 0) || ((tag & 7) == 4)) {
  10311. CHK_(ptr);
  10312. ctx->SetLastTag(tag);
  10313. goto message_done;
  10314. }
  10315. ptr = UnknownFieldParse(
  10316. tag,
  10317. _internal_metadata_.mutable_unknown_fields<std::string>(),
  10318. ptr, ctx);
  10319. CHK_(ptr != nullptr);
  10320. } // while
  10321. message_done:
  10322. _impl_._has_bits_.Or(has_bits);
  10323. return ptr;
  10324. failure:
  10325. ptr = nullptr;
  10326. goto message_done;
  10327. #undef CHK_
  10328. }
  10329. ::uint8_t* CallbackBody_onTestMicStatusChangedParams::_InternalSerialize(
  10330. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  10331. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
  10332. ::uint32_t cached_has_bits = 0;
  10333. (void) cached_has_bits;
  10334. cached_has_bits = _impl_._has_bits_[0];
  10335. // optional int32 status = 1;
  10336. if (cached_has_bits & 0x00000001u) {
  10337. target = stream->EnsureSpace(target);
  10338. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  10339. 1, this->_internal_status(), target);
  10340. }
  10341. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  10342. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  10343. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  10344. }
  10345. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
  10346. return target;
  10347. }
  10348. ::size_t CallbackBody_onTestMicStatusChangedParams::ByteSizeLong() const {
  10349. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
  10350. ::size_t total_size = 0;
  10351. ::uint32_t cached_has_bits = 0;
  10352. // Prevent compiler warnings about cached_has_bits being unused
  10353. (void) cached_has_bits;
  10354. // optional int32 status = 1;
  10355. cached_has_bits = _impl_._has_bits_[0];
  10356. if (cached_has_bits & 0x00000001u) {
  10357. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  10358. this->_internal_status());
  10359. }
  10360. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  10361. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  10362. }
  10363. int cached_size = ::_pbi::ToCachedSize(total_size);
  10364. SetCachedSize(cached_size);
  10365. return total_size;
  10366. }
  10367. void CallbackBody_onTestMicStatusChangedParams::CheckTypeAndMergeFrom(
  10368. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  10369. MergeFrom(*::_pbi::DownCast<const CallbackBody_onTestMicStatusChangedParams*>(
  10370. &from));
  10371. }
  10372. void CallbackBody_onTestMicStatusChangedParams::MergeFrom(const CallbackBody_onTestMicStatusChangedParams& from) {
  10373. CallbackBody_onTestMicStatusChangedParams* const _this = this;
  10374. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
  10375. ABSL_DCHECK_NE(&from, _this);
  10376. ::uint32_t cached_has_bits = 0;
  10377. (void) cached_has_bits;
  10378. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  10379. _this->_internal_set_status(from._internal_status());
  10380. }
  10381. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  10382. }
  10383. void CallbackBody_onTestMicStatusChangedParams::CopyFrom(const CallbackBody_onTestMicStatusChangedParams& from) {
  10384. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
  10385. if (&from == this) return;
  10386. Clear();
  10387. MergeFrom(from);
  10388. }
  10389. bool CallbackBody_onTestMicStatusChangedParams::IsInitialized() const {
  10390. return true;
  10391. }
  10392. void CallbackBody_onTestMicStatusChangedParams::InternalSwap(CallbackBody_onTestMicStatusChangedParams* other) {
  10393. using std::swap;
  10394. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  10395. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  10396. swap(_impl_.status_, other->_impl_.status_);
  10397. }
  10398. std::string CallbackBody_onTestMicStatusChangedParams::GetTypeName() const {
  10399. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams";
  10400. }
  10401. // ===================================================================
  10402. class CallbackBody_onSelectedAudioDeviceChangedParams::_Internal {
  10403. public:
  10404. };
  10405. CallbackBody_onSelectedAudioDeviceChangedParams::CallbackBody_onSelectedAudioDeviceChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  10406. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  10407. SharedCtor(arena);
  10408. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
  10409. }
  10410. CallbackBody_onSelectedAudioDeviceChangedParams::CallbackBody_onSelectedAudioDeviceChangedParams(const CallbackBody_onSelectedAudioDeviceChangedParams& from)
  10411. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  10412. _internal_metadata_.MergeFrom<std::string>(
  10413. from._internal_metadata_);
  10414. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
  10415. }
  10416. inline void CallbackBody_onSelectedAudioDeviceChangedParams::SharedCtor(::_pb::Arena* arena) {
  10417. (void)arena;
  10418. new (&_impl_) Impl_{
  10419. /*decltype(_impl_._cached_size_)*/{}
  10420. };
  10421. }
  10422. CallbackBody_onSelectedAudioDeviceChangedParams::~CallbackBody_onSelectedAudioDeviceChangedParams() {
  10423. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
  10424. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  10425. (void)arena;
  10426. return;
  10427. }
  10428. SharedDtor();
  10429. }
  10430. inline void CallbackBody_onSelectedAudioDeviceChangedParams::SharedDtor() {
  10431. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  10432. }
  10433. void CallbackBody_onSelectedAudioDeviceChangedParams::SetCachedSize(int size) const {
  10434. _impl_._cached_size_.Set(size);
  10435. }
  10436. void CallbackBody_onSelectedAudioDeviceChangedParams::Clear() {
  10437. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
  10438. ::uint32_t cached_has_bits = 0;
  10439. // Prevent compiler warnings about cached_has_bits being unused
  10440. (void) cached_has_bits;
  10441. _internal_metadata_.Clear<std::string>();
  10442. }
  10443. const char* CallbackBody_onSelectedAudioDeviceChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  10444. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  10445. while (!ctx->Done(&ptr)) {
  10446. ::uint32_t tag;
  10447. ptr = ::_pbi::ReadTag(ptr, &tag);
  10448. if ((tag == 0) || ((tag & 7) == 4)) {
  10449. CHK_(ptr);
  10450. ctx->SetLastTag(tag);
  10451. goto message_done;
  10452. }
  10453. ptr = UnknownFieldParse(
  10454. tag,
  10455. _internal_metadata_.mutable_unknown_fields<std::string>(),
  10456. ptr, ctx);
  10457. CHK_(ptr != nullptr);
  10458. } // while
  10459. message_done:
  10460. return ptr;
  10461. failure:
  10462. ptr = nullptr;
  10463. goto message_done;
  10464. #undef CHK_
  10465. }
  10466. ::uint8_t* CallbackBody_onSelectedAudioDeviceChangedParams::_InternalSerialize(
  10467. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  10468. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
  10469. ::uint32_t cached_has_bits = 0;
  10470. (void) cached_has_bits;
  10471. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  10472. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  10473. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  10474. }
  10475. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
  10476. return target;
  10477. }
  10478. ::size_t CallbackBody_onSelectedAudioDeviceChangedParams::ByteSizeLong() const {
  10479. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
  10480. ::size_t total_size = 0;
  10481. ::uint32_t cached_has_bits = 0;
  10482. // Prevent compiler warnings about cached_has_bits being unused
  10483. (void) cached_has_bits;
  10484. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  10485. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  10486. }
  10487. int cached_size = ::_pbi::ToCachedSize(total_size);
  10488. SetCachedSize(cached_size);
  10489. return total_size;
  10490. }
  10491. void CallbackBody_onSelectedAudioDeviceChangedParams::CheckTypeAndMergeFrom(
  10492. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  10493. MergeFrom(*::_pbi::DownCast<const CallbackBody_onSelectedAudioDeviceChangedParams*>(
  10494. &from));
  10495. }
  10496. void CallbackBody_onSelectedAudioDeviceChangedParams::MergeFrom(const CallbackBody_onSelectedAudioDeviceChangedParams& from) {
  10497. CallbackBody_onSelectedAudioDeviceChangedParams* const _this = this;
  10498. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
  10499. ABSL_DCHECK_NE(&from, _this);
  10500. ::uint32_t cached_has_bits = 0;
  10501. (void) cached_has_bits;
  10502. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  10503. }
  10504. void CallbackBody_onSelectedAudioDeviceChangedParams::CopyFrom(const CallbackBody_onSelectedAudioDeviceChangedParams& from) {
  10505. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
  10506. if (&from == this) return;
  10507. Clear();
  10508. MergeFrom(from);
  10509. }
  10510. bool CallbackBody_onSelectedAudioDeviceChangedParams::IsInitialized() const {
  10511. return true;
  10512. }
  10513. void CallbackBody_onSelectedAudioDeviceChangedParams::InternalSwap(CallbackBody_onSelectedAudioDeviceChangedParams* other) {
  10514. using std::swap;
  10515. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  10516. }
  10517. std::string CallbackBody_onSelectedAudioDeviceChangedParams::GetTypeName() const {
  10518. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams";
  10519. }
  10520. // ===================================================================
  10521. class CallbackBody_onLiveTranscriptionStatusParams::_Internal {
  10522. public:
  10523. using HasBits = decltype(std::declval<CallbackBody_onLiveTranscriptionStatusParams>()._impl_._has_bits_);
  10524. static constexpr ::int32_t kHasBitsOffset =
  10525. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onLiveTranscriptionStatusParams, _impl_._has_bits_);
  10526. static void set_has_status(HasBits* has_bits) {
  10527. (*has_bits)[0] |= 1u;
  10528. }
  10529. };
  10530. CallbackBody_onLiveTranscriptionStatusParams::CallbackBody_onLiveTranscriptionStatusParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  10531. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  10532. SharedCtor(arena);
  10533. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
  10534. }
  10535. CallbackBody_onLiveTranscriptionStatusParams::CallbackBody_onLiveTranscriptionStatusParams(const CallbackBody_onLiveTranscriptionStatusParams& from)
  10536. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  10537. _internal_metadata_.MergeFrom<std::string>(
  10538. from._internal_metadata_);
  10539. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
  10540. }
  10541. inline void CallbackBody_onLiveTranscriptionStatusParams::SharedCtor(::_pb::Arena* arena) {
  10542. (void)arena;
  10543. new (&_impl_) Impl_{
  10544. decltype(_impl_._has_bits_){}
  10545. , /*decltype(_impl_._cached_size_)*/{}
  10546. , decltype(_impl_.status_) { 0 }
  10547. };
  10548. }
  10549. CallbackBody_onLiveTranscriptionStatusParams::~CallbackBody_onLiveTranscriptionStatusParams() {
  10550. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
  10551. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  10552. (void)arena;
  10553. return;
  10554. }
  10555. SharedDtor();
  10556. }
  10557. inline void CallbackBody_onLiveTranscriptionStatusParams::SharedDtor() {
  10558. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  10559. }
  10560. void CallbackBody_onLiveTranscriptionStatusParams::SetCachedSize(int size) const {
  10561. _impl_._cached_size_.Set(size);
  10562. }
  10563. void CallbackBody_onLiveTranscriptionStatusParams::Clear() {
  10564. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
  10565. ::uint32_t cached_has_bits = 0;
  10566. // Prevent compiler warnings about cached_has_bits being unused
  10567. (void) cached_has_bits;
  10568. _impl_.status_ = 0;
  10569. _impl_._has_bits_.Clear();
  10570. _internal_metadata_.Clear<std::string>();
  10571. }
  10572. const char* CallbackBody_onLiveTranscriptionStatusParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  10573. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  10574. _Internal::HasBits has_bits{};
  10575. while (!ctx->Done(&ptr)) {
  10576. ::uint32_t tag;
  10577. ptr = ::_pbi::ReadTag(ptr, &tag);
  10578. switch (tag >> 3) {
  10579. // optional int32 status = 1;
  10580. case 1:
  10581. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  10582. _Internal::set_has_status(&has_bits);
  10583. _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  10584. CHK_(ptr);
  10585. } else {
  10586. goto handle_unusual;
  10587. }
  10588. continue;
  10589. default:
  10590. goto handle_unusual;
  10591. } // switch
  10592. handle_unusual:
  10593. if ((tag == 0) || ((tag & 7) == 4)) {
  10594. CHK_(ptr);
  10595. ctx->SetLastTag(tag);
  10596. goto message_done;
  10597. }
  10598. ptr = UnknownFieldParse(
  10599. tag,
  10600. _internal_metadata_.mutable_unknown_fields<std::string>(),
  10601. ptr, ctx);
  10602. CHK_(ptr != nullptr);
  10603. } // while
  10604. message_done:
  10605. _impl_._has_bits_.Or(has_bits);
  10606. return ptr;
  10607. failure:
  10608. ptr = nullptr;
  10609. goto message_done;
  10610. #undef CHK_
  10611. }
  10612. ::uint8_t* CallbackBody_onLiveTranscriptionStatusParams::_InternalSerialize(
  10613. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  10614. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
  10615. ::uint32_t cached_has_bits = 0;
  10616. (void) cached_has_bits;
  10617. cached_has_bits = _impl_._has_bits_[0];
  10618. // optional int32 status = 1;
  10619. if (cached_has_bits & 0x00000001u) {
  10620. target = stream->EnsureSpace(target);
  10621. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  10622. 1, this->_internal_status(), target);
  10623. }
  10624. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  10625. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  10626. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  10627. }
  10628. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
  10629. return target;
  10630. }
  10631. ::size_t CallbackBody_onLiveTranscriptionStatusParams::ByteSizeLong() const {
  10632. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
  10633. ::size_t total_size = 0;
  10634. ::uint32_t cached_has_bits = 0;
  10635. // Prevent compiler warnings about cached_has_bits being unused
  10636. (void) cached_has_bits;
  10637. // optional int32 status = 1;
  10638. cached_has_bits = _impl_._has_bits_[0];
  10639. if (cached_has_bits & 0x00000001u) {
  10640. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  10641. this->_internal_status());
  10642. }
  10643. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  10644. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  10645. }
  10646. int cached_size = ::_pbi::ToCachedSize(total_size);
  10647. SetCachedSize(cached_size);
  10648. return total_size;
  10649. }
  10650. void CallbackBody_onLiveTranscriptionStatusParams::CheckTypeAndMergeFrom(
  10651. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  10652. MergeFrom(*::_pbi::DownCast<const CallbackBody_onLiveTranscriptionStatusParams*>(
  10653. &from));
  10654. }
  10655. void CallbackBody_onLiveTranscriptionStatusParams::MergeFrom(const CallbackBody_onLiveTranscriptionStatusParams& from) {
  10656. CallbackBody_onLiveTranscriptionStatusParams* const _this = this;
  10657. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
  10658. ABSL_DCHECK_NE(&from, _this);
  10659. ::uint32_t cached_has_bits = 0;
  10660. (void) cached_has_bits;
  10661. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  10662. _this->_internal_set_status(from._internal_status());
  10663. }
  10664. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  10665. }
  10666. void CallbackBody_onLiveTranscriptionStatusParams::CopyFrom(const CallbackBody_onLiveTranscriptionStatusParams& from) {
  10667. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
  10668. if (&from == this) return;
  10669. Clear();
  10670. MergeFrom(from);
  10671. }
  10672. bool CallbackBody_onLiveTranscriptionStatusParams::IsInitialized() const {
  10673. return true;
  10674. }
  10675. void CallbackBody_onLiveTranscriptionStatusParams::InternalSwap(CallbackBody_onLiveTranscriptionStatusParams* other) {
  10676. using std::swap;
  10677. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  10678. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  10679. swap(_impl_.status_, other->_impl_.status_);
  10680. }
  10681. std::string CallbackBody_onLiveTranscriptionStatusParams::GetTypeName() const {
  10682. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams";
  10683. }
  10684. // ===================================================================
  10685. class CallbackBody_onLiveTranscriptionMsgReceivedParams::_Internal {
  10686. public:
  10687. using HasBits = decltype(std::declval<CallbackBody_onLiveTranscriptionMsgReceivedParams>()._impl_._has_bits_);
  10688. static constexpr ::int32_t kHasBitsOffset =
  10689. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onLiveTranscriptionMsgReceivedParams, _impl_._has_bits_);
  10690. static void set_has_ltmsg(HasBits* has_bits) {
  10691. (*has_bits)[0] |= 1u;
  10692. }
  10693. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const CallbackBody_onLiveTranscriptionMsgReceivedParams* msg);
  10694. static void set_has_user(HasBits* has_bits) {
  10695. (*has_bits)[0] |= 2u;
  10696. }
  10697. static void set_has_type(HasBits* has_bits) {
  10698. (*has_bits)[0] |= 4u;
  10699. }
  10700. };
  10701. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  10702. CallbackBody_onLiveTranscriptionMsgReceivedParams::_Internal::user(const CallbackBody_onLiveTranscriptionMsgReceivedParams* msg) {
  10703. return *msg->_impl_.user_;
  10704. }
  10705. CallbackBody_onLiveTranscriptionMsgReceivedParams::CallbackBody_onLiveTranscriptionMsgReceivedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  10706. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  10707. SharedCtor(arena);
  10708. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
  10709. }
  10710. CallbackBody_onLiveTranscriptionMsgReceivedParams::CallbackBody_onLiveTranscriptionMsgReceivedParams(const CallbackBody_onLiveTranscriptionMsgReceivedParams& from)
  10711. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  10712. CallbackBody_onLiveTranscriptionMsgReceivedParams* const _this = this; (void)_this;
  10713. new (&_impl_) Impl_{
  10714. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  10715. , /*decltype(_impl_._cached_size_)*/{}
  10716. , decltype(_impl_.ltmsg_) {}
  10717. , decltype(_impl_.user_){nullptr}
  10718. , decltype(_impl_.type_) {}
  10719. };
  10720. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  10721. _impl_.ltmsg_.InitDefault();
  10722. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10723. _impl_.ltmsg_.Set("", GetArenaForAllocation());
  10724. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10725. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  10726. _this->_impl_.ltmsg_.Set(from._internal_ltmsg(), _this->GetArenaForAllocation());
  10727. }
  10728. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  10729. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  10730. }
  10731. _this->_impl_.type_ = from._impl_.type_;
  10732. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
  10733. }
  10734. inline void CallbackBody_onLiveTranscriptionMsgReceivedParams::SharedCtor(::_pb::Arena* arena) {
  10735. (void)arena;
  10736. new (&_impl_) Impl_{
  10737. decltype(_impl_._has_bits_){}
  10738. , /*decltype(_impl_._cached_size_)*/{}
  10739. , decltype(_impl_.ltmsg_) {}
  10740. , decltype(_impl_.user_){nullptr}
  10741. , decltype(_impl_.type_) { 0 }
  10742. };
  10743. _impl_.ltmsg_.InitDefault();
  10744. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10745. _impl_.ltmsg_.Set("", GetArenaForAllocation());
  10746. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  10747. }
  10748. CallbackBody_onLiveTranscriptionMsgReceivedParams::~CallbackBody_onLiveTranscriptionMsgReceivedParams() {
  10749. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
  10750. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  10751. (void)arena;
  10752. return;
  10753. }
  10754. SharedDtor();
  10755. }
  10756. inline void CallbackBody_onLiveTranscriptionMsgReceivedParams::SharedDtor() {
  10757. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  10758. _impl_.ltmsg_.Destroy();
  10759. if (this != internal_default_instance()) delete _impl_.user_;
  10760. }
  10761. void CallbackBody_onLiveTranscriptionMsgReceivedParams::SetCachedSize(int size) const {
  10762. _impl_._cached_size_.Set(size);
  10763. }
  10764. void CallbackBody_onLiveTranscriptionMsgReceivedParams::Clear() {
  10765. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
  10766. ::uint32_t cached_has_bits = 0;
  10767. // Prevent compiler warnings about cached_has_bits being unused
  10768. (void) cached_has_bits;
  10769. cached_has_bits = _impl_._has_bits_[0];
  10770. if (cached_has_bits & 0x00000003u) {
  10771. if (cached_has_bits & 0x00000001u) {
  10772. _impl_.ltmsg_.ClearNonDefaultToEmpty();
  10773. }
  10774. if (cached_has_bits & 0x00000002u) {
  10775. ABSL_DCHECK(_impl_.user_ != nullptr);
  10776. _impl_.user_->Clear();
  10777. }
  10778. }
  10779. _impl_.type_ = 0;
  10780. _impl_._has_bits_.Clear();
  10781. _internal_metadata_.Clear<std::string>();
  10782. }
  10783. const char* CallbackBody_onLiveTranscriptionMsgReceivedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  10784. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  10785. _Internal::HasBits has_bits{};
  10786. while (!ctx->Done(&ptr)) {
  10787. ::uint32_t tag;
  10788. ptr = ::_pbi::ReadTag(ptr, &tag);
  10789. switch (tag >> 3) {
  10790. // optional string ltMsg = 1;
  10791. case 1:
  10792. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  10793. auto str = _internal_mutable_ltmsg();
  10794. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  10795. CHK_(ptr);
  10796. } else {
  10797. goto handle_unusual;
  10798. }
  10799. continue;
  10800. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  10801. case 2:
  10802. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  10803. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  10804. CHK_(ptr);
  10805. } else {
  10806. goto handle_unusual;
  10807. }
  10808. continue;
  10809. // optional int32 type = 3;
  10810. case 3:
  10811. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  10812. _Internal::set_has_type(&has_bits);
  10813. _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  10814. CHK_(ptr);
  10815. } else {
  10816. goto handle_unusual;
  10817. }
  10818. continue;
  10819. default:
  10820. goto handle_unusual;
  10821. } // switch
  10822. handle_unusual:
  10823. if ((tag == 0) || ((tag & 7) == 4)) {
  10824. CHK_(ptr);
  10825. ctx->SetLastTag(tag);
  10826. goto message_done;
  10827. }
  10828. ptr = UnknownFieldParse(
  10829. tag,
  10830. _internal_metadata_.mutable_unknown_fields<std::string>(),
  10831. ptr, ctx);
  10832. CHK_(ptr != nullptr);
  10833. } // while
  10834. message_done:
  10835. _impl_._has_bits_.Or(has_bits);
  10836. return ptr;
  10837. failure:
  10838. ptr = nullptr;
  10839. goto message_done;
  10840. #undef CHK_
  10841. }
  10842. ::uint8_t* CallbackBody_onLiveTranscriptionMsgReceivedParams::_InternalSerialize(
  10843. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  10844. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
  10845. ::uint32_t cached_has_bits = 0;
  10846. (void) cached_has_bits;
  10847. cached_has_bits = _impl_._has_bits_[0];
  10848. // optional string ltMsg = 1;
  10849. if (cached_has_bits & 0x00000001u) {
  10850. const std::string& _s = this->_internal_ltmsg();
  10851. target = stream->WriteStringMaybeAliased(1, _s, target);
  10852. }
  10853. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  10854. if (cached_has_bits & 0x00000002u) {
  10855. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  10856. InternalWriteMessage(2, _Internal::user(this),
  10857. _Internal::user(this).GetCachedSize(), target, stream);
  10858. }
  10859. // optional int32 type = 3;
  10860. if (cached_has_bits & 0x00000004u) {
  10861. target = stream->EnsureSpace(target);
  10862. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  10863. 3, this->_internal_type(), target);
  10864. }
  10865. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  10866. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  10867. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  10868. }
  10869. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
  10870. return target;
  10871. }
  10872. ::size_t CallbackBody_onLiveTranscriptionMsgReceivedParams::ByteSizeLong() const {
  10873. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
  10874. ::size_t total_size = 0;
  10875. ::uint32_t cached_has_bits = 0;
  10876. // Prevent compiler warnings about cached_has_bits being unused
  10877. (void) cached_has_bits;
  10878. cached_has_bits = _impl_._has_bits_[0];
  10879. if (cached_has_bits & 0x00000007u) {
  10880. // optional string ltMsg = 1;
  10881. if (cached_has_bits & 0x00000001u) {
  10882. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  10883. this->_internal_ltmsg());
  10884. }
  10885. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  10886. if (cached_has_bits & 0x00000002u) {
  10887. total_size += 1 +
  10888. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  10889. *_impl_.user_);
  10890. }
  10891. // optional int32 type = 3;
  10892. if (cached_has_bits & 0x00000004u) {
  10893. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  10894. this->_internal_type());
  10895. }
  10896. }
  10897. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  10898. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  10899. }
  10900. int cached_size = ::_pbi::ToCachedSize(total_size);
  10901. SetCachedSize(cached_size);
  10902. return total_size;
  10903. }
  10904. void CallbackBody_onLiveTranscriptionMsgReceivedParams::CheckTypeAndMergeFrom(
  10905. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  10906. MergeFrom(*::_pbi::DownCast<const CallbackBody_onLiveTranscriptionMsgReceivedParams*>(
  10907. &from));
  10908. }
  10909. void CallbackBody_onLiveTranscriptionMsgReceivedParams::MergeFrom(const CallbackBody_onLiveTranscriptionMsgReceivedParams& from) {
  10910. CallbackBody_onLiveTranscriptionMsgReceivedParams* const _this = this;
  10911. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
  10912. ABSL_DCHECK_NE(&from, _this);
  10913. ::uint32_t cached_has_bits = 0;
  10914. (void) cached_has_bits;
  10915. cached_has_bits = from._impl_._has_bits_[0];
  10916. if (cached_has_bits & 0x00000007u) {
  10917. if (cached_has_bits & 0x00000001u) {
  10918. _this->_internal_set_ltmsg(from._internal_ltmsg());
  10919. }
  10920. if (cached_has_bits & 0x00000002u) {
  10921. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  10922. from._internal_user());
  10923. }
  10924. if (cached_has_bits & 0x00000004u) {
  10925. _this->_impl_.type_ = from._impl_.type_;
  10926. }
  10927. _this->_impl_._has_bits_[0] |= cached_has_bits;
  10928. }
  10929. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  10930. }
  10931. void CallbackBody_onLiveTranscriptionMsgReceivedParams::CopyFrom(const CallbackBody_onLiveTranscriptionMsgReceivedParams& from) {
  10932. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
  10933. if (&from == this) return;
  10934. Clear();
  10935. MergeFrom(from);
  10936. }
  10937. bool CallbackBody_onLiveTranscriptionMsgReceivedParams::IsInitialized() const {
  10938. return true;
  10939. }
  10940. void CallbackBody_onLiveTranscriptionMsgReceivedParams::InternalSwap(CallbackBody_onLiveTranscriptionMsgReceivedParams* other) {
  10941. using std::swap;
  10942. auto* lhs_arena = GetArenaForAllocation();
  10943. auto* rhs_arena = other->GetArenaForAllocation();
  10944. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  10945. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  10946. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ltmsg_, lhs_arena,
  10947. &other->_impl_.ltmsg_, rhs_arena);
  10948. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  10949. PROTOBUF_FIELD_OFFSET(CallbackBody_onLiveTranscriptionMsgReceivedParams, _impl_.type_)
  10950. + sizeof(CallbackBody_onLiveTranscriptionMsgReceivedParams::_impl_.type_)
  10951. - PROTOBUF_FIELD_OFFSET(CallbackBody_onLiveTranscriptionMsgReceivedParams, _impl_.user_)>(
  10952. reinterpret_cast<char*>(&_impl_.user_),
  10953. reinterpret_cast<char*>(&other->_impl_.user_));
  10954. }
  10955. std::string CallbackBody_onLiveTranscriptionMsgReceivedParams::GetTypeName() const {
  10956. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams";
  10957. }
  10958. // ===================================================================
  10959. class CallbackBody_onLiveTranscriptionMsgErrorParams::_Internal {
  10960. public:
  10961. using HasBits = decltype(std::declval<CallbackBody_onLiveTranscriptionMsgErrorParams>()._impl_._has_bits_);
  10962. static constexpr ::int32_t kHasBitsOffset =
  10963. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onLiveTranscriptionMsgErrorParams, _impl_._has_bits_);
  10964. static const ::com::electron::zoomvideo::sdk::proto::LTTLanguage& spokenlanguage(const CallbackBody_onLiveTranscriptionMsgErrorParams* msg);
  10965. static void set_has_spokenlanguage(HasBits* has_bits) {
  10966. (*has_bits)[0] |= 1u;
  10967. }
  10968. static const ::com::electron::zoomvideo::sdk::proto::LTTLanguage& transcriptlanguage(const CallbackBody_onLiveTranscriptionMsgErrorParams* msg);
  10969. static void set_has_transcriptlanguage(HasBits* has_bits) {
  10970. (*has_bits)[0] |= 2u;
  10971. }
  10972. };
  10973. const ::com::electron::zoomvideo::sdk::proto::LTTLanguage&
  10974. CallbackBody_onLiveTranscriptionMsgErrorParams::_Internal::spokenlanguage(const CallbackBody_onLiveTranscriptionMsgErrorParams* msg) {
  10975. return *msg->_impl_.spokenlanguage_;
  10976. }
  10977. const ::com::electron::zoomvideo::sdk::proto::LTTLanguage&
  10978. CallbackBody_onLiveTranscriptionMsgErrorParams::_Internal::transcriptlanguage(const CallbackBody_onLiveTranscriptionMsgErrorParams* msg) {
  10979. return *msg->_impl_.transcriptlanguage_;
  10980. }
  10981. CallbackBody_onLiveTranscriptionMsgErrorParams::CallbackBody_onLiveTranscriptionMsgErrorParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  10982. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  10983. SharedCtor(arena);
  10984. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
  10985. }
  10986. CallbackBody_onLiveTranscriptionMsgErrorParams::CallbackBody_onLiveTranscriptionMsgErrorParams(const CallbackBody_onLiveTranscriptionMsgErrorParams& from)
  10987. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  10988. CallbackBody_onLiveTranscriptionMsgErrorParams* const _this = this; (void)_this;
  10989. new (&_impl_) Impl_{
  10990. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  10991. , /*decltype(_impl_._cached_size_)*/{}
  10992. , decltype(_impl_.spokenlanguage_){nullptr}
  10993. , decltype(_impl_.transcriptlanguage_){nullptr}};
  10994. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  10995. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  10996. _this->_impl_.spokenlanguage_ = new ::com::electron::zoomvideo::sdk::proto::LTTLanguage(*from._impl_.spokenlanguage_);
  10997. }
  10998. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  10999. _this->_impl_.transcriptlanguage_ = new ::com::electron::zoomvideo::sdk::proto::LTTLanguage(*from._impl_.transcriptlanguage_);
  11000. }
  11001. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
  11002. }
  11003. inline void CallbackBody_onLiveTranscriptionMsgErrorParams::SharedCtor(::_pb::Arena* arena) {
  11004. (void)arena;
  11005. new (&_impl_) Impl_{
  11006. decltype(_impl_._has_bits_){}
  11007. , /*decltype(_impl_._cached_size_)*/{}
  11008. , decltype(_impl_.spokenlanguage_){nullptr}
  11009. , decltype(_impl_.transcriptlanguage_){nullptr}
  11010. };
  11011. }
  11012. CallbackBody_onLiveTranscriptionMsgErrorParams::~CallbackBody_onLiveTranscriptionMsgErrorParams() {
  11013. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
  11014. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  11015. (void)arena;
  11016. return;
  11017. }
  11018. SharedDtor();
  11019. }
  11020. inline void CallbackBody_onLiveTranscriptionMsgErrorParams::SharedDtor() {
  11021. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  11022. if (this != internal_default_instance()) delete _impl_.spokenlanguage_;
  11023. if (this != internal_default_instance()) delete _impl_.transcriptlanguage_;
  11024. }
  11025. void CallbackBody_onLiveTranscriptionMsgErrorParams::SetCachedSize(int size) const {
  11026. _impl_._cached_size_.Set(size);
  11027. }
  11028. void CallbackBody_onLiveTranscriptionMsgErrorParams::Clear() {
  11029. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
  11030. ::uint32_t cached_has_bits = 0;
  11031. // Prevent compiler warnings about cached_has_bits being unused
  11032. (void) cached_has_bits;
  11033. cached_has_bits = _impl_._has_bits_[0];
  11034. if (cached_has_bits & 0x00000003u) {
  11035. if (cached_has_bits & 0x00000001u) {
  11036. ABSL_DCHECK(_impl_.spokenlanguage_ != nullptr);
  11037. _impl_.spokenlanguage_->Clear();
  11038. }
  11039. if (cached_has_bits & 0x00000002u) {
  11040. ABSL_DCHECK(_impl_.transcriptlanguage_ != nullptr);
  11041. _impl_.transcriptlanguage_->Clear();
  11042. }
  11043. }
  11044. _impl_._has_bits_.Clear();
  11045. _internal_metadata_.Clear<std::string>();
  11046. }
  11047. const char* CallbackBody_onLiveTranscriptionMsgErrorParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  11048. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  11049. _Internal::HasBits has_bits{};
  11050. while (!ctx->Done(&ptr)) {
  11051. ::uint32_t tag;
  11052. ptr = ::_pbi::ReadTag(ptr, &tag);
  11053. switch (tag >> 3) {
  11054. // optional .com.electron.zoomvideo.sdk.proto.LTTLanguage spokenLanguage = 1;
  11055. case 1:
  11056. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  11057. ptr = ctx->ParseMessage(_internal_mutable_spokenlanguage(), ptr);
  11058. CHK_(ptr);
  11059. } else {
  11060. goto handle_unusual;
  11061. }
  11062. continue;
  11063. // optional .com.electron.zoomvideo.sdk.proto.LTTLanguage transcriptLanguage = 2;
  11064. case 2:
  11065. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  11066. ptr = ctx->ParseMessage(_internal_mutable_transcriptlanguage(), ptr);
  11067. CHK_(ptr);
  11068. } else {
  11069. goto handle_unusual;
  11070. }
  11071. continue;
  11072. default:
  11073. goto handle_unusual;
  11074. } // switch
  11075. handle_unusual:
  11076. if ((tag == 0) || ((tag & 7) == 4)) {
  11077. CHK_(ptr);
  11078. ctx->SetLastTag(tag);
  11079. goto message_done;
  11080. }
  11081. ptr = UnknownFieldParse(
  11082. tag,
  11083. _internal_metadata_.mutable_unknown_fields<std::string>(),
  11084. ptr, ctx);
  11085. CHK_(ptr != nullptr);
  11086. } // while
  11087. message_done:
  11088. _impl_._has_bits_.Or(has_bits);
  11089. return ptr;
  11090. failure:
  11091. ptr = nullptr;
  11092. goto message_done;
  11093. #undef CHK_
  11094. }
  11095. ::uint8_t* CallbackBody_onLiveTranscriptionMsgErrorParams::_InternalSerialize(
  11096. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  11097. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
  11098. ::uint32_t cached_has_bits = 0;
  11099. (void) cached_has_bits;
  11100. cached_has_bits = _impl_._has_bits_[0];
  11101. // optional .com.electron.zoomvideo.sdk.proto.LTTLanguage spokenLanguage = 1;
  11102. if (cached_has_bits & 0x00000001u) {
  11103. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  11104. InternalWriteMessage(1, _Internal::spokenlanguage(this),
  11105. _Internal::spokenlanguage(this).GetCachedSize(), target, stream);
  11106. }
  11107. // optional .com.electron.zoomvideo.sdk.proto.LTTLanguage transcriptLanguage = 2;
  11108. if (cached_has_bits & 0x00000002u) {
  11109. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  11110. InternalWriteMessage(2, _Internal::transcriptlanguage(this),
  11111. _Internal::transcriptlanguage(this).GetCachedSize(), target, stream);
  11112. }
  11113. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  11114. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  11115. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  11116. }
  11117. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
  11118. return target;
  11119. }
  11120. ::size_t CallbackBody_onLiveTranscriptionMsgErrorParams::ByteSizeLong() const {
  11121. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
  11122. ::size_t total_size = 0;
  11123. ::uint32_t cached_has_bits = 0;
  11124. // Prevent compiler warnings about cached_has_bits being unused
  11125. (void) cached_has_bits;
  11126. cached_has_bits = _impl_._has_bits_[0];
  11127. if (cached_has_bits & 0x00000003u) {
  11128. // optional .com.electron.zoomvideo.sdk.proto.LTTLanguage spokenLanguage = 1;
  11129. if (cached_has_bits & 0x00000001u) {
  11130. total_size += 1 +
  11131. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  11132. *_impl_.spokenlanguage_);
  11133. }
  11134. // optional .com.electron.zoomvideo.sdk.proto.LTTLanguage transcriptLanguage = 2;
  11135. if (cached_has_bits & 0x00000002u) {
  11136. total_size += 1 +
  11137. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  11138. *_impl_.transcriptlanguage_);
  11139. }
  11140. }
  11141. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  11142. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  11143. }
  11144. int cached_size = ::_pbi::ToCachedSize(total_size);
  11145. SetCachedSize(cached_size);
  11146. return total_size;
  11147. }
  11148. void CallbackBody_onLiveTranscriptionMsgErrorParams::CheckTypeAndMergeFrom(
  11149. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  11150. MergeFrom(*::_pbi::DownCast<const CallbackBody_onLiveTranscriptionMsgErrorParams*>(
  11151. &from));
  11152. }
  11153. void CallbackBody_onLiveTranscriptionMsgErrorParams::MergeFrom(const CallbackBody_onLiveTranscriptionMsgErrorParams& from) {
  11154. CallbackBody_onLiveTranscriptionMsgErrorParams* const _this = this;
  11155. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
  11156. ABSL_DCHECK_NE(&from, _this);
  11157. ::uint32_t cached_has_bits = 0;
  11158. (void) cached_has_bits;
  11159. cached_has_bits = from._impl_._has_bits_[0];
  11160. if (cached_has_bits & 0x00000003u) {
  11161. if (cached_has_bits & 0x00000001u) {
  11162. _this->_internal_mutable_spokenlanguage()->::com::electron::zoomvideo::sdk::proto::LTTLanguage::MergeFrom(
  11163. from._internal_spokenlanguage());
  11164. }
  11165. if (cached_has_bits & 0x00000002u) {
  11166. _this->_internal_mutable_transcriptlanguage()->::com::electron::zoomvideo::sdk::proto::LTTLanguage::MergeFrom(
  11167. from._internal_transcriptlanguage());
  11168. }
  11169. }
  11170. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  11171. }
  11172. void CallbackBody_onLiveTranscriptionMsgErrorParams::CopyFrom(const CallbackBody_onLiveTranscriptionMsgErrorParams& from) {
  11173. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
  11174. if (&from == this) return;
  11175. Clear();
  11176. MergeFrom(from);
  11177. }
  11178. bool CallbackBody_onLiveTranscriptionMsgErrorParams::IsInitialized() const {
  11179. return true;
  11180. }
  11181. void CallbackBody_onLiveTranscriptionMsgErrorParams::InternalSwap(CallbackBody_onLiveTranscriptionMsgErrorParams* other) {
  11182. using std::swap;
  11183. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  11184. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  11185. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  11186. PROTOBUF_FIELD_OFFSET(CallbackBody_onLiveTranscriptionMsgErrorParams, _impl_.transcriptlanguage_)
  11187. + sizeof(CallbackBody_onLiveTranscriptionMsgErrorParams::_impl_.transcriptlanguage_)
  11188. - PROTOBUF_FIELD_OFFSET(CallbackBody_onLiveTranscriptionMsgErrorParams, _impl_.spokenlanguage_)>(
  11189. reinterpret_cast<char*>(&_impl_.spokenlanguage_),
  11190. reinterpret_cast<char*>(&other->_impl_.spokenlanguage_));
  11191. }
  11192. std::string CallbackBody_onLiveTranscriptionMsgErrorParams::GetTypeName() const {
  11193. return "com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams";
  11194. }
  11195. // ===================================================================
  11196. class CallbackBody_liveTranscriptionMsgInfoParams::_Internal {
  11197. public:
  11198. using HasBits = decltype(std::declval<CallbackBody_liveTranscriptionMsgInfoParams>()._impl_._has_bits_);
  11199. static constexpr ::int32_t kHasBitsOffset =
  11200. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_liveTranscriptionMsgInfoParams, _impl_._has_bits_);
  11201. static void set_has_timestamp(HasBits* has_bits) {
  11202. (*has_bits)[0] |= 16u;
  11203. }
  11204. static void set_has_messageid(HasBits* has_bits) {
  11205. (*has_bits)[0] |= 1u;
  11206. }
  11207. static void set_has_messagecontent(HasBits* has_bits) {
  11208. (*has_bits)[0] |= 2u;
  11209. }
  11210. static void set_has_speakername(HasBits* has_bits) {
  11211. (*has_bits)[0] |= 4u;
  11212. }
  11213. static void set_has_speakerid(HasBits* has_bits) {
  11214. (*has_bits)[0] |= 8u;
  11215. }
  11216. static void set_has_messagetype(HasBits* has_bits) {
  11217. (*has_bits)[0] |= 32u;
  11218. }
  11219. };
  11220. CallbackBody_liveTranscriptionMsgInfoParams::CallbackBody_liveTranscriptionMsgInfoParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  11221. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  11222. SharedCtor(arena);
  11223. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
  11224. }
  11225. CallbackBody_liveTranscriptionMsgInfoParams::CallbackBody_liveTranscriptionMsgInfoParams(const CallbackBody_liveTranscriptionMsgInfoParams& from)
  11226. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  11227. CallbackBody_liveTranscriptionMsgInfoParams* const _this = this; (void)_this;
  11228. new (&_impl_) Impl_{
  11229. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  11230. , /*decltype(_impl_._cached_size_)*/{}
  11231. , decltype(_impl_.messageid_) {}
  11232. , decltype(_impl_.messagecontent_) {}
  11233. , decltype(_impl_.speakername_) {}
  11234. , decltype(_impl_.speakerid_) {}
  11235. , decltype(_impl_.timestamp_) {}
  11236. , decltype(_impl_.messagetype_) {}
  11237. };
  11238. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  11239. _impl_.messageid_.InitDefault();
  11240. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11241. _impl_.messageid_.Set("", GetArenaForAllocation());
  11242. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11243. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  11244. _this->_impl_.messageid_.Set(from._internal_messageid(), _this->GetArenaForAllocation());
  11245. }
  11246. _impl_.messagecontent_.InitDefault();
  11247. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11248. _impl_.messagecontent_.Set("", GetArenaForAllocation());
  11249. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11250. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  11251. _this->_impl_.messagecontent_.Set(from._internal_messagecontent(), _this->GetArenaForAllocation());
  11252. }
  11253. _impl_.speakername_.InitDefault();
  11254. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11255. _impl_.speakername_.Set("", GetArenaForAllocation());
  11256. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11257. if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
  11258. _this->_impl_.speakername_.Set(from._internal_speakername(), _this->GetArenaForAllocation());
  11259. }
  11260. _impl_.speakerid_.InitDefault();
  11261. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11262. _impl_.speakerid_.Set("", GetArenaForAllocation());
  11263. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11264. if ((from._impl_._has_bits_[0] & 0x00000008u) != 0) {
  11265. _this->_impl_.speakerid_.Set(from._internal_speakerid(), _this->GetArenaForAllocation());
  11266. }
  11267. ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_,
  11268. static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.messagetype_) -
  11269. reinterpret_cast<char*>(&_impl_.timestamp_)) + sizeof(_impl_.messagetype_));
  11270. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
  11271. }
  11272. inline void CallbackBody_liveTranscriptionMsgInfoParams::SharedCtor(::_pb::Arena* arena) {
  11273. (void)arena;
  11274. new (&_impl_) Impl_{
  11275. decltype(_impl_._has_bits_){}
  11276. , /*decltype(_impl_._cached_size_)*/{}
  11277. , decltype(_impl_.messageid_) {}
  11278. , decltype(_impl_.messagecontent_) {}
  11279. , decltype(_impl_.speakername_) {}
  11280. , decltype(_impl_.speakerid_) {}
  11281. , decltype(_impl_.timestamp_) { ::int64_t{0} }
  11282. , decltype(_impl_.messagetype_) { 0 }
  11283. };
  11284. _impl_.messageid_.InitDefault();
  11285. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11286. _impl_.messageid_.Set("", GetArenaForAllocation());
  11287. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11288. _impl_.messagecontent_.InitDefault();
  11289. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11290. _impl_.messagecontent_.Set("", GetArenaForAllocation());
  11291. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11292. _impl_.speakername_.InitDefault();
  11293. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11294. _impl_.speakername_.Set("", GetArenaForAllocation());
  11295. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11296. _impl_.speakerid_.InitDefault();
  11297. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11298. _impl_.speakerid_.Set("", GetArenaForAllocation());
  11299. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  11300. }
  11301. CallbackBody_liveTranscriptionMsgInfoParams::~CallbackBody_liveTranscriptionMsgInfoParams() {
  11302. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
  11303. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  11304. (void)arena;
  11305. return;
  11306. }
  11307. SharedDtor();
  11308. }
  11309. inline void CallbackBody_liveTranscriptionMsgInfoParams::SharedDtor() {
  11310. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  11311. _impl_.messageid_.Destroy();
  11312. _impl_.messagecontent_.Destroy();
  11313. _impl_.speakername_.Destroy();
  11314. _impl_.speakerid_.Destroy();
  11315. }
  11316. void CallbackBody_liveTranscriptionMsgInfoParams::SetCachedSize(int size) const {
  11317. _impl_._cached_size_.Set(size);
  11318. }
  11319. void CallbackBody_liveTranscriptionMsgInfoParams::Clear() {
  11320. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
  11321. ::uint32_t cached_has_bits = 0;
  11322. // Prevent compiler warnings about cached_has_bits being unused
  11323. (void) cached_has_bits;
  11324. cached_has_bits = _impl_._has_bits_[0];
  11325. if (cached_has_bits & 0x0000000fu) {
  11326. if (cached_has_bits & 0x00000001u) {
  11327. _impl_.messageid_.ClearNonDefaultToEmpty();
  11328. }
  11329. if (cached_has_bits & 0x00000002u) {
  11330. _impl_.messagecontent_.ClearNonDefaultToEmpty();
  11331. }
  11332. if (cached_has_bits & 0x00000004u) {
  11333. _impl_.speakername_.ClearNonDefaultToEmpty();
  11334. }
  11335. if (cached_has_bits & 0x00000008u) {
  11336. _impl_.speakerid_.ClearNonDefaultToEmpty();
  11337. }
  11338. }
  11339. if (cached_has_bits & 0x00000030u) {
  11340. ::memset(&_impl_.timestamp_, 0, static_cast<::size_t>(
  11341. reinterpret_cast<char*>(&_impl_.messagetype_) -
  11342. reinterpret_cast<char*>(&_impl_.timestamp_)) + sizeof(_impl_.messagetype_));
  11343. }
  11344. _impl_._has_bits_.Clear();
  11345. _internal_metadata_.Clear<std::string>();
  11346. }
  11347. const char* CallbackBody_liveTranscriptionMsgInfoParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  11348. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  11349. _Internal::HasBits has_bits{};
  11350. while (!ctx->Done(&ptr)) {
  11351. ::uint32_t tag;
  11352. ptr = ::_pbi::ReadTag(ptr, &tag);
  11353. switch (tag >> 3) {
  11354. // optional int64 timeStamp = 1;
  11355. case 1:
  11356. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  11357. _Internal::set_has_timestamp(&has_bits);
  11358. _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  11359. CHK_(ptr);
  11360. } else {
  11361. goto handle_unusual;
  11362. }
  11363. continue;
  11364. // optional string messageID = 2;
  11365. case 2:
  11366. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  11367. auto str = _internal_mutable_messageid();
  11368. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  11369. CHK_(ptr);
  11370. } else {
  11371. goto handle_unusual;
  11372. }
  11373. continue;
  11374. // optional string messageContent = 3;
  11375. case 3:
  11376. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
  11377. auto str = _internal_mutable_messagecontent();
  11378. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  11379. CHK_(ptr);
  11380. } else {
  11381. goto handle_unusual;
  11382. }
  11383. continue;
  11384. // optional string speakerName = 4;
  11385. case 4:
  11386. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
  11387. auto str = _internal_mutable_speakername();
  11388. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  11389. CHK_(ptr);
  11390. } else {
  11391. goto handle_unusual;
  11392. }
  11393. continue;
  11394. // optional string speakerID = 5;
  11395. case 5:
  11396. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) {
  11397. auto str = _internal_mutable_speakerid();
  11398. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  11399. CHK_(ptr);
  11400. } else {
  11401. goto handle_unusual;
  11402. }
  11403. continue;
  11404. // optional int32 messageType = 6;
  11405. case 6:
  11406. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
  11407. _Internal::set_has_messagetype(&has_bits);
  11408. _impl_.messagetype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  11409. CHK_(ptr);
  11410. } else {
  11411. goto handle_unusual;
  11412. }
  11413. continue;
  11414. default:
  11415. goto handle_unusual;
  11416. } // switch
  11417. handle_unusual:
  11418. if ((tag == 0) || ((tag & 7) == 4)) {
  11419. CHK_(ptr);
  11420. ctx->SetLastTag(tag);
  11421. goto message_done;
  11422. }
  11423. ptr = UnknownFieldParse(
  11424. tag,
  11425. _internal_metadata_.mutable_unknown_fields<std::string>(),
  11426. ptr, ctx);
  11427. CHK_(ptr != nullptr);
  11428. } // while
  11429. message_done:
  11430. _impl_._has_bits_.Or(has_bits);
  11431. return ptr;
  11432. failure:
  11433. ptr = nullptr;
  11434. goto message_done;
  11435. #undef CHK_
  11436. }
  11437. ::uint8_t* CallbackBody_liveTranscriptionMsgInfoParams::_InternalSerialize(
  11438. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  11439. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
  11440. ::uint32_t cached_has_bits = 0;
  11441. (void) cached_has_bits;
  11442. cached_has_bits = _impl_._has_bits_[0];
  11443. // optional int64 timeStamp = 1;
  11444. if (cached_has_bits & 0x00000010u) {
  11445. target = stream->EnsureSpace(target);
  11446. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  11447. 1, this->_internal_timestamp(), target);
  11448. }
  11449. // optional string messageID = 2;
  11450. if (cached_has_bits & 0x00000001u) {
  11451. const std::string& _s = this->_internal_messageid();
  11452. target = stream->WriteStringMaybeAliased(2, _s, target);
  11453. }
  11454. // optional string messageContent = 3;
  11455. if (cached_has_bits & 0x00000002u) {
  11456. const std::string& _s = this->_internal_messagecontent();
  11457. target = stream->WriteStringMaybeAliased(3, _s, target);
  11458. }
  11459. // optional string speakerName = 4;
  11460. if (cached_has_bits & 0x00000004u) {
  11461. const std::string& _s = this->_internal_speakername();
  11462. target = stream->WriteStringMaybeAliased(4, _s, target);
  11463. }
  11464. // optional string speakerID = 5;
  11465. if (cached_has_bits & 0x00000008u) {
  11466. const std::string& _s = this->_internal_speakerid();
  11467. target = stream->WriteStringMaybeAliased(5, _s, target);
  11468. }
  11469. // optional int32 messageType = 6;
  11470. if (cached_has_bits & 0x00000020u) {
  11471. target = stream->EnsureSpace(target);
  11472. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  11473. 6, this->_internal_messagetype(), target);
  11474. }
  11475. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  11476. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  11477. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  11478. }
  11479. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
  11480. return target;
  11481. }
  11482. ::size_t CallbackBody_liveTranscriptionMsgInfoParams::ByteSizeLong() const {
  11483. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
  11484. ::size_t total_size = 0;
  11485. ::uint32_t cached_has_bits = 0;
  11486. // Prevent compiler warnings about cached_has_bits being unused
  11487. (void) cached_has_bits;
  11488. cached_has_bits = _impl_._has_bits_[0];
  11489. if (cached_has_bits & 0x0000003fu) {
  11490. // optional string messageID = 2;
  11491. if (cached_has_bits & 0x00000001u) {
  11492. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  11493. this->_internal_messageid());
  11494. }
  11495. // optional string messageContent = 3;
  11496. if (cached_has_bits & 0x00000002u) {
  11497. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  11498. this->_internal_messagecontent());
  11499. }
  11500. // optional string speakerName = 4;
  11501. if (cached_has_bits & 0x00000004u) {
  11502. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  11503. this->_internal_speakername());
  11504. }
  11505. // optional string speakerID = 5;
  11506. if (cached_has_bits & 0x00000008u) {
  11507. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  11508. this->_internal_speakerid());
  11509. }
  11510. // optional int64 timeStamp = 1;
  11511. if (cached_has_bits & 0x00000010u) {
  11512. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  11513. this->_internal_timestamp());
  11514. }
  11515. // optional int32 messageType = 6;
  11516. if (cached_has_bits & 0x00000020u) {
  11517. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  11518. this->_internal_messagetype());
  11519. }
  11520. }
  11521. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  11522. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  11523. }
  11524. int cached_size = ::_pbi::ToCachedSize(total_size);
  11525. SetCachedSize(cached_size);
  11526. return total_size;
  11527. }
  11528. void CallbackBody_liveTranscriptionMsgInfoParams::CheckTypeAndMergeFrom(
  11529. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  11530. MergeFrom(*::_pbi::DownCast<const CallbackBody_liveTranscriptionMsgInfoParams*>(
  11531. &from));
  11532. }
  11533. void CallbackBody_liveTranscriptionMsgInfoParams::MergeFrom(const CallbackBody_liveTranscriptionMsgInfoParams& from) {
  11534. CallbackBody_liveTranscriptionMsgInfoParams* const _this = this;
  11535. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
  11536. ABSL_DCHECK_NE(&from, _this);
  11537. ::uint32_t cached_has_bits = 0;
  11538. (void) cached_has_bits;
  11539. cached_has_bits = from._impl_._has_bits_[0];
  11540. if (cached_has_bits & 0x0000003fu) {
  11541. if (cached_has_bits & 0x00000001u) {
  11542. _this->_internal_set_messageid(from._internal_messageid());
  11543. }
  11544. if (cached_has_bits & 0x00000002u) {
  11545. _this->_internal_set_messagecontent(from._internal_messagecontent());
  11546. }
  11547. if (cached_has_bits & 0x00000004u) {
  11548. _this->_internal_set_speakername(from._internal_speakername());
  11549. }
  11550. if (cached_has_bits & 0x00000008u) {
  11551. _this->_internal_set_speakerid(from._internal_speakerid());
  11552. }
  11553. if (cached_has_bits & 0x00000010u) {
  11554. _this->_impl_.timestamp_ = from._impl_.timestamp_;
  11555. }
  11556. if (cached_has_bits & 0x00000020u) {
  11557. _this->_impl_.messagetype_ = from._impl_.messagetype_;
  11558. }
  11559. _this->_impl_._has_bits_[0] |= cached_has_bits;
  11560. }
  11561. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  11562. }
  11563. void CallbackBody_liveTranscriptionMsgInfoParams::CopyFrom(const CallbackBody_liveTranscriptionMsgInfoParams& from) {
  11564. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
  11565. if (&from == this) return;
  11566. Clear();
  11567. MergeFrom(from);
  11568. }
  11569. bool CallbackBody_liveTranscriptionMsgInfoParams::IsInitialized() const {
  11570. return true;
  11571. }
  11572. void CallbackBody_liveTranscriptionMsgInfoParams::InternalSwap(CallbackBody_liveTranscriptionMsgInfoParams* other) {
  11573. using std::swap;
  11574. auto* lhs_arena = GetArenaForAllocation();
  11575. auto* rhs_arena = other->GetArenaForAllocation();
  11576. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  11577. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  11578. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.messageid_, lhs_arena,
  11579. &other->_impl_.messageid_, rhs_arena);
  11580. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.messagecontent_, lhs_arena,
  11581. &other->_impl_.messagecontent_, rhs_arena);
  11582. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.speakername_, lhs_arena,
  11583. &other->_impl_.speakername_, rhs_arena);
  11584. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.speakerid_, lhs_arena,
  11585. &other->_impl_.speakerid_, rhs_arena);
  11586. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  11587. PROTOBUF_FIELD_OFFSET(CallbackBody_liveTranscriptionMsgInfoParams, _impl_.messagetype_)
  11588. + sizeof(CallbackBody_liveTranscriptionMsgInfoParams::_impl_.messagetype_)
  11589. - PROTOBUF_FIELD_OFFSET(CallbackBody_liveTranscriptionMsgInfoParams, _impl_.timestamp_)>(
  11590. reinterpret_cast<char*>(&_impl_.timestamp_),
  11591. reinterpret_cast<char*>(&other->_impl_.timestamp_));
  11592. }
  11593. std::string CallbackBody_liveTranscriptionMsgInfoParams::GetTypeName() const {
  11594. return "com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams";
  11595. }
  11596. // ===================================================================
  11597. class CallbackBody::_Internal {
  11598. public:
  11599. using HasBits = decltype(std::declval<CallbackBody>()._impl_._has_bits_);
  11600. static constexpr ::int32_t kHasBitsOffset =
  11601. 8 * PROTOBUF_FIELD_OFFSET(CallbackBody, _impl_._has_bits_);
  11602. static void set_has_msgtype(HasBits* has_bits) {
  11603. (*has_bits)[1] |= 1u;
  11604. }
  11605. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onErrorParams& onerrorparam(const CallbackBody* msg);
  11606. static void set_has_onerrorparam(HasBits* has_bits) {
  11607. (*has_bits)[0] |= 1u;
  11608. }
  11609. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserJoinParams& onuserjoinparam(const CallbackBody* msg);
  11610. static void set_has_onuserjoinparam(HasBits* has_bits) {
  11611. (*has_bits)[0] |= 2u;
  11612. }
  11613. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserLeaveParams& onuserleaveparam(const CallbackBody* msg);
  11614. static void set_has_onuserleaveparam(HasBits* has_bits) {
  11615. (*has_bits)[0] |= 4u;
  11616. }
  11617. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserVideoStatusChangedParams& onuservideostatuschangedparam(const CallbackBody* msg);
  11618. static void set_has_onuservideostatuschangedparam(HasBits* has_bits) {
  11619. (*has_bits)[0] |= 8u;
  11620. }
  11621. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserAudioStatusChangedParams& onuseraudiostatuschangedparam(const CallbackBody* msg);
  11622. static void set_has_onuseraudiostatuschangedparam(HasBits* has_bits) {
  11623. (*has_bits)[0] |= 16u;
  11624. }
  11625. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserShareStatusChangedParams& onusersharestatuschangedparam(const CallbackBody* msg);
  11626. static void set_has_onusersharestatuschangedparam(HasBits* has_bits) {
  11627. (*has_bits)[0] |= 32u;
  11628. }
  11629. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveStreamStatusChangedParams& onlivestreamstatuschangedparam(const CallbackBody* msg);
  11630. static void set_has_onlivestreamstatuschangedparam(HasBits* has_bits) {
  11631. (*has_bits)[0] |= 64u;
  11632. }
  11633. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserHostChangedParams& onuserhostchangedparam(const CallbackBody* msg);
  11634. static void set_has_onuserhostchangedparam(HasBits* has_bits) {
  11635. (*has_bits)[0] |= 128u;
  11636. }
  11637. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserActiveAudioChangedParams& onuseractiveaudiochangedparam(const CallbackBody* msg);
  11638. static void set_has_onuseractiveaudiochangedparam(HasBits* has_bits) {
  11639. (*has_bits)[0] |= 256u;
  11640. }
  11641. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatNewMessageNotifyParams& onchatnewmessagenotifyparam(const CallbackBody* msg);
  11642. static void set_has_onchatnewmessagenotifyparam(HasBits* has_bits) {
  11643. (*has_bits)[0] |= 512u;
  11644. }
  11645. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onVideoSourceInitializeParams& onvideosourceinitializeparam(const CallbackBody* msg);
  11646. static void set_has_onvideosourceinitializeparam(HasBits* has_bits) {
  11647. (*has_bits)[0] |= 1024u;
  11648. }
  11649. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onPropertyChangeParams& onpropertychangeparam(const CallbackBody* msg);
  11650. static void set_has_onpropertychangeparam(HasBits* has_bits) {
  11651. (*has_bits)[0] |= 2048u;
  11652. }
  11653. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onRawDataStatusChangedParams& onrawdatastatuschangedparam(const CallbackBody* msg);
  11654. static void set_has_onrawdatastatuschangedparam(HasBits* has_bits) {
  11655. (*has_bits)[0] |= 4096u;
  11656. }
  11657. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserManagerChangedParams& onusermanagerchangedparam(const CallbackBody* msg);
  11658. static void set_has_onusermanagerchangedparam(HasBits* has_bits) {
  11659. (*has_bits)[0] |= 8192u;
  11660. }
  11661. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserNameChangedParams& onusernamechangedparam(const CallbackBody* msg);
  11662. static void set_has_onusernamechangedparam(HasBits* has_bits) {
  11663. (*has_bits)[0] |= 16384u;
  11664. }
  11665. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandReceivedParams& oncommandreceivedparam(const CallbackBody* msg);
  11666. static void set_has_oncommandreceivedparam(HasBits* has_bits) {
  11667. (*has_bits)[0] |= 32768u;
  11668. }
  11669. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCloudRecordingStatusParams& oncloudrecordingstatusparam(const CallbackBody* msg);
  11670. static void set_has_oncloudrecordingstatusparam(HasBits* has_bits) {
  11671. (*has_bits)[0] |= 65536u;
  11672. }
  11673. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestResultParams& oncameracontrolrequestresultparam(const CallbackBody* msg);
  11674. static void set_has_oncameracontrolrequestresultparam(HasBits* has_bits) {
  11675. (*has_bits)[0] |= 131072u;
  11676. }
  11677. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestReceivedParams& oncameracontrolrequestreceivedparam(const CallbackBody* msg);
  11678. static void set_has_oncameracontrolrequestreceivedparam(HasBits* has_bits) {
  11679. (*has_bits)[0] |= 262144u;
  11680. }
  11681. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandChannelConnectResultParams& oncommandchannelconnectresultparam(const CallbackBody* msg);
  11682. static void set_has_oncommandchannelconnectresultparam(HasBits* has_bits) {
  11683. (*has_bits)[0] |= 524288u;
  11684. }
  11685. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onHostAskUnmuteParams& onhostaskunmuteparam(const CallbackBody* msg);
  11686. static void set_has_onhostaskunmuteparam(HasBits* has_bits) {
  11687. (*has_bits)[0] |= 1048576u;
  11688. }
  11689. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onInviteByPhoneStatusParams& oninvitebyphonestatusparam(const CallbackBody* msg);
  11690. static void set_has_oninvitebyphonestatusparam(HasBits* has_bits) {
  11691. (*has_bits)[0] |= 2097152u;
  11692. }
  11693. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMultiCameraStreamStatusChangedParams& onmulticamerastreamstatuschangedparam(const CallbackBody* msg);
  11694. static void set_has_onmulticamerastreamstatuschangedparam(HasBits* has_bits) {
  11695. (*has_bits)[0] |= 4194304u;
  11696. }
  11697. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMicSpeakerVolumeChangedParams& onmicspeakervolumechangedparam(const CallbackBody* msg);
  11698. static void set_has_onmicspeakervolumechangedparam(HasBits* has_bits) {
  11699. (*has_bits)[0] |= 8388608u;
  11700. }
  11701. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onAudioDeviceStatusChangedParams& onaudiodevicestatuschangedparam(const CallbackBody* msg);
  11702. static void set_has_onaudiodevicestatuschangedparam(HasBits* has_bits) {
  11703. (*has_bits)[0] |= 16777216u;
  11704. }
  11705. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onTestMicStatusChangedParams& ontestmicstatuschangedparam(const CallbackBody* msg);
  11706. static void set_has_ontestmicstatuschangedparam(HasBits* has_bits) {
  11707. (*has_bits)[0] |= 33554432u;
  11708. }
  11709. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onSelectedAudioDeviceChangedParams& onselectedaudiodevicechangedparam(const CallbackBody* msg);
  11710. static void set_has_onselectedaudiodevicechangedparam(HasBits* has_bits) {
  11711. (*has_bits)[0] |= 67108864u;
  11712. }
  11713. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionStatusParams& onlivetranscriptionstatusparam(const CallbackBody* msg);
  11714. static void set_has_onlivetranscriptionstatusparam(HasBits* has_bits) {
  11715. (*has_bits)[0] |= 134217728u;
  11716. }
  11717. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgReceivedParams& onlivetranscriptionmsgreceivedparam(const CallbackBody* msg);
  11718. static void set_has_onlivetranscriptionmsgreceivedparam(HasBits* has_bits) {
  11719. (*has_bits)[0] |= 268435456u;
  11720. }
  11721. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgErrorParams& onlivetranscriptionmsgerrorparam(const CallbackBody* msg);
  11722. static void set_has_onlivetranscriptionmsgerrorparam(HasBits* has_bits) {
  11723. (*has_bits)[0] |= 536870912u;
  11724. }
  11725. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatMsgDeleteNotificationParams& onchatmsgdeletenotificationparam(const CallbackBody* msg);
  11726. static void set_has_onchatmsgdeletenotificationparam(HasBits* has_bits) {
  11727. (*has_bits)[0] |= 1073741824u;
  11728. }
  11729. static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_liveTranscriptionMsgInfoParams& livetranscriptionmsginfoparam(const CallbackBody* msg);
  11730. static void set_has_livetranscriptionmsginfoparam(HasBits* has_bits) {
  11731. (*has_bits)[0] |= 2147483648u;
  11732. }
  11733. };
  11734. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onErrorParams&
  11735. CallbackBody::_Internal::onerrorparam(const CallbackBody* msg) {
  11736. return *msg->_impl_.onerrorparam_;
  11737. }
  11738. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserJoinParams&
  11739. CallbackBody::_Internal::onuserjoinparam(const CallbackBody* msg) {
  11740. return *msg->_impl_.onuserjoinparam_;
  11741. }
  11742. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserLeaveParams&
  11743. CallbackBody::_Internal::onuserleaveparam(const CallbackBody* msg) {
  11744. return *msg->_impl_.onuserleaveparam_;
  11745. }
  11746. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserVideoStatusChangedParams&
  11747. CallbackBody::_Internal::onuservideostatuschangedparam(const CallbackBody* msg) {
  11748. return *msg->_impl_.onuservideostatuschangedparam_;
  11749. }
  11750. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserAudioStatusChangedParams&
  11751. CallbackBody::_Internal::onuseraudiostatuschangedparam(const CallbackBody* msg) {
  11752. return *msg->_impl_.onuseraudiostatuschangedparam_;
  11753. }
  11754. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserShareStatusChangedParams&
  11755. CallbackBody::_Internal::onusersharestatuschangedparam(const CallbackBody* msg) {
  11756. return *msg->_impl_.onusersharestatuschangedparam_;
  11757. }
  11758. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveStreamStatusChangedParams&
  11759. CallbackBody::_Internal::onlivestreamstatuschangedparam(const CallbackBody* msg) {
  11760. return *msg->_impl_.onlivestreamstatuschangedparam_;
  11761. }
  11762. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserHostChangedParams&
  11763. CallbackBody::_Internal::onuserhostchangedparam(const CallbackBody* msg) {
  11764. return *msg->_impl_.onuserhostchangedparam_;
  11765. }
  11766. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserActiveAudioChangedParams&
  11767. CallbackBody::_Internal::onuseractiveaudiochangedparam(const CallbackBody* msg) {
  11768. return *msg->_impl_.onuseractiveaudiochangedparam_;
  11769. }
  11770. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatNewMessageNotifyParams&
  11771. CallbackBody::_Internal::onchatnewmessagenotifyparam(const CallbackBody* msg) {
  11772. return *msg->_impl_.onchatnewmessagenotifyparam_;
  11773. }
  11774. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onVideoSourceInitializeParams&
  11775. CallbackBody::_Internal::onvideosourceinitializeparam(const CallbackBody* msg) {
  11776. return *msg->_impl_.onvideosourceinitializeparam_;
  11777. }
  11778. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onPropertyChangeParams&
  11779. CallbackBody::_Internal::onpropertychangeparam(const CallbackBody* msg) {
  11780. return *msg->_impl_.onpropertychangeparam_;
  11781. }
  11782. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onRawDataStatusChangedParams&
  11783. CallbackBody::_Internal::onrawdatastatuschangedparam(const CallbackBody* msg) {
  11784. return *msg->_impl_.onrawdatastatuschangedparam_;
  11785. }
  11786. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserManagerChangedParams&
  11787. CallbackBody::_Internal::onusermanagerchangedparam(const CallbackBody* msg) {
  11788. return *msg->_impl_.onusermanagerchangedparam_;
  11789. }
  11790. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserNameChangedParams&
  11791. CallbackBody::_Internal::onusernamechangedparam(const CallbackBody* msg) {
  11792. return *msg->_impl_.onusernamechangedparam_;
  11793. }
  11794. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandReceivedParams&
  11795. CallbackBody::_Internal::oncommandreceivedparam(const CallbackBody* msg) {
  11796. return *msg->_impl_.oncommandreceivedparam_;
  11797. }
  11798. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCloudRecordingStatusParams&
  11799. CallbackBody::_Internal::oncloudrecordingstatusparam(const CallbackBody* msg) {
  11800. return *msg->_impl_.oncloudrecordingstatusparam_;
  11801. }
  11802. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestResultParams&
  11803. CallbackBody::_Internal::oncameracontrolrequestresultparam(const CallbackBody* msg) {
  11804. return *msg->_impl_.oncameracontrolrequestresultparam_;
  11805. }
  11806. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestReceivedParams&
  11807. CallbackBody::_Internal::oncameracontrolrequestreceivedparam(const CallbackBody* msg) {
  11808. return *msg->_impl_.oncameracontrolrequestreceivedparam_;
  11809. }
  11810. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandChannelConnectResultParams&
  11811. CallbackBody::_Internal::oncommandchannelconnectresultparam(const CallbackBody* msg) {
  11812. return *msg->_impl_.oncommandchannelconnectresultparam_;
  11813. }
  11814. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onHostAskUnmuteParams&
  11815. CallbackBody::_Internal::onhostaskunmuteparam(const CallbackBody* msg) {
  11816. return *msg->_impl_.onhostaskunmuteparam_;
  11817. }
  11818. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onInviteByPhoneStatusParams&
  11819. CallbackBody::_Internal::oninvitebyphonestatusparam(const CallbackBody* msg) {
  11820. return *msg->_impl_.oninvitebyphonestatusparam_;
  11821. }
  11822. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMultiCameraStreamStatusChangedParams&
  11823. CallbackBody::_Internal::onmulticamerastreamstatuschangedparam(const CallbackBody* msg) {
  11824. return *msg->_impl_.onmulticamerastreamstatuschangedparam_;
  11825. }
  11826. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMicSpeakerVolumeChangedParams&
  11827. CallbackBody::_Internal::onmicspeakervolumechangedparam(const CallbackBody* msg) {
  11828. return *msg->_impl_.onmicspeakervolumechangedparam_;
  11829. }
  11830. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onAudioDeviceStatusChangedParams&
  11831. CallbackBody::_Internal::onaudiodevicestatuschangedparam(const CallbackBody* msg) {
  11832. return *msg->_impl_.onaudiodevicestatuschangedparam_;
  11833. }
  11834. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onTestMicStatusChangedParams&
  11835. CallbackBody::_Internal::ontestmicstatuschangedparam(const CallbackBody* msg) {
  11836. return *msg->_impl_.ontestmicstatuschangedparam_;
  11837. }
  11838. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onSelectedAudioDeviceChangedParams&
  11839. CallbackBody::_Internal::onselectedaudiodevicechangedparam(const CallbackBody* msg) {
  11840. return *msg->_impl_.onselectedaudiodevicechangedparam_;
  11841. }
  11842. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionStatusParams&
  11843. CallbackBody::_Internal::onlivetranscriptionstatusparam(const CallbackBody* msg) {
  11844. return *msg->_impl_.onlivetranscriptionstatusparam_;
  11845. }
  11846. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgReceivedParams&
  11847. CallbackBody::_Internal::onlivetranscriptionmsgreceivedparam(const CallbackBody* msg) {
  11848. return *msg->_impl_.onlivetranscriptionmsgreceivedparam_;
  11849. }
  11850. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgErrorParams&
  11851. CallbackBody::_Internal::onlivetranscriptionmsgerrorparam(const CallbackBody* msg) {
  11852. return *msg->_impl_.onlivetranscriptionmsgerrorparam_;
  11853. }
  11854. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatMsgDeleteNotificationParams&
  11855. CallbackBody::_Internal::onchatmsgdeletenotificationparam(const CallbackBody* msg) {
  11856. return *msg->_impl_.onchatmsgdeletenotificationparam_;
  11857. }
  11858. const ::com::electron::zoomvideo::sdk::proto::CallbackBody_liveTranscriptionMsgInfoParams&
  11859. CallbackBody::_Internal::livetranscriptionmsginfoparam(const CallbackBody* msg) {
  11860. return *msg->_impl_.livetranscriptionmsginfoparam_;
  11861. }
  11862. CallbackBody::CallbackBody(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  11863. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  11864. SharedCtor(arena);
  11865. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody)
  11866. }
  11867. CallbackBody::CallbackBody(const CallbackBody& from)
  11868. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  11869. CallbackBody* const _this = this; (void)_this;
  11870. new (&_impl_) Impl_{
  11871. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  11872. , /*decltype(_impl_._cached_size_)*/{}
  11873. , decltype(_impl_.onerrorparam_){nullptr}
  11874. , decltype(_impl_.onuserjoinparam_){nullptr}
  11875. , decltype(_impl_.onuserleaveparam_){nullptr}
  11876. , decltype(_impl_.onuservideostatuschangedparam_){nullptr}
  11877. , decltype(_impl_.onuseraudiostatuschangedparam_){nullptr}
  11878. , decltype(_impl_.onusersharestatuschangedparam_){nullptr}
  11879. , decltype(_impl_.onlivestreamstatuschangedparam_){nullptr}
  11880. , decltype(_impl_.onuserhostchangedparam_){nullptr}
  11881. , decltype(_impl_.onuseractiveaudiochangedparam_){nullptr}
  11882. , decltype(_impl_.onchatnewmessagenotifyparam_){nullptr}
  11883. , decltype(_impl_.onvideosourceinitializeparam_){nullptr}
  11884. , decltype(_impl_.onpropertychangeparam_){nullptr}
  11885. , decltype(_impl_.onrawdatastatuschangedparam_){nullptr}
  11886. , decltype(_impl_.onusermanagerchangedparam_){nullptr}
  11887. , decltype(_impl_.onusernamechangedparam_){nullptr}
  11888. , decltype(_impl_.oncommandreceivedparam_){nullptr}
  11889. , decltype(_impl_.oncloudrecordingstatusparam_){nullptr}
  11890. , decltype(_impl_.oncameracontrolrequestresultparam_){nullptr}
  11891. , decltype(_impl_.oncameracontrolrequestreceivedparam_){nullptr}
  11892. , decltype(_impl_.oncommandchannelconnectresultparam_){nullptr}
  11893. , decltype(_impl_.onhostaskunmuteparam_){nullptr}
  11894. , decltype(_impl_.oninvitebyphonestatusparam_){nullptr}
  11895. , decltype(_impl_.onmulticamerastreamstatuschangedparam_){nullptr}
  11896. , decltype(_impl_.onmicspeakervolumechangedparam_){nullptr}
  11897. , decltype(_impl_.onaudiodevicestatuschangedparam_){nullptr}
  11898. , decltype(_impl_.ontestmicstatuschangedparam_){nullptr}
  11899. , decltype(_impl_.onselectedaudiodevicechangedparam_){nullptr}
  11900. , decltype(_impl_.onlivetranscriptionstatusparam_){nullptr}
  11901. , decltype(_impl_.onlivetranscriptionmsgreceivedparam_){nullptr}
  11902. , decltype(_impl_.onlivetranscriptionmsgerrorparam_){nullptr}
  11903. , decltype(_impl_.onchatmsgdeletenotificationparam_){nullptr}
  11904. , decltype(_impl_.livetranscriptionmsginfoparam_){nullptr}
  11905. , decltype(_impl_.msgtype_) {}
  11906. };
  11907. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  11908. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  11909. _this->_impl_.onerrorparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onErrorParams(*from._impl_.onerrorparam_);
  11910. }
  11911. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  11912. _this->_impl_.onuserjoinparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserJoinParams(*from._impl_.onuserjoinparam_);
  11913. }
  11914. if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
  11915. _this->_impl_.onuserleaveparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserLeaveParams(*from._impl_.onuserleaveparam_);
  11916. }
  11917. if ((from._impl_._has_bits_[0] & 0x00000008u) != 0) {
  11918. _this->_impl_.onuservideostatuschangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserVideoStatusChangedParams(*from._impl_.onuservideostatuschangedparam_);
  11919. }
  11920. if ((from._impl_._has_bits_[0] & 0x00000010u) != 0) {
  11921. _this->_impl_.onuseraudiostatuschangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserAudioStatusChangedParams(*from._impl_.onuseraudiostatuschangedparam_);
  11922. }
  11923. if ((from._impl_._has_bits_[0] & 0x00000020u) != 0) {
  11924. _this->_impl_.onusersharestatuschangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserShareStatusChangedParams(*from._impl_.onusersharestatuschangedparam_);
  11925. }
  11926. if ((from._impl_._has_bits_[0] & 0x00000040u) != 0) {
  11927. _this->_impl_.onlivestreamstatuschangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveStreamStatusChangedParams(*from._impl_.onlivestreamstatuschangedparam_);
  11928. }
  11929. if ((from._impl_._has_bits_[0] & 0x00000080u) != 0) {
  11930. _this->_impl_.onuserhostchangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserHostChangedParams(*from._impl_.onuserhostchangedparam_);
  11931. }
  11932. if ((from._impl_._has_bits_[0] & 0x00000100u) != 0) {
  11933. _this->_impl_.onuseractiveaudiochangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserActiveAudioChangedParams(*from._impl_.onuseractiveaudiochangedparam_);
  11934. }
  11935. if ((from._impl_._has_bits_[0] & 0x00000200u) != 0) {
  11936. _this->_impl_.onchatnewmessagenotifyparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatNewMessageNotifyParams(*from._impl_.onchatnewmessagenotifyparam_);
  11937. }
  11938. if ((from._impl_._has_bits_[0] & 0x00000400u) != 0) {
  11939. _this->_impl_.onvideosourceinitializeparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onVideoSourceInitializeParams(*from._impl_.onvideosourceinitializeparam_);
  11940. }
  11941. if ((from._impl_._has_bits_[0] & 0x00000800u) != 0) {
  11942. _this->_impl_.onpropertychangeparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onPropertyChangeParams(*from._impl_.onpropertychangeparam_);
  11943. }
  11944. if ((from._impl_._has_bits_[0] & 0x00001000u) != 0) {
  11945. _this->_impl_.onrawdatastatuschangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onRawDataStatusChangedParams(*from._impl_.onrawdatastatuschangedparam_);
  11946. }
  11947. if ((from._impl_._has_bits_[0] & 0x00002000u) != 0) {
  11948. _this->_impl_.onusermanagerchangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserManagerChangedParams(*from._impl_.onusermanagerchangedparam_);
  11949. }
  11950. if ((from._impl_._has_bits_[0] & 0x00004000u) != 0) {
  11951. _this->_impl_.onusernamechangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserNameChangedParams(*from._impl_.onusernamechangedparam_);
  11952. }
  11953. if ((from._impl_._has_bits_[0] & 0x00008000u) != 0) {
  11954. _this->_impl_.oncommandreceivedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandReceivedParams(*from._impl_.oncommandreceivedparam_);
  11955. }
  11956. if ((from._impl_._has_bits_[0] & 0x00010000u) != 0) {
  11957. _this->_impl_.oncloudrecordingstatusparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCloudRecordingStatusParams(*from._impl_.oncloudrecordingstatusparam_);
  11958. }
  11959. if ((from._impl_._has_bits_[0] & 0x00020000u) != 0) {
  11960. _this->_impl_.oncameracontrolrequestresultparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestResultParams(*from._impl_.oncameracontrolrequestresultparam_);
  11961. }
  11962. if ((from._impl_._has_bits_[0] & 0x00040000u) != 0) {
  11963. _this->_impl_.oncameracontrolrequestreceivedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestReceivedParams(*from._impl_.oncameracontrolrequestreceivedparam_);
  11964. }
  11965. if ((from._impl_._has_bits_[0] & 0x00080000u) != 0) {
  11966. _this->_impl_.oncommandchannelconnectresultparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandChannelConnectResultParams(*from._impl_.oncommandchannelconnectresultparam_);
  11967. }
  11968. if ((from._impl_._has_bits_[0] & 0x00100000u) != 0) {
  11969. _this->_impl_.onhostaskunmuteparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onHostAskUnmuteParams(*from._impl_.onhostaskunmuteparam_);
  11970. }
  11971. if ((from._impl_._has_bits_[0] & 0x00200000u) != 0) {
  11972. _this->_impl_.oninvitebyphonestatusparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onInviteByPhoneStatusParams(*from._impl_.oninvitebyphonestatusparam_);
  11973. }
  11974. if ((from._impl_._has_bits_[0] & 0x00400000u) != 0) {
  11975. _this->_impl_.onmulticamerastreamstatuschangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMultiCameraStreamStatusChangedParams(*from._impl_.onmulticamerastreamstatuschangedparam_);
  11976. }
  11977. if ((from._impl_._has_bits_[0] & 0x00800000u) != 0) {
  11978. _this->_impl_.onmicspeakervolumechangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMicSpeakerVolumeChangedParams(*from._impl_.onmicspeakervolumechangedparam_);
  11979. }
  11980. if ((from._impl_._has_bits_[0] & 0x01000000u) != 0) {
  11981. _this->_impl_.onaudiodevicestatuschangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onAudioDeviceStatusChangedParams(*from._impl_.onaudiodevicestatuschangedparam_);
  11982. }
  11983. if ((from._impl_._has_bits_[0] & 0x02000000u) != 0) {
  11984. _this->_impl_.ontestmicstatuschangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onTestMicStatusChangedParams(*from._impl_.ontestmicstatuschangedparam_);
  11985. }
  11986. if ((from._impl_._has_bits_[0] & 0x04000000u) != 0) {
  11987. _this->_impl_.onselectedaudiodevicechangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onSelectedAudioDeviceChangedParams(*from._impl_.onselectedaudiodevicechangedparam_);
  11988. }
  11989. if ((from._impl_._has_bits_[0] & 0x08000000u) != 0) {
  11990. _this->_impl_.onlivetranscriptionstatusparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionStatusParams(*from._impl_.onlivetranscriptionstatusparam_);
  11991. }
  11992. if ((from._impl_._has_bits_[0] & 0x10000000u) != 0) {
  11993. _this->_impl_.onlivetranscriptionmsgreceivedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgReceivedParams(*from._impl_.onlivetranscriptionmsgreceivedparam_);
  11994. }
  11995. if ((from._impl_._has_bits_[0] & 0x20000000u) != 0) {
  11996. _this->_impl_.onlivetranscriptionmsgerrorparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgErrorParams(*from._impl_.onlivetranscriptionmsgerrorparam_);
  11997. }
  11998. if ((from._impl_._has_bits_[0] & 0x40000000u) != 0) {
  11999. _this->_impl_.onchatmsgdeletenotificationparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatMsgDeleteNotificationParams(*from._impl_.onchatmsgdeletenotificationparam_);
  12000. }
  12001. if ((from._impl_._has_bits_[0] & 0x80000000u) != 0) {
  12002. _this->_impl_.livetranscriptionmsginfoparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_liveTranscriptionMsgInfoParams(*from._impl_.livetranscriptionmsginfoparam_);
  12003. }
  12004. _this->_impl_.msgtype_ = from._impl_.msgtype_;
  12005. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody)
  12006. }
  12007. inline void CallbackBody::SharedCtor(::_pb::Arena* arena) {
  12008. (void)arena;
  12009. new (&_impl_) Impl_{
  12010. decltype(_impl_._has_bits_){}
  12011. , /*decltype(_impl_._cached_size_)*/{}
  12012. , decltype(_impl_.onerrorparam_){nullptr}
  12013. , decltype(_impl_.onuserjoinparam_){nullptr}
  12014. , decltype(_impl_.onuserleaveparam_){nullptr}
  12015. , decltype(_impl_.onuservideostatuschangedparam_){nullptr}
  12016. , decltype(_impl_.onuseraudiostatuschangedparam_){nullptr}
  12017. , decltype(_impl_.onusersharestatuschangedparam_){nullptr}
  12018. , decltype(_impl_.onlivestreamstatuschangedparam_){nullptr}
  12019. , decltype(_impl_.onuserhostchangedparam_){nullptr}
  12020. , decltype(_impl_.onuseractiveaudiochangedparam_){nullptr}
  12021. , decltype(_impl_.onchatnewmessagenotifyparam_){nullptr}
  12022. , decltype(_impl_.onvideosourceinitializeparam_){nullptr}
  12023. , decltype(_impl_.onpropertychangeparam_){nullptr}
  12024. , decltype(_impl_.onrawdatastatuschangedparam_){nullptr}
  12025. , decltype(_impl_.onusermanagerchangedparam_){nullptr}
  12026. , decltype(_impl_.onusernamechangedparam_){nullptr}
  12027. , decltype(_impl_.oncommandreceivedparam_){nullptr}
  12028. , decltype(_impl_.oncloudrecordingstatusparam_){nullptr}
  12029. , decltype(_impl_.oncameracontrolrequestresultparam_){nullptr}
  12030. , decltype(_impl_.oncameracontrolrequestreceivedparam_){nullptr}
  12031. , decltype(_impl_.oncommandchannelconnectresultparam_){nullptr}
  12032. , decltype(_impl_.onhostaskunmuteparam_){nullptr}
  12033. , decltype(_impl_.oninvitebyphonestatusparam_){nullptr}
  12034. , decltype(_impl_.onmulticamerastreamstatuschangedparam_){nullptr}
  12035. , decltype(_impl_.onmicspeakervolumechangedparam_){nullptr}
  12036. , decltype(_impl_.onaudiodevicestatuschangedparam_){nullptr}
  12037. , decltype(_impl_.ontestmicstatuschangedparam_){nullptr}
  12038. , decltype(_impl_.onselectedaudiodevicechangedparam_){nullptr}
  12039. , decltype(_impl_.onlivetranscriptionstatusparam_){nullptr}
  12040. , decltype(_impl_.onlivetranscriptionmsgreceivedparam_){nullptr}
  12041. , decltype(_impl_.onlivetranscriptionmsgerrorparam_){nullptr}
  12042. , decltype(_impl_.onchatmsgdeletenotificationparam_){nullptr}
  12043. , decltype(_impl_.livetranscriptionmsginfoparam_){nullptr}
  12044. , decltype(_impl_.msgtype_) { 0 }
  12045. };
  12046. }
  12047. CallbackBody::~CallbackBody() {
  12048. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody)
  12049. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  12050. (void)arena;
  12051. return;
  12052. }
  12053. SharedDtor();
  12054. }
  12055. inline void CallbackBody::SharedDtor() {
  12056. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  12057. if (this != internal_default_instance()) delete _impl_.onerrorparam_;
  12058. if (this != internal_default_instance()) delete _impl_.onuserjoinparam_;
  12059. if (this != internal_default_instance()) delete _impl_.onuserleaveparam_;
  12060. if (this != internal_default_instance()) delete _impl_.onuservideostatuschangedparam_;
  12061. if (this != internal_default_instance()) delete _impl_.onuseraudiostatuschangedparam_;
  12062. if (this != internal_default_instance()) delete _impl_.onusersharestatuschangedparam_;
  12063. if (this != internal_default_instance()) delete _impl_.onlivestreamstatuschangedparam_;
  12064. if (this != internal_default_instance()) delete _impl_.onuserhostchangedparam_;
  12065. if (this != internal_default_instance()) delete _impl_.onuseractiveaudiochangedparam_;
  12066. if (this != internal_default_instance()) delete _impl_.onchatnewmessagenotifyparam_;
  12067. if (this != internal_default_instance()) delete _impl_.onvideosourceinitializeparam_;
  12068. if (this != internal_default_instance()) delete _impl_.onpropertychangeparam_;
  12069. if (this != internal_default_instance()) delete _impl_.onrawdatastatuschangedparam_;
  12070. if (this != internal_default_instance()) delete _impl_.onusermanagerchangedparam_;
  12071. if (this != internal_default_instance()) delete _impl_.onusernamechangedparam_;
  12072. if (this != internal_default_instance()) delete _impl_.oncommandreceivedparam_;
  12073. if (this != internal_default_instance()) delete _impl_.oncloudrecordingstatusparam_;
  12074. if (this != internal_default_instance()) delete _impl_.oncameracontrolrequestresultparam_;
  12075. if (this != internal_default_instance()) delete _impl_.oncameracontrolrequestreceivedparam_;
  12076. if (this != internal_default_instance()) delete _impl_.oncommandchannelconnectresultparam_;
  12077. if (this != internal_default_instance()) delete _impl_.onhostaskunmuteparam_;
  12078. if (this != internal_default_instance()) delete _impl_.oninvitebyphonestatusparam_;
  12079. if (this != internal_default_instance()) delete _impl_.onmulticamerastreamstatuschangedparam_;
  12080. if (this != internal_default_instance()) delete _impl_.onmicspeakervolumechangedparam_;
  12081. if (this != internal_default_instance()) delete _impl_.onaudiodevicestatuschangedparam_;
  12082. if (this != internal_default_instance()) delete _impl_.ontestmicstatuschangedparam_;
  12083. if (this != internal_default_instance()) delete _impl_.onselectedaudiodevicechangedparam_;
  12084. if (this != internal_default_instance()) delete _impl_.onlivetranscriptionstatusparam_;
  12085. if (this != internal_default_instance()) delete _impl_.onlivetranscriptionmsgreceivedparam_;
  12086. if (this != internal_default_instance()) delete _impl_.onlivetranscriptionmsgerrorparam_;
  12087. if (this != internal_default_instance()) delete _impl_.onchatmsgdeletenotificationparam_;
  12088. if (this != internal_default_instance()) delete _impl_.livetranscriptionmsginfoparam_;
  12089. }
  12090. void CallbackBody::SetCachedSize(int size) const {
  12091. _impl_._cached_size_.Set(size);
  12092. }
  12093. void CallbackBody::Clear() {
  12094. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody)
  12095. ::uint32_t cached_has_bits = 0;
  12096. // Prevent compiler warnings about cached_has_bits being unused
  12097. (void) cached_has_bits;
  12098. cached_has_bits = _impl_._has_bits_[0];
  12099. if (cached_has_bits & 0x000000ffu) {
  12100. if (cached_has_bits & 0x00000001u) {
  12101. ABSL_DCHECK(_impl_.onerrorparam_ != nullptr);
  12102. _impl_.onerrorparam_->Clear();
  12103. }
  12104. if (cached_has_bits & 0x00000002u) {
  12105. ABSL_DCHECK(_impl_.onuserjoinparam_ != nullptr);
  12106. _impl_.onuserjoinparam_->Clear();
  12107. }
  12108. if (cached_has_bits & 0x00000004u) {
  12109. ABSL_DCHECK(_impl_.onuserleaveparam_ != nullptr);
  12110. _impl_.onuserleaveparam_->Clear();
  12111. }
  12112. if (cached_has_bits & 0x00000008u) {
  12113. ABSL_DCHECK(_impl_.onuservideostatuschangedparam_ != nullptr);
  12114. _impl_.onuservideostatuschangedparam_->Clear();
  12115. }
  12116. if (cached_has_bits & 0x00000010u) {
  12117. ABSL_DCHECK(_impl_.onuseraudiostatuschangedparam_ != nullptr);
  12118. _impl_.onuseraudiostatuschangedparam_->Clear();
  12119. }
  12120. if (cached_has_bits & 0x00000020u) {
  12121. ABSL_DCHECK(_impl_.onusersharestatuschangedparam_ != nullptr);
  12122. _impl_.onusersharestatuschangedparam_->Clear();
  12123. }
  12124. if (cached_has_bits & 0x00000040u) {
  12125. ABSL_DCHECK(_impl_.onlivestreamstatuschangedparam_ != nullptr);
  12126. _impl_.onlivestreamstatuschangedparam_->Clear();
  12127. }
  12128. if (cached_has_bits & 0x00000080u) {
  12129. ABSL_DCHECK(_impl_.onuserhostchangedparam_ != nullptr);
  12130. _impl_.onuserhostchangedparam_->Clear();
  12131. }
  12132. }
  12133. if (cached_has_bits & 0x0000ff00u) {
  12134. if (cached_has_bits & 0x00000100u) {
  12135. ABSL_DCHECK(_impl_.onuseractiveaudiochangedparam_ != nullptr);
  12136. _impl_.onuseractiveaudiochangedparam_->Clear();
  12137. }
  12138. if (cached_has_bits & 0x00000200u) {
  12139. ABSL_DCHECK(_impl_.onchatnewmessagenotifyparam_ != nullptr);
  12140. _impl_.onchatnewmessagenotifyparam_->Clear();
  12141. }
  12142. if (cached_has_bits & 0x00000400u) {
  12143. ABSL_DCHECK(_impl_.onvideosourceinitializeparam_ != nullptr);
  12144. _impl_.onvideosourceinitializeparam_->Clear();
  12145. }
  12146. if (cached_has_bits & 0x00000800u) {
  12147. ABSL_DCHECK(_impl_.onpropertychangeparam_ != nullptr);
  12148. _impl_.onpropertychangeparam_->Clear();
  12149. }
  12150. if (cached_has_bits & 0x00001000u) {
  12151. ABSL_DCHECK(_impl_.onrawdatastatuschangedparam_ != nullptr);
  12152. _impl_.onrawdatastatuschangedparam_->Clear();
  12153. }
  12154. if (cached_has_bits & 0x00002000u) {
  12155. ABSL_DCHECK(_impl_.onusermanagerchangedparam_ != nullptr);
  12156. _impl_.onusermanagerchangedparam_->Clear();
  12157. }
  12158. if (cached_has_bits & 0x00004000u) {
  12159. ABSL_DCHECK(_impl_.onusernamechangedparam_ != nullptr);
  12160. _impl_.onusernamechangedparam_->Clear();
  12161. }
  12162. if (cached_has_bits & 0x00008000u) {
  12163. ABSL_DCHECK(_impl_.oncommandreceivedparam_ != nullptr);
  12164. _impl_.oncommandreceivedparam_->Clear();
  12165. }
  12166. }
  12167. if (cached_has_bits & 0x00ff0000u) {
  12168. if (cached_has_bits & 0x00010000u) {
  12169. ABSL_DCHECK(_impl_.oncloudrecordingstatusparam_ != nullptr);
  12170. _impl_.oncloudrecordingstatusparam_->Clear();
  12171. }
  12172. if (cached_has_bits & 0x00020000u) {
  12173. ABSL_DCHECK(_impl_.oncameracontrolrequestresultparam_ != nullptr);
  12174. _impl_.oncameracontrolrequestresultparam_->Clear();
  12175. }
  12176. if (cached_has_bits & 0x00040000u) {
  12177. ABSL_DCHECK(_impl_.oncameracontrolrequestreceivedparam_ != nullptr);
  12178. _impl_.oncameracontrolrequestreceivedparam_->Clear();
  12179. }
  12180. if (cached_has_bits & 0x00080000u) {
  12181. ABSL_DCHECK(_impl_.oncommandchannelconnectresultparam_ != nullptr);
  12182. _impl_.oncommandchannelconnectresultparam_->Clear();
  12183. }
  12184. if (cached_has_bits & 0x00100000u) {
  12185. ABSL_DCHECK(_impl_.onhostaskunmuteparam_ != nullptr);
  12186. _impl_.onhostaskunmuteparam_->Clear();
  12187. }
  12188. if (cached_has_bits & 0x00200000u) {
  12189. ABSL_DCHECK(_impl_.oninvitebyphonestatusparam_ != nullptr);
  12190. _impl_.oninvitebyphonestatusparam_->Clear();
  12191. }
  12192. if (cached_has_bits & 0x00400000u) {
  12193. ABSL_DCHECK(_impl_.onmulticamerastreamstatuschangedparam_ != nullptr);
  12194. _impl_.onmulticamerastreamstatuschangedparam_->Clear();
  12195. }
  12196. if (cached_has_bits & 0x00800000u) {
  12197. ABSL_DCHECK(_impl_.onmicspeakervolumechangedparam_ != nullptr);
  12198. _impl_.onmicspeakervolumechangedparam_->Clear();
  12199. }
  12200. }
  12201. if (cached_has_bits & 0xff000000u) {
  12202. if (cached_has_bits & 0x01000000u) {
  12203. ABSL_DCHECK(_impl_.onaudiodevicestatuschangedparam_ != nullptr);
  12204. _impl_.onaudiodevicestatuschangedparam_->Clear();
  12205. }
  12206. if (cached_has_bits & 0x02000000u) {
  12207. ABSL_DCHECK(_impl_.ontestmicstatuschangedparam_ != nullptr);
  12208. _impl_.ontestmicstatuschangedparam_->Clear();
  12209. }
  12210. if (cached_has_bits & 0x04000000u) {
  12211. ABSL_DCHECK(_impl_.onselectedaudiodevicechangedparam_ != nullptr);
  12212. _impl_.onselectedaudiodevicechangedparam_->Clear();
  12213. }
  12214. if (cached_has_bits & 0x08000000u) {
  12215. ABSL_DCHECK(_impl_.onlivetranscriptionstatusparam_ != nullptr);
  12216. _impl_.onlivetranscriptionstatusparam_->Clear();
  12217. }
  12218. if (cached_has_bits & 0x10000000u) {
  12219. ABSL_DCHECK(_impl_.onlivetranscriptionmsgreceivedparam_ != nullptr);
  12220. _impl_.onlivetranscriptionmsgreceivedparam_->Clear();
  12221. }
  12222. if (cached_has_bits & 0x20000000u) {
  12223. ABSL_DCHECK(_impl_.onlivetranscriptionmsgerrorparam_ != nullptr);
  12224. _impl_.onlivetranscriptionmsgerrorparam_->Clear();
  12225. }
  12226. if (cached_has_bits & 0x40000000u) {
  12227. ABSL_DCHECK(_impl_.onchatmsgdeletenotificationparam_ != nullptr);
  12228. _impl_.onchatmsgdeletenotificationparam_->Clear();
  12229. }
  12230. if (cached_has_bits & 0x80000000u) {
  12231. ABSL_DCHECK(_impl_.livetranscriptionmsginfoparam_ != nullptr);
  12232. _impl_.livetranscriptionmsginfoparam_->Clear();
  12233. }
  12234. }
  12235. _impl_.msgtype_ = 0;
  12236. _impl_._has_bits_.Clear();
  12237. _internal_metadata_.Clear<std::string>();
  12238. }
  12239. const char* CallbackBody::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  12240. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  12241. while (!ctx->Done(&ptr)) {
  12242. ::uint32_t tag;
  12243. ptr = ::_pbi::ReadTag(ptr, &tag);
  12244. switch (tag >> 3) {
  12245. // optional int32 msgtype = 1;
  12246. case 1:
  12247. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  12248. _Internal::set_has_msgtype(&_impl_._has_bits_);
  12249. _impl_.msgtype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  12250. CHK_(ptr);
  12251. } else {
  12252. goto handle_unusual;
  12253. }
  12254. continue;
  12255. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams onErrorParam = 2;
  12256. case 2:
  12257. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  12258. ptr = ctx->ParseMessage(_internal_mutable_onerrorparam(), ptr);
  12259. CHK_(ptr);
  12260. } else {
  12261. goto handle_unusual;
  12262. }
  12263. continue;
  12264. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams onUserJoinParam = 3;
  12265. case 3:
  12266. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
  12267. ptr = ctx->ParseMessage(_internal_mutable_onuserjoinparam(), ptr);
  12268. CHK_(ptr);
  12269. } else {
  12270. goto handle_unusual;
  12271. }
  12272. continue;
  12273. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams onUserLeaveParam = 4;
  12274. case 4:
  12275. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
  12276. ptr = ctx->ParseMessage(_internal_mutable_onuserleaveparam(), ptr);
  12277. CHK_(ptr);
  12278. } else {
  12279. goto handle_unusual;
  12280. }
  12281. continue;
  12282. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams onUserVideoStatusChangedParam = 5;
  12283. case 5:
  12284. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) {
  12285. ptr = ctx->ParseMessage(_internal_mutable_onuservideostatuschangedparam(), ptr);
  12286. CHK_(ptr);
  12287. } else {
  12288. goto handle_unusual;
  12289. }
  12290. continue;
  12291. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams onUserAudioStatusChangedParam = 6;
  12292. case 6:
  12293. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) {
  12294. ptr = ctx->ParseMessage(_internal_mutable_onuseraudiostatuschangedparam(), ptr);
  12295. CHK_(ptr);
  12296. } else {
  12297. goto handle_unusual;
  12298. }
  12299. continue;
  12300. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams onUserShareStatusChangedParam = 7;
  12301. case 7:
  12302. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) {
  12303. ptr = ctx->ParseMessage(_internal_mutable_onusersharestatuschangedparam(), ptr);
  12304. CHK_(ptr);
  12305. } else {
  12306. goto handle_unusual;
  12307. }
  12308. continue;
  12309. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams onLiveStreamStatusChangedParam = 8;
  12310. case 8:
  12311. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 66)) {
  12312. ptr = ctx->ParseMessage(_internal_mutable_onlivestreamstatuschangedparam(), ptr);
  12313. CHK_(ptr);
  12314. } else {
  12315. goto handle_unusual;
  12316. }
  12317. continue;
  12318. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams onUserHostChangedParam = 9;
  12319. case 9:
  12320. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) {
  12321. ptr = ctx->ParseMessage(_internal_mutable_onuserhostchangedparam(), ptr);
  12322. CHK_(ptr);
  12323. } else {
  12324. goto handle_unusual;
  12325. }
  12326. continue;
  12327. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams onUserActiveAudioChangedParam = 10;
  12328. case 10:
  12329. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) {
  12330. ptr = ctx->ParseMessage(_internal_mutable_onuseractiveaudiochangedparam(), ptr);
  12331. CHK_(ptr);
  12332. } else {
  12333. goto handle_unusual;
  12334. }
  12335. continue;
  12336. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams onChatNewMessageNotifyParam = 11;
  12337. case 11:
  12338. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) {
  12339. ptr = ctx->ParseMessage(_internal_mutable_onchatnewmessagenotifyparam(), ptr);
  12340. CHK_(ptr);
  12341. } else {
  12342. goto handle_unusual;
  12343. }
  12344. continue;
  12345. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams onVideoSourceInitializeParam = 12;
  12346. case 12:
  12347. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 98)) {
  12348. ptr = ctx->ParseMessage(_internal_mutable_onvideosourceinitializeparam(), ptr);
  12349. CHK_(ptr);
  12350. } else {
  12351. goto handle_unusual;
  12352. }
  12353. continue;
  12354. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams onPropertyChangeParam = 13;
  12355. case 13:
  12356. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 106)) {
  12357. ptr = ctx->ParseMessage(_internal_mutable_onpropertychangeparam(), ptr);
  12358. CHK_(ptr);
  12359. } else {
  12360. goto handle_unusual;
  12361. }
  12362. continue;
  12363. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams onRawDataStatusChangedParam = 14;
  12364. case 14:
  12365. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 114)) {
  12366. ptr = ctx->ParseMessage(_internal_mutable_onrawdatastatuschangedparam(), ptr);
  12367. CHK_(ptr);
  12368. } else {
  12369. goto handle_unusual;
  12370. }
  12371. continue;
  12372. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams onUserManagerChangedParam = 15;
  12373. case 15:
  12374. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 122)) {
  12375. ptr = ctx->ParseMessage(_internal_mutable_onusermanagerchangedparam(), ptr);
  12376. CHK_(ptr);
  12377. } else {
  12378. goto handle_unusual;
  12379. }
  12380. continue;
  12381. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams onUserNameChangedParam = 16;
  12382. case 16:
  12383. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 130)) {
  12384. ptr = ctx->ParseMessage(_internal_mutable_onusernamechangedparam(), ptr);
  12385. CHK_(ptr);
  12386. } else {
  12387. goto handle_unusual;
  12388. }
  12389. continue;
  12390. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams onCommandReceivedParam = 17;
  12391. case 17:
  12392. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 138)) {
  12393. ptr = ctx->ParseMessage(_internal_mutable_oncommandreceivedparam(), ptr);
  12394. CHK_(ptr);
  12395. } else {
  12396. goto handle_unusual;
  12397. }
  12398. continue;
  12399. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams onCloudRecordingStatusParam = 18;
  12400. case 18:
  12401. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 146)) {
  12402. ptr = ctx->ParseMessage(_internal_mutable_oncloudrecordingstatusparam(), ptr);
  12403. CHK_(ptr);
  12404. } else {
  12405. goto handle_unusual;
  12406. }
  12407. continue;
  12408. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams onCameraControlRequestResultParam = 19;
  12409. case 19:
  12410. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 154)) {
  12411. ptr = ctx->ParseMessage(_internal_mutable_oncameracontrolrequestresultparam(), ptr);
  12412. CHK_(ptr);
  12413. } else {
  12414. goto handle_unusual;
  12415. }
  12416. continue;
  12417. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams onCameraControlRequestReceivedParam = 20;
  12418. case 20:
  12419. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 162)) {
  12420. ptr = ctx->ParseMessage(_internal_mutable_oncameracontrolrequestreceivedparam(), ptr);
  12421. CHK_(ptr);
  12422. } else {
  12423. goto handle_unusual;
  12424. }
  12425. continue;
  12426. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams onCommandChannelConnectResultParam = 21;
  12427. case 21:
  12428. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 170)) {
  12429. ptr = ctx->ParseMessage(_internal_mutable_oncommandchannelconnectresultparam(), ptr);
  12430. CHK_(ptr);
  12431. } else {
  12432. goto handle_unusual;
  12433. }
  12434. continue;
  12435. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams onHostAskUnmuteParam = 22;
  12436. case 22:
  12437. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 178)) {
  12438. ptr = ctx->ParseMessage(_internal_mutable_onhostaskunmuteparam(), ptr);
  12439. CHK_(ptr);
  12440. } else {
  12441. goto handle_unusual;
  12442. }
  12443. continue;
  12444. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams onInviteByPhoneStatusParam = 23;
  12445. case 23:
  12446. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 186)) {
  12447. ptr = ctx->ParseMessage(_internal_mutable_oninvitebyphonestatusparam(), ptr);
  12448. CHK_(ptr);
  12449. } else {
  12450. goto handle_unusual;
  12451. }
  12452. continue;
  12453. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams onMultiCameraStreamStatusChangedParam = 24;
  12454. case 24:
  12455. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 194)) {
  12456. ptr = ctx->ParseMessage(_internal_mutable_onmulticamerastreamstatuschangedparam(), ptr);
  12457. CHK_(ptr);
  12458. } else {
  12459. goto handle_unusual;
  12460. }
  12461. continue;
  12462. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams onMicSpeakerVolumeChangedParam = 25;
  12463. case 25:
  12464. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 202)) {
  12465. ptr = ctx->ParseMessage(_internal_mutable_onmicspeakervolumechangedparam(), ptr);
  12466. CHK_(ptr);
  12467. } else {
  12468. goto handle_unusual;
  12469. }
  12470. continue;
  12471. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams onAudioDeviceStatusChangedParam = 26;
  12472. case 26:
  12473. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 210)) {
  12474. ptr = ctx->ParseMessage(_internal_mutable_onaudiodevicestatuschangedparam(), ptr);
  12475. CHK_(ptr);
  12476. } else {
  12477. goto handle_unusual;
  12478. }
  12479. continue;
  12480. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams onTestMicStatusChangedParam = 27;
  12481. case 27:
  12482. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 218)) {
  12483. ptr = ctx->ParseMessage(_internal_mutable_ontestmicstatuschangedparam(), ptr);
  12484. CHK_(ptr);
  12485. } else {
  12486. goto handle_unusual;
  12487. }
  12488. continue;
  12489. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams onSelectedAudioDeviceChangedParam = 28;
  12490. case 28:
  12491. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 226)) {
  12492. ptr = ctx->ParseMessage(_internal_mutable_onselectedaudiodevicechangedparam(), ptr);
  12493. CHK_(ptr);
  12494. } else {
  12495. goto handle_unusual;
  12496. }
  12497. continue;
  12498. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams onLiveTranscriptionStatusParam = 29;
  12499. case 29:
  12500. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 234)) {
  12501. ptr = ctx->ParseMessage(_internal_mutable_onlivetranscriptionstatusparam(), ptr);
  12502. CHK_(ptr);
  12503. } else {
  12504. goto handle_unusual;
  12505. }
  12506. continue;
  12507. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams onLiveTranscriptionMsgReceivedParam = 30;
  12508. case 30:
  12509. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 242)) {
  12510. ptr = ctx->ParseMessage(_internal_mutable_onlivetranscriptionmsgreceivedparam(), ptr);
  12511. CHK_(ptr);
  12512. } else {
  12513. goto handle_unusual;
  12514. }
  12515. continue;
  12516. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams onLiveTranscriptionMsgErrorParam = 31;
  12517. case 31:
  12518. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 250)) {
  12519. ptr = ctx->ParseMessage(_internal_mutable_onlivetranscriptionmsgerrorparam(), ptr);
  12520. CHK_(ptr);
  12521. } else {
  12522. goto handle_unusual;
  12523. }
  12524. continue;
  12525. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams onChatMsgDeleteNotificationParam = 32;
  12526. case 32:
  12527. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 2)) {
  12528. ptr = ctx->ParseMessage(_internal_mutable_onchatmsgdeletenotificationparam(), ptr);
  12529. CHK_(ptr);
  12530. } else {
  12531. goto handle_unusual;
  12532. }
  12533. continue;
  12534. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams liveTranscriptionMsgInfoParam = 33;
  12535. case 33:
  12536. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  12537. ptr = ctx->ParseMessage(_internal_mutable_livetranscriptionmsginfoparam(), ptr);
  12538. CHK_(ptr);
  12539. } else {
  12540. goto handle_unusual;
  12541. }
  12542. continue;
  12543. default:
  12544. goto handle_unusual;
  12545. } // switch
  12546. handle_unusual:
  12547. if ((tag == 0) || ((tag & 7) == 4)) {
  12548. CHK_(ptr);
  12549. ctx->SetLastTag(tag);
  12550. goto message_done;
  12551. }
  12552. ptr = UnknownFieldParse(
  12553. tag,
  12554. _internal_metadata_.mutable_unknown_fields<std::string>(),
  12555. ptr, ctx);
  12556. CHK_(ptr != nullptr);
  12557. } // while
  12558. message_done:
  12559. return ptr;
  12560. failure:
  12561. ptr = nullptr;
  12562. goto message_done;
  12563. #undef CHK_
  12564. }
  12565. ::uint8_t* CallbackBody::_InternalSerialize(
  12566. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  12567. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody)
  12568. ::uint32_t cached_has_bits = 0;
  12569. (void) cached_has_bits;
  12570. cached_has_bits = _impl_._has_bits_[1];
  12571. // optional int32 msgtype = 1;
  12572. if (cached_has_bits & 0x00000001u) {
  12573. target = stream->EnsureSpace(target);
  12574. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  12575. 1, this->_internal_msgtype(), target);
  12576. }
  12577. cached_has_bits = _impl_._has_bits_[0];
  12578. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams onErrorParam = 2;
  12579. if (cached_has_bits & 0x00000001u) {
  12580. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12581. InternalWriteMessage(2, _Internal::onerrorparam(this),
  12582. _Internal::onerrorparam(this).GetCachedSize(), target, stream);
  12583. }
  12584. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams onUserJoinParam = 3;
  12585. if (cached_has_bits & 0x00000002u) {
  12586. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12587. InternalWriteMessage(3, _Internal::onuserjoinparam(this),
  12588. _Internal::onuserjoinparam(this).GetCachedSize(), target, stream);
  12589. }
  12590. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams onUserLeaveParam = 4;
  12591. if (cached_has_bits & 0x00000004u) {
  12592. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12593. InternalWriteMessage(4, _Internal::onuserleaveparam(this),
  12594. _Internal::onuserleaveparam(this).GetCachedSize(), target, stream);
  12595. }
  12596. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams onUserVideoStatusChangedParam = 5;
  12597. if (cached_has_bits & 0x00000008u) {
  12598. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12599. InternalWriteMessage(5, _Internal::onuservideostatuschangedparam(this),
  12600. _Internal::onuservideostatuschangedparam(this).GetCachedSize(), target, stream);
  12601. }
  12602. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams onUserAudioStatusChangedParam = 6;
  12603. if (cached_has_bits & 0x00000010u) {
  12604. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12605. InternalWriteMessage(6, _Internal::onuseraudiostatuschangedparam(this),
  12606. _Internal::onuseraudiostatuschangedparam(this).GetCachedSize(), target, stream);
  12607. }
  12608. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams onUserShareStatusChangedParam = 7;
  12609. if (cached_has_bits & 0x00000020u) {
  12610. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12611. InternalWriteMessage(7, _Internal::onusersharestatuschangedparam(this),
  12612. _Internal::onusersharestatuschangedparam(this).GetCachedSize(), target, stream);
  12613. }
  12614. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams onLiveStreamStatusChangedParam = 8;
  12615. if (cached_has_bits & 0x00000040u) {
  12616. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12617. InternalWriteMessage(8, _Internal::onlivestreamstatuschangedparam(this),
  12618. _Internal::onlivestreamstatuschangedparam(this).GetCachedSize(), target, stream);
  12619. }
  12620. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams onUserHostChangedParam = 9;
  12621. if (cached_has_bits & 0x00000080u) {
  12622. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12623. InternalWriteMessage(9, _Internal::onuserhostchangedparam(this),
  12624. _Internal::onuserhostchangedparam(this).GetCachedSize(), target, stream);
  12625. }
  12626. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams onUserActiveAudioChangedParam = 10;
  12627. if (cached_has_bits & 0x00000100u) {
  12628. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12629. InternalWriteMessage(10, _Internal::onuseractiveaudiochangedparam(this),
  12630. _Internal::onuseractiveaudiochangedparam(this).GetCachedSize(), target, stream);
  12631. }
  12632. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams onChatNewMessageNotifyParam = 11;
  12633. if (cached_has_bits & 0x00000200u) {
  12634. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12635. InternalWriteMessage(11, _Internal::onchatnewmessagenotifyparam(this),
  12636. _Internal::onchatnewmessagenotifyparam(this).GetCachedSize(), target, stream);
  12637. }
  12638. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams onVideoSourceInitializeParam = 12;
  12639. if (cached_has_bits & 0x00000400u) {
  12640. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12641. InternalWriteMessage(12, _Internal::onvideosourceinitializeparam(this),
  12642. _Internal::onvideosourceinitializeparam(this).GetCachedSize(), target, stream);
  12643. }
  12644. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams onPropertyChangeParam = 13;
  12645. if (cached_has_bits & 0x00000800u) {
  12646. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12647. InternalWriteMessage(13, _Internal::onpropertychangeparam(this),
  12648. _Internal::onpropertychangeparam(this).GetCachedSize(), target, stream);
  12649. }
  12650. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams onRawDataStatusChangedParam = 14;
  12651. if (cached_has_bits & 0x00001000u) {
  12652. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12653. InternalWriteMessage(14, _Internal::onrawdatastatuschangedparam(this),
  12654. _Internal::onrawdatastatuschangedparam(this).GetCachedSize(), target, stream);
  12655. }
  12656. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams onUserManagerChangedParam = 15;
  12657. if (cached_has_bits & 0x00002000u) {
  12658. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12659. InternalWriteMessage(15, _Internal::onusermanagerchangedparam(this),
  12660. _Internal::onusermanagerchangedparam(this).GetCachedSize(), target, stream);
  12661. }
  12662. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams onUserNameChangedParam = 16;
  12663. if (cached_has_bits & 0x00004000u) {
  12664. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12665. InternalWriteMessage(16, _Internal::onusernamechangedparam(this),
  12666. _Internal::onusernamechangedparam(this).GetCachedSize(), target, stream);
  12667. }
  12668. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams onCommandReceivedParam = 17;
  12669. if (cached_has_bits & 0x00008000u) {
  12670. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12671. InternalWriteMessage(17, _Internal::oncommandreceivedparam(this),
  12672. _Internal::oncommandreceivedparam(this).GetCachedSize(), target, stream);
  12673. }
  12674. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams onCloudRecordingStatusParam = 18;
  12675. if (cached_has_bits & 0x00010000u) {
  12676. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12677. InternalWriteMessage(18, _Internal::oncloudrecordingstatusparam(this),
  12678. _Internal::oncloudrecordingstatusparam(this).GetCachedSize(), target, stream);
  12679. }
  12680. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams onCameraControlRequestResultParam = 19;
  12681. if (cached_has_bits & 0x00020000u) {
  12682. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12683. InternalWriteMessage(19, _Internal::oncameracontrolrequestresultparam(this),
  12684. _Internal::oncameracontrolrequestresultparam(this).GetCachedSize(), target, stream);
  12685. }
  12686. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams onCameraControlRequestReceivedParam = 20;
  12687. if (cached_has_bits & 0x00040000u) {
  12688. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12689. InternalWriteMessage(20, _Internal::oncameracontrolrequestreceivedparam(this),
  12690. _Internal::oncameracontrolrequestreceivedparam(this).GetCachedSize(), target, stream);
  12691. }
  12692. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams onCommandChannelConnectResultParam = 21;
  12693. if (cached_has_bits & 0x00080000u) {
  12694. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12695. InternalWriteMessage(21, _Internal::oncommandchannelconnectresultparam(this),
  12696. _Internal::oncommandchannelconnectresultparam(this).GetCachedSize(), target, stream);
  12697. }
  12698. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams onHostAskUnmuteParam = 22;
  12699. if (cached_has_bits & 0x00100000u) {
  12700. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12701. InternalWriteMessage(22, _Internal::onhostaskunmuteparam(this),
  12702. _Internal::onhostaskunmuteparam(this).GetCachedSize(), target, stream);
  12703. }
  12704. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams onInviteByPhoneStatusParam = 23;
  12705. if (cached_has_bits & 0x00200000u) {
  12706. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12707. InternalWriteMessage(23, _Internal::oninvitebyphonestatusparam(this),
  12708. _Internal::oninvitebyphonestatusparam(this).GetCachedSize(), target, stream);
  12709. }
  12710. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams onMultiCameraStreamStatusChangedParam = 24;
  12711. if (cached_has_bits & 0x00400000u) {
  12712. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12713. InternalWriteMessage(24, _Internal::onmulticamerastreamstatuschangedparam(this),
  12714. _Internal::onmulticamerastreamstatuschangedparam(this).GetCachedSize(), target, stream);
  12715. }
  12716. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams onMicSpeakerVolumeChangedParam = 25;
  12717. if (cached_has_bits & 0x00800000u) {
  12718. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12719. InternalWriteMessage(25, _Internal::onmicspeakervolumechangedparam(this),
  12720. _Internal::onmicspeakervolumechangedparam(this).GetCachedSize(), target, stream);
  12721. }
  12722. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams onAudioDeviceStatusChangedParam = 26;
  12723. if (cached_has_bits & 0x01000000u) {
  12724. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12725. InternalWriteMessage(26, _Internal::onaudiodevicestatuschangedparam(this),
  12726. _Internal::onaudiodevicestatuschangedparam(this).GetCachedSize(), target, stream);
  12727. }
  12728. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams onTestMicStatusChangedParam = 27;
  12729. if (cached_has_bits & 0x02000000u) {
  12730. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12731. InternalWriteMessage(27, _Internal::ontestmicstatuschangedparam(this),
  12732. _Internal::ontestmicstatuschangedparam(this).GetCachedSize(), target, stream);
  12733. }
  12734. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams onSelectedAudioDeviceChangedParam = 28;
  12735. if (cached_has_bits & 0x04000000u) {
  12736. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12737. InternalWriteMessage(28, _Internal::onselectedaudiodevicechangedparam(this),
  12738. _Internal::onselectedaudiodevicechangedparam(this).GetCachedSize(), target, stream);
  12739. }
  12740. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams onLiveTranscriptionStatusParam = 29;
  12741. if (cached_has_bits & 0x08000000u) {
  12742. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12743. InternalWriteMessage(29, _Internal::onlivetranscriptionstatusparam(this),
  12744. _Internal::onlivetranscriptionstatusparam(this).GetCachedSize(), target, stream);
  12745. }
  12746. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams onLiveTranscriptionMsgReceivedParam = 30;
  12747. if (cached_has_bits & 0x10000000u) {
  12748. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12749. InternalWriteMessage(30, _Internal::onlivetranscriptionmsgreceivedparam(this),
  12750. _Internal::onlivetranscriptionmsgreceivedparam(this).GetCachedSize(), target, stream);
  12751. }
  12752. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams onLiveTranscriptionMsgErrorParam = 31;
  12753. if (cached_has_bits & 0x20000000u) {
  12754. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12755. InternalWriteMessage(31, _Internal::onlivetranscriptionmsgerrorparam(this),
  12756. _Internal::onlivetranscriptionmsgerrorparam(this).GetCachedSize(), target, stream);
  12757. }
  12758. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams onChatMsgDeleteNotificationParam = 32;
  12759. if (cached_has_bits & 0x40000000u) {
  12760. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12761. InternalWriteMessage(32, _Internal::onchatmsgdeletenotificationparam(this),
  12762. _Internal::onchatmsgdeletenotificationparam(this).GetCachedSize(), target, stream);
  12763. }
  12764. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams liveTranscriptionMsgInfoParam = 33;
  12765. if (cached_has_bits & 0x80000000u) {
  12766. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  12767. InternalWriteMessage(33, _Internal::livetranscriptionmsginfoparam(this),
  12768. _Internal::livetranscriptionmsginfoparam(this).GetCachedSize(), target, stream);
  12769. }
  12770. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  12771. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  12772. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  12773. }
  12774. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody)
  12775. return target;
  12776. }
  12777. ::size_t CallbackBody::ByteSizeLong() const {
  12778. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody)
  12779. ::size_t total_size = 0;
  12780. ::uint32_t cached_has_bits = 0;
  12781. // Prevent compiler warnings about cached_has_bits being unused
  12782. (void) cached_has_bits;
  12783. cached_has_bits = _impl_._has_bits_[0];
  12784. if (cached_has_bits & 0x000000ffu) {
  12785. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams onErrorParam = 2;
  12786. if (cached_has_bits & 0x00000001u) {
  12787. total_size += 1 +
  12788. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12789. *_impl_.onerrorparam_);
  12790. }
  12791. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams onUserJoinParam = 3;
  12792. if (cached_has_bits & 0x00000002u) {
  12793. total_size += 1 +
  12794. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12795. *_impl_.onuserjoinparam_);
  12796. }
  12797. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams onUserLeaveParam = 4;
  12798. if (cached_has_bits & 0x00000004u) {
  12799. total_size += 1 +
  12800. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12801. *_impl_.onuserleaveparam_);
  12802. }
  12803. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams onUserVideoStatusChangedParam = 5;
  12804. if (cached_has_bits & 0x00000008u) {
  12805. total_size += 1 +
  12806. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12807. *_impl_.onuservideostatuschangedparam_);
  12808. }
  12809. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams onUserAudioStatusChangedParam = 6;
  12810. if (cached_has_bits & 0x00000010u) {
  12811. total_size += 1 +
  12812. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12813. *_impl_.onuseraudiostatuschangedparam_);
  12814. }
  12815. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams onUserShareStatusChangedParam = 7;
  12816. if (cached_has_bits & 0x00000020u) {
  12817. total_size += 1 +
  12818. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12819. *_impl_.onusersharestatuschangedparam_);
  12820. }
  12821. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams onLiveStreamStatusChangedParam = 8;
  12822. if (cached_has_bits & 0x00000040u) {
  12823. total_size += 1 +
  12824. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12825. *_impl_.onlivestreamstatuschangedparam_);
  12826. }
  12827. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams onUserHostChangedParam = 9;
  12828. if (cached_has_bits & 0x00000080u) {
  12829. total_size += 1 +
  12830. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12831. *_impl_.onuserhostchangedparam_);
  12832. }
  12833. }
  12834. if (cached_has_bits & 0x0000ff00u) {
  12835. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams onUserActiveAudioChangedParam = 10;
  12836. if (cached_has_bits & 0x00000100u) {
  12837. total_size += 1 +
  12838. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12839. *_impl_.onuseractiveaudiochangedparam_);
  12840. }
  12841. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams onChatNewMessageNotifyParam = 11;
  12842. if (cached_has_bits & 0x00000200u) {
  12843. total_size += 1 +
  12844. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12845. *_impl_.onchatnewmessagenotifyparam_);
  12846. }
  12847. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams onVideoSourceInitializeParam = 12;
  12848. if (cached_has_bits & 0x00000400u) {
  12849. total_size += 1 +
  12850. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12851. *_impl_.onvideosourceinitializeparam_);
  12852. }
  12853. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams onPropertyChangeParam = 13;
  12854. if (cached_has_bits & 0x00000800u) {
  12855. total_size += 1 +
  12856. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12857. *_impl_.onpropertychangeparam_);
  12858. }
  12859. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams onRawDataStatusChangedParam = 14;
  12860. if (cached_has_bits & 0x00001000u) {
  12861. total_size += 1 +
  12862. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12863. *_impl_.onrawdatastatuschangedparam_);
  12864. }
  12865. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams onUserManagerChangedParam = 15;
  12866. if (cached_has_bits & 0x00002000u) {
  12867. total_size += 1 +
  12868. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12869. *_impl_.onusermanagerchangedparam_);
  12870. }
  12871. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams onUserNameChangedParam = 16;
  12872. if (cached_has_bits & 0x00004000u) {
  12873. total_size += 2 +
  12874. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12875. *_impl_.onusernamechangedparam_);
  12876. }
  12877. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams onCommandReceivedParam = 17;
  12878. if (cached_has_bits & 0x00008000u) {
  12879. total_size += 2 +
  12880. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12881. *_impl_.oncommandreceivedparam_);
  12882. }
  12883. }
  12884. if (cached_has_bits & 0x00ff0000u) {
  12885. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams onCloudRecordingStatusParam = 18;
  12886. if (cached_has_bits & 0x00010000u) {
  12887. total_size += 2 +
  12888. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12889. *_impl_.oncloudrecordingstatusparam_);
  12890. }
  12891. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams onCameraControlRequestResultParam = 19;
  12892. if (cached_has_bits & 0x00020000u) {
  12893. total_size += 2 +
  12894. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12895. *_impl_.oncameracontrolrequestresultparam_);
  12896. }
  12897. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams onCameraControlRequestReceivedParam = 20;
  12898. if (cached_has_bits & 0x00040000u) {
  12899. total_size += 2 +
  12900. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12901. *_impl_.oncameracontrolrequestreceivedparam_);
  12902. }
  12903. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams onCommandChannelConnectResultParam = 21;
  12904. if (cached_has_bits & 0x00080000u) {
  12905. total_size += 2 +
  12906. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12907. *_impl_.oncommandchannelconnectresultparam_);
  12908. }
  12909. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams onHostAskUnmuteParam = 22;
  12910. if (cached_has_bits & 0x00100000u) {
  12911. total_size += 2 +
  12912. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12913. *_impl_.onhostaskunmuteparam_);
  12914. }
  12915. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams onInviteByPhoneStatusParam = 23;
  12916. if (cached_has_bits & 0x00200000u) {
  12917. total_size += 2 +
  12918. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12919. *_impl_.oninvitebyphonestatusparam_);
  12920. }
  12921. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams onMultiCameraStreamStatusChangedParam = 24;
  12922. if (cached_has_bits & 0x00400000u) {
  12923. total_size += 2 +
  12924. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12925. *_impl_.onmulticamerastreamstatuschangedparam_);
  12926. }
  12927. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams onMicSpeakerVolumeChangedParam = 25;
  12928. if (cached_has_bits & 0x00800000u) {
  12929. total_size += 2 +
  12930. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12931. *_impl_.onmicspeakervolumechangedparam_);
  12932. }
  12933. }
  12934. if (cached_has_bits & 0xff000000u) {
  12935. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams onAudioDeviceStatusChangedParam = 26;
  12936. if (cached_has_bits & 0x01000000u) {
  12937. total_size += 2 +
  12938. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12939. *_impl_.onaudiodevicestatuschangedparam_);
  12940. }
  12941. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams onTestMicStatusChangedParam = 27;
  12942. if (cached_has_bits & 0x02000000u) {
  12943. total_size += 2 +
  12944. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12945. *_impl_.ontestmicstatuschangedparam_);
  12946. }
  12947. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams onSelectedAudioDeviceChangedParam = 28;
  12948. if (cached_has_bits & 0x04000000u) {
  12949. total_size += 2 +
  12950. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12951. *_impl_.onselectedaudiodevicechangedparam_);
  12952. }
  12953. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams onLiveTranscriptionStatusParam = 29;
  12954. if (cached_has_bits & 0x08000000u) {
  12955. total_size += 2 +
  12956. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12957. *_impl_.onlivetranscriptionstatusparam_);
  12958. }
  12959. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams onLiveTranscriptionMsgReceivedParam = 30;
  12960. if (cached_has_bits & 0x10000000u) {
  12961. total_size += 2 +
  12962. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12963. *_impl_.onlivetranscriptionmsgreceivedparam_);
  12964. }
  12965. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams onLiveTranscriptionMsgErrorParam = 31;
  12966. if (cached_has_bits & 0x20000000u) {
  12967. total_size += 2 +
  12968. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12969. *_impl_.onlivetranscriptionmsgerrorparam_);
  12970. }
  12971. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams onChatMsgDeleteNotificationParam = 32;
  12972. if (cached_has_bits & 0x40000000u) {
  12973. total_size += 2 +
  12974. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12975. *_impl_.onchatmsgdeletenotificationparam_);
  12976. }
  12977. // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams liveTranscriptionMsgInfoParam = 33;
  12978. if (cached_has_bits & 0x80000000u) {
  12979. total_size += 2 +
  12980. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  12981. *_impl_.livetranscriptionmsginfoparam_);
  12982. }
  12983. }
  12984. // optional int32 msgtype = 1;
  12985. cached_has_bits = _impl_._has_bits_[1];
  12986. if (cached_has_bits & 0x00000001u) {
  12987. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  12988. this->_internal_msgtype());
  12989. }
  12990. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  12991. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  12992. }
  12993. int cached_size = ::_pbi::ToCachedSize(total_size);
  12994. SetCachedSize(cached_size);
  12995. return total_size;
  12996. }
  12997. void CallbackBody::CheckTypeAndMergeFrom(
  12998. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  12999. MergeFrom(*::_pbi::DownCast<const CallbackBody*>(
  13000. &from));
  13001. }
  13002. void CallbackBody::MergeFrom(const CallbackBody& from) {
  13003. CallbackBody* const _this = this;
  13004. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody)
  13005. ABSL_DCHECK_NE(&from, _this);
  13006. ::uint32_t cached_has_bits = 0;
  13007. (void) cached_has_bits;
  13008. cached_has_bits = from._impl_._has_bits_[0];
  13009. if (cached_has_bits & 0x000000ffu) {
  13010. if (cached_has_bits & 0x00000001u) {
  13011. _this->_internal_mutable_onerrorparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onErrorParams::MergeFrom(
  13012. from._internal_onerrorparam());
  13013. }
  13014. if (cached_has_bits & 0x00000002u) {
  13015. _this->_internal_mutable_onuserjoinparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserJoinParams::MergeFrom(
  13016. from._internal_onuserjoinparam());
  13017. }
  13018. if (cached_has_bits & 0x00000004u) {
  13019. _this->_internal_mutable_onuserleaveparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserLeaveParams::MergeFrom(
  13020. from._internal_onuserleaveparam());
  13021. }
  13022. if (cached_has_bits & 0x00000008u) {
  13023. _this->_internal_mutable_onuservideostatuschangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserVideoStatusChangedParams::MergeFrom(
  13024. from._internal_onuservideostatuschangedparam());
  13025. }
  13026. if (cached_has_bits & 0x00000010u) {
  13027. _this->_internal_mutable_onuseraudiostatuschangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserAudioStatusChangedParams::MergeFrom(
  13028. from._internal_onuseraudiostatuschangedparam());
  13029. }
  13030. if (cached_has_bits & 0x00000020u) {
  13031. _this->_internal_mutable_onusersharestatuschangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserShareStatusChangedParams::MergeFrom(
  13032. from._internal_onusersharestatuschangedparam());
  13033. }
  13034. if (cached_has_bits & 0x00000040u) {
  13035. _this->_internal_mutable_onlivestreamstatuschangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveStreamStatusChangedParams::MergeFrom(
  13036. from._internal_onlivestreamstatuschangedparam());
  13037. }
  13038. if (cached_has_bits & 0x00000080u) {
  13039. _this->_internal_mutable_onuserhostchangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserHostChangedParams::MergeFrom(
  13040. from._internal_onuserhostchangedparam());
  13041. }
  13042. }
  13043. if (cached_has_bits & 0x0000ff00u) {
  13044. if (cached_has_bits & 0x00000100u) {
  13045. _this->_internal_mutable_onuseractiveaudiochangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserActiveAudioChangedParams::MergeFrom(
  13046. from._internal_onuseractiveaudiochangedparam());
  13047. }
  13048. if (cached_has_bits & 0x00000200u) {
  13049. _this->_internal_mutable_onchatnewmessagenotifyparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatNewMessageNotifyParams::MergeFrom(
  13050. from._internal_onchatnewmessagenotifyparam());
  13051. }
  13052. if (cached_has_bits & 0x00000400u) {
  13053. _this->_internal_mutable_onvideosourceinitializeparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onVideoSourceInitializeParams::MergeFrom(
  13054. from._internal_onvideosourceinitializeparam());
  13055. }
  13056. if (cached_has_bits & 0x00000800u) {
  13057. _this->_internal_mutable_onpropertychangeparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onPropertyChangeParams::MergeFrom(
  13058. from._internal_onpropertychangeparam());
  13059. }
  13060. if (cached_has_bits & 0x00001000u) {
  13061. _this->_internal_mutable_onrawdatastatuschangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onRawDataStatusChangedParams::MergeFrom(
  13062. from._internal_onrawdatastatuschangedparam());
  13063. }
  13064. if (cached_has_bits & 0x00002000u) {
  13065. _this->_internal_mutable_onusermanagerchangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserManagerChangedParams::MergeFrom(
  13066. from._internal_onusermanagerchangedparam());
  13067. }
  13068. if (cached_has_bits & 0x00004000u) {
  13069. _this->_internal_mutable_onusernamechangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserNameChangedParams::MergeFrom(
  13070. from._internal_onusernamechangedparam());
  13071. }
  13072. if (cached_has_bits & 0x00008000u) {
  13073. _this->_internal_mutable_oncommandreceivedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandReceivedParams::MergeFrom(
  13074. from._internal_oncommandreceivedparam());
  13075. }
  13076. }
  13077. if (cached_has_bits & 0x00ff0000u) {
  13078. if (cached_has_bits & 0x00010000u) {
  13079. _this->_internal_mutable_oncloudrecordingstatusparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onCloudRecordingStatusParams::MergeFrom(
  13080. from._internal_oncloudrecordingstatusparam());
  13081. }
  13082. if (cached_has_bits & 0x00020000u) {
  13083. _this->_internal_mutable_oncameracontrolrequestresultparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestResultParams::MergeFrom(
  13084. from._internal_oncameracontrolrequestresultparam());
  13085. }
  13086. if (cached_has_bits & 0x00040000u) {
  13087. _this->_internal_mutable_oncameracontrolrequestreceivedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestReceivedParams::MergeFrom(
  13088. from._internal_oncameracontrolrequestreceivedparam());
  13089. }
  13090. if (cached_has_bits & 0x00080000u) {
  13091. _this->_internal_mutable_oncommandchannelconnectresultparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandChannelConnectResultParams::MergeFrom(
  13092. from._internal_oncommandchannelconnectresultparam());
  13093. }
  13094. if (cached_has_bits & 0x00100000u) {
  13095. _this->_internal_mutable_onhostaskunmuteparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onHostAskUnmuteParams::MergeFrom(
  13096. from._internal_onhostaskunmuteparam());
  13097. }
  13098. if (cached_has_bits & 0x00200000u) {
  13099. _this->_internal_mutable_oninvitebyphonestatusparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onInviteByPhoneStatusParams::MergeFrom(
  13100. from._internal_oninvitebyphonestatusparam());
  13101. }
  13102. if (cached_has_bits & 0x00400000u) {
  13103. _this->_internal_mutable_onmulticamerastreamstatuschangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onMultiCameraStreamStatusChangedParams::MergeFrom(
  13104. from._internal_onmulticamerastreamstatuschangedparam());
  13105. }
  13106. if (cached_has_bits & 0x00800000u) {
  13107. _this->_internal_mutable_onmicspeakervolumechangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onMicSpeakerVolumeChangedParams::MergeFrom(
  13108. from._internal_onmicspeakervolumechangedparam());
  13109. }
  13110. }
  13111. if (cached_has_bits & 0xff000000u) {
  13112. if (cached_has_bits & 0x01000000u) {
  13113. _this->_internal_mutable_onaudiodevicestatuschangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onAudioDeviceStatusChangedParams::MergeFrom(
  13114. from._internal_onaudiodevicestatuschangedparam());
  13115. }
  13116. if (cached_has_bits & 0x02000000u) {
  13117. _this->_internal_mutable_ontestmicstatuschangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onTestMicStatusChangedParams::MergeFrom(
  13118. from._internal_ontestmicstatuschangedparam());
  13119. }
  13120. if (cached_has_bits & 0x04000000u) {
  13121. _this->_internal_mutable_onselectedaudiodevicechangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onSelectedAudioDeviceChangedParams::MergeFrom(
  13122. from._internal_onselectedaudiodevicechangedparam());
  13123. }
  13124. if (cached_has_bits & 0x08000000u) {
  13125. _this->_internal_mutable_onlivetranscriptionstatusparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionStatusParams::MergeFrom(
  13126. from._internal_onlivetranscriptionstatusparam());
  13127. }
  13128. if (cached_has_bits & 0x10000000u) {
  13129. _this->_internal_mutable_onlivetranscriptionmsgreceivedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgReceivedParams::MergeFrom(
  13130. from._internal_onlivetranscriptionmsgreceivedparam());
  13131. }
  13132. if (cached_has_bits & 0x20000000u) {
  13133. _this->_internal_mutable_onlivetranscriptionmsgerrorparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgErrorParams::MergeFrom(
  13134. from._internal_onlivetranscriptionmsgerrorparam());
  13135. }
  13136. if (cached_has_bits & 0x40000000u) {
  13137. _this->_internal_mutable_onchatmsgdeletenotificationparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatMsgDeleteNotificationParams::MergeFrom(
  13138. from._internal_onchatmsgdeletenotificationparam());
  13139. }
  13140. if (cached_has_bits & 0x80000000u) {
  13141. _this->_internal_mutable_livetranscriptionmsginfoparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_liveTranscriptionMsgInfoParams::MergeFrom(
  13142. from._internal_livetranscriptionmsginfoparam());
  13143. }
  13144. }
  13145. if ((from._impl_._has_bits_[1] & 0x00000001u) != 0) {
  13146. _this->_internal_set_msgtype(from._internal_msgtype());
  13147. }
  13148. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  13149. }
  13150. void CallbackBody::CopyFrom(const CallbackBody& from) {
  13151. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody)
  13152. if (&from == this) return;
  13153. Clear();
  13154. MergeFrom(from);
  13155. }
  13156. bool CallbackBody::IsInitialized() const {
  13157. return true;
  13158. }
  13159. void CallbackBody::InternalSwap(CallbackBody* other) {
  13160. using std::swap;
  13161. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  13162. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  13163. swap(_impl_._has_bits_[1], other->_impl_._has_bits_[1]);
  13164. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  13165. PROTOBUF_FIELD_OFFSET(CallbackBody, _impl_.msgtype_)
  13166. + sizeof(CallbackBody::_impl_.msgtype_)
  13167. - PROTOBUF_FIELD_OFFSET(CallbackBody, _impl_.onerrorparam_)>(
  13168. reinterpret_cast<char*>(&_impl_.onerrorparam_),
  13169. reinterpret_cast<char*>(&other->_impl_.onerrorparam_));
  13170. }
  13171. std::string CallbackBody::GetTypeName() const {
  13172. return "com.electron.zoomvideo.sdk.proto.CallbackBody";
  13173. }
  13174. // ===================================================================
  13175. class CreateVideoSDKObjParam::_Internal {
  13176. public:
  13177. using HasBits = decltype(std::declval<CreateVideoSDKObjParam>()._impl_._has_bits_);
  13178. static constexpr ::int32_t kHasBitsOffset =
  13179. 8 * PROTOBUF_FIELD_OFFSET(CreateVideoSDKObjParam, _impl_._has_bits_);
  13180. static void set_has_path(HasBits* has_bits) {
  13181. (*has_bits)[0] |= 1u;
  13182. }
  13183. };
  13184. CreateVideoSDKObjParam::CreateVideoSDKObjParam(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  13185. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  13186. SharedCtor(arena);
  13187. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
  13188. }
  13189. CreateVideoSDKObjParam::CreateVideoSDKObjParam(const CreateVideoSDKObjParam& from)
  13190. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  13191. CreateVideoSDKObjParam* const _this = this; (void)_this;
  13192. new (&_impl_) Impl_{
  13193. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  13194. , /*decltype(_impl_._cached_size_)*/{}
  13195. , decltype(_impl_.path_) {}
  13196. };
  13197. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  13198. _impl_.path_.InitDefault();
  13199. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13200. _impl_.path_.Set("", GetArenaForAllocation());
  13201. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13202. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  13203. _this->_impl_.path_.Set(from._internal_path(), _this->GetArenaForAllocation());
  13204. }
  13205. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
  13206. }
  13207. inline void CreateVideoSDKObjParam::SharedCtor(::_pb::Arena* arena) {
  13208. (void)arena;
  13209. new (&_impl_) Impl_{
  13210. decltype(_impl_._has_bits_){}
  13211. , /*decltype(_impl_._cached_size_)*/{}
  13212. , decltype(_impl_.path_) {}
  13213. };
  13214. _impl_.path_.InitDefault();
  13215. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13216. _impl_.path_.Set("", GetArenaForAllocation());
  13217. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13218. }
  13219. CreateVideoSDKObjParam::~CreateVideoSDKObjParam() {
  13220. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
  13221. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  13222. (void)arena;
  13223. return;
  13224. }
  13225. SharedDtor();
  13226. }
  13227. inline void CreateVideoSDKObjParam::SharedDtor() {
  13228. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  13229. _impl_.path_.Destroy();
  13230. }
  13231. void CreateVideoSDKObjParam::SetCachedSize(int size) const {
  13232. _impl_._cached_size_.Set(size);
  13233. }
  13234. void CreateVideoSDKObjParam::Clear() {
  13235. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
  13236. ::uint32_t cached_has_bits = 0;
  13237. // Prevent compiler warnings about cached_has_bits being unused
  13238. (void) cached_has_bits;
  13239. cached_has_bits = _impl_._has_bits_[0];
  13240. if (cached_has_bits & 0x00000001u) {
  13241. _impl_.path_.ClearNonDefaultToEmpty();
  13242. }
  13243. _impl_._has_bits_.Clear();
  13244. _internal_metadata_.Clear<std::string>();
  13245. }
  13246. const char* CreateVideoSDKObjParam::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  13247. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  13248. _Internal::HasBits has_bits{};
  13249. while (!ctx->Done(&ptr)) {
  13250. ::uint32_t tag;
  13251. ptr = ::_pbi::ReadTag(ptr, &tag);
  13252. switch (tag >> 3) {
  13253. // optional string path = 1;
  13254. case 1:
  13255. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  13256. auto str = _internal_mutable_path();
  13257. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  13258. CHK_(ptr);
  13259. } else {
  13260. goto handle_unusual;
  13261. }
  13262. continue;
  13263. default:
  13264. goto handle_unusual;
  13265. } // switch
  13266. handle_unusual:
  13267. if ((tag == 0) || ((tag & 7) == 4)) {
  13268. CHK_(ptr);
  13269. ctx->SetLastTag(tag);
  13270. goto message_done;
  13271. }
  13272. ptr = UnknownFieldParse(
  13273. tag,
  13274. _internal_metadata_.mutable_unknown_fields<std::string>(),
  13275. ptr, ctx);
  13276. CHK_(ptr != nullptr);
  13277. } // while
  13278. message_done:
  13279. _impl_._has_bits_.Or(has_bits);
  13280. return ptr;
  13281. failure:
  13282. ptr = nullptr;
  13283. goto message_done;
  13284. #undef CHK_
  13285. }
  13286. ::uint8_t* CreateVideoSDKObjParam::_InternalSerialize(
  13287. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  13288. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
  13289. ::uint32_t cached_has_bits = 0;
  13290. (void) cached_has_bits;
  13291. cached_has_bits = _impl_._has_bits_[0];
  13292. // optional string path = 1;
  13293. if (cached_has_bits & 0x00000001u) {
  13294. const std::string& _s = this->_internal_path();
  13295. target = stream->WriteStringMaybeAliased(1, _s, target);
  13296. }
  13297. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  13298. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  13299. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  13300. }
  13301. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
  13302. return target;
  13303. }
  13304. ::size_t CreateVideoSDKObjParam::ByteSizeLong() const {
  13305. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
  13306. ::size_t total_size = 0;
  13307. ::uint32_t cached_has_bits = 0;
  13308. // Prevent compiler warnings about cached_has_bits being unused
  13309. (void) cached_has_bits;
  13310. // optional string path = 1;
  13311. cached_has_bits = _impl_._has_bits_[0];
  13312. if (cached_has_bits & 0x00000001u) {
  13313. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  13314. this->_internal_path());
  13315. }
  13316. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  13317. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  13318. }
  13319. int cached_size = ::_pbi::ToCachedSize(total_size);
  13320. SetCachedSize(cached_size);
  13321. return total_size;
  13322. }
  13323. void CreateVideoSDKObjParam::CheckTypeAndMergeFrom(
  13324. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  13325. MergeFrom(*::_pbi::DownCast<const CreateVideoSDKObjParam*>(
  13326. &from));
  13327. }
  13328. void CreateVideoSDKObjParam::MergeFrom(const CreateVideoSDKObjParam& from) {
  13329. CreateVideoSDKObjParam* const _this = this;
  13330. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
  13331. ABSL_DCHECK_NE(&from, _this);
  13332. ::uint32_t cached_has_bits = 0;
  13333. (void) cached_has_bits;
  13334. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  13335. _this->_internal_set_path(from._internal_path());
  13336. }
  13337. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  13338. }
  13339. void CreateVideoSDKObjParam::CopyFrom(const CreateVideoSDKObjParam& from) {
  13340. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
  13341. if (&from == this) return;
  13342. Clear();
  13343. MergeFrom(from);
  13344. }
  13345. bool CreateVideoSDKObjParam::IsInitialized() const {
  13346. return true;
  13347. }
  13348. void CreateVideoSDKObjParam::InternalSwap(CreateVideoSDKObjParam* other) {
  13349. using std::swap;
  13350. auto* lhs_arena = GetArenaForAllocation();
  13351. auto* rhs_arena = other->GetArenaForAllocation();
  13352. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  13353. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  13354. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_, lhs_arena,
  13355. &other->_impl_.path_, rhs_arena);
  13356. }
  13357. std::string CreateVideoSDKObjParam::GetTypeName() const {
  13358. return "com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam";
  13359. }
  13360. // ===================================================================
  13361. class VideoSDKInitParams::_Internal {
  13362. public:
  13363. using HasBits = decltype(std::declval<VideoSDKInitParams>()._impl_._has_bits_);
  13364. static constexpr ::int32_t kHasBitsOffset =
  13365. 8 * PROTOBUF_FIELD_OFFSET(VideoSDKInitParams, _impl_._has_bits_);
  13366. static void set_has_domain(HasBits* has_bits) {
  13367. (*has_bits)[0] |= 1u;
  13368. }
  13369. static void set_has_logfileprefix(HasBits* has_bits) {
  13370. (*has_bits)[0] |= 2u;
  13371. }
  13372. static void set_has_enablelog(HasBits* has_bits) {
  13373. (*has_bits)[0] |= 8u;
  13374. }
  13375. static void set_has_audiorawdatamemorymode(HasBits* has_bits) {
  13376. (*has_bits)[0] |= 16u;
  13377. }
  13378. static void set_has_zn_videorawdatamemorymode(HasBits* has_bits) {
  13379. (*has_bits)[0] |= 32u;
  13380. }
  13381. static void set_has_zn_sharerawdatamemorymode(HasBits* has_bits) {
  13382. (*has_bits)[0] |= 64u;
  13383. }
  13384. static void set_has_speakertestfilepath(HasBits* has_bits) {
  13385. (*has_bits)[0] |= 4u;
  13386. }
  13387. };
  13388. VideoSDKInitParams::VideoSDKInitParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  13389. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  13390. SharedCtor(arena);
  13391. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
  13392. }
  13393. VideoSDKInitParams::VideoSDKInitParams(const VideoSDKInitParams& from)
  13394. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  13395. VideoSDKInitParams* const _this = this; (void)_this;
  13396. new (&_impl_) Impl_{
  13397. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  13398. , /*decltype(_impl_._cached_size_)*/{}
  13399. , decltype(_impl_.domain_) {}
  13400. , decltype(_impl_.logfileprefix_) {}
  13401. , decltype(_impl_.speakertestfilepath_) {}
  13402. , decltype(_impl_.enablelog_) {}
  13403. , decltype(_impl_.audiorawdatamemorymode_) {}
  13404. , decltype(_impl_.zn_videorawdatamemorymode_) {}
  13405. , decltype(_impl_.zn_sharerawdatamemorymode_) {}
  13406. };
  13407. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  13408. _impl_.domain_.InitDefault();
  13409. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13410. _impl_.domain_.Set("", GetArenaForAllocation());
  13411. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13412. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  13413. _this->_impl_.domain_.Set(from._internal_domain(), _this->GetArenaForAllocation());
  13414. }
  13415. _impl_.logfileprefix_.InitDefault();
  13416. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13417. _impl_.logfileprefix_.Set("", GetArenaForAllocation());
  13418. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13419. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  13420. _this->_impl_.logfileprefix_.Set(from._internal_logfileprefix(), _this->GetArenaForAllocation());
  13421. }
  13422. _impl_.speakertestfilepath_.InitDefault();
  13423. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13424. _impl_.speakertestfilepath_.Set("", GetArenaForAllocation());
  13425. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13426. if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
  13427. _this->_impl_.speakertestfilepath_.Set(from._internal_speakertestfilepath(), _this->GetArenaForAllocation());
  13428. }
  13429. ::memcpy(&_impl_.enablelog_, &from._impl_.enablelog_,
  13430. static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.zn_sharerawdatamemorymode_) -
  13431. reinterpret_cast<char*>(&_impl_.enablelog_)) + sizeof(_impl_.zn_sharerawdatamemorymode_));
  13432. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
  13433. }
  13434. inline void VideoSDKInitParams::SharedCtor(::_pb::Arena* arena) {
  13435. (void)arena;
  13436. new (&_impl_) Impl_{
  13437. decltype(_impl_._has_bits_){}
  13438. , /*decltype(_impl_._cached_size_)*/{}
  13439. , decltype(_impl_.domain_) {}
  13440. , decltype(_impl_.logfileprefix_) {}
  13441. , decltype(_impl_.speakertestfilepath_) {}
  13442. , decltype(_impl_.enablelog_) { false }
  13443. , decltype(_impl_.audiorawdatamemorymode_) { 0 }
  13444. , decltype(_impl_.zn_videorawdatamemorymode_) { 0 }
  13445. , decltype(_impl_.zn_sharerawdatamemorymode_) { 0 }
  13446. };
  13447. _impl_.domain_.InitDefault();
  13448. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13449. _impl_.domain_.Set("", GetArenaForAllocation());
  13450. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13451. _impl_.logfileprefix_.InitDefault();
  13452. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13453. _impl_.logfileprefix_.Set("", GetArenaForAllocation());
  13454. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13455. _impl_.speakertestfilepath_.InitDefault();
  13456. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13457. _impl_.speakertestfilepath_.Set("", GetArenaForAllocation());
  13458. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13459. }
  13460. VideoSDKInitParams::~VideoSDKInitParams() {
  13461. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
  13462. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  13463. (void)arena;
  13464. return;
  13465. }
  13466. SharedDtor();
  13467. }
  13468. inline void VideoSDKInitParams::SharedDtor() {
  13469. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  13470. _impl_.domain_.Destroy();
  13471. _impl_.logfileprefix_.Destroy();
  13472. _impl_.speakertestfilepath_.Destroy();
  13473. }
  13474. void VideoSDKInitParams::SetCachedSize(int size) const {
  13475. _impl_._cached_size_.Set(size);
  13476. }
  13477. void VideoSDKInitParams::Clear() {
  13478. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
  13479. ::uint32_t cached_has_bits = 0;
  13480. // Prevent compiler warnings about cached_has_bits being unused
  13481. (void) cached_has_bits;
  13482. cached_has_bits = _impl_._has_bits_[0];
  13483. if (cached_has_bits & 0x00000007u) {
  13484. if (cached_has_bits & 0x00000001u) {
  13485. _impl_.domain_.ClearNonDefaultToEmpty();
  13486. }
  13487. if (cached_has_bits & 0x00000002u) {
  13488. _impl_.logfileprefix_.ClearNonDefaultToEmpty();
  13489. }
  13490. if (cached_has_bits & 0x00000004u) {
  13491. _impl_.speakertestfilepath_.ClearNonDefaultToEmpty();
  13492. }
  13493. }
  13494. if (cached_has_bits & 0x00000078u) {
  13495. ::memset(&_impl_.enablelog_, 0, static_cast<::size_t>(
  13496. reinterpret_cast<char*>(&_impl_.zn_sharerawdatamemorymode_) -
  13497. reinterpret_cast<char*>(&_impl_.enablelog_)) + sizeof(_impl_.zn_sharerawdatamemorymode_));
  13498. }
  13499. _impl_._has_bits_.Clear();
  13500. _internal_metadata_.Clear<std::string>();
  13501. }
  13502. const char* VideoSDKInitParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  13503. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  13504. _Internal::HasBits has_bits{};
  13505. while (!ctx->Done(&ptr)) {
  13506. ::uint32_t tag;
  13507. ptr = ::_pbi::ReadTag(ptr, &tag);
  13508. switch (tag >> 3) {
  13509. // optional string domain = 1;
  13510. case 1:
  13511. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  13512. auto str = _internal_mutable_domain();
  13513. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  13514. CHK_(ptr);
  13515. } else {
  13516. goto handle_unusual;
  13517. }
  13518. continue;
  13519. // optional string logFilePrefix = 2;
  13520. case 2:
  13521. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  13522. auto str = _internal_mutable_logfileprefix();
  13523. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  13524. CHK_(ptr);
  13525. } else {
  13526. goto handle_unusual;
  13527. }
  13528. continue;
  13529. // optional bool enableLog = 3;
  13530. case 3:
  13531. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  13532. _Internal::set_has_enablelog(&has_bits);
  13533. _impl_.enablelog_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  13534. CHK_(ptr);
  13535. } else {
  13536. goto handle_unusual;
  13537. }
  13538. continue;
  13539. // optional int32 audioRawDataMemoryMode = 4;
  13540. case 4:
  13541. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
  13542. _Internal::set_has_audiorawdatamemorymode(&has_bits);
  13543. _impl_.audiorawdatamemorymode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  13544. CHK_(ptr);
  13545. } else {
  13546. goto handle_unusual;
  13547. }
  13548. continue;
  13549. // optional int32 zn_videoRawDataMemoryMode = 5;
  13550. case 5:
  13551. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
  13552. _Internal::set_has_zn_videorawdatamemorymode(&has_bits);
  13553. _impl_.zn_videorawdatamemorymode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  13554. CHK_(ptr);
  13555. } else {
  13556. goto handle_unusual;
  13557. }
  13558. continue;
  13559. // optional int32 zn_shareRawDataMemoryMode = 6;
  13560. case 6:
  13561. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
  13562. _Internal::set_has_zn_sharerawdatamemorymode(&has_bits);
  13563. _impl_.zn_sharerawdatamemorymode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  13564. CHK_(ptr);
  13565. } else {
  13566. goto handle_unusual;
  13567. }
  13568. continue;
  13569. // optional string speakerTestFilePath = 7;
  13570. case 7:
  13571. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) {
  13572. auto str = _internal_mutable_speakertestfilepath();
  13573. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  13574. CHK_(ptr);
  13575. } else {
  13576. goto handle_unusual;
  13577. }
  13578. continue;
  13579. default:
  13580. goto handle_unusual;
  13581. } // switch
  13582. handle_unusual:
  13583. if ((tag == 0) || ((tag & 7) == 4)) {
  13584. CHK_(ptr);
  13585. ctx->SetLastTag(tag);
  13586. goto message_done;
  13587. }
  13588. ptr = UnknownFieldParse(
  13589. tag,
  13590. _internal_metadata_.mutable_unknown_fields<std::string>(),
  13591. ptr, ctx);
  13592. CHK_(ptr != nullptr);
  13593. } // while
  13594. message_done:
  13595. _impl_._has_bits_.Or(has_bits);
  13596. return ptr;
  13597. failure:
  13598. ptr = nullptr;
  13599. goto message_done;
  13600. #undef CHK_
  13601. }
  13602. ::uint8_t* VideoSDKInitParams::_InternalSerialize(
  13603. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  13604. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
  13605. ::uint32_t cached_has_bits = 0;
  13606. (void) cached_has_bits;
  13607. cached_has_bits = _impl_._has_bits_[0];
  13608. // optional string domain = 1;
  13609. if (cached_has_bits & 0x00000001u) {
  13610. const std::string& _s = this->_internal_domain();
  13611. target = stream->WriteStringMaybeAliased(1, _s, target);
  13612. }
  13613. // optional string logFilePrefix = 2;
  13614. if (cached_has_bits & 0x00000002u) {
  13615. const std::string& _s = this->_internal_logfileprefix();
  13616. target = stream->WriteStringMaybeAliased(2, _s, target);
  13617. }
  13618. // optional bool enableLog = 3;
  13619. if (cached_has_bits & 0x00000008u) {
  13620. target = stream->EnsureSpace(target);
  13621. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  13622. 3, this->_internal_enablelog(), target);
  13623. }
  13624. // optional int32 audioRawDataMemoryMode = 4;
  13625. if (cached_has_bits & 0x00000010u) {
  13626. target = stream->EnsureSpace(target);
  13627. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  13628. 4, this->_internal_audiorawdatamemorymode(), target);
  13629. }
  13630. // optional int32 zn_videoRawDataMemoryMode = 5;
  13631. if (cached_has_bits & 0x00000020u) {
  13632. target = stream->EnsureSpace(target);
  13633. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  13634. 5, this->_internal_zn_videorawdatamemorymode(), target);
  13635. }
  13636. // optional int32 zn_shareRawDataMemoryMode = 6;
  13637. if (cached_has_bits & 0x00000040u) {
  13638. target = stream->EnsureSpace(target);
  13639. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  13640. 6, this->_internal_zn_sharerawdatamemorymode(), target);
  13641. }
  13642. // optional string speakerTestFilePath = 7;
  13643. if (cached_has_bits & 0x00000004u) {
  13644. const std::string& _s = this->_internal_speakertestfilepath();
  13645. target = stream->WriteStringMaybeAliased(7, _s, target);
  13646. }
  13647. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  13648. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  13649. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  13650. }
  13651. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
  13652. return target;
  13653. }
  13654. ::size_t VideoSDKInitParams::ByteSizeLong() const {
  13655. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
  13656. ::size_t total_size = 0;
  13657. ::uint32_t cached_has_bits = 0;
  13658. // Prevent compiler warnings about cached_has_bits being unused
  13659. (void) cached_has_bits;
  13660. cached_has_bits = _impl_._has_bits_[0];
  13661. if (cached_has_bits & 0x0000007fu) {
  13662. // optional string domain = 1;
  13663. if (cached_has_bits & 0x00000001u) {
  13664. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  13665. this->_internal_domain());
  13666. }
  13667. // optional string logFilePrefix = 2;
  13668. if (cached_has_bits & 0x00000002u) {
  13669. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  13670. this->_internal_logfileprefix());
  13671. }
  13672. // optional string speakerTestFilePath = 7;
  13673. if (cached_has_bits & 0x00000004u) {
  13674. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  13675. this->_internal_speakertestfilepath());
  13676. }
  13677. // optional bool enableLog = 3;
  13678. if (cached_has_bits & 0x00000008u) {
  13679. total_size += 2;
  13680. }
  13681. // optional int32 audioRawDataMemoryMode = 4;
  13682. if (cached_has_bits & 0x00000010u) {
  13683. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  13684. this->_internal_audiorawdatamemorymode());
  13685. }
  13686. // optional int32 zn_videoRawDataMemoryMode = 5;
  13687. if (cached_has_bits & 0x00000020u) {
  13688. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  13689. this->_internal_zn_videorawdatamemorymode());
  13690. }
  13691. // optional int32 zn_shareRawDataMemoryMode = 6;
  13692. if (cached_has_bits & 0x00000040u) {
  13693. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  13694. this->_internal_zn_sharerawdatamemorymode());
  13695. }
  13696. }
  13697. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  13698. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  13699. }
  13700. int cached_size = ::_pbi::ToCachedSize(total_size);
  13701. SetCachedSize(cached_size);
  13702. return total_size;
  13703. }
  13704. void VideoSDKInitParams::CheckTypeAndMergeFrom(
  13705. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  13706. MergeFrom(*::_pbi::DownCast<const VideoSDKInitParams*>(
  13707. &from));
  13708. }
  13709. void VideoSDKInitParams::MergeFrom(const VideoSDKInitParams& from) {
  13710. VideoSDKInitParams* const _this = this;
  13711. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
  13712. ABSL_DCHECK_NE(&from, _this);
  13713. ::uint32_t cached_has_bits = 0;
  13714. (void) cached_has_bits;
  13715. cached_has_bits = from._impl_._has_bits_[0];
  13716. if (cached_has_bits & 0x0000007fu) {
  13717. if (cached_has_bits & 0x00000001u) {
  13718. _this->_internal_set_domain(from._internal_domain());
  13719. }
  13720. if (cached_has_bits & 0x00000002u) {
  13721. _this->_internal_set_logfileprefix(from._internal_logfileprefix());
  13722. }
  13723. if (cached_has_bits & 0x00000004u) {
  13724. _this->_internal_set_speakertestfilepath(from._internal_speakertestfilepath());
  13725. }
  13726. if (cached_has_bits & 0x00000008u) {
  13727. _this->_impl_.enablelog_ = from._impl_.enablelog_;
  13728. }
  13729. if (cached_has_bits & 0x00000010u) {
  13730. _this->_impl_.audiorawdatamemorymode_ = from._impl_.audiorawdatamemorymode_;
  13731. }
  13732. if (cached_has_bits & 0x00000020u) {
  13733. _this->_impl_.zn_videorawdatamemorymode_ = from._impl_.zn_videorawdatamemorymode_;
  13734. }
  13735. if (cached_has_bits & 0x00000040u) {
  13736. _this->_impl_.zn_sharerawdatamemorymode_ = from._impl_.zn_sharerawdatamemorymode_;
  13737. }
  13738. _this->_impl_._has_bits_[0] |= cached_has_bits;
  13739. }
  13740. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  13741. }
  13742. void VideoSDKInitParams::CopyFrom(const VideoSDKInitParams& from) {
  13743. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
  13744. if (&from == this) return;
  13745. Clear();
  13746. MergeFrom(from);
  13747. }
  13748. bool VideoSDKInitParams::IsInitialized() const {
  13749. return true;
  13750. }
  13751. void VideoSDKInitParams::InternalSwap(VideoSDKInitParams* other) {
  13752. using std::swap;
  13753. auto* lhs_arena = GetArenaForAllocation();
  13754. auto* rhs_arena = other->GetArenaForAllocation();
  13755. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  13756. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  13757. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.domain_, lhs_arena,
  13758. &other->_impl_.domain_, rhs_arena);
  13759. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.logfileprefix_, lhs_arena,
  13760. &other->_impl_.logfileprefix_, rhs_arena);
  13761. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.speakertestfilepath_, lhs_arena,
  13762. &other->_impl_.speakertestfilepath_, rhs_arena);
  13763. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  13764. PROTOBUF_FIELD_OFFSET(VideoSDKInitParams, _impl_.zn_sharerawdatamemorymode_)
  13765. + sizeof(VideoSDKInitParams::_impl_.zn_sharerawdatamemorymode_)
  13766. - PROTOBUF_FIELD_OFFSET(VideoSDKInitParams, _impl_.enablelog_)>(
  13767. reinterpret_cast<char*>(&_impl_.enablelog_),
  13768. reinterpret_cast<char*>(&other->_impl_.enablelog_));
  13769. }
  13770. std::string VideoSDKInitParams::GetTypeName() const {
  13771. return "com.electron.zoomvideo.sdk.proto.VideoSDKInitParams";
  13772. }
  13773. // ===================================================================
  13774. class VideoSDKSessionContext::_Internal {
  13775. public:
  13776. using HasBits = decltype(std::declval<VideoSDKSessionContext>()._impl_._has_bits_);
  13777. static constexpr ::int32_t kHasBitsOffset =
  13778. 8 * PROTOBUF_FIELD_OFFSET(VideoSDKSessionContext, _impl_._has_bits_);
  13779. static void set_has_sessionname(HasBits* has_bits) {
  13780. (*has_bits)[0] |= 1u;
  13781. }
  13782. static void set_has_sessionpassword(HasBits* has_bits) {
  13783. (*has_bits)[0] |= 2u;
  13784. }
  13785. static void set_has_token(HasBits* has_bits) {
  13786. (*has_bits)[0] |= 4u;
  13787. }
  13788. static void set_has_username(HasBits* has_bits) {
  13789. (*has_bits)[0] |= 8u;
  13790. }
  13791. static void set_has_localvideoon(HasBits* has_bits) {
  13792. (*has_bits)[0] |= 16u;
  13793. }
  13794. static void set_has_connect(HasBits* has_bits) {
  13795. (*has_bits)[0] |= 32u;
  13796. }
  13797. static void set_has_mute(HasBits* has_bits) {
  13798. (*has_bits)[0] |= 64u;
  13799. }
  13800. static void set_has_preprocessor(HasBits* has_bits) {
  13801. (*has_bits)[0] |= 128u;
  13802. }
  13803. static void set_has_externalvideosource(HasBits* has_bits) {
  13804. (*has_bits)[0] |= 256u;
  13805. }
  13806. static void set_has_sessionidletimeoutmins(HasBits* has_bits) {
  13807. (*has_bits)[0] |= 512u;
  13808. }
  13809. };
  13810. VideoSDKSessionContext::VideoSDKSessionContext(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  13811. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  13812. SharedCtor(arena);
  13813. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
  13814. }
  13815. VideoSDKSessionContext::VideoSDKSessionContext(const VideoSDKSessionContext& from)
  13816. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  13817. VideoSDKSessionContext* const _this = this; (void)_this;
  13818. new (&_impl_) Impl_{
  13819. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  13820. , /*decltype(_impl_._cached_size_)*/{}
  13821. , decltype(_impl_.sessionname_) {}
  13822. , decltype(_impl_.sessionpassword_) {}
  13823. , decltype(_impl_.token_) {}
  13824. , decltype(_impl_.username_) {}
  13825. , decltype(_impl_.localvideoon_) {}
  13826. , decltype(_impl_.connect_) {}
  13827. , decltype(_impl_.mute_) {}
  13828. , decltype(_impl_.preprocessor_) {}
  13829. , decltype(_impl_.externalvideosource_) {}
  13830. , decltype(_impl_.sessionidletimeoutmins_) {}
  13831. };
  13832. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  13833. _impl_.sessionname_.InitDefault();
  13834. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13835. _impl_.sessionname_.Set("", GetArenaForAllocation());
  13836. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13837. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  13838. _this->_impl_.sessionname_.Set(from._internal_sessionname(), _this->GetArenaForAllocation());
  13839. }
  13840. _impl_.sessionpassword_.InitDefault();
  13841. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13842. _impl_.sessionpassword_.Set("", GetArenaForAllocation());
  13843. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13844. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  13845. _this->_impl_.sessionpassword_.Set(from._internal_sessionpassword(), _this->GetArenaForAllocation());
  13846. }
  13847. _impl_.token_.InitDefault();
  13848. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13849. _impl_.token_.Set("", GetArenaForAllocation());
  13850. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13851. if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
  13852. _this->_impl_.token_.Set(from._internal_token(), _this->GetArenaForAllocation());
  13853. }
  13854. _impl_.username_.InitDefault();
  13855. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13856. _impl_.username_.Set("", GetArenaForAllocation());
  13857. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13858. if ((from._impl_._has_bits_[0] & 0x00000008u) != 0) {
  13859. _this->_impl_.username_.Set(from._internal_username(), _this->GetArenaForAllocation());
  13860. }
  13861. ::memcpy(&_impl_.localvideoon_, &from._impl_.localvideoon_,
  13862. static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.sessionidletimeoutmins_) -
  13863. reinterpret_cast<char*>(&_impl_.localvideoon_)) + sizeof(_impl_.sessionidletimeoutmins_));
  13864. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
  13865. }
  13866. inline void VideoSDKSessionContext::SharedCtor(::_pb::Arena* arena) {
  13867. (void)arena;
  13868. new (&_impl_) Impl_{
  13869. decltype(_impl_._has_bits_){}
  13870. , /*decltype(_impl_._cached_size_)*/{}
  13871. , decltype(_impl_.sessionname_) {}
  13872. , decltype(_impl_.sessionpassword_) {}
  13873. , decltype(_impl_.token_) {}
  13874. , decltype(_impl_.username_) {}
  13875. , decltype(_impl_.localvideoon_) { false }
  13876. , decltype(_impl_.connect_) { false }
  13877. , decltype(_impl_.mute_) { false }
  13878. , decltype(_impl_.preprocessor_) { false }
  13879. , decltype(_impl_.externalvideosource_) { false }
  13880. , decltype(_impl_.sessionidletimeoutmins_) { 0u }
  13881. };
  13882. _impl_.sessionname_.InitDefault();
  13883. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13884. _impl_.sessionname_.Set("", GetArenaForAllocation());
  13885. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13886. _impl_.sessionpassword_.InitDefault();
  13887. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13888. _impl_.sessionpassword_.Set("", GetArenaForAllocation());
  13889. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13890. _impl_.token_.InitDefault();
  13891. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13892. _impl_.token_.Set("", GetArenaForAllocation());
  13893. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13894. _impl_.username_.InitDefault();
  13895. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13896. _impl_.username_.Set("", GetArenaForAllocation());
  13897. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  13898. }
  13899. VideoSDKSessionContext::~VideoSDKSessionContext() {
  13900. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
  13901. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  13902. (void)arena;
  13903. return;
  13904. }
  13905. SharedDtor();
  13906. }
  13907. inline void VideoSDKSessionContext::SharedDtor() {
  13908. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  13909. _impl_.sessionname_.Destroy();
  13910. _impl_.sessionpassword_.Destroy();
  13911. _impl_.token_.Destroy();
  13912. _impl_.username_.Destroy();
  13913. }
  13914. void VideoSDKSessionContext::SetCachedSize(int size) const {
  13915. _impl_._cached_size_.Set(size);
  13916. }
  13917. void VideoSDKSessionContext::Clear() {
  13918. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
  13919. ::uint32_t cached_has_bits = 0;
  13920. // Prevent compiler warnings about cached_has_bits being unused
  13921. (void) cached_has_bits;
  13922. cached_has_bits = _impl_._has_bits_[0];
  13923. if (cached_has_bits & 0x0000000fu) {
  13924. if (cached_has_bits & 0x00000001u) {
  13925. _impl_.sessionname_.ClearNonDefaultToEmpty();
  13926. }
  13927. if (cached_has_bits & 0x00000002u) {
  13928. _impl_.sessionpassword_.ClearNonDefaultToEmpty();
  13929. }
  13930. if (cached_has_bits & 0x00000004u) {
  13931. _impl_.token_.ClearNonDefaultToEmpty();
  13932. }
  13933. if (cached_has_bits & 0x00000008u) {
  13934. _impl_.username_.ClearNonDefaultToEmpty();
  13935. }
  13936. }
  13937. if (cached_has_bits & 0x000000f0u) {
  13938. ::memset(&_impl_.localvideoon_, 0, static_cast<::size_t>(
  13939. reinterpret_cast<char*>(&_impl_.preprocessor_) -
  13940. reinterpret_cast<char*>(&_impl_.localvideoon_)) + sizeof(_impl_.preprocessor_));
  13941. }
  13942. if (cached_has_bits & 0x00000300u) {
  13943. ::memset(&_impl_.externalvideosource_, 0, static_cast<::size_t>(
  13944. reinterpret_cast<char*>(&_impl_.sessionidletimeoutmins_) -
  13945. reinterpret_cast<char*>(&_impl_.externalvideosource_)) + sizeof(_impl_.sessionidletimeoutmins_));
  13946. }
  13947. _impl_._has_bits_.Clear();
  13948. _internal_metadata_.Clear<std::string>();
  13949. }
  13950. const char* VideoSDKSessionContext::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  13951. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  13952. _Internal::HasBits has_bits{};
  13953. while (!ctx->Done(&ptr)) {
  13954. ::uint32_t tag;
  13955. ptr = ::_pbi::ReadTag(ptr, &tag);
  13956. switch (tag >> 3) {
  13957. // optional string sessionName = 1;
  13958. case 1:
  13959. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  13960. auto str = _internal_mutable_sessionname();
  13961. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  13962. CHK_(ptr);
  13963. } else {
  13964. goto handle_unusual;
  13965. }
  13966. continue;
  13967. // optional string sessionPassword = 2;
  13968. case 2:
  13969. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  13970. auto str = _internal_mutable_sessionpassword();
  13971. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  13972. CHK_(ptr);
  13973. } else {
  13974. goto handle_unusual;
  13975. }
  13976. continue;
  13977. // optional string token = 3;
  13978. case 3:
  13979. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
  13980. auto str = _internal_mutable_token();
  13981. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  13982. CHK_(ptr);
  13983. } else {
  13984. goto handle_unusual;
  13985. }
  13986. continue;
  13987. // optional string userName = 4;
  13988. case 4:
  13989. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
  13990. auto str = _internal_mutable_username();
  13991. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  13992. CHK_(ptr);
  13993. } else {
  13994. goto handle_unusual;
  13995. }
  13996. continue;
  13997. // optional bool localVideoOn = 5;
  13998. case 5:
  13999. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
  14000. _Internal::set_has_localvideoon(&has_bits);
  14001. _impl_.localvideoon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  14002. CHK_(ptr);
  14003. } else {
  14004. goto handle_unusual;
  14005. }
  14006. continue;
  14007. // optional bool connect = 6;
  14008. case 6:
  14009. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
  14010. _Internal::set_has_connect(&has_bits);
  14011. _impl_.connect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  14012. CHK_(ptr);
  14013. } else {
  14014. goto handle_unusual;
  14015. }
  14016. continue;
  14017. // optional bool mute = 7;
  14018. case 7:
  14019. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
  14020. _Internal::set_has_mute(&has_bits);
  14021. _impl_.mute_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  14022. CHK_(ptr);
  14023. } else {
  14024. goto handle_unusual;
  14025. }
  14026. continue;
  14027. // optional bool preProcessor = 8;
  14028. case 8:
  14029. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
  14030. _Internal::set_has_preprocessor(&has_bits);
  14031. _impl_.preprocessor_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  14032. CHK_(ptr);
  14033. } else {
  14034. goto handle_unusual;
  14035. }
  14036. continue;
  14037. // optional bool externalVideoSource = 9;
  14038. case 9:
  14039. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
  14040. _Internal::set_has_externalvideosource(&has_bits);
  14041. _impl_.externalvideosource_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  14042. CHK_(ptr);
  14043. } else {
  14044. goto handle_unusual;
  14045. }
  14046. continue;
  14047. // optional uint32 sessionIdleTimeoutMins = 10;
  14048. case 10:
  14049. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
  14050. _Internal::set_has_sessionidletimeoutmins(&has_bits);
  14051. _impl_.sessionidletimeoutmins_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  14052. CHK_(ptr);
  14053. } else {
  14054. goto handle_unusual;
  14055. }
  14056. continue;
  14057. default:
  14058. goto handle_unusual;
  14059. } // switch
  14060. handle_unusual:
  14061. if ((tag == 0) || ((tag & 7) == 4)) {
  14062. CHK_(ptr);
  14063. ctx->SetLastTag(tag);
  14064. goto message_done;
  14065. }
  14066. ptr = UnknownFieldParse(
  14067. tag,
  14068. _internal_metadata_.mutable_unknown_fields<std::string>(),
  14069. ptr, ctx);
  14070. CHK_(ptr != nullptr);
  14071. } // while
  14072. message_done:
  14073. _impl_._has_bits_.Or(has_bits);
  14074. return ptr;
  14075. failure:
  14076. ptr = nullptr;
  14077. goto message_done;
  14078. #undef CHK_
  14079. }
  14080. ::uint8_t* VideoSDKSessionContext::_InternalSerialize(
  14081. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  14082. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
  14083. ::uint32_t cached_has_bits = 0;
  14084. (void) cached_has_bits;
  14085. cached_has_bits = _impl_._has_bits_[0];
  14086. // optional string sessionName = 1;
  14087. if (cached_has_bits & 0x00000001u) {
  14088. const std::string& _s = this->_internal_sessionname();
  14089. target = stream->WriteStringMaybeAliased(1, _s, target);
  14090. }
  14091. // optional string sessionPassword = 2;
  14092. if (cached_has_bits & 0x00000002u) {
  14093. const std::string& _s = this->_internal_sessionpassword();
  14094. target = stream->WriteStringMaybeAliased(2, _s, target);
  14095. }
  14096. // optional string token = 3;
  14097. if (cached_has_bits & 0x00000004u) {
  14098. const std::string& _s = this->_internal_token();
  14099. target = stream->WriteStringMaybeAliased(3, _s, target);
  14100. }
  14101. // optional string userName = 4;
  14102. if (cached_has_bits & 0x00000008u) {
  14103. const std::string& _s = this->_internal_username();
  14104. target = stream->WriteStringMaybeAliased(4, _s, target);
  14105. }
  14106. // optional bool localVideoOn = 5;
  14107. if (cached_has_bits & 0x00000010u) {
  14108. target = stream->EnsureSpace(target);
  14109. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  14110. 5, this->_internal_localvideoon(), target);
  14111. }
  14112. // optional bool connect = 6;
  14113. if (cached_has_bits & 0x00000020u) {
  14114. target = stream->EnsureSpace(target);
  14115. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  14116. 6, this->_internal_connect(), target);
  14117. }
  14118. // optional bool mute = 7;
  14119. if (cached_has_bits & 0x00000040u) {
  14120. target = stream->EnsureSpace(target);
  14121. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  14122. 7, this->_internal_mute(), target);
  14123. }
  14124. // optional bool preProcessor = 8;
  14125. if (cached_has_bits & 0x00000080u) {
  14126. target = stream->EnsureSpace(target);
  14127. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  14128. 8, this->_internal_preprocessor(), target);
  14129. }
  14130. // optional bool externalVideoSource = 9;
  14131. if (cached_has_bits & 0x00000100u) {
  14132. target = stream->EnsureSpace(target);
  14133. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  14134. 9, this->_internal_externalvideosource(), target);
  14135. }
  14136. // optional uint32 sessionIdleTimeoutMins = 10;
  14137. if (cached_has_bits & 0x00000200u) {
  14138. target = stream->EnsureSpace(target);
  14139. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  14140. 10, this->_internal_sessionidletimeoutmins(), target);
  14141. }
  14142. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  14143. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  14144. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  14145. }
  14146. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
  14147. return target;
  14148. }
  14149. ::size_t VideoSDKSessionContext::ByteSizeLong() const {
  14150. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
  14151. ::size_t total_size = 0;
  14152. ::uint32_t cached_has_bits = 0;
  14153. // Prevent compiler warnings about cached_has_bits being unused
  14154. (void) cached_has_bits;
  14155. cached_has_bits = _impl_._has_bits_[0];
  14156. if (cached_has_bits & 0x000000ffu) {
  14157. // optional string sessionName = 1;
  14158. if (cached_has_bits & 0x00000001u) {
  14159. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  14160. this->_internal_sessionname());
  14161. }
  14162. // optional string sessionPassword = 2;
  14163. if (cached_has_bits & 0x00000002u) {
  14164. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  14165. this->_internal_sessionpassword());
  14166. }
  14167. // optional string token = 3;
  14168. if (cached_has_bits & 0x00000004u) {
  14169. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  14170. this->_internal_token());
  14171. }
  14172. // optional string userName = 4;
  14173. if (cached_has_bits & 0x00000008u) {
  14174. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  14175. this->_internal_username());
  14176. }
  14177. // optional bool localVideoOn = 5;
  14178. if (cached_has_bits & 0x00000010u) {
  14179. total_size += 2;
  14180. }
  14181. // optional bool connect = 6;
  14182. if (cached_has_bits & 0x00000020u) {
  14183. total_size += 2;
  14184. }
  14185. // optional bool mute = 7;
  14186. if (cached_has_bits & 0x00000040u) {
  14187. total_size += 2;
  14188. }
  14189. // optional bool preProcessor = 8;
  14190. if (cached_has_bits & 0x00000080u) {
  14191. total_size += 2;
  14192. }
  14193. }
  14194. if (cached_has_bits & 0x00000300u) {
  14195. // optional bool externalVideoSource = 9;
  14196. if (cached_has_bits & 0x00000100u) {
  14197. total_size += 2;
  14198. }
  14199. // optional uint32 sessionIdleTimeoutMins = 10;
  14200. if (cached_has_bits & 0x00000200u) {
  14201. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  14202. this->_internal_sessionidletimeoutmins());
  14203. }
  14204. }
  14205. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  14206. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  14207. }
  14208. int cached_size = ::_pbi::ToCachedSize(total_size);
  14209. SetCachedSize(cached_size);
  14210. return total_size;
  14211. }
  14212. void VideoSDKSessionContext::CheckTypeAndMergeFrom(
  14213. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  14214. MergeFrom(*::_pbi::DownCast<const VideoSDKSessionContext*>(
  14215. &from));
  14216. }
  14217. void VideoSDKSessionContext::MergeFrom(const VideoSDKSessionContext& from) {
  14218. VideoSDKSessionContext* const _this = this;
  14219. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
  14220. ABSL_DCHECK_NE(&from, _this);
  14221. ::uint32_t cached_has_bits = 0;
  14222. (void) cached_has_bits;
  14223. cached_has_bits = from._impl_._has_bits_[0];
  14224. if (cached_has_bits & 0x000000ffu) {
  14225. if (cached_has_bits & 0x00000001u) {
  14226. _this->_internal_set_sessionname(from._internal_sessionname());
  14227. }
  14228. if (cached_has_bits & 0x00000002u) {
  14229. _this->_internal_set_sessionpassword(from._internal_sessionpassword());
  14230. }
  14231. if (cached_has_bits & 0x00000004u) {
  14232. _this->_internal_set_token(from._internal_token());
  14233. }
  14234. if (cached_has_bits & 0x00000008u) {
  14235. _this->_internal_set_username(from._internal_username());
  14236. }
  14237. if (cached_has_bits & 0x00000010u) {
  14238. _this->_impl_.localvideoon_ = from._impl_.localvideoon_;
  14239. }
  14240. if (cached_has_bits & 0x00000020u) {
  14241. _this->_impl_.connect_ = from._impl_.connect_;
  14242. }
  14243. if (cached_has_bits & 0x00000040u) {
  14244. _this->_impl_.mute_ = from._impl_.mute_;
  14245. }
  14246. if (cached_has_bits & 0x00000080u) {
  14247. _this->_impl_.preprocessor_ = from._impl_.preprocessor_;
  14248. }
  14249. _this->_impl_._has_bits_[0] |= cached_has_bits;
  14250. }
  14251. if (cached_has_bits & 0x00000300u) {
  14252. if (cached_has_bits & 0x00000100u) {
  14253. _this->_impl_.externalvideosource_ = from._impl_.externalvideosource_;
  14254. }
  14255. if (cached_has_bits & 0x00000200u) {
  14256. _this->_impl_.sessionidletimeoutmins_ = from._impl_.sessionidletimeoutmins_;
  14257. }
  14258. _this->_impl_._has_bits_[0] |= cached_has_bits;
  14259. }
  14260. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  14261. }
  14262. void VideoSDKSessionContext::CopyFrom(const VideoSDKSessionContext& from) {
  14263. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
  14264. if (&from == this) return;
  14265. Clear();
  14266. MergeFrom(from);
  14267. }
  14268. bool VideoSDKSessionContext::IsInitialized() const {
  14269. return true;
  14270. }
  14271. void VideoSDKSessionContext::InternalSwap(VideoSDKSessionContext* other) {
  14272. using std::swap;
  14273. auto* lhs_arena = GetArenaForAllocation();
  14274. auto* rhs_arena = other->GetArenaForAllocation();
  14275. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  14276. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  14277. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.sessionname_, lhs_arena,
  14278. &other->_impl_.sessionname_, rhs_arena);
  14279. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.sessionpassword_, lhs_arena,
  14280. &other->_impl_.sessionpassword_, rhs_arena);
  14281. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.token_, lhs_arena,
  14282. &other->_impl_.token_, rhs_arena);
  14283. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.username_, lhs_arena,
  14284. &other->_impl_.username_, rhs_arena);
  14285. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  14286. PROTOBUF_FIELD_OFFSET(VideoSDKSessionContext, _impl_.sessionidletimeoutmins_)
  14287. + sizeof(VideoSDKSessionContext::_impl_.sessionidletimeoutmins_)
  14288. - PROTOBUF_FIELD_OFFSET(VideoSDKSessionContext, _impl_.localvideoon_)>(
  14289. reinterpret_cast<char*>(&_impl_.localvideoon_),
  14290. reinterpret_cast<char*>(&other->_impl_.localvideoon_));
  14291. }
  14292. std::string VideoSDKSessionContext::GetTypeName() const {
  14293. return "com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext";
  14294. }
  14295. // ===================================================================
  14296. class LeaveSessionParams::_Internal {
  14297. public:
  14298. using HasBits = decltype(std::declval<LeaveSessionParams>()._impl_._has_bits_);
  14299. static constexpr ::int32_t kHasBitsOffset =
  14300. 8 * PROTOBUF_FIELD_OFFSET(LeaveSessionParams, _impl_._has_bits_);
  14301. static void set_has_zn_bend(HasBits* has_bits) {
  14302. (*has_bits)[0] |= 1u;
  14303. }
  14304. };
  14305. LeaveSessionParams::LeaveSessionParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  14306. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  14307. SharedCtor(arena);
  14308. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
  14309. }
  14310. LeaveSessionParams::LeaveSessionParams(const LeaveSessionParams& from)
  14311. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  14312. _internal_metadata_.MergeFrom<std::string>(
  14313. from._internal_metadata_);
  14314. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
  14315. }
  14316. inline void LeaveSessionParams::SharedCtor(::_pb::Arena* arena) {
  14317. (void)arena;
  14318. new (&_impl_) Impl_{
  14319. decltype(_impl_._has_bits_){}
  14320. , /*decltype(_impl_._cached_size_)*/{}
  14321. , decltype(_impl_.zn_bend_) { false }
  14322. };
  14323. }
  14324. LeaveSessionParams::~LeaveSessionParams() {
  14325. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
  14326. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  14327. (void)arena;
  14328. return;
  14329. }
  14330. SharedDtor();
  14331. }
  14332. inline void LeaveSessionParams::SharedDtor() {
  14333. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  14334. }
  14335. void LeaveSessionParams::SetCachedSize(int size) const {
  14336. _impl_._cached_size_.Set(size);
  14337. }
  14338. void LeaveSessionParams::Clear() {
  14339. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
  14340. ::uint32_t cached_has_bits = 0;
  14341. // Prevent compiler warnings about cached_has_bits being unused
  14342. (void) cached_has_bits;
  14343. _impl_.zn_bend_ = false;
  14344. _impl_._has_bits_.Clear();
  14345. _internal_metadata_.Clear<std::string>();
  14346. }
  14347. const char* LeaveSessionParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  14348. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  14349. _Internal::HasBits has_bits{};
  14350. while (!ctx->Done(&ptr)) {
  14351. ::uint32_t tag;
  14352. ptr = ::_pbi::ReadTag(ptr, &tag);
  14353. switch (tag >> 3) {
  14354. // optional bool zn_bEnd = 1;
  14355. case 1:
  14356. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  14357. _Internal::set_has_zn_bend(&has_bits);
  14358. _impl_.zn_bend_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  14359. CHK_(ptr);
  14360. } else {
  14361. goto handle_unusual;
  14362. }
  14363. continue;
  14364. default:
  14365. goto handle_unusual;
  14366. } // switch
  14367. handle_unusual:
  14368. if ((tag == 0) || ((tag & 7) == 4)) {
  14369. CHK_(ptr);
  14370. ctx->SetLastTag(tag);
  14371. goto message_done;
  14372. }
  14373. ptr = UnknownFieldParse(
  14374. tag,
  14375. _internal_metadata_.mutable_unknown_fields<std::string>(),
  14376. ptr, ctx);
  14377. CHK_(ptr != nullptr);
  14378. } // while
  14379. message_done:
  14380. _impl_._has_bits_.Or(has_bits);
  14381. return ptr;
  14382. failure:
  14383. ptr = nullptr;
  14384. goto message_done;
  14385. #undef CHK_
  14386. }
  14387. ::uint8_t* LeaveSessionParams::_InternalSerialize(
  14388. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  14389. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
  14390. ::uint32_t cached_has_bits = 0;
  14391. (void) cached_has_bits;
  14392. cached_has_bits = _impl_._has_bits_[0];
  14393. // optional bool zn_bEnd = 1;
  14394. if (cached_has_bits & 0x00000001u) {
  14395. target = stream->EnsureSpace(target);
  14396. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  14397. 1, this->_internal_zn_bend(), target);
  14398. }
  14399. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  14400. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  14401. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  14402. }
  14403. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
  14404. return target;
  14405. }
  14406. ::size_t LeaveSessionParams::ByteSizeLong() const {
  14407. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
  14408. ::size_t total_size = 0;
  14409. ::uint32_t cached_has_bits = 0;
  14410. // Prevent compiler warnings about cached_has_bits being unused
  14411. (void) cached_has_bits;
  14412. // optional bool zn_bEnd = 1;
  14413. cached_has_bits = _impl_._has_bits_[0];
  14414. if (cached_has_bits & 0x00000001u) {
  14415. total_size += 2;
  14416. }
  14417. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  14418. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  14419. }
  14420. int cached_size = ::_pbi::ToCachedSize(total_size);
  14421. SetCachedSize(cached_size);
  14422. return total_size;
  14423. }
  14424. void LeaveSessionParams::CheckTypeAndMergeFrom(
  14425. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  14426. MergeFrom(*::_pbi::DownCast<const LeaveSessionParams*>(
  14427. &from));
  14428. }
  14429. void LeaveSessionParams::MergeFrom(const LeaveSessionParams& from) {
  14430. LeaveSessionParams* const _this = this;
  14431. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
  14432. ABSL_DCHECK_NE(&from, _this);
  14433. ::uint32_t cached_has_bits = 0;
  14434. (void) cached_has_bits;
  14435. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  14436. _this->_internal_set_zn_bend(from._internal_zn_bend());
  14437. }
  14438. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  14439. }
  14440. void LeaveSessionParams::CopyFrom(const LeaveSessionParams& from) {
  14441. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
  14442. if (&from == this) return;
  14443. Clear();
  14444. MergeFrom(from);
  14445. }
  14446. bool LeaveSessionParams::IsInitialized() const {
  14447. return true;
  14448. }
  14449. void LeaveSessionParams::InternalSwap(LeaveSessionParams* other) {
  14450. using std::swap;
  14451. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  14452. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  14453. swap(_impl_.zn_bend_, other->_impl_.zn_bend_);
  14454. }
  14455. std::string LeaveSessionParams::GetTypeName() const {
  14456. return "com.electron.zoomvideo.sdk.proto.LeaveSessionParams";
  14457. }
  14458. // ===================================================================
  14459. class SessionPasswordParams::_Internal {
  14460. public:
  14461. using HasBits = decltype(std::declval<SessionPasswordParams>()._impl_._has_bits_);
  14462. static constexpr ::int32_t kHasBitsOffset =
  14463. 8 * PROTOBUF_FIELD_OFFSET(SessionPasswordParams, _impl_._has_bits_);
  14464. static void set_has_zn_password(HasBits* has_bits) {
  14465. (*has_bits)[0] |= 1u;
  14466. }
  14467. };
  14468. SessionPasswordParams::SessionPasswordParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  14469. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  14470. SharedCtor(arena);
  14471. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
  14472. }
  14473. SessionPasswordParams::SessionPasswordParams(const SessionPasswordParams& from)
  14474. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  14475. SessionPasswordParams* const _this = this; (void)_this;
  14476. new (&_impl_) Impl_{
  14477. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  14478. , /*decltype(_impl_._cached_size_)*/{}
  14479. , decltype(_impl_.zn_password_) {}
  14480. };
  14481. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  14482. _impl_.zn_password_.InitDefault();
  14483. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  14484. _impl_.zn_password_.Set("", GetArenaForAllocation());
  14485. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  14486. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  14487. _this->_impl_.zn_password_.Set(from._internal_zn_password(), _this->GetArenaForAllocation());
  14488. }
  14489. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
  14490. }
  14491. inline void SessionPasswordParams::SharedCtor(::_pb::Arena* arena) {
  14492. (void)arena;
  14493. new (&_impl_) Impl_{
  14494. decltype(_impl_._has_bits_){}
  14495. , /*decltype(_impl_._cached_size_)*/{}
  14496. , decltype(_impl_.zn_password_) {}
  14497. };
  14498. _impl_.zn_password_.InitDefault();
  14499. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  14500. _impl_.zn_password_.Set("", GetArenaForAllocation());
  14501. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  14502. }
  14503. SessionPasswordParams::~SessionPasswordParams() {
  14504. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
  14505. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  14506. (void)arena;
  14507. return;
  14508. }
  14509. SharedDtor();
  14510. }
  14511. inline void SessionPasswordParams::SharedDtor() {
  14512. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  14513. _impl_.zn_password_.Destroy();
  14514. }
  14515. void SessionPasswordParams::SetCachedSize(int size) const {
  14516. _impl_._cached_size_.Set(size);
  14517. }
  14518. void SessionPasswordParams::Clear() {
  14519. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
  14520. ::uint32_t cached_has_bits = 0;
  14521. // Prevent compiler warnings about cached_has_bits being unused
  14522. (void) cached_has_bits;
  14523. cached_has_bits = _impl_._has_bits_[0];
  14524. if (cached_has_bits & 0x00000001u) {
  14525. _impl_.zn_password_.ClearNonDefaultToEmpty();
  14526. }
  14527. _impl_._has_bits_.Clear();
  14528. _internal_metadata_.Clear<std::string>();
  14529. }
  14530. const char* SessionPasswordParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  14531. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  14532. _Internal::HasBits has_bits{};
  14533. while (!ctx->Done(&ptr)) {
  14534. ::uint32_t tag;
  14535. ptr = ::_pbi::ReadTag(ptr, &tag);
  14536. switch (tag >> 3) {
  14537. // optional string zn_password = 1;
  14538. case 1:
  14539. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  14540. auto str = _internal_mutable_zn_password();
  14541. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  14542. CHK_(ptr);
  14543. } else {
  14544. goto handle_unusual;
  14545. }
  14546. continue;
  14547. default:
  14548. goto handle_unusual;
  14549. } // switch
  14550. handle_unusual:
  14551. if ((tag == 0) || ((tag & 7) == 4)) {
  14552. CHK_(ptr);
  14553. ctx->SetLastTag(tag);
  14554. goto message_done;
  14555. }
  14556. ptr = UnknownFieldParse(
  14557. tag,
  14558. _internal_metadata_.mutable_unknown_fields<std::string>(),
  14559. ptr, ctx);
  14560. CHK_(ptr != nullptr);
  14561. } // while
  14562. message_done:
  14563. _impl_._has_bits_.Or(has_bits);
  14564. return ptr;
  14565. failure:
  14566. ptr = nullptr;
  14567. goto message_done;
  14568. #undef CHK_
  14569. }
  14570. ::uint8_t* SessionPasswordParams::_InternalSerialize(
  14571. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  14572. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
  14573. ::uint32_t cached_has_bits = 0;
  14574. (void) cached_has_bits;
  14575. cached_has_bits = _impl_._has_bits_[0];
  14576. // optional string zn_password = 1;
  14577. if (cached_has_bits & 0x00000001u) {
  14578. const std::string& _s = this->_internal_zn_password();
  14579. target = stream->WriteStringMaybeAliased(1, _s, target);
  14580. }
  14581. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  14582. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  14583. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  14584. }
  14585. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
  14586. return target;
  14587. }
  14588. ::size_t SessionPasswordParams::ByteSizeLong() const {
  14589. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
  14590. ::size_t total_size = 0;
  14591. ::uint32_t cached_has_bits = 0;
  14592. // Prevent compiler warnings about cached_has_bits being unused
  14593. (void) cached_has_bits;
  14594. // optional string zn_password = 1;
  14595. cached_has_bits = _impl_._has_bits_[0];
  14596. if (cached_has_bits & 0x00000001u) {
  14597. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  14598. this->_internal_zn_password());
  14599. }
  14600. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  14601. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  14602. }
  14603. int cached_size = ::_pbi::ToCachedSize(total_size);
  14604. SetCachedSize(cached_size);
  14605. return total_size;
  14606. }
  14607. void SessionPasswordParams::CheckTypeAndMergeFrom(
  14608. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  14609. MergeFrom(*::_pbi::DownCast<const SessionPasswordParams*>(
  14610. &from));
  14611. }
  14612. void SessionPasswordParams::MergeFrom(const SessionPasswordParams& from) {
  14613. SessionPasswordParams* const _this = this;
  14614. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
  14615. ABSL_DCHECK_NE(&from, _this);
  14616. ::uint32_t cached_has_bits = 0;
  14617. (void) cached_has_bits;
  14618. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  14619. _this->_internal_set_zn_password(from._internal_zn_password());
  14620. }
  14621. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  14622. }
  14623. void SessionPasswordParams::CopyFrom(const SessionPasswordParams& from) {
  14624. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
  14625. if (&from == this) return;
  14626. Clear();
  14627. MergeFrom(from);
  14628. }
  14629. bool SessionPasswordParams::IsInitialized() const {
  14630. return true;
  14631. }
  14632. void SessionPasswordParams::InternalSwap(SessionPasswordParams* other) {
  14633. using std::swap;
  14634. auto* lhs_arena = GetArenaForAllocation();
  14635. auto* rhs_arena = other->GetArenaForAllocation();
  14636. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  14637. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  14638. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_password_, lhs_arena,
  14639. &other->_impl_.zn_password_, rhs_arena);
  14640. }
  14641. std::string SessionPasswordParams::GetTypeName() const {
  14642. return "com.electron.zoomvideo.sdk.proto.SessionPasswordParams";
  14643. }
  14644. // ===================================================================
  14645. class MuteAudioParams::_Internal {
  14646. public:
  14647. using HasBits = decltype(std::declval<MuteAudioParams>()._impl_._has_bits_);
  14648. static constexpr ::int32_t kHasBitsOffset =
  14649. 8 * PROTOBUF_FIELD_OFFSET(MuteAudioParams, _impl_._has_bits_);
  14650. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const MuteAudioParams* msg);
  14651. static void set_has_user(HasBits* has_bits) {
  14652. (*has_bits)[0] |= 1u;
  14653. }
  14654. };
  14655. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  14656. MuteAudioParams::_Internal::user(const MuteAudioParams* msg) {
  14657. return *msg->_impl_.user_;
  14658. }
  14659. MuteAudioParams::MuteAudioParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  14660. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  14661. SharedCtor(arena);
  14662. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
  14663. }
  14664. MuteAudioParams::MuteAudioParams(const MuteAudioParams& from)
  14665. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  14666. MuteAudioParams* const _this = this; (void)_this;
  14667. new (&_impl_) Impl_{
  14668. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  14669. , /*decltype(_impl_._cached_size_)*/{}
  14670. , decltype(_impl_.user_){nullptr}};
  14671. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  14672. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  14673. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  14674. }
  14675. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
  14676. }
  14677. inline void MuteAudioParams::SharedCtor(::_pb::Arena* arena) {
  14678. (void)arena;
  14679. new (&_impl_) Impl_{
  14680. decltype(_impl_._has_bits_){}
  14681. , /*decltype(_impl_._cached_size_)*/{}
  14682. , decltype(_impl_.user_){nullptr}
  14683. };
  14684. }
  14685. MuteAudioParams::~MuteAudioParams() {
  14686. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
  14687. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  14688. (void)arena;
  14689. return;
  14690. }
  14691. SharedDtor();
  14692. }
  14693. inline void MuteAudioParams::SharedDtor() {
  14694. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  14695. if (this != internal_default_instance()) delete _impl_.user_;
  14696. }
  14697. void MuteAudioParams::SetCachedSize(int size) const {
  14698. _impl_._cached_size_.Set(size);
  14699. }
  14700. void MuteAudioParams::Clear() {
  14701. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
  14702. ::uint32_t cached_has_bits = 0;
  14703. // Prevent compiler warnings about cached_has_bits being unused
  14704. (void) cached_has_bits;
  14705. cached_has_bits = _impl_._has_bits_[0];
  14706. if (cached_has_bits & 0x00000001u) {
  14707. ABSL_DCHECK(_impl_.user_ != nullptr);
  14708. _impl_.user_->Clear();
  14709. }
  14710. _impl_._has_bits_.Clear();
  14711. _internal_metadata_.Clear<std::string>();
  14712. }
  14713. const char* MuteAudioParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  14714. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  14715. _Internal::HasBits has_bits{};
  14716. while (!ctx->Done(&ptr)) {
  14717. ::uint32_t tag;
  14718. ptr = ::_pbi::ReadTag(ptr, &tag);
  14719. switch (tag >> 3) {
  14720. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  14721. case 1:
  14722. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  14723. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  14724. CHK_(ptr);
  14725. } else {
  14726. goto handle_unusual;
  14727. }
  14728. continue;
  14729. default:
  14730. goto handle_unusual;
  14731. } // switch
  14732. handle_unusual:
  14733. if ((tag == 0) || ((tag & 7) == 4)) {
  14734. CHK_(ptr);
  14735. ctx->SetLastTag(tag);
  14736. goto message_done;
  14737. }
  14738. ptr = UnknownFieldParse(
  14739. tag,
  14740. _internal_metadata_.mutable_unknown_fields<std::string>(),
  14741. ptr, ctx);
  14742. CHK_(ptr != nullptr);
  14743. } // while
  14744. message_done:
  14745. _impl_._has_bits_.Or(has_bits);
  14746. return ptr;
  14747. failure:
  14748. ptr = nullptr;
  14749. goto message_done;
  14750. #undef CHK_
  14751. }
  14752. ::uint8_t* MuteAudioParams::_InternalSerialize(
  14753. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  14754. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
  14755. ::uint32_t cached_has_bits = 0;
  14756. (void) cached_has_bits;
  14757. cached_has_bits = _impl_._has_bits_[0];
  14758. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  14759. if (cached_has_bits & 0x00000001u) {
  14760. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  14761. InternalWriteMessage(1, _Internal::user(this),
  14762. _Internal::user(this).GetCachedSize(), target, stream);
  14763. }
  14764. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  14765. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  14766. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  14767. }
  14768. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
  14769. return target;
  14770. }
  14771. ::size_t MuteAudioParams::ByteSizeLong() const {
  14772. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
  14773. ::size_t total_size = 0;
  14774. ::uint32_t cached_has_bits = 0;
  14775. // Prevent compiler warnings about cached_has_bits being unused
  14776. (void) cached_has_bits;
  14777. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  14778. cached_has_bits = _impl_._has_bits_[0];
  14779. if (cached_has_bits & 0x00000001u) {
  14780. total_size += 1 +
  14781. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  14782. *_impl_.user_);
  14783. }
  14784. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  14785. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  14786. }
  14787. int cached_size = ::_pbi::ToCachedSize(total_size);
  14788. SetCachedSize(cached_size);
  14789. return total_size;
  14790. }
  14791. void MuteAudioParams::CheckTypeAndMergeFrom(
  14792. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  14793. MergeFrom(*::_pbi::DownCast<const MuteAudioParams*>(
  14794. &from));
  14795. }
  14796. void MuteAudioParams::MergeFrom(const MuteAudioParams& from) {
  14797. MuteAudioParams* const _this = this;
  14798. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
  14799. ABSL_DCHECK_NE(&from, _this);
  14800. ::uint32_t cached_has_bits = 0;
  14801. (void) cached_has_bits;
  14802. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  14803. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  14804. from._internal_user());
  14805. }
  14806. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  14807. }
  14808. void MuteAudioParams::CopyFrom(const MuteAudioParams& from) {
  14809. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
  14810. if (&from == this) return;
  14811. Clear();
  14812. MergeFrom(from);
  14813. }
  14814. bool MuteAudioParams::IsInitialized() const {
  14815. return true;
  14816. }
  14817. void MuteAudioParams::InternalSwap(MuteAudioParams* other) {
  14818. using std::swap;
  14819. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  14820. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  14821. swap(_impl_.user_, other->_impl_.user_);
  14822. }
  14823. std::string MuteAudioParams::GetTypeName() const {
  14824. return "com.electron.zoomvideo.sdk.proto.MuteAudioParams";
  14825. }
  14826. // ===================================================================
  14827. class UnMuteAudioParams::_Internal {
  14828. public:
  14829. using HasBits = decltype(std::declval<UnMuteAudioParams>()._impl_._has_bits_);
  14830. static constexpr ::int32_t kHasBitsOffset =
  14831. 8 * PROTOBUF_FIELD_OFFSET(UnMuteAudioParams, _impl_._has_bits_);
  14832. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const UnMuteAudioParams* msg);
  14833. static void set_has_user(HasBits* has_bits) {
  14834. (*has_bits)[0] |= 1u;
  14835. }
  14836. };
  14837. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  14838. UnMuteAudioParams::_Internal::user(const UnMuteAudioParams* msg) {
  14839. return *msg->_impl_.user_;
  14840. }
  14841. UnMuteAudioParams::UnMuteAudioParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  14842. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  14843. SharedCtor(arena);
  14844. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
  14845. }
  14846. UnMuteAudioParams::UnMuteAudioParams(const UnMuteAudioParams& from)
  14847. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  14848. UnMuteAudioParams* const _this = this; (void)_this;
  14849. new (&_impl_) Impl_{
  14850. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  14851. , /*decltype(_impl_._cached_size_)*/{}
  14852. , decltype(_impl_.user_){nullptr}};
  14853. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  14854. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  14855. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  14856. }
  14857. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
  14858. }
  14859. inline void UnMuteAudioParams::SharedCtor(::_pb::Arena* arena) {
  14860. (void)arena;
  14861. new (&_impl_) Impl_{
  14862. decltype(_impl_._has_bits_){}
  14863. , /*decltype(_impl_._cached_size_)*/{}
  14864. , decltype(_impl_.user_){nullptr}
  14865. };
  14866. }
  14867. UnMuteAudioParams::~UnMuteAudioParams() {
  14868. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
  14869. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  14870. (void)arena;
  14871. return;
  14872. }
  14873. SharedDtor();
  14874. }
  14875. inline void UnMuteAudioParams::SharedDtor() {
  14876. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  14877. if (this != internal_default_instance()) delete _impl_.user_;
  14878. }
  14879. void UnMuteAudioParams::SetCachedSize(int size) const {
  14880. _impl_._cached_size_.Set(size);
  14881. }
  14882. void UnMuteAudioParams::Clear() {
  14883. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
  14884. ::uint32_t cached_has_bits = 0;
  14885. // Prevent compiler warnings about cached_has_bits being unused
  14886. (void) cached_has_bits;
  14887. cached_has_bits = _impl_._has_bits_[0];
  14888. if (cached_has_bits & 0x00000001u) {
  14889. ABSL_DCHECK(_impl_.user_ != nullptr);
  14890. _impl_.user_->Clear();
  14891. }
  14892. _impl_._has_bits_.Clear();
  14893. _internal_metadata_.Clear<std::string>();
  14894. }
  14895. const char* UnMuteAudioParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  14896. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  14897. _Internal::HasBits has_bits{};
  14898. while (!ctx->Done(&ptr)) {
  14899. ::uint32_t tag;
  14900. ptr = ::_pbi::ReadTag(ptr, &tag);
  14901. switch (tag >> 3) {
  14902. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  14903. case 1:
  14904. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  14905. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  14906. CHK_(ptr);
  14907. } else {
  14908. goto handle_unusual;
  14909. }
  14910. continue;
  14911. default:
  14912. goto handle_unusual;
  14913. } // switch
  14914. handle_unusual:
  14915. if ((tag == 0) || ((tag & 7) == 4)) {
  14916. CHK_(ptr);
  14917. ctx->SetLastTag(tag);
  14918. goto message_done;
  14919. }
  14920. ptr = UnknownFieldParse(
  14921. tag,
  14922. _internal_metadata_.mutable_unknown_fields<std::string>(),
  14923. ptr, ctx);
  14924. CHK_(ptr != nullptr);
  14925. } // while
  14926. message_done:
  14927. _impl_._has_bits_.Or(has_bits);
  14928. return ptr;
  14929. failure:
  14930. ptr = nullptr;
  14931. goto message_done;
  14932. #undef CHK_
  14933. }
  14934. ::uint8_t* UnMuteAudioParams::_InternalSerialize(
  14935. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  14936. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
  14937. ::uint32_t cached_has_bits = 0;
  14938. (void) cached_has_bits;
  14939. cached_has_bits = _impl_._has_bits_[0];
  14940. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  14941. if (cached_has_bits & 0x00000001u) {
  14942. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  14943. InternalWriteMessage(1, _Internal::user(this),
  14944. _Internal::user(this).GetCachedSize(), target, stream);
  14945. }
  14946. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  14947. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  14948. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  14949. }
  14950. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
  14951. return target;
  14952. }
  14953. ::size_t UnMuteAudioParams::ByteSizeLong() const {
  14954. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
  14955. ::size_t total_size = 0;
  14956. ::uint32_t cached_has_bits = 0;
  14957. // Prevent compiler warnings about cached_has_bits being unused
  14958. (void) cached_has_bits;
  14959. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  14960. cached_has_bits = _impl_._has_bits_[0];
  14961. if (cached_has_bits & 0x00000001u) {
  14962. total_size += 1 +
  14963. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  14964. *_impl_.user_);
  14965. }
  14966. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  14967. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  14968. }
  14969. int cached_size = ::_pbi::ToCachedSize(total_size);
  14970. SetCachedSize(cached_size);
  14971. return total_size;
  14972. }
  14973. void UnMuteAudioParams::CheckTypeAndMergeFrom(
  14974. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  14975. MergeFrom(*::_pbi::DownCast<const UnMuteAudioParams*>(
  14976. &from));
  14977. }
  14978. void UnMuteAudioParams::MergeFrom(const UnMuteAudioParams& from) {
  14979. UnMuteAudioParams* const _this = this;
  14980. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
  14981. ABSL_DCHECK_NE(&from, _this);
  14982. ::uint32_t cached_has_bits = 0;
  14983. (void) cached_has_bits;
  14984. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  14985. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  14986. from._internal_user());
  14987. }
  14988. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  14989. }
  14990. void UnMuteAudioParams::CopyFrom(const UnMuteAudioParams& from) {
  14991. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
  14992. if (&from == this) return;
  14993. Clear();
  14994. MergeFrom(from);
  14995. }
  14996. bool UnMuteAudioParams::IsInitialized() const {
  14997. return true;
  14998. }
  14999. void UnMuteAudioParams::InternalSwap(UnMuteAudioParams* other) {
  15000. using std::swap;
  15001. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  15002. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  15003. swap(_impl_.user_, other->_impl_.user_);
  15004. }
  15005. std::string UnMuteAudioParams::GetTypeName() const {
  15006. return "com.electron.zoomvideo.sdk.proto.UnMuteAudioParams";
  15007. }
  15008. // ===================================================================
  15009. class SetSpeakerParams::_Internal {
  15010. public:
  15011. using HasBits = decltype(std::declval<SetSpeakerParams>()._impl_._has_bits_);
  15012. static constexpr ::int32_t kHasBitsOffset =
  15013. 8 * PROTOBUF_FIELD_OFFSET(SetSpeakerParams, _impl_._has_bits_);
  15014. static void set_has_zn_speaker(HasBits* has_bits) {
  15015. (*has_bits)[0] |= 1u;
  15016. }
  15017. };
  15018. SetSpeakerParams::SetSpeakerParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  15019. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  15020. SharedCtor(arena);
  15021. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
  15022. }
  15023. SetSpeakerParams::SetSpeakerParams(const SetSpeakerParams& from)
  15024. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  15025. _internal_metadata_.MergeFrom<std::string>(
  15026. from._internal_metadata_);
  15027. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
  15028. }
  15029. inline void SetSpeakerParams::SharedCtor(::_pb::Arena* arena) {
  15030. (void)arena;
  15031. new (&_impl_) Impl_{
  15032. decltype(_impl_._has_bits_){}
  15033. , /*decltype(_impl_._cached_size_)*/{}
  15034. , decltype(_impl_.zn_speaker_) { false }
  15035. };
  15036. }
  15037. SetSpeakerParams::~SetSpeakerParams() {
  15038. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
  15039. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  15040. (void)arena;
  15041. return;
  15042. }
  15043. SharedDtor();
  15044. }
  15045. inline void SetSpeakerParams::SharedDtor() {
  15046. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  15047. }
  15048. void SetSpeakerParams::SetCachedSize(int size) const {
  15049. _impl_._cached_size_.Set(size);
  15050. }
  15051. void SetSpeakerParams::Clear() {
  15052. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
  15053. ::uint32_t cached_has_bits = 0;
  15054. // Prevent compiler warnings about cached_has_bits being unused
  15055. (void) cached_has_bits;
  15056. _impl_.zn_speaker_ = false;
  15057. _impl_._has_bits_.Clear();
  15058. _internal_metadata_.Clear<std::string>();
  15059. }
  15060. const char* SetSpeakerParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  15061. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  15062. _Internal::HasBits has_bits{};
  15063. while (!ctx->Done(&ptr)) {
  15064. ::uint32_t tag;
  15065. ptr = ::_pbi::ReadTag(ptr, &tag);
  15066. switch (tag >> 3) {
  15067. // optional bool zn_speaker = 1;
  15068. case 1:
  15069. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  15070. _Internal::set_has_zn_speaker(&has_bits);
  15071. _impl_.zn_speaker_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  15072. CHK_(ptr);
  15073. } else {
  15074. goto handle_unusual;
  15075. }
  15076. continue;
  15077. default:
  15078. goto handle_unusual;
  15079. } // switch
  15080. handle_unusual:
  15081. if ((tag == 0) || ((tag & 7) == 4)) {
  15082. CHK_(ptr);
  15083. ctx->SetLastTag(tag);
  15084. goto message_done;
  15085. }
  15086. ptr = UnknownFieldParse(
  15087. tag,
  15088. _internal_metadata_.mutable_unknown_fields<std::string>(),
  15089. ptr, ctx);
  15090. CHK_(ptr != nullptr);
  15091. } // while
  15092. message_done:
  15093. _impl_._has_bits_.Or(has_bits);
  15094. return ptr;
  15095. failure:
  15096. ptr = nullptr;
  15097. goto message_done;
  15098. #undef CHK_
  15099. }
  15100. ::uint8_t* SetSpeakerParams::_InternalSerialize(
  15101. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  15102. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
  15103. ::uint32_t cached_has_bits = 0;
  15104. (void) cached_has_bits;
  15105. cached_has_bits = _impl_._has_bits_[0];
  15106. // optional bool zn_speaker = 1;
  15107. if (cached_has_bits & 0x00000001u) {
  15108. target = stream->EnsureSpace(target);
  15109. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  15110. 1, this->_internal_zn_speaker(), target);
  15111. }
  15112. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  15113. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  15114. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  15115. }
  15116. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
  15117. return target;
  15118. }
  15119. ::size_t SetSpeakerParams::ByteSizeLong() const {
  15120. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
  15121. ::size_t total_size = 0;
  15122. ::uint32_t cached_has_bits = 0;
  15123. // Prevent compiler warnings about cached_has_bits being unused
  15124. (void) cached_has_bits;
  15125. // optional bool zn_speaker = 1;
  15126. cached_has_bits = _impl_._has_bits_[0];
  15127. if (cached_has_bits & 0x00000001u) {
  15128. total_size += 2;
  15129. }
  15130. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  15131. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  15132. }
  15133. int cached_size = ::_pbi::ToCachedSize(total_size);
  15134. SetCachedSize(cached_size);
  15135. return total_size;
  15136. }
  15137. void SetSpeakerParams::CheckTypeAndMergeFrom(
  15138. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  15139. MergeFrom(*::_pbi::DownCast<const SetSpeakerParams*>(
  15140. &from));
  15141. }
  15142. void SetSpeakerParams::MergeFrom(const SetSpeakerParams& from) {
  15143. SetSpeakerParams* const _this = this;
  15144. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
  15145. ABSL_DCHECK_NE(&from, _this);
  15146. ::uint32_t cached_has_bits = 0;
  15147. (void) cached_has_bits;
  15148. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  15149. _this->_internal_set_zn_speaker(from._internal_zn_speaker());
  15150. }
  15151. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  15152. }
  15153. void SetSpeakerParams::CopyFrom(const SetSpeakerParams& from) {
  15154. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
  15155. if (&from == this) return;
  15156. Clear();
  15157. MergeFrom(from);
  15158. }
  15159. bool SetSpeakerParams::IsInitialized() const {
  15160. return true;
  15161. }
  15162. void SetSpeakerParams::InternalSwap(SetSpeakerParams* other) {
  15163. using std::swap;
  15164. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  15165. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  15166. swap(_impl_.zn_speaker_, other->_impl_.zn_speaker_);
  15167. }
  15168. std::string SetSpeakerParams::GetTypeName() const {
  15169. return "com.electron.zoomvideo.sdk.proto.SetSpeakerParams";
  15170. }
  15171. // ===================================================================
  15172. class SelectSpeakerParams::_Internal {
  15173. public:
  15174. using HasBits = decltype(std::declval<SelectSpeakerParams>()._impl_._has_bits_);
  15175. static constexpr ::int32_t kHasBitsOffset =
  15176. 8 * PROTOBUF_FIELD_OFFSET(SelectSpeakerParams, _impl_._has_bits_);
  15177. static void set_has_zn_deviceid(HasBits* has_bits) {
  15178. (*has_bits)[0] |= 1u;
  15179. }
  15180. static void set_has_zn_devicename(HasBits* has_bits) {
  15181. (*has_bits)[0] |= 2u;
  15182. }
  15183. };
  15184. SelectSpeakerParams::SelectSpeakerParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  15185. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  15186. SharedCtor(arena);
  15187. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
  15188. }
  15189. SelectSpeakerParams::SelectSpeakerParams(const SelectSpeakerParams& from)
  15190. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  15191. SelectSpeakerParams* const _this = this; (void)_this;
  15192. new (&_impl_) Impl_{
  15193. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  15194. , /*decltype(_impl_._cached_size_)*/{}
  15195. , decltype(_impl_.zn_deviceid_) {}
  15196. , decltype(_impl_.zn_devicename_) {}
  15197. };
  15198. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  15199. _impl_.zn_deviceid_.InitDefault();
  15200. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15201. _impl_.zn_deviceid_.Set("", GetArenaForAllocation());
  15202. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15203. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  15204. _this->_impl_.zn_deviceid_.Set(from._internal_zn_deviceid(), _this->GetArenaForAllocation());
  15205. }
  15206. _impl_.zn_devicename_.InitDefault();
  15207. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15208. _impl_.zn_devicename_.Set("", GetArenaForAllocation());
  15209. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15210. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  15211. _this->_impl_.zn_devicename_.Set(from._internal_zn_devicename(), _this->GetArenaForAllocation());
  15212. }
  15213. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
  15214. }
  15215. inline void SelectSpeakerParams::SharedCtor(::_pb::Arena* arena) {
  15216. (void)arena;
  15217. new (&_impl_) Impl_{
  15218. decltype(_impl_._has_bits_){}
  15219. , /*decltype(_impl_._cached_size_)*/{}
  15220. , decltype(_impl_.zn_deviceid_) {}
  15221. , decltype(_impl_.zn_devicename_) {}
  15222. };
  15223. _impl_.zn_deviceid_.InitDefault();
  15224. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15225. _impl_.zn_deviceid_.Set("", GetArenaForAllocation());
  15226. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15227. _impl_.zn_devicename_.InitDefault();
  15228. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15229. _impl_.zn_devicename_.Set("", GetArenaForAllocation());
  15230. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15231. }
  15232. SelectSpeakerParams::~SelectSpeakerParams() {
  15233. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
  15234. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  15235. (void)arena;
  15236. return;
  15237. }
  15238. SharedDtor();
  15239. }
  15240. inline void SelectSpeakerParams::SharedDtor() {
  15241. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  15242. _impl_.zn_deviceid_.Destroy();
  15243. _impl_.zn_devicename_.Destroy();
  15244. }
  15245. void SelectSpeakerParams::SetCachedSize(int size) const {
  15246. _impl_._cached_size_.Set(size);
  15247. }
  15248. void SelectSpeakerParams::Clear() {
  15249. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
  15250. ::uint32_t cached_has_bits = 0;
  15251. // Prevent compiler warnings about cached_has_bits being unused
  15252. (void) cached_has_bits;
  15253. cached_has_bits = _impl_._has_bits_[0];
  15254. if (cached_has_bits & 0x00000003u) {
  15255. if (cached_has_bits & 0x00000001u) {
  15256. _impl_.zn_deviceid_.ClearNonDefaultToEmpty();
  15257. }
  15258. if (cached_has_bits & 0x00000002u) {
  15259. _impl_.zn_devicename_.ClearNonDefaultToEmpty();
  15260. }
  15261. }
  15262. _impl_._has_bits_.Clear();
  15263. _internal_metadata_.Clear<std::string>();
  15264. }
  15265. const char* SelectSpeakerParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  15266. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  15267. _Internal::HasBits has_bits{};
  15268. while (!ctx->Done(&ptr)) {
  15269. ::uint32_t tag;
  15270. ptr = ::_pbi::ReadTag(ptr, &tag);
  15271. switch (tag >> 3) {
  15272. // optional string zn_deviceid = 1;
  15273. case 1:
  15274. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  15275. auto str = _internal_mutable_zn_deviceid();
  15276. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  15277. CHK_(ptr);
  15278. } else {
  15279. goto handle_unusual;
  15280. }
  15281. continue;
  15282. // optional string zn_devicename = 2;
  15283. case 2:
  15284. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  15285. auto str = _internal_mutable_zn_devicename();
  15286. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  15287. CHK_(ptr);
  15288. } else {
  15289. goto handle_unusual;
  15290. }
  15291. continue;
  15292. default:
  15293. goto handle_unusual;
  15294. } // switch
  15295. handle_unusual:
  15296. if ((tag == 0) || ((tag & 7) == 4)) {
  15297. CHK_(ptr);
  15298. ctx->SetLastTag(tag);
  15299. goto message_done;
  15300. }
  15301. ptr = UnknownFieldParse(
  15302. tag,
  15303. _internal_metadata_.mutable_unknown_fields<std::string>(),
  15304. ptr, ctx);
  15305. CHK_(ptr != nullptr);
  15306. } // while
  15307. message_done:
  15308. _impl_._has_bits_.Or(has_bits);
  15309. return ptr;
  15310. failure:
  15311. ptr = nullptr;
  15312. goto message_done;
  15313. #undef CHK_
  15314. }
  15315. ::uint8_t* SelectSpeakerParams::_InternalSerialize(
  15316. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  15317. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
  15318. ::uint32_t cached_has_bits = 0;
  15319. (void) cached_has_bits;
  15320. cached_has_bits = _impl_._has_bits_[0];
  15321. // optional string zn_deviceid = 1;
  15322. if (cached_has_bits & 0x00000001u) {
  15323. const std::string& _s = this->_internal_zn_deviceid();
  15324. target = stream->WriteStringMaybeAliased(1, _s, target);
  15325. }
  15326. // optional string zn_devicename = 2;
  15327. if (cached_has_bits & 0x00000002u) {
  15328. const std::string& _s = this->_internal_zn_devicename();
  15329. target = stream->WriteStringMaybeAliased(2, _s, target);
  15330. }
  15331. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  15332. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  15333. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  15334. }
  15335. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
  15336. return target;
  15337. }
  15338. ::size_t SelectSpeakerParams::ByteSizeLong() const {
  15339. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
  15340. ::size_t total_size = 0;
  15341. ::uint32_t cached_has_bits = 0;
  15342. // Prevent compiler warnings about cached_has_bits being unused
  15343. (void) cached_has_bits;
  15344. cached_has_bits = _impl_._has_bits_[0];
  15345. if (cached_has_bits & 0x00000003u) {
  15346. // optional string zn_deviceid = 1;
  15347. if (cached_has_bits & 0x00000001u) {
  15348. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  15349. this->_internal_zn_deviceid());
  15350. }
  15351. // optional string zn_devicename = 2;
  15352. if (cached_has_bits & 0x00000002u) {
  15353. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  15354. this->_internal_zn_devicename());
  15355. }
  15356. }
  15357. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  15358. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  15359. }
  15360. int cached_size = ::_pbi::ToCachedSize(total_size);
  15361. SetCachedSize(cached_size);
  15362. return total_size;
  15363. }
  15364. void SelectSpeakerParams::CheckTypeAndMergeFrom(
  15365. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  15366. MergeFrom(*::_pbi::DownCast<const SelectSpeakerParams*>(
  15367. &from));
  15368. }
  15369. void SelectSpeakerParams::MergeFrom(const SelectSpeakerParams& from) {
  15370. SelectSpeakerParams* const _this = this;
  15371. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
  15372. ABSL_DCHECK_NE(&from, _this);
  15373. ::uint32_t cached_has_bits = 0;
  15374. (void) cached_has_bits;
  15375. cached_has_bits = from._impl_._has_bits_[0];
  15376. if (cached_has_bits & 0x00000003u) {
  15377. if (cached_has_bits & 0x00000001u) {
  15378. _this->_internal_set_zn_deviceid(from._internal_zn_deviceid());
  15379. }
  15380. if (cached_has_bits & 0x00000002u) {
  15381. _this->_internal_set_zn_devicename(from._internal_zn_devicename());
  15382. }
  15383. }
  15384. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  15385. }
  15386. void SelectSpeakerParams::CopyFrom(const SelectSpeakerParams& from) {
  15387. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
  15388. if (&from == this) return;
  15389. Clear();
  15390. MergeFrom(from);
  15391. }
  15392. bool SelectSpeakerParams::IsInitialized() const {
  15393. return true;
  15394. }
  15395. void SelectSpeakerParams::InternalSwap(SelectSpeakerParams* other) {
  15396. using std::swap;
  15397. auto* lhs_arena = GetArenaForAllocation();
  15398. auto* rhs_arena = other->GetArenaForAllocation();
  15399. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  15400. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  15401. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_deviceid_, lhs_arena,
  15402. &other->_impl_.zn_deviceid_, rhs_arena);
  15403. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_devicename_, lhs_arena,
  15404. &other->_impl_.zn_devicename_, rhs_arena);
  15405. }
  15406. std::string SelectSpeakerParams::GetTypeName() const {
  15407. return "com.electron.zoomvideo.sdk.proto.SelectSpeakerParams";
  15408. }
  15409. // ===================================================================
  15410. class SelectMicParams::_Internal {
  15411. public:
  15412. using HasBits = decltype(std::declval<SelectMicParams>()._impl_._has_bits_);
  15413. static constexpr ::int32_t kHasBitsOffset =
  15414. 8 * PROTOBUF_FIELD_OFFSET(SelectMicParams, _impl_._has_bits_);
  15415. static void set_has_zn_deviceid(HasBits* has_bits) {
  15416. (*has_bits)[0] |= 1u;
  15417. }
  15418. static void set_has_zn_devicename(HasBits* has_bits) {
  15419. (*has_bits)[0] |= 2u;
  15420. }
  15421. };
  15422. SelectMicParams::SelectMicParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  15423. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  15424. SharedCtor(arena);
  15425. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SelectMicParams)
  15426. }
  15427. SelectMicParams::SelectMicParams(const SelectMicParams& from)
  15428. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  15429. SelectMicParams* const _this = this; (void)_this;
  15430. new (&_impl_) Impl_{
  15431. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  15432. , /*decltype(_impl_._cached_size_)*/{}
  15433. , decltype(_impl_.zn_deviceid_) {}
  15434. , decltype(_impl_.zn_devicename_) {}
  15435. };
  15436. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  15437. _impl_.zn_deviceid_.InitDefault();
  15438. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15439. _impl_.zn_deviceid_.Set("", GetArenaForAllocation());
  15440. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15441. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  15442. _this->_impl_.zn_deviceid_.Set(from._internal_zn_deviceid(), _this->GetArenaForAllocation());
  15443. }
  15444. _impl_.zn_devicename_.InitDefault();
  15445. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15446. _impl_.zn_devicename_.Set("", GetArenaForAllocation());
  15447. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15448. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  15449. _this->_impl_.zn_devicename_.Set(from._internal_zn_devicename(), _this->GetArenaForAllocation());
  15450. }
  15451. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SelectMicParams)
  15452. }
  15453. inline void SelectMicParams::SharedCtor(::_pb::Arena* arena) {
  15454. (void)arena;
  15455. new (&_impl_) Impl_{
  15456. decltype(_impl_._has_bits_){}
  15457. , /*decltype(_impl_._cached_size_)*/{}
  15458. , decltype(_impl_.zn_deviceid_) {}
  15459. , decltype(_impl_.zn_devicename_) {}
  15460. };
  15461. _impl_.zn_deviceid_.InitDefault();
  15462. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15463. _impl_.zn_deviceid_.Set("", GetArenaForAllocation());
  15464. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15465. _impl_.zn_devicename_.InitDefault();
  15466. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15467. _impl_.zn_devicename_.Set("", GetArenaForAllocation());
  15468. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15469. }
  15470. SelectMicParams::~SelectMicParams() {
  15471. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SelectMicParams)
  15472. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  15473. (void)arena;
  15474. return;
  15475. }
  15476. SharedDtor();
  15477. }
  15478. inline void SelectMicParams::SharedDtor() {
  15479. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  15480. _impl_.zn_deviceid_.Destroy();
  15481. _impl_.zn_devicename_.Destroy();
  15482. }
  15483. void SelectMicParams::SetCachedSize(int size) const {
  15484. _impl_._cached_size_.Set(size);
  15485. }
  15486. void SelectMicParams::Clear() {
  15487. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SelectMicParams)
  15488. ::uint32_t cached_has_bits = 0;
  15489. // Prevent compiler warnings about cached_has_bits being unused
  15490. (void) cached_has_bits;
  15491. cached_has_bits = _impl_._has_bits_[0];
  15492. if (cached_has_bits & 0x00000003u) {
  15493. if (cached_has_bits & 0x00000001u) {
  15494. _impl_.zn_deviceid_.ClearNonDefaultToEmpty();
  15495. }
  15496. if (cached_has_bits & 0x00000002u) {
  15497. _impl_.zn_devicename_.ClearNonDefaultToEmpty();
  15498. }
  15499. }
  15500. _impl_._has_bits_.Clear();
  15501. _internal_metadata_.Clear<std::string>();
  15502. }
  15503. const char* SelectMicParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  15504. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  15505. _Internal::HasBits has_bits{};
  15506. while (!ctx->Done(&ptr)) {
  15507. ::uint32_t tag;
  15508. ptr = ::_pbi::ReadTag(ptr, &tag);
  15509. switch (tag >> 3) {
  15510. // optional string zn_deviceid = 1;
  15511. case 1:
  15512. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  15513. auto str = _internal_mutable_zn_deviceid();
  15514. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  15515. CHK_(ptr);
  15516. } else {
  15517. goto handle_unusual;
  15518. }
  15519. continue;
  15520. // optional string zn_devicename = 2;
  15521. case 2:
  15522. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  15523. auto str = _internal_mutable_zn_devicename();
  15524. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  15525. CHK_(ptr);
  15526. } else {
  15527. goto handle_unusual;
  15528. }
  15529. continue;
  15530. default:
  15531. goto handle_unusual;
  15532. } // switch
  15533. handle_unusual:
  15534. if ((tag == 0) || ((tag & 7) == 4)) {
  15535. CHK_(ptr);
  15536. ctx->SetLastTag(tag);
  15537. goto message_done;
  15538. }
  15539. ptr = UnknownFieldParse(
  15540. tag,
  15541. _internal_metadata_.mutable_unknown_fields<std::string>(),
  15542. ptr, ctx);
  15543. CHK_(ptr != nullptr);
  15544. } // while
  15545. message_done:
  15546. _impl_._has_bits_.Or(has_bits);
  15547. return ptr;
  15548. failure:
  15549. ptr = nullptr;
  15550. goto message_done;
  15551. #undef CHK_
  15552. }
  15553. ::uint8_t* SelectMicParams::_InternalSerialize(
  15554. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  15555. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SelectMicParams)
  15556. ::uint32_t cached_has_bits = 0;
  15557. (void) cached_has_bits;
  15558. cached_has_bits = _impl_._has_bits_[0];
  15559. // optional string zn_deviceid = 1;
  15560. if (cached_has_bits & 0x00000001u) {
  15561. const std::string& _s = this->_internal_zn_deviceid();
  15562. target = stream->WriteStringMaybeAliased(1, _s, target);
  15563. }
  15564. // optional string zn_devicename = 2;
  15565. if (cached_has_bits & 0x00000002u) {
  15566. const std::string& _s = this->_internal_zn_devicename();
  15567. target = stream->WriteStringMaybeAliased(2, _s, target);
  15568. }
  15569. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  15570. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  15571. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  15572. }
  15573. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SelectMicParams)
  15574. return target;
  15575. }
  15576. ::size_t SelectMicParams::ByteSizeLong() const {
  15577. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SelectMicParams)
  15578. ::size_t total_size = 0;
  15579. ::uint32_t cached_has_bits = 0;
  15580. // Prevent compiler warnings about cached_has_bits being unused
  15581. (void) cached_has_bits;
  15582. cached_has_bits = _impl_._has_bits_[0];
  15583. if (cached_has_bits & 0x00000003u) {
  15584. // optional string zn_deviceid = 1;
  15585. if (cached_has_bits & 0x00000001u) {
  15586. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  15587. this->_internal_zn_deviceid());
  15588. }
  15589. // optional string zn_devicename = 2;
  15590. if (cached_has_bits & 0x00000002u) {
  15591. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  15592. this->_internal_zn_devicename());
  15593. }
  15594. }
  15595. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  15596. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  15597. }
  15598. int cached_size = ::_pbi::ToCachedSize(total_size);
  15599. SetCachedSize(cached_size);
  15600. return total_size;
  15601. }
  15602. void SelectMicParams::CheckTypeAndMergeFrom(
  15603. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  15604. MergeFrom(*::_pbi::DownCast<const SelectMicParams*>(
  15605. &from));
  15606. }
  15607. void SelectMicParams::MergeFrom(const SelectMicParams& from) {
  15608. SelectMicParams* const _this = this;
  15609. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SelectMicParams)
  15610. ABSL_DCHECK_NE(&from, _this);
  15611. ::uint32_t cached_has_bits = 0;
  15612. (void) cached_has_bits;
  15613. cached_has_bits = from._impl_._has_bits_[0];
  15614. if (cached_has_bits & 0x00000003u) {
  15615. if (cached_has_bits & 0x00000001u) {
  15616. _this->_internal_set_zn_deviceid(from._internal_zn_deviceid());
  15617. }
  15618. if (cached_has_bits & 0x00000002u) {
  15619. _this->_internal_set_zn_devicename(from._internal_zn_devicename());
  15620. }
  15621. }
  15622. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  15623. }
  15624. void SelectMicParams::CopyFrom(const SelectMicParams& from) {
  15625. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SelectMicParams)
  15626. if (&from == this) return;
  15627. Clear();
  15628. MergeFrom(from);
  15629. }
  15630. bool SelectMicParams::IsInitialized() const {
  15631. return true;
  15632. }
  15633. void SelectMicParams::InternalSwap(SelectMicParams* other) {
  15634. using std::swap;
  15635. auto* lhs_arena = GetArenaForAllocation();
  15636. auto* rhs_arena = other->GetArenaForAllocation();
  15637. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  15638. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  15639. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_deviceid_, lhs_arena,
  15640. &other->_impl_.zn_deviceid_, rhs_arena);
  15641. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_devicename_, lhs_arena,
  15642. &other->_impl_.zn_devicename_, rhs_arena);
  15643. }
  15644. std::string SelectMicParams::GetTypeName() const {
  15645. return "com.electron.zoomvideo.sdk.proto.SelectMicParams";
  15646. }
  15647. // ===================================================================
  15648. class SendChatToUserParams::_Internal {
  15649. public:
  15650. using HasBits = decltype(std::declval<SendChatToUserParams>()._impl_._has_bits_);
  15651. static constexpr ::int32_t kHasBitsOffset =
  15652. 8 * PROTOBUF_FIELD_OFFSET(SendChatToUserParams, _impl_._has_bits_);
  15653. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const SendChatToUserParams* msg);
  15654. static void set_has_user(HasBits* has_bits) {
  15655. (*has_bits)[0] |= 2u;
  15656. }
  15657. static void set_has_zn_msgcontent(HasBits* has_bits) {
  15658. (*has_bits)[0] |= 1u;
  15659. }
  15660. };
  15661. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  15662. SendChatToUserParams::_Internal::user(const SendChatToUserParams* msg) {
  15663. return *msg->_impl_.user_;
  15664. }
  15665. SendChatToUserParams::SendChatToUserParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  15666. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  15667. SharedCtor(arena);
  15668. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
  15669. }
  15670. SendChatToUserParams::SendChatToUserParams(const SendChatToUserParams& from)
  15671. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  15672. SendChatToUserParams* const _this = this; (void)_this;
  15673. new (&_impl_) Impl_{
  15674. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  15675. , /*decltype(_impl_._cached_size_)*/{}
  15676. , decltype(_impl_.zn_msgcontent_) {}
  15677. , decltype(_impl_.user_){nullptr}};
  15678. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  15679. _impl_.zn_msgcontent_.InitDefault();
  15680. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15681. _impl_.zn_msgcontent_.Set("", GetArenaForAllocation());
  15682. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15683. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  15684. _this->_impl_.zn_msgcontent_.Set(from._internal_zn_msgcontent(), _this->GetArenaForAllocation());
  15685. }
  15686. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  15687. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  15688. }
  15689. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
  15690. }
  15691. inline void SendChatToUserParams::SharedCtor(::_pb::Arena* arena) {
  15692. (void)arena;
  15693. new (&_impl_) Impl_{
  15694. decltype(_impl_._has_bits_){}
  15695. , /*decltype(_impl_._cached_size_)*/{}
  15696. , decltype(_impl_.zn_msgcontent_) {}
  15697. , decltype(_impl_.user_){nullptr}
  15698. };
  15699. _impl_.zn_msgcontent_.InitDefault();
  15700. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15701. _impl_.zn_msgcontent_.Set("", GetArenaForAllocation());
  15702. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15703. }
  15704. SendChatToUserParams::~SendChatToUserParams() {
  15705. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
  15706. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  15707. (void)arena;
  15708. return;
  15709. }
  15710. SharedDtor();
  15711. }
  15712. inline void SendChatToUserParams::SharedDtor() {
  15713. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  15714. _impl_.zn_msgcontent_.Destroy();
  15715. if (this != internal_default_instance()) delete _impl_.user_;
  15716. }
  15717. void SendChatToUserParams::SetCachedSize(int size) const {
  15718. _impl_._cached_size_.Set(size);
  15719. }
  15720. void SendChatToUserParams::Clear() {
  15721. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
  15722. ::uint32_t cached_has_bits = 0;
  15723. // Prevent compiler warnings about cached_has_bits being unused
  15724. (void) cached_has_bits;
  15725. cached_has_bits = _impl_._has_bits_[0];
  15726. if (cached_has_bits & 0x00000003u) {
  15727. if (cached_has_bits & 0x00000001u) {
  15728. _impl_.zn_msgcontent_.ClearNonDefaultToEmpty();
  15729. }
  15730. if (cached_has_bits & 0x00000002u) {
  15731. ABSL_DCHECK(_impl_.user_ != nullptr);
  15732. _impl_.user_->Clear();
  15733. }
  15734. }
  15735. _impl_._has_bits_.Clear();
  15736. _internal_metadata_.Clear<std::string>();
  15737. }
  15738. const char* SendChatToUserParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  15739. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  15740. _Internal::HasBits has_bits{};
  15741. while (!ctx->Done(&ptr)) {
  15742. ::uint32_t tag;
  15743. ptr = ::_pbi::ReadTag(ptr, &tag);
  15744. switch (tag >> 3) {
  15745. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  15746. case 1:
  15747. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  15748. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  15749. CHK_(ptr);
  15750. } else {
  15751. goto handle_unusual;
  15752. }
  15753. continue;
  15754. // optional string zn_msgContent = 2;
  15755. case 2:
  15756. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  15757. auto str = _internal_mutable_zn_msgcontent();
  15758. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  15759. CHK_(ptr);
  15760. } else {
  15761. goto handle_unusual;
  15762. }
  15763. continue;
  15764. default:
  15765. goto handle_unusual;
  15766. } // switch
  15767. handle_unusual:
  15768. if ((tag == 0) || ((tag & 7) == 4)) {
  15769. CHK_(ptr);
  15770. ctx->SetLastTag(tag);
  15771. goto message_done;
  15772. }
  15773. ptr = UnknownFieldParse(
  15774. tag,
  15775. _internal_metadata_.mutable_unknown_fields<std::string>(),
  15776. ptr, ctx);
  15777. CHK_(ptr != nullptr);
  15778. } // while
  15779. message_done:
  15780. _impl_._has_bits_.Or(has_bits);
  15781. return ptr;
  15782. failure:
  15783. ptr = nullptr;
  15784. goto message_done;
  15785. #undef CHK_
  15786. }
  15787. ::uint8_t* SendChatToUserParams::_InternalSerialize(
  15788. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  15789. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
  15790. ::uint32_t cached_has_bits = 0;
  15791. (void) cached_has_bits;
  15792. cached_has_bits = _impl_._has_bits_[0];
  15793. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  15794. if (cached_has_bits & 0x00000002u) {
  15795. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  15796. InternalWriteMessage(1, _Internal::user(this),
  15797. _Internal::user(this).GetCachedSize(), target, stream);
  15798. }
  15799. // optional string zn_msgContent = 2;
  15800. if (cached_has_bits & 0x00000001u) {
  15801. const std::string& _s = this->_internal_zn_msgcontent();
  15802. target = stream->WriteStringMaybeAliased(2, _s, target);
  15803. }
  15804. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  15805. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  15806. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  15807. }
  15808. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
  15809. return target;
  15810. }
  15811. ::size_t SendChatToUserParams::ByteSizeLong() const {
  15812. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
  15813. ::size_t total_size = 0;
  15814. ::uint32_t cached_has_bits = 0;
  15815. // Prevent compiler warnings about cached_has_bits being unused
  15816. (void) cached_has_bits;
  15817. cached_has_bits = _impl_._has_bits_[0];
  15818. if (cached_has_bits & 0x00000003u) {
  15819. // optional string zn_msgContent = 2;
  15820. if (cached_has_bits & 0x00000001u) {
  15821. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  15822. this->_internal_zn_msgcontent());
  15823. }
  15824. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  15825. if (cached_has_bits & 0x00000002u) {
  15826. total_size += 1 +
  15827. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  15828. *_impl_.user_);
  15829. }
  15830. }
  15831. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  15832. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  15833. }
  15834. int cached_size = ::_pbi::ToCachedSize(total_size);
  15835. SetCachedSize(cached_size);
  15836. return total_size;
  15837. }
  15838. void SendChatToUserParams::CheckTypeAndMergeFrom(
  15839. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  15840. MergeFrom(*::_pbi::DownCast<const SendChatToUserParams*>(
  15841. &from));
  15842. }
  15843. void SendChatToUserParams::MergeFrom(const SendChatToUserParams& from) {
  15844. SendChatToUserParams* const _this = this;
  15845. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
  15846. ABSL_DCHECK_NE(&from, _this);
  15847. ::uint32_t cached_has_bits = 0;
  15848. (void) cached_has_bits;
  15849. cached_has_bits = from._impl_._has_bits_[0];
  15850. if (cached_has_bits & 0x00000003u) {
  15851. if (cached_has_bits & 0x00000001u) {
  15852. _this->_internal_set_zn_msgcontent(from._internal_zn_msgcontent());
  15853. }
  15854. if (cached_has_bits & 0x00000002u) {
  15855. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  15856. from._internal_user());
  15857. }
  15858. }
  15859. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  15860. }
  15861. void SendChatToUserParams::CopyFrom(const SendChatToUserParams& from) {
  15862. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
  15863. if (&from == this) return;
  15864. Clear();
  15865. MergeFrom(from);
  15866. }
  15867. bool SendChatToUserParams::IsInitialized() const {
  15868. return true;
  15869. }
  15870. void SendChatToUserParams::InternalSwap(SendChatToUserParams* other) {
  15871. using std::swap;
  15872. auto* lhs_arena = GetArenaForAllocation();
  15873. auto* rhs_arena = other->GetArenaForAllocation();
  15874. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  15875. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  15876. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_msgcontent_, lhs_arena,
  15877. &other->_impl_.zn_msgcontent_, rhs_arena);
  15878. swap(_impl_.user_, other->_impl_.user_);
  15879. }
  15880. std::string SendChatToUserParams::GetTypeName() const {
  15881. return "com.electron.zoomvideo.sdk.proto.SendChatToUserParams";
  15882. }
  15883. // ===================================================================
  15884. class SendChatToAllParams::_Internal {
  15885. public:
  15886. using HasBits = decltype(std::declval<SendChatToAllParams>()._impl_._has_bits_);
  15887. static constexpr ::int32_t kHasBitsOffset =
  15888. 8 * PROTOBUF_FIELD_OFFSET(SendChatToAllParams, _impl_._has_bits_);
  15889. static void set_has_zn_msgcontent(HasBits* has_bits) {
  15890. (*has_bits)[0] |= 1u;
  15891. }
  15892. };
  15893. SendChatToAllParams::SendChatToAllParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  15894. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  15895. SharedCtor(arena);
  15896. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
  15897. }
  15898. SendChatToAllParams::SendChatToAllParams(const SendChatToAllParams& from)
  15899. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  15900. SendChatToAllParams* const _this = this; (void)_this;
  15901. new (&_impl_) Impl_{
  15902. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  15903. , /*decltype(_impl_._cached_size_)*/{}
  15904. , decltype(_impl_.zn_msgcontent_) {}
  15905. };
  15906. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  15907. _impl_.zn_msgcontent_.InitDefault();
  15908. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15909. _impl_.zn_msgcontent_.Set("", GetArenaForAllocation());
  15910. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15911. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  15912. _this->_impl_.zn_msgcontent_.Set(from._internal_zn_msgcontent(), _this->GetArenaForAllocation());
  15913. }
  15914. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
  15915. }
  15916. inline void SendChatToAllParams::SharedCtor(::_pb::Arena* arena) {
  15917. (void)arena;
  15918. new (&_impl_) Impl_{
  15919. decltype(_impl_._has_bits_){}
  15920. , /*decltype(_impl_._cached_size_)*/{}
  15921. , decltype(_impl_.zn_msgcontent_) {}
  15922. };
  15923. _impl_.zn_msgcontent_.InitDefault();
  15924. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15925. _impl_.zn_msgcontent_.Set("", GetArenaForAllocation());
  15926. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  15927. }
  15928. SendChatToAllParams::~SendChatToAllParams() {
  15929. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
  15930. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  15931. (void)arena;
  15932. return;
  15933. }
  15934. SharedDtor();
  15935. }
  15936. inline void SendChatToAllParams::SharedDtor() {
  15937. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  15938. _impl_.zn_msgcontent_.Destroy();
  15939. }
  15940. void SendChatToAllParams::SetCachedSize(int size) const {
  15941. _impl_._cached_size_.Set(size);
  15942. }
  15943. void SendChatToAllParams::Clear() {
  15944. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
  15945. ::uint32_t cached_has_bits = 0;
  15946. // Prevent compiler warnings about cached_has_bits being unused
  15947. (void) cached_has_bits;
  15948. cached_has_bits = _impl_._has_bits_[0];
  15949. if (cached_has_bits & 0x00000001u) {
  15950. _impl_.zn_msgcontent_.ClearNonDefaultToEmpty();
  15951. }
  15952. _impl_._has_bits_.Clear();
  15953. _internal_metadata_.Clear<std::string>();
  15954. }
  15955. const char* SendChatToAllParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  15956. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  15957. _Internal::HasBits has_bits{};
  15958. while (!ctx->Done(&ptr)) {
  15959. ::uint32_t tag;
  15960. ptr = ::_pbi::ReadTag(ptr, &tag);
  15961. switch (tag >> 3) {
  15962. // optional string zn_msgContent = 1;
  15963. case 1:
  15964. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  15965. auto str = _internal_mutable_zn_msgcontent();
  15966. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  15967. CHK_(ptr);
  15968. } else {
  15969. goto handle_unusual;
  15970. }
  15971. continue;
  15972. default:
  15973. goto handle_unusual;
  15974. } // switch
  15975. handle_unusual:
  15976. if ((tag == 0) || ((tag & 7) == 4)) {
  15977. CHK_(ptr);
  15978. ctx->SetLastTag(tag);
  15979. goto message_done;
  15980. }
  15981. ptr = UnknownFieldParse(
  15982. tag,
  15983. _internal_metadata_.mutable_unknown_fields<std::string>(),
  15984. ptr, ctx);
  15985. CHK_(ptr != nullptr);
  15986. } // while
  15987. message_done:
  15988. _impl_._has_bits_.Or(has_bits);
  15989. return ptr;
  15990. failure:
  15991. ptr = nullptr;
  15992. goto message_done;
  15993. #undef CHK_
  15994. }
  15995. ::uint8_t* SendChatToAllParams::_InternalSerialize(
  15996. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  15997. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
  15998. ::uint32_t cached_has_bits = 0;
  15999. (void) cached_has_bits;
  16000. cached_has_bits = _impl_._has_bits_[0];
  16001. // optional string zn_msgContent = 1;
  16002. if (cached_has_bits & 0x00000001u) {
  16003. const std::string& _s = this->_internal_zn_msgcontent();
  16004. target = stream->WriteStringMaybeAliased(1, _s, target);
  16005. }
  16006. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  16007. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  16008. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  16009. }
  16010. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
  16011. return target;
  16012. }
  16013. ::size_t SendChatToAllParams::ByteSizeLong() const {
  16014. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
  16015. ::size_t total_size = 0;
  16016. ::uint32_t cached_has_bits = 0;
  16017. // Prevent compiler warnings about cached_has_bits being unused
  16018. (void) cached_has_bits;
  16019. // optional string zn_msgContent = 1;
  16020. cached_has_bits = _impl_._has_bits_[0];
  16021. if (cached_has_bits & 0x00000001u) {
  16022. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  16023. this->_internal_zn_msgcontent());
  16024. }
  16025. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  16026. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  16027. }
  16028. int cached_size = ::_pbi::ToCachedSize(total_size);
  16029. SetCachedSize(cached_size);
  16030. return total_size;
  16031. }
  16032. void SendChatToAllParams::CheckTypeAndMergeFrom(
  16033. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  16034. MergeFrom(*::_pbi::DownCast<const SendChatToAllParams*>(
  16035. &from));
  16036. }
  16037. void SendChatToAllParams::MergeFrom(const SendChatToAllParams& from) {
  16038. SendChatToAllParams* const _this = this;
  16039. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
  16040. ABSL_DCHECK_NE(&from, _this);
  16041. ::uint32_t cached_has_bits = 0;
  16042. (void) cached_has_bits;
  16043. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  16044. _this->_internal_set_zn_msgcontent(from._internal_zn_msgcontent());
  16045. }
  16046. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  16047. }
  16048. void SendChatToAllParams::CopyFrom(const SendChatToAllParams& from) {
  16049. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
  16050. if (&from == this) return;
  16051. Clear();
  16052. MergeFrom(from);
  16053. }
  16054. bool SendChatToAllParams::IsInitialized() const {
  16055. return true;
  16056. }
  16057. void SendChatToAllParams::InternalSwap(SendChatToAllParams* other) {
  16058. using std::swap;
  16059. auto* lhs_arena = GetArenaForAllocation();
  16060. auto* rhs_arena = other->GetArenaForAllocation();
  16061. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  16062. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  16063. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_msgcontent_, lhs_arena,
  16064. &other->_impl_.zn_msgcontent_, rhs_arena);
  16065. }
  16066. std::string SendChatToAllParams::GetTypeName() const {
  16067. return "com.electron.zoomvideo.sdk.proto.SendChatToAllParams";
  16068. }
  16069. // ===================================================================
  16070. class StartLiveStreamParams::_Internal {
  16071. public:
  16072. using HasBits = decltype(std::declval<StartLiveStreamParams>()._impl_._has_bits_);
  16073. static constexpr ::int32_t kHasBitsOffset =
  16074. 8 * PROTOBUF_FIELD_OFFSET(StartLiveStreamParams, _impl_._has_bits_);
  16075. static void set_has_zn_streamurl(HasBits* has_bits) {
  16076. (*has_bits)[0] |= 1u;
  16077. }
  16078. static void set_has_zn_key(HasBits* has_bits) {
  16079. (*has_bits)[0] |= 2u;
  16080. }
  16081. static void set_has_zn_broadcasturl(HasBits* has_bits) {
  16082. (*has_bits)[0] |= 4u;
  16083. }
  16084. };
  16085. StartLiveStreamParams::StartLiveStreamParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  16086. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  16087. SharedCtor(arena);
  16088. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
  16089. }
  16090. StartLiveStreamParams::StartLiveStreamParams(const StartLiveStreamParams& from)
  16091. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  16092. StartLiveStreamParams* const _this = this; (void)_this;
  16093. new (&_impl_) Impl_{
  16094. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  16095. , /*decltype(_impl_._cached_size_)*/{}
  16096. , decltype(_impl_.zn_streamurl_) {}
  16097. , decltype(_impl_.zn_key_) {}
  16098. , decltype(_impl_.zn_broadcasturl_) {}
  16099. };
  16100. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  16101. _impl_.zn_streamurl_.InitDefault();
  16102. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16103. _impl_.zn_streamurl_.Set("", GetArenaForAllocation());
  16104. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16105. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  16106. _this->_impl_.zn_streamurl_.Set(from._internal_zn_streamurl(), _this->GetArenaForAllocation());
  16107. }
  16108. _impl_.zn_key_.InitDefault();
  16109. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16110. _impl_.zn_key_.Set("", GetArenaForAllocation());
  16111. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16112. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  16113. _this->_impl_.zn_key_.Set(from._internal_zn_key(), _this->GetArenaForAllocation());
  16114. }
  16115. _impl_.zn_broadcasturl_.InitDefault();
  16116. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16117. _impl_.zn_broadcasturl_.Set("", GetArenaForAllocation());
  16118. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16119. if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
  16120. _this->_impl_.zn_broadcasturl_.Set(from._internal_zn_broadcasturl(), _this->GetArenaForAllocation());
  16121. }
  16122. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
  16123. }
  16124. inline void StartLiveStreamParams::SharedCtor(::_pb::Arena* arena) {
  16125. (void)arena;
  16126. new (&_impl_) Impl_{
  16127. decltype(_impl_._has_bits_){}
  16128. , /*decltype(_impl_._cached_size_)*/{}
  16129. , decltype(_impl_.zn_streamurl_) {}
  16130. , decltype(_impl_.zn_key_) {}
  16131. , decltype(_impl_.zn_broadcasturl_) {}
  16132. };
  16133. _impl_.zn_streamurl_.InitDefault();
  16134. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16135. _impl_.zn_streamurl_.Set("", GetArenaForAllocation());
  16136. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16137. _impl_.zn_key_.InitDefault();
  16138. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16139. _impl_.zn_key_.Set("", GetArenaForAllocation());
  16140. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16141. _impl_.zn_broadcasturl_.InitDefault();
  16142. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16143. _impl_.zn_broadcasturl_.Set("", GetArenaForAllocation());
  16144. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16145. }
  16146. StartLiveStreamParams::~StartLiveStreamParams() {
  16147. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
  16148. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  16149. (void)arena;
  16150. return;
  16151. }
  16152. SharedDtor();
  16153. }
  16154. inline void StartLiveStreamParams::SharedDtor() {
  16155. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  16156. _impl_.zn_streamurl_.Destroy();
  16157. _impl_.zn_key_.Destroy();
  16158. _impl_.zn_broadcasturl_.Destroy();
  16159. }
  16160. void StartLiveStreamParams::SetCachedSize(int size) const {
  16161. _impl_._cached_size_.Set(size);
  16162. }
  16163. void StartLiveStreamParams::Clear() {
  16164. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
  16165. ::uint32_t cached_has_bits = 0;
  16166. // Prevent compiler warnings about cached_has_bits being unused
  16167. (void) cached_has_bits;
  16168. cached_has_bits = _impl_._has_bits_[0];
  16169. if (cached_has_bits & 0x00000007u) {
  16170. if (cached_has_bits & 0x00000001u) {
  16171. _impl_.zn_streamurl_.ClearNonDefaultToEmpty();
  16172. }
  16173. if (cached_has_bits & 0x00000002u) {
  16174. _impl_.zn_key_.ClearNonDefaultToEmpty();
  16175. }
  16176. if (cached_has_bits & 0x00000004u) {
  16177. _impl_.zn_broadcasturl_.ClearNonDefaultToEmpty();
  16178. }
  16179. }
  16180. _impl_._has_bits_.Clear();
  16181. _internal_metadata_.Clear<std::string>();
  16182. }
  16183. const char* StartLiveStreamParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  16184. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  16185. _Internal::HasBits has_bits{};
  16186. while (!ctx->Done(&ptr)) {
  16187. ::uint32_t tag;
  16188. ptr = ::_pbi::ReadTag(ptr, &tag);
  16189. switch (tag >> 3) {
  16190. // optional string zn_streamUrl = 1;
  16191. case 1:
  16192. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  16193. auto str = _internal_mutable_zn_streamurl();
  16194. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  16195. CHK_(ptr);
  16196. } else {
  16197. goto handle_unusual;
  16198. }
  16199. continue;
  16200. // optional string zn_key = 2;
  16201. case 2:
  16202. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  16203. auto str = _internal_mutable_zn_key();
  16204. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  16205. CHK_(ptr);
  16206. } else {
  16207. goto handle_unusual;
  16208. }
  16209. continue;
  16210. // optional string zn_broadcastUrl = 3;
  16211. case 3:
  16212. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
  16213. auto str = _internal_mutable_zn_broadcasturl();
  16214. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  16215. CHK_(ptr);
  16216. } else {
  16217. goto handle_unusual;
  16218. }
  16219. continue;
  16220. default:
  16221. goto handle_unusual;
  16222. } // switch
  16223. handle_unusual:
  16224. if ((tag == 0) || ((tag & 7) == 4)) {
  16225. CHK_(ptr);
  16226. ctx->SetLastTag(tag);
  16227. goto message_done;
  16228. }
  16229. ptr = UnknownFieldParse(
  16230. tag,
  16231. _internal_metadata_.mutable_unknown_fields<std::string>(),
  16232. ptr, ctx);
  16233. CHK_(ptr != nullptr);
  16234. } // while
  16235. message_done:
  16236. _impl_._has_bits_.Or(has_bits);
  16237. return ptr;
  16238. failure:
  16239. ptr = nullptr;
  16240. goto message_done;
  16241. #undef CHK_
  16242. }
  16243. ::uint8_t* StartLiveStreamParams::_InternalSerialize(
  16244. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  16245. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
  16246. ::uint32_t cached_has_bits = 0;
  16247. (void) cached_has_bits;
  16248. cached_has_bits = _impl_._has_bits_[0];
  16249. // optional string zn_streamUrl = 1;
  16250. if (cached_has_bits & 0x00000001u) {
  16251. const std::string& _s = this->_internal_zn_streamurl();
  16252. target = stream->WriteStringMaybeAliased(1, _s, target);
  16253. }
  16254. // optional string zn_key = 2;
  16255. if (cached_has_bits & 0x00000002u) {
  16256. const std::string& _s = this->_internal_zn_key();
  16257. target = stream->WriteStringMaybeAliased(2, _s, target);
  16258. }
  16259. // optional string zn_broadcastUrl = 3;
  16260. if (cached_has_bits & 0x00000004u) {
  16261. const std::string& _s = this->_internal_zn_broadcasturl();
  16262. target = stream->WriteStringMaybeAliased(3, _s, target);
  16263. }
  16264. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  16265. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  16266. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  16267. }
  16268. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
  16269. return target;
  16270. }
  16271. ::size_t StartLiveStreamParams::ByteSizeLong() const {
  16272. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
  16273. ::size_t total_size = 0;
  16274. ::uint32_t cached_has_bits = 0;
  16275. // Prevent compiler warnings about cached_has_bits being unused
  16276. (void) cached_has_bits;
  16277. cached_has_bits = _impl_._has_bits_[0];
  16278. if (cached_has_bits & 0x00000007u) {
  16279. // optional string zn_streamUrl = 1;
  16280. if (cached_has_bits & 0x00000001u) {
  16281. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  16282. this->_internal_zn_streamurl());
  16283. }
  16284. // optional string zn_key = 2;
  16285. if (cached_has_bits & 0x00000002u) {
  16286. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  16287. this->_internal_zn_key());
  16288. }
  16289. // optional string zn_broadcastUrl = 3;
  16290. if (cached_has_bits & 0x00000004u) {
  16291. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  16292. this->_internal_zn_broadcasturl());
  16293. }
  16294. }
  16295. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  16296. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  16297. }
  16298. int cached_size = ::_pbi::ToCachedSize(total_size);
  16299. SetCachedSize(cached_size);
  16300. return total_size;
  16301. }
  16302. void StartLiveStreamParams::CheckTypeAndMergeFrom(
  16303. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  16304. MergeFrom(*::_pbi::DownCast<const StartLiveStreamParams*>(
  16305. &from));
  16306. }
  16307. void StartLiveStreamParams::MergeFrom(const StartLiveStreamParams& from) {
  16308. StartLiveStreamParams* const _this = this;
  16309. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
  16310. ABSL_DCHECK_NE(&from, _this);
  16311. ::uint32_t cached_has_bits = 0;
  16312. (void) cached_has_bits;
  16313. cached_has_bits = from._impl_._has_bits_[0];
  16314. if (cached_has_bits & 0x00000007u) {
  16315. if (cached_has_bits & 0x00000001u) {
  16316. _this->_internal_set_zn_streamurl(from._internal_zn_streamurl());
  16317. }
  16318. if (cached_has_bits & 0x00000002u) {
  16319. _this->_internal_set_zn_key(from._internal_zn_key());
  16320. }
  16321. if (cached_has_bits & 0x00000004u) {
  16322. _this->_internal_set_zn_broadcasturl(from._internal_zn_broadcasturl());
  16323. }
  16324. }
  16325. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  16326. }
  16327. void StartLiveStreamParams::CopyFrom(const StartLiveStreamParams& from) {
  16328. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
  16329. if (&from == this) return;
  16330. Clear();
  16331. MergeFrom(from);
  16332. }
  16333. bool StartLiveStreamParams::IsInitialized() const {
  16334. return true;
  16335. }
  16336. void StartLiveStreamParams::InternalSwap(StartLiveStreamParams* other) {
  16337. using std::swap;
  16338. auto* lhs_arena = GetArenaForAllocation();
  16339. auto* rhs_arena = other->GetArenaForAllocation();
  16340. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  16341. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  16342. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_streamurl_, lhs_arena,
  16343. &other->_impl_.zn_streamurl_, rhs_arena);
  16344. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_key_, lhs_arena,
  16345. &other->_impl_.zn_key_, rhs_arena);
  16346. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_broadcasturl_, lhs_arena,
  16347. &other->_impl_.zn_broadcasturl_, rhs_arena);
  16348. }
  16349. std::string StartLiveStreamParams::GetTypeName() const {
  16350. return "com.electron.zoomvideo.sdk.proto.StartLiveStreamParams";
  16351. }
  16352. // ===================================================================
  16353. class StartShareViewParams::_Internal {
  16354. public:
  16355. using HasBits = decltype(std::declval<StartShareViewParams>()._impl_._has_bits_);
  16356. static constexpr ::int32_t kHasBitsOffset =
  16357. 8 * PROTOBUF_FIELD_OFFSET(StartShareViewParams, _impl_._has_bits_);
  16358. static void set_has_zn_handle(HasBits* has_bits) {
  16359. (*has_bits)[0] |= 1u;
  16360. }
  16361. static void set_has_iswithdeviceaudio(HasBits* has_bits) {
  16362. (*has_bits)[0] |= 2u;
  16363. }
  16364. static void set_has_isoptimizeforsharedvideo(HasBits* has_bits) {
  16365. (*has_bits)[0] |= 4u;
  16366. }
  16367. };
  16368. StartShareViewParams::StartShareViewParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  16369. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  16370. SharedCtor(arena);
  16371. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
  16372. }
  16373. StartShareViewParams::StartShareViewParams(const StartShareViewParams& from)
  16374. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  16375. StartShareViewParams* const _this = this; (void)_this;
  16376. new (&_impl_) Impl_{
  16377. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  16378. , /*decltype(_impl_._cached_size_)*/{}
  16379. , decltype(_impl_.zn_handle_) {}
  16380. , decltype(_impl_.iswithdeviceaudio_) {}
  16381. , decltype(_impl_.isoptimizeforsharedvideo_) {}
  16382. };
  16383. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  16384. _impl_.zn_handle_.InitDefault();
  16385. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16386. _impl_.zn_handle_.Set("", GetArenaForAllocation());
  16387. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16388. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  16389. _this->_impl_.zn_handle_.Set(from._internal_zn_handle(), _this->GetArenaForAllocation());
  16390. }
  16391. ::memcpy(&_impl_.iswithdeviceaudio_, &from._impl_.iswithdeviceaudio_,
  16392. static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.isoptimizeforsharedvideo_) -
  16393. reinterpret_cast<char*>(&_impl_.iswithdeviceaudio_)) + sizeof(_impl_.isoptimizeforsharedvideo_));
  16394. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
  16395. }
  16396. inline void StartShareViewParams::SharedCtor(::_pb::Arena* arena) {
  16397. (void)arena;
  16398. new (&_impl_) Impl_{
  16399. decltype(_impl_._has_bits_){}
  16400. , /*decltype(_impl_._cached_size_)*/{}
  16401. , decltype(_impl_.zn_handle_) {}
  16402. , decltype(_impl_.iswithdeviceaudio_) { false }
  16403. , decltype(_impl_.isoptimizeforsharedvideo_) { false }
  16404. };
  16405. _impl_.zn_handle_.InitDefault();
  16406. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16407. _impl_.zn_handle_.Set("", GetArenaForAllocation());
  16408. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16409. }
  16410. StartShareViewParams::~StartShareViewParams() {
  16411. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
  16412. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  16413. (void)arena;
  16414. return;
  16415. }
  16416. SharedDtor();
  16417. }
  16418. inline void StartShareViewParams::SharedDtor() {
  16419. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  16420. _impl_.zn_handle_.Destroy();
  16421. }
  16422. void StartShareViewParams::SetCachedSize(int size) const {
  16423. _impl_._cached_size_.Set(size);
  16424. }
  16425. void StartShareViewParams::Clear() {
  16426. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
  16427. ::uint32_t cached_has_bits = 0;
  16428. // Prevent compiler warnings about cached_has_bits being unused
  16429. (void) cached_has_bits;
  16430. cached_has_bits = _impl_._has_bits_[0];
  16431. if (cached_has_bits & 0x00000001u) {
  16432. _impl_.zn_handle_.ClearNonDefaultToEmpty();
  16433. }
  16434. ::memset(&_impl_.iswithdeviceaudio_, 0, static_cast<::size_t>(
  16435. reinterpret_cast<char*>(&_impl_.isoptimizeforsharedvideo_) -
  16436. reinterpret_cast<char*>(&_impl_.iswithdeviceaudio_)) + sizeof(_impl_.isoptimizeforsharedvideo_));
  16437. _impl_._has_bits_.Clear();
  16438. _internal_metadata_.Clear<std::string>();
  16439. }
  16440. const char* StartShareViewParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  16441. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  16442. _Internal::HasBits has_bits{};
  16443. while (!ctx->Done(&ptr)) {
  16444. ::uint32_t tag;
  16445. ptr = ::_pbi::ReadTag(ptr, &tag);
  16446. switch (tag >> 3) {
  16447. // optional string zn_handle = 1;
  16448. case 1:
  16449. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  16450. auto str = _internal_mutable_zn_handle();
  16451. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  16452. CHK_(ptr);
  16453. } else {
  16454. goto handle_unusual;
  16455. }
  16456. continue;
  16457. // optional bool isWithDeviceAudio = 2;
  16458. case 2:
  16459. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  16460. _Internal::set_has_iswithdeviceaudio(&has_bits);
  16461. _impl_.iswithdeviceaudio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  16462. CHK_(ptr);
  16463. } else {
  16464. goto handle_unusual;
  16465. }
  16466. continue;
  16467. // optional bool isOptimizeForSharedVideo = 3;
  16468. case 3:
  16469. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  16470. _Internal::set_has_isoptimizeforsharedvideo(&has_bits);
  16471. _impl_.isoptimizeforsharedvideo_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  16472. CHK_(ptr);
  16473. } else {
  16474. goto handle_unusual;
  16475. }
  16476. continue;
  16477. default:
  16478. goto handle_unusual;
  16479. } // switch
  16480. handle_unusual:
  16481. if ((tag == 0) || ((tag & 7) == 4)) {
  16482. CHK_(ptr);
  16483. ctx->SetLastTag(tag);
  16484. goto message_done;
  16485. }
  16486. ptr = UnknownFieldParse(
  16487. tag,
  16488. _internal_metadata_.mutable_unknown_fields<std::string>(),
  16489. ptr, ctx);
  16490. CHK_(ptr != nullptr);
  16491. } // while
  16492. message_done:
  16493. _impl_._has_bits_.Or(has_bits);
  16494. return ptr;
  16495. failure:
  16496. ptr = nullptr;
  16497. goto message_done;
  16498. #undef CHK_
  16499. }
  16500. ::uint8_t* StartShareViewParams::_InternalSerialize(
  16501. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  16502. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
  16503. ::uint32_t cached_has_bits = 0;
  16504. (void) cached_has_bits;
  16505. cached_has_bits = _impl_._has_bits_[0];
  16506. // optional string zn_handle = 1;
  16507. if (cached_has_bits & 0x00000001u) {
  16508. const std::string& _s = this->_internal_zn_handle();
  16509. target = stream->WriteStringMaybeAliased(1, _s, target);
  16510. }
  16511. // optional bool isWithDeviceAudio = 2;
  16512. if (cached_has_bits & 0x00000002u) {
  16513. target = stream->EnsureSpace(target);
  16514. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  16515. 2, this->_internal_iswithdeviceaudio(), target);
  16516. }
  16517. // optional bool isOptimizeForSharedVideo = 3;
  16518. if (cached_has_bits & 0x00000004u) {
  16519. target = stream->EnsureSpace(target);
  16520. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  16521. 3, this->_internal_isoptimizeforsharedvideo(), target);
  16522. }
  16523. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  16524. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  16525. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  16526. }
  16527. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
  16528. return target;
  16529. }
  16530. ::size_t StartShareViewParams::ByteSizeLong() const {
  16531. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
  16532. ::size_t total_size = 0;
  16533. ::uint32_t cached_has_bits = 0;
  16534. // Prevent compiler warnings about cached_has_bits being unused
  16535. (void) cached_has_bits;
  16536. cached_has_bits = _impl_._has_bits_[0];
  16537. if (cached_has_bits & 0x00000007u) {
  16538. // optional string zn_handle = 1;
  16539. if (cached_has_bits & 0x00000001u) {
  16540. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  16541. this->_internal_zn_handle());
  16542. }
  16543. // optional bool isWithDeviceAudio = 2;
  16544. if (cached_has_bits & 0x00000002u) {
  16545. total_size += 2;
  16546. }
  16547. // optional bool isOptimizeForSharedVideo = 3;
  16548. if (cached_has_bits & 0x00000004u) {
  16549. total_size += 2;
  16550. }
  16551. }
  16552. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  16553. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  16554. }
  16555. int cached_size = ::_pbi::ToCachedSize(total_size);
  16556. SetCachedSize(cached_size);
  16557. return total_size;
  16558. }
  16559. void StartShareViewParams::CheckTypeAndMergeFrom(
  16560. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  16561. MergeFrom(*::_pbi::DownCast<const StartShareViewParams*>(
  16562. &from));
  16563. }
  16564. void StartShareViewParams::MergeFrom(const StartShareViewParams& from) {
  16565. StartShareViewParams* const _this = this;
  16566. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
  16567. ABSL_DCHECK_NE(&from, _this);
  16568. ::uint32_t cached_has_bits = 0;
  16569. (void) cached_has_bits;
  16570. cached_has_bits = from._impl_._has_bits_[0];
  16571. if (cached_has_bits & 0x00000007u) {
  16572. if (cached_has_bits & 0x00000001u) {
  16573. _this->_internal_set_zn_handle(from._internal_zn_handle());
  16574. }
  16575. if (cached_has_bits & 0x00000002u) {
  16576. _this->_impl_.iswithdeviceaudio_ = from._impl_.iswithdeviceaudio_;
  16577. }
  16578. if (cached_has_bits & 0x00000004u) {
  16579. _this->_impl_.isoptimizeforsharedvideo_ = from._impl_.isoptimizeforsharedvideo_;
  16580. }
  16581. _this->_impl_._has_bits_[0] |= cached_has_bits;
  16582. }
  16583. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  16584. }
  16585. void StartShareViewParams::CopyFrom(const StartShareViewParams& from) {
  16586. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
  16587. if (&from == this) return;
  16588. Clear();
  16589. MergeFrom(from);
  16590. }
  16591. bool StartShareViewParams::IsInitialized() const {
  16592. return true;
  16593. }
  16594. void StartShareViewParams::InternalSwap(StartShareViewParams* other) {
  16595. using std::swap;
  16596. auto* lhs_arena = GetArenaForAllocation();
  16597. auto* rhs_arena = other->GetArenaForAllocation();
  16598. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  16599. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  16600. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_handle_, lhs_arena,
  16601. &other->_impl_.zn_handle_, rhs_arena);
  16602. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  16603. PROTOBUF_FIELD_OFFSET(StartShareViewParams, _impl_.isoptimizeforsharedvideo_)
  16604. + sizeof(StartShareViewParams::_impl_.isoptimizeforsharedvideo_)
  16605. - PROTOBUF_FIELD_OFFSET(StartShareViewParams, _impl_.iswithdeviceaudio_)>(
  16606. reinterpret_cast<char*>(&_impl_.iswithdeviceaudio_),
  16607. reinterpret_cast<char*>(&other->_impl_.iswithdeviceaudio_));
  16608. }
  16609. std::string StartShareViewParams::GetTypeName() const {
  16610. return "com.electron.zoomvideo.sdk.proto.StartShareViewParams";
  16611. }
  16612. // ===================================================================
  16613. class StartShareScreenParams::_Internal {
  16614. public:
  16615. using HasBits = decltype(std::declval<StartShareScreenParams>()._impl_._has_bits_);
  16616. static constexpr ::int32_t kHasBitsOffset =
  16617. 8 * PROTOBUF_FIELD_OFFSET(StartShareScreenParams, _impl_._has_bits_);
  16618. static void set_has_zn_monitorid(HasBits* has_bits) {
  16619. (*has_bits)[0] |= 1u;
  16620. }
  16621. static void set_has_iswithdeviceaudio(HasBits* has_bits) {
  16622. (*has_bits)[0] |= 2u;
  16623. }
  16624. static void set_has_isoptimizeforsharedvideo(HasBits* has_bits) {
  16625. (*has_bits)[0] |= 4u;
  16626. }
  16627. };
  16628. StartShareScreenParams::StartShareScreenParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  16629. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  16630. SharedCtor(arena);
  16631. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
  16632. }
  16633. StartShareScreenParams::StartShareScreenParams(const StartShareScreenParams& from)
  16634. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  16635. StartShareScreenParams* const _this = this; (void)_this;
  16636. new (&_impl_) Impl_{
  16637. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  16638. , /*decltype(_impl_._cached_size_)*/{}
  16639. , decltype(_impl_.zn_monitorid_) {}
  16640. , decltype(_impl_.iswithdeviceaudio_) {}
  16641. , decltype(_impl_.isoptimizeforsharedvideo_) {}
  16642. };
  16643. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  16644. _impl_.zn_monitorid_.InitDefault();
  16645. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16646. _impl_.zn_monitorid_.Set("", GetArenaForAllocation());
  16647. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16648. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  16649. _this->_impl_.zn_monitorid_.Set(from._internal_zn_monitorid(), _this->GetArenaForAllocation());
  16650. }
  16651. ::memcpy(&_impl_.iswithdeviceaudio_, &from._impl_.iswithdeviceaudio_,
  16652. static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.isoptimizeforsharedvideo_) -
  16653. reinterpret_cast<char*>(&_impl_.iswithdeviceaudio_)) + sizeof(_impl_.isoptimizeforsharedvideo_));
  16654. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
  16655. }
  16656. inline void StartShareScreenParams::SharedCtor(::_pb::Arena* arena) {
  16657. (void)arena;
  16658. new (&_impl_) Impl_{
  16659. decltype(_impl_._has_bits_){}
  16660. , /*decltype(_impl_._cached_size_)*/{}
  16661. , decltype(_impl_.zn_monitorid_) {}
  16662. , decltype(_impl_.iswithdeviceaudio_) { false }
  16663. , decltype(_impl_.isoptimizeforsharedvideo_) { false }
  16664. };
  16665. _impl_.zn_monitorid_.InitDefault();
  16666. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16667. _impl_.zn_monitorid_.Set("", GetArenaForAllocation());
  16668. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  16669. }
  16670. StartShareScreenParams::~StartShareScreenParams() {
  16671. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
  16672. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  16673. (void)arena;
  16674. return;
  16675. }
  16676. SharedDtor();
  16677. }
  16678. inline void StartShareScreenParams::SharedDtor() {
  16679. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  16680. _impl_.zn_monitorid_.Destroy();
  16681. }
  16682. void StartShareScreenParams::SetCachedSize(int size) const {
  16683. _impl_._cached_size_.Set(size);
  16684. }
  16685. void StartShareScreenParams::Clear() {
  16686. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
  16687. ::uint32_t cached_has_bits = 0;
  16688. // Prevent compiler warnings about cached_has_bits being unused
  16689. (void) cached_has_bits;
  16690. cached_has_bits = _impl_._has_bits_[0];
  16691. if (cached_has_bits & 0x00000001u) {
  16692. _impl_.zn_monitorid_.ClearNonDefaultToEmpty();
  16693. }
  16694. ::memset(&_impl_.iswithdeviceaudio_, 0, static_cast<::size_t>(
  16695. reinterpret_cast<char*>(&_impl_.isoptimizeforsharedvideo_) -
  16696. reinterpret_cast<char*>(&_impl_.iswithdeviceaudio_)) + sizeof(_impl_.isoptimizeforsharedvideo_));
  16697. _impl_._has_bits_.Clear();
  16698. _internal_metadata_.Clear<std::string>();
  16699. }
  16700. const char* StartShareScreenParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  16701. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  16702. _Internal::HasBits has_bits{};
  16703. while (!ctx->Done(&ptr)) {
  16704. ::uint32_t tag;
  16705. ptr = ::_pbi::ReadTag(ptr, &tag);
  16706. switch (tag >> 3) {
  16707. // optional string zn_monitorID = 1;
  16708. case 1:
  16709. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  16710. auto str = _internal_mutable_zn_monitorid();
  16711. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  16712. CHK_(ptr);
  16713. } else {
  16714. goto handle_unusual;
  16715. }
  16716. continue;
  16717. // optional bool isWithDeviceAudio = 2;
  16718. case 2:
  16719. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  16720. _Internal::set_has_iswithdeviceaudio(&has_bits);
  16721. _impl_.iswithdeviceaudio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  16722. CHK_(ptr);
  16723. } else {
  16724. goto handle_unusual;
  16725. }
  16726. continue;
  16727. // optional bool isOptimizeForSharedVideo = 3;
  16728. case 3:
  16729. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  16730. _Internal::set_has_isoptimizeforsharedvideo(&has_bits);
  16731. _impl_.isoptimizeforsharedvideo_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  16732. CHK_(ptr);
  16733. } else {
  16734. goto handle_unusual;
  16735. }
  16736. continue;
  16737. default:
  16738. goto handle_unusual;
  16739. } // switch
  16740. handle_unusual:
  16741. if ((tag == 0) || ((tag & 7) == 4)) {
  16742. CHK_(ptr);
  16743. ctx->SetLastTag(tag);
  16744. goto message_done;
  16745. }
  16746. ptr = UnknownFieldParse(
  16747. tag,
  16748. _internal_metadata_.mutable_unknown_fields<std::string>(),
  16749. ptr, ctx);
  16750. CHK_(ptr != nullptr);
  16751. } // while
  16752. message_done:
  16753. _impl_._has_bits_.Or(has_bits);
  16754. return ptr;
  16755. failure:
  16756. ptr = nullptr;
  16757. goto message_done;
  16758. #undef CHK_
  16759. }
  16760. ::uint8_t* StartShareScreenParams::_InternalSerialize(
  16761. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  16762. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
  16763. ::uint32_t cached_has_bits = 0;
  16764. (void) cached_has_bits;
  16765. cached_has_bits = _impl_._has_bits_[0];
  16766. // optional string zn_monitorID = 1;
  16767. if (cached_has_bits & 0x00000001u) {
  16768. const std::string& _s = this->_internal_zn_monitorid();
  16769. target = stream->WriteStringMaybeAliased(1, _s, target);
  16770. }
  16771. // optional bool isWithDeviceAudio = 2;
  16772. if (cached_has_bits & 0x00000002u) {
  16773. target = stream->EnsureSpace(target);
  16774. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  16775. 2, this->_internal_iswithdeviceaudio(), target);
  16776. }
  16777. // optional bool isOptimizeForSharedVideo = 3;
  16778. if (cached_has_bits & 0x00000004u) {
  16779. target = stream->EnsureSpace(target);
  16780. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  16781. 3, this->_internal_isoptimizeforsharedvideo(), target);
  16782. }
  16783. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  16784. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  16785. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  16786. }
  16787. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
  16788. return target;
  16789. }
  16790. ::size_t StartShareScreenParams::ByteSizeLong() const {
  16791. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
  16792. ::size_t total_size = 0;
  16793. ::uint32_t cached_has_bits = 0;
  16794. // Prevent compiler warnings about cached_has_bits being unused
  16795. (void) cached_has_bits;
  16796. cached_has_bits = _impl_._has_bits_[0];
  16797. if (cached_has_bits & 0x00000007u) {
  16798. // optional string zn_monitorID = 1;
  16799. if (cached_has_bits & 0x00000001u) {
  16800. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  16801. this->_internal_zn_monitorid());
  16802. }
  16803. // optional bool isWithDeviceAudio = 2;
  16804. if (cached_has_bits & 0x00000002u) {
  16805. total_size += 2;
  16806. }
  16807. // optional bool isOptimizeForSharedVideo = 3;
  16808. if (cached_has_bits & 0x00000004u) {
  16809. total_size += 2;
  16810. }
  16811. }
  16812. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  16813. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  16814. }
  16815. int cached_size = ::_pbi::ToCachedSize(total_size);
  16816. SetCachedSize(cached_size);
  16817. return total_size;
  16818. }
  16819. void StartShareScreenParams::CheckTypeAndMergeFrom(
  16820. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  16821. MergeFrom(*::_pbi::DownCast<const StartShareScreenParams*>(
  16822. &from));
  16823. }
  16824. void StartShareScreenParams::MergeFrom(const StartShareScreenParams& from) {
  16825. StartShareScreenParams* const _this = this;
  16826. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
  16827. ABSL_DCHECK_NE(&from, _this);
  16828. ::uint32_t cached_has_bits = 0;
  16829. (void) cached_has_bits;
  16830. cached_has_bits = from._impl_._has_bits_[0];
  16831. if (cached_has_bits & 0x00000007u) {
  16832. if (cached_has_bits & 0x00000001u) {
  16833. _this->_internal_set_zn_monitorid(from._internal_zn_monitorid());
  16834. }
  16835. if (cached_has_bits & 0x00000002u) {
  16836. _this->_impl_.iswithdeviceaudio_ = from._impl_.iswithdeviceaudio_;
  16837. }
  16838. if (cached_has_bits & 0x00000004u) {
  16839. _this->_impl_.isoptimizeforsharedvideo_ = from._impl_.isoptimizeforsharedvideo_;
  16840. }
  16841. _this->_impl_._has_bits_[0] |= cached_has_bits;
  16842. }
  16843. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  16844. }
  16845. void StartShareScreenParams::CopyFrom(const StartShareScreenParams& from) {
  16846. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
  16847. if (&from == this) return;
  16848. Clear();
  16849. MergeFrom(from);
  16850. }
  16851. bool StartShareScreenParams::IsInitialized() const {
  16852. return true;
  16853. }
  16854. void StartShareScreenParams::InternalSwap(StartShareScreenParams* other) {
  16855. using std::swap;
  16856. auto* lhs_arena = GetArenaForAllocation();
  16857. auto* rhs_arena = other->GetArenaForAllocation();
  16858. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  16859. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  16860. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_monitorid_, lhs_arena,
  16861. &other->_impl_.zn_monitorid_, rhs_arena);
  16862. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  16863. PROTOBUF_FIELD_OFFSET(StartShareScreenParams, _impl_.isoptimizeforsharedvideo_)
  16864. + sizeof(StartShareScreenParams::_impl_.isoptimizeforsharedvideo_)
  16865. - PROTOBUF_FIELD_OFFSET(StartShareScreenParams, _impl_.iswithdeviceaudio_)>(
  16866. reinterpret_cast<char*>(&_impl_.iswithdeviceaudio_),
  16867. reinterpret_cast<char*>(&other->_impl_.iswithdeviceaudio_));
  16868. }
  16869. std::string StartShareScreenParams::GetTypeName() const {
  16870. return "com.electron.zoomvideo.sdk.proto.StartShareScreenParams";
  16871. }
  16872. // ===================================================================
  16873. class LockShareParams::_Internal {
  16874. public:
  16875. using HasBits = decltype(std::declval<LockShareParams>()._impl_._has_bits_);
  16876. static constexpr ::int32_t kHasBitsOffset =
  16877. 8 * PROTOBUF_FIELD_OFFSET(LockShareParams, _impl_._has_bits_);
  16878. static void set_has_zn_block(HasBits* has_bits) {
  16879. (*has_bits)[0] |= 1u;
  16880. }
  16881. };
  16882. LockShareParams::LockShareParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  16883. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  16884. SharedCtor(arena);
  16885. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LockShareParams)
  16886. }
  16887. LockShareParams::LockShareParams(const LockShareParams& from)
  16888. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  16889. _internal_metadata_.MergeFrom<std::string>(
  16890. from._internal_metadata_);
  16891. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LockShareParams)
  16892. }
  16893. inline void LockShareParams::SharedCtor(::_pb::Arena* arena) {
  16894. (void)arena;
  16895. new (&_impl_) Impl_{
  16896. decltype(_impl_._has_bits_){}
  16897. , /*decltype(_impl_._cached_size_)*/{}
  16898. , decltype(_impl_.zn_block_) { false }
  16899. };
  16900. }
  16901. LockShareParams::~LockShareParams() {
  16902. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LockShareParams)
  16903. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  16904. (void)arena;
  16905. return;
  16906. }
  16907. SharedDtor();
  16908. }
  16909. inline void LockShareParams::SharedDtor() {
  16910. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  16911. }
  16912. void LockShareParams::SetCachedSize(int size) const {
  16913. _impl_._cached_size_.Set(size);
  16914. }
  16915. void LockShareParams::Clear() {
  16916. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LockShareParams)
  16917. ::uint32_t cached_has_bits = 0;
  16918. // Prevent compiler warnings about cached_has_bits being unused
  16919. (void) cached_has_bits;
  16920. _impl_.zn_block_ = false;
  16921. _impl_._has_bits_.Clear();
  16922. _internal_metadata_.Clear<std::string>();
  16923. }
  16924. const char* LockShareParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  16925. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  16926. _Internal::HasBits has_bits{};
  16927. while (!ctx->Done(&ptr)) {
  16928. ::uint32_t tag;
  16929. ptr = ::_pbi::ReadTag(ptr, &tag);
  16930. switch (tag >> 3) {
  16931. // optional bool zn_bLock = 1;
  16932. case 1:
  16933. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  16934. _Internal::set_has_zn_block(&has_bits);
  16935. _impl_.zn_block_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  16936. CHK_(ptr);
  16937. } else {
  16938. goto handle_unusual;
  16939. }
  16940. continue;
  16941. default:
  16942. goto handle_unusual;
  16943. } // switch
  16944. handle_unusual:
  16945. if ((tag == 0) || ((tag & 7) == 4)) {
  16946. CHK_(ptr);
  16947. ctx->SetLastTag(tag);
  16948. goto message_done;
  16949. }
  16950. ptr = UnknownFieldParse(
  16951. tag,
  16952. _internal_metadata_.mutable_unknown_fields<std::string>(),
  16953. ptr, ctx);
  16954. CHK_(ptr != nullptr);
  16955. } // while
  16956. message_done:
  16957. _impl_._has_bits_.Or(has_bits);
  16958. return ptr;
  16959. failure:
  16960. ptr = nullptr;
  16961. goto message_done;
  16962. #undef CHK_
  16963. }
  16964. ::uint8_t* LockShareParams::_InternalSerialize(
  16965. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  16966. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LockShareParams)
  16967. ::uint32_t cached_has_bits = 0;
  16968. (void) cached_has_bits;
  16969. cached_has_bits = _impl_._has_bits_[0];
  16970. // optional bool zn_bLock = 1;
  16971. if (cached_has_bits & 0x00000001u) {
  16972. target = stream->EnsureSpace(target);
  16973. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  16974. 1, this->_internal_zn_block(), target);
  16975. }
  16976. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  16977. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  16978. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  16979. }
  16980. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LockShareParams)
  16981. return target;
  16982. }
  16983. ::size_t LockShareParams::ByteSizeLong() const {
  16984. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LockShareParams)
  16985. ::size_t total_size = 0;
  16986. ::uint32_t cached_has_bits = 0;
  16987. // Prevent compiler warnings about cached_has_bits being unused
  16988. (void) cached_has_bits;
  16989. // optional bool zn_bLock = 1;
  16990. cached_has_bits = _impl_._has_bits_[0];
  16991. if (cached_has_bits & 0x00000001u) {
  16992. total_size += 2;
  16993. }
  16994. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  16995. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  16996. }
  16997. int cached_size = ::_pbi::ToCachedSize(total_size);
  16998. SetCachedSize(cached_size);
  16999. return total_size;
  17000. }
  17001. void LockShareParams::CheckTypeAndMergeFrom(
  17002. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  17003. MergeFrom(*::_pbi::DownCast<const LockShareParams*>(
  17004. &from));
  17005. }
  17006. void LockShareParams::MergeFrom(const LockShareParams& from) {
  17007. LockShareParams* const _this = this;
  17008. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LockShareParams)
  17009. ABSL_DCHECK_NE(&from, _this);
  17010. ::uint32_t cached_has_bits = 0;
  17011. (void) cached_has_bits;
  17012. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  17013. _this->_internal_set_zn_block(from._internal_zn_block());
  17014. }
  17015. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  17016. }
  17017. void LockShareParams::CopyFrom(const LockShareParams& from) {
  17018. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LockShareParams)
  17019. if (&from == this) return;
  17020. Clear();
  17021. MergeFrom(from);
  17022. }
  17023. bool LockShareParams::IsInitialized() const {
  17024. return true;
  17025. }
  17026. void LockShareParams::InternalSwap(LockShareParams* other) {
  17027. using std::swap;
  17028. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  17029. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  17030. swap(_impl_.zn_block_, other->_impl_.zn_block_);
  17031. }
  17032. std::string LockShareParams::GetTypeName() const {
  17033. return "com.electron.zoomvideo.sdk.proto.LockShareParams";
  17034. }
  17035. // ===================================================================
  17036. class EnableShareDeviceAudioParams::_Internal {
  17037. public:
  17038. using HasBits = decltype(std::declval<EnableShareDeviceAudioParams>()._impl_._has_bits_);
  17039. static constexpr ::int32_t kHasBitsOffset =
  17040. 8 * PROTOBUF_FIELD_OFFSET(EnableShareDeviceAudioParams, _impl_._has_bits_);
  17041. static void set_has_enable(HasBits* has_bits) {
  17042. (*has_bits)[0] |= 1u;
  17043. }
  17044. };
  17045. EnableShareDeviceAudioParams::EnableShareDeviceAudioParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  17046. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  17047. SharedCtor(arena);
  17048. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
  17049. }
  17050. EnableShareDeviceAudioParams::EnableShareDeviceAudioParams(const EnableShareDeviceAudioParams& from)
  17051. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  17052. _internal_metadata_.MergeFrom<std::string>(
  17053. from._internal_metadata_);
  17054. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
  17055. }
  17056. inline void EnableShareDeviceAudioParams::SharedCtor(::_pb::Arena* arena) {
  17057. (void)arena;
  17058. new (&_impl_) Impl_{
  17059. decltype(_impl_._has_bits_){}
  17060. , /*decltype(_impl_._cached_size_)*/{}
  17061. , decltype(_impl_.enable_) { false }
  17062. };
  17063. }
  17064. EnableShareDeviceAudioParams::~EnableShareDeviceAudioParams() {
  17065. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
  17066. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  17067. (void)arena;
  17068. return;
  17069. }
  17070. SharedDtor();
  17071. }
  17072. inline void EnableShareDeviceAudioParams::SharedDtor() {
  17073. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  17074. }
  17075. void EnableShareDeviceAudioParams::SetCachedSize(int size) const {
  17076. _impl_._cached_size_.Set(size);
  17077. }
  17078. void EnableShareDeviceAudioParams::Clear() {
  17079. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
  17080. ::uint32_t cached_has_bits = 0;
  17081. // Prevent compiler warnings about cached_has_bits being unused
  17082. (void) cached_has_bits;
  17083. _impl_.enable_ = false;
  17084. _impl_._has_bits_.Clear();
  17085. _internal_metadata_.Clear<std::string>();
  17086. }
  17087. const char* EnableShareDeviceAudioParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  17088. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  17089. _Internal::HasBits has_bits{};
  17090. while (!ctx->Done(&ptr)) {
  17091. ::uint32_t tag;
  17092. ptr = ::_pbi::ReadTag(ptr, &tag);
  17093. switch (tag >> 3) {
  17094. // optional bool enable = 1;
  17095. case 1:
  17096. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  17097. _Internal::set_has_enable(&has_bits);
  17098. _impl_.enable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  17099. CHK_(ptr);
  17100. } else {
  17101. goto handle_unusual;
  17102. }
  17103. continue;
  17104. default:
  17105. goto handle_unusual;
  17106. } // switch
  17107. handle_unusual:
  17108. if ((tag == 0) || ((tag & 7) == 4)) {
  17109. CHK_(ptr);
  17110. ctx->SetLastTag(tag);
  17111. goto message_done;
  17112. }
  17113. ptr = UnknownFieldParse(
  17114. tag,
  17115. _internal_metadata_.mutable_unknown_fields<std::string>(),
  17116. ptr, ctx);
  17117. CHK_(ptr != nullptr);
  17118. } // while
  17119. message_done:
  17120. _impl_._has_bits_.Or(has_bits);
  17121. return ptr;
  17122. failure:
  17123. ptr = nullptr;
  17124. goto message_done;
  17125. #undef CHK_
  17126. }
  17127. ::uint8_t* EnableShareDeviceAudioParams::_InternalSerialize(
  17128. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  17129. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
  17130. ::uint32_t cached_has_bits = 0;
  17131. (void) cached_has_bits;
  17132. cached_has_bits = _impl_._has_bits_[0];
  17133. // optional bool enable = 1;
  17134. if (cached_has_bits & 0x00000001u) {
  17135. target = stream->EnsureSpace(target);
  17136. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  17137. 1, this->_internal_enable(), target);
  17138. }
  17139. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  17140. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  17141. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  17142. }
  17143. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
  17144. return target;
  17145. }
  17146. ::size_t EnableShareDeviceAudioParams::ByteSizeLong() const {
  17147. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
  17148. ::size_t total_size = 0;
  17149. ::uint32_t cached_has_bits = 0;
  17150. // Prevent compiler warnings about cached_has_bits being unused
  17151. (void) cached_has_bits;
  17152. // optional bool enable = 1;
  17153. cached_has_bits = _impl_._has_bits_[0];
  17154. if (cached_has_bits & 0x00000001u) {
  17155. total_size += 2;
  17156. }
  17157. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  17158. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  17159. }
  17160. int cached_size = ::_pbi::ToCachedSize(total_size);
  17161. SetCachedSize(cached_size);
  17162. return total_size;
  17163. }
  17164. void EnableShareDeviceAudioParams::CheckTypeAndMergeFrom(
  17165. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  17166. MergeFrom(*::_pbi::DownCast<const EnableShareDeviceAudioParams*>(
  17167. &from));
  17168. }
  17169. void EnableShareDeviceAudioParams::MergeFrom(const EnableShareDeviceAudioParams& from) {
  17170. EnableShareDeviceAudioParams* const _this = this;
  17171. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
  17172. ABSL_DCHECK_NE(&from, _this);
  17173. ::uint32_t cached_has_bits = 0;
  17174. (void) cached_has_bits;
  17175. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  17176. _this->_internal_set_enable(from._internal_enable());
  17177. }
  17178. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  17179. }
  17180. void EnableShareDeviceAudioParams::CopyFrom(const EnableShareDeviceAudioParams& from) {
  17181. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
  17182. if (&from == this) return;
  17183. Clear();
  17184. MergeFrom(from);
  17185. }
  17186. bool EnableShareDeviceAudioParams::IsInitialized() const {
  17187. return true;
  17188. }
  17189. void EnableShareDeviceAudioParams::InternalSwap(EnableShareDeviceAudioParams* other) {
  17190. using std::swap;
  17191. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  17192. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  17193. swap(_impl_.enable_, other->_impl_.enable_);
  17194. }
  17195. std::string EnableShareDeviceAudioParams::GetTypeName() const {
  17196. return "com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams";
  17197. }
  17198. // ===================================================================
  17199. class EnableOptimizeForSharedVideoParams::_Internal {
  17200. public:
  17201. using HasBits = decltype(std::declval<EnableOptimizeForSharedVideoParams>()._impl_._has_bits_);
  17202. static constexpr ::int32_t kHasBitsOffset =
  17203. 8 * PROTOBUF_FIELD_OFFSET(EnableOptimizeForSharedVideoParams, _impl_._has_bits_);
  17204. static void set_has_enable(HasBits* has_bits) {
  17205. (*has_bits)[0] |= 1u;
  17206. }
  17207. };
  17208. EnableOptimizeForSharedVideoParams::EnableOptimizeForSharedVideoParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  17209. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  17210. SharedCtor(arena);
  17211. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
  17212. }
  17213. EnableOptimizeForSharedVideoParams::EnableOptimizeForSharedVideoParams(const EnableOptimizeForSharedVideoParams& from)
  17214. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  17215. _internal_metadata_.MergeFrom<std::string>(
  17216. from._internal_metadata_);
  17217. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
  17218. }
  17219. inline void EnableOptimizeForSharedVideoParams::SharedCtor(::_pb::Arena* arena) {
  17220. (void)arena;
  17221. new (&_impl_) Impl_{
  17222. decltype(_impl_._has_bits_){}
  17223. , /*decltype(_impl_._cached_size_)*/{}
  17224. , decltype(_impl_.enable_) { false }
  17225. };
  17226. }
  17227. EnableOptimizeForSharedVideoParams::~EnableOptimizeForSharedVideoParams() {
  17228. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
  17229. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  17230. (void)arena;
  17231. return;
  17232. }
  17233. SharedDtor();
  17234. }
  17235. inline void EnableOptimizeForSharedVideoParams::SharedDtor() {
  17236. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  17237. }
  17238. void EnableOptimizeForSharedVideoParams::SetCachedSize(int size) const {
  17239. _impl_._cached_size_.Set(size);
  17240. }
  17241. void EnableOptimizeForSharedVideoParams::Clear() {
  17242. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
  17243. ::uint32_t cached_has_bits = 0;
  17244. // Prevent compiler warnings about cached_has_bits being unused
  17245. (void) cached_has_bits;
  17246. _impl_.enable_ = false;
  17247. _impl_._has_bits_.Clear();
  17248. _internal_metadata_.Clear<std::string>();
  17249. }
  17250. const char* EnableOptimizeForSharedVideoParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  17251. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  17252. _Internal::HasBits has_bits{};
  17253. while (!ctx->Done(&ptr)) {
  17254. ::uint32_t tag;
  17255. ptr = ::_pbi::ReadTag(ptr, &tag);
  17256. switch (tag >> 3) {
  17257. // optional bool enable = 1;
  17258. case 1:
  17259. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  17260. _Internal::set_has_enable(&has_bits);
  17261. _impl_.enable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  17262. CHK_(ptr);
  17263. } else {
  17264. goto handle_unusual;
  17265. }
  17266. continue;
  17267. default:
  17268. goto handle_unusual;
  17269. } // switch
  17270. handle_unusual:
  17271. if ((tag == 0) || ((tag & 7) == 4)) {
  17272. CHK_(ptr);
  17273. ctx->SetLastTag(tag);
  17274. goto message_done;
  17275. }
  17276. ptr = UnknownFieldParse(
  17277. tag,
  17278. _internal_metadata_.mutable_unknown_fields<std::string>(),
  17279. ptr, ctx);
  17280. CHK_(ptr != nullptr);
  17281. } // while
  17282. message_done:
  17283. _impl_._has_bits_.Or(has_bits);
  17284. return ptr;
  17285. failure:
  17286. ptr = nullptr;
  17287. goto message_done;
  17288. #undef CHK_
  17289. }
  17290. ::uint8_t* EnableOptimizeForSharedVideoParams::_InternalSerialize(
  17291. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  17292. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
  17293. ::uint32_t cached_has_bits = 0;
  17294. (void) cached_has_bits;
  17295. cached_has_bits = _impl_._has_bits_[0];
  17296. // optional bool enable = 1;
  17297. if (cached_has_bits & 0x00000001u) {
  17298. target = stream->EnsureSpace(target);
  17299. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  17300. 1, this->_internal_enable(), target);
  17301. }
  17302. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  17303. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  17304. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  17305. }
  17306. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
  17307. return target;
  17308. }
  17309. ::size_t EnableOptimizeForSharedVideoParams::ByteSizeLong() const {
  17310. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
  17311. ::size_t total_size = 0;
  17312. ::uint32_t cached_has_bits = 0;
  17313. // Prevent compiler warnings about cached_has_bits being unused
  17314. (void) cached_has_bits;
  17315. // optional bool enable = 1;
  17316. cached_has_bits = _impl_._has_bits_[0];
  17317. if (cached_has_bits & 0x00000001u) {
  17318. total_size += 2;
  17319. }
  17320. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  17321. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  17322. }
  17323. int cached_size = ::_pbi::ToCachedSize(total_size);
  17324. SetCachedSize(cached_size);
  17325. return total_size;
  17326. }
  17327. void EnableOptimizeForSharedVideoParams::CheckTypeAndMergeFrom(
  17328. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  17329. MergeFrom(*::_pbi::DownCast<const EnableOptimizeForSharedVideoParams*>(
  17330. &from));
  17331. }
  17332. void EnableOptimizeForSharedVideoParams::MergeFrom(const EnableOptimizeForSharedVideoParams& from) {
  17333. EnableOptimizeForSharedVideoParams* const _this = this;
  17334. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
  17335. ABSL_DCHECK_NE(&from, _this);
  17336. ::uint32_t cached_has_bits = 0;
  17337. (void) cached_has_bits;
  17338. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  17339. _this->_internal_set_enable(from._internal_enable());
  17340. }
  17341. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  17342. }
  17343. void EnableOptimizeForSharedVideoParams::CopyFrom(const EnableOptimizeForSharedVideoParams& from) {
  17344. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
  17345. if (&from == this) return;
  17346. Clear();
  17347. MergeFrom(from);
  17348. }
  17349. bool EnableOptimizeForSharedVideoParams::IsInitialized() const {
  17350. return true;
  17351. }
  17352. void EnableOptimizeForSharedVideoParams::InternalSwap(EnableOptimizeForSharedVideoParams* other) {
  17353. using std::swap;
  17354. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  17355. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  17356. swap(_impl_.enable_, other->_impl_.enable_);
  17357. }
  17358. std::string EnableOptimizeForSharedVideoParams::GetTypeName() const {
  17359. return "com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams";
  17360. }
  17361. // ===================================================================
  17362. class StartShare2ndCameraParams::_Internal {
  17363. public:
  17364. using HasBits = decltype(std::declval<StartShare2ndCameraParams>()._impl_._has_bits_);
  17365. static constexpr ::int32_t kHasBitsOffset =
  17366. 8 * PROTOBUF_FIELD_OFFSET(StartShare2ndCameraParams, _impl_._has_bits_);
  17367. static void set_has_zn_cameraid(HasBits* has_bits) {
  17368. (*has_bits)[0] |= 1u;
  17369. }
  17370. };
  17371. StartShare2ndCameraParams::StartShare2ndCameraParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  17372. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  17373. SharedCtor(arena);
  17374. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
  17375. }
  17376. StartShare2ndCameraParams::StartShare2ndCameraParams(const StartShare2ndCameraParams& from)
  17377. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  17378. StartShare2ndCameraParams* const _this = this; (void)_this;
  17379. new (&_impl_) Impl_{
  17380. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  17381. , /*decltype(_impl_._cached_size_)*/{}
  17382. , decltype(_impl_.zn_cameraid_) {}
  17383. };
  17384. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  17385. _impl_.zn_cameraid_.InitDefault();
  17386. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  17387. _impl_.zn_cameraid_.Set("", GetArenaForAllocation());
  17388. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  17389. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  17390. _this->_impl_.zn_cameraid_.Set(from._internal_zn_cameraid(), _this->GetArenaForAllocation());
  17391. }
  17392. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
  17393. }
  17394. inline void StartShare2ndCameraParams::SharedCtor(::_pb::Arena* arena) {
  17395. (void)arena;
  17396. new (&_impl_) Impl_{
  17397. decltype(_impl_._has_bits_){}
  17398. , /*decltype(_impl_._cached_size_)*/{}
  17399. , decltype(_impl_.zn_cameraid_) {}
  17400. };
  17401. _impl_.zn_cameraid_.InitDefault();
  17402. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  17403. _impl_.zn_cameraid_.Set("", GetArenaForAllocation());
  17404. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  17405. }
  17406. StartShare2ndCameraParams::~StartShare2ndCameraParams() {
  17407. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
  17408. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  17409. (void)arena;
  17410. return;
  17411. }
  17412. SharedDtor();
  17413. }
  17414. inline void StartShare2ndCameraParams::SharedDtor() {
  17415. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  17416. _impl_.zn_cameraid_.Destroy();
  17417. }
  17418. void StartShare2ndCameraParams::SetCachedSize(int size) const {
  17419. _impl_._cached_size_.Set(size);
  17420. }
  17421. void StartShare2ndCameraParams::Clear() {
  17422. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
  17423. ::uint32_t cached_has_bits = 0;
  17424. // Prevent compiler warnings about cached_has_bits being unused
  17425. (void) cached_has_bits;
  17426. cached_has_bits = _impl_._has_bits_[0];
  17427. if (cached_has_bits & 0x00000001u) {
  17428. _impl_.zn_cameraid_.ClearNonDefaultToEmpty();
  17429. }
  17430. _impl_._has_bits_.Clear();
  17431. _internal_metadata_.Clear<std::string>();
  17432. }
  17433. const char* StartShare2ndCameraParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  17434. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  17435. _Internal::HasBits has_bits{};
  17436. while (!ctx->Done(&ptr)) {
  17437. ::uint32_t tag;
  17438. ptr = ::_pbi::ReadTag(ptr, &tag);
  17439. switch (tag >> 3) {
  17440. // optional string zn_cameraID = 1;
  17441. case 1:
  17442. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  17443. auto str = _internal_mutable_zn_cameraid();
  17444. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  17445. CHK_(ptr);
  17446. } else {
  17447. goto handle_unusual;
  17448. }
  17449. continue;
  17450. default:
  17451. goto handle_unusual;
  17452. } // switch
  17453. handle_unusual:
  17454. if ((tag == 0) || ((tag & 7) == 4)) {
  17455. CHK_(ptr);
  17456. ctx->SetLastTag(tag);
  17457. goto message_done;
  17458. }
  17459. ptr = UnknownFieldParse(
  17460. tag,
  17461. _internal_metadata_.mutable_unknown_fields<std::string>(),
  17462. ptr, ctx);
  17463. CHK_(ptr != nullptr);
  17464. } // while
  17465. message_done:
  17466. _impl_._has_bits_.Or(has_bits);
  17467. return ptr;
  17468. failure:
  17469. ptr = nullptr;
  17470. goto message_done;
  17471. #undef CHK_
  17472. }
  17473. ::uint8_t* StartShare2ndCameraParams::_InternalSerialize(
  17474. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  17475. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
  17476. ::uint32_t cached_has_bits = 0;
  17477. (void) cached_has_bits;
  17478. cached_has_bits = _impl_._has_bits_[0];
  17479. // optional string zn_cameraID = 1;
  17480. if (cached_has_bits & 0x00000001u) {
  17481. const std::string& _s = this->_internal_zn_cameraid();
  17482. target = stream->WriteStringMaybeAliased(1, _s, target);
  17483. }
  17484. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  17485. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  17486. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  17487. }
  17488. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
  17489. return target;
  17490. }
  17491. ::size_t StartShare2ndCameraParams::ByteSizeLong() const {
  17492. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
  17493. ::size_t total_size = 0;
  17494. ::uint32_t cached_has_bits = 0;
  17495. // Prevent compiler warnings about cached_has_bits being unused
  17496. (void) cached_has_bits;
  17497. // optional string zn_cameraID = 1;
  17498. cached_has_bits = _impl_._has_bits_[0];
  17499. if (cached_has_bits & 0x00000001u) {
  17500. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  17501. this->_internal_zn_cameraid());
  17502. }
  17503. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  17504. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  17505. }
  17506. int cached_size = ::_pbi::ToCachedSize(total_size);
  17507. SetCachedSize(cached_size);
  17508. return total_size;
  17509. }
  17510. void StartShare2ndCameraParams::CheckTypeAndMergeFrom(
  17511. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  17512. MergeFrom(*::_pbi::DownCast<const StartShare2ndCameraParams*>(
  17513. &from));
  17514. }
  17515. void StartShare2ndCameraParams::MergeFrom(const StartShare2ndCameraParams& from) {
  17516. StartShare2ndCameraParams* const _this = this;
  17517. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
  17518. ABSL_DCHECK_NE(&from, _this);
  17519. ::uint32_t cached_has_bits = 0;
  17520. (void) cached_has_bits;
  17521. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  17522. _this->_internal_set_zn_cameraid(from._internal_zn_cameraid());
  17523. }
  17524. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  17525. }
  17526. void StartShare2ndCameraParams::CopyFrom(const StartShare2ndCameraParams& from) {
  17527. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
  17528. if (&from == this) return;
  17529. Clear();
  17530. MergeFrom(from);
  17531. }
  17532. bool StartShare2ndCameraParams::IsInitialized() const {
  17533. return true;
  17534. }
  17535. void StartShare2ndCameraParams::InternalSwap(StartShare2ndCameraParams* other) {
  17536. using std::swap;
  17537. auto* lhs_arena = GetArenaForAllocation();
  17538. auto* rhs_arena = other->GetArenaForAllocation();
  17539. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  17540. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  17541. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_cameraid_, lhs_arena,
  17542. &other->_impl_.zn_cameraid_, rhs_arena);
  17543. }
  17544. std::string StartShare2ndCameraParams::GetTypeName() const {
  17545. return "com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams";
  17546. }
  17547. // ===================================================================
  17548. class SubscribeMyShareCameraParams::_Internal {
  17549. public:
  17550. using HasBits = decltype(std::declval<SubscribeMyShareCameraParams>()._impl_._has_bits_);
  17551. static constexpr ::int32_t kHasBitsOffset =
  17552. 8 * PROTOBUF_FIELD_OFFSET(SubscribeMyShareCameraParams, _impl_._has_bits_);
  17553. static void set_has_zn_recv_handle(HasBits* has_bits) {
  17554. (*has_bits)[0] |= 1u;
  17555. }
  17556. };
  17557. SubscribeMyShareCameraParams::SubscribeMyShareCameraParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  17558. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  17559. SharedCtor(arena);
  17560. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
  17561. }
  17562. SubscribeMyShareCameraParams::SubscribeMyShareCameraParams(const SubscribeMyShareCameraParams& from)
  17563. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  17564. _internal_metadata_.MergeFrom<std::string>(
  17565. from._internal_metadata_);
  17566. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
  17567. }
  17568. inline void SubscribeMyShareCameraParams::SharedCtor(::_pb::Arena* arena) {
  17569. (void)arena;
  17570. new (&_impl_) Impl_{
  17571. decltype(_impl_._has_bits_){}
  17572. , /*decltype(_impl_._cached_size_)*/{}
  17573. , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
  17574. };
  17575. }
  17576. SubscribeMyShareCameraParams::~SubscribeMyShareCameraParams() {
  17577. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
  17578. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  17579. (void)arena;
  17580. return;
  17581. }
  17582. SharedDtor();
  17583. }
  17584. inline void SubscribeMyShareCameraParams::SharedDtor() {
  17585. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  17586. }
  17587. void SubscribeMyShareCameraParams::SetCachedSize(int size) const {
  17588. _impl_._cached_size_.Set(size);
  17589. }
  17590. void SubscribeMyShareCameraParams::Clear() {
  17591. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
  17592. ::uint32_t cached_has_bits = 0;
  17593. // Prevent compiler warnings about cached_has_bits being unused
  17594. (void) cached_has_bits;
  17595. _impl_.zn_recv_handle_ = ::int64_t{0};
  17596. _impl_._has_bits_.Clear();
  17597. _internal_metadata_.Clear<std::string>();
  17598. }
  17599. const char* SubscribeMyShareCameraParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  17600. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  17601. _Internal::HasBits has_bits{};
  17602. while (!ctx->Done(&ptr)) {
  17603. ::uint32_t tag;
  17604. ptr = ::_pbi::ReadTag(ptr, &tag);
  17605. switch (tag >> 3) {
  17606. // optional int64 zn_recv_handle = 1;
  17607. case 1:
  17608. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  17609. _Internal::set_has_zn_recv_handle(&has_bits);
  17610. _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  17611. CHK_(ptr);
  17612. } else {
  17613. goto handle_unusual;
  17614. }
  17615. continue;
  17616. default:
  17617. goto handle_unusual;
  17618. } // switch
  17619. handle_unusual:
  17620. if ((tag == 0) || ((tag & 7) == 4)) {
  17621. CHK_(ptr);
  17622. ctx->SetLastTag(tag);
  17623. goto message_done;
  17624. }
  17625. ptr = UnknownFieldParse(
  17626. tag,
  17627. _internal_metadata_.mutable_unknown_fields<std::string>(),
  17628. ptr, ctx);
  17629. CHK_(ptr != nullptr);
  17630. } // while
  17631. message_done:
  17632. _impl_._has_bits_.Or(has_bits);
  17633. return ptr;
  17634. failure:
  17635. ptr = nullptr;
  17636. goto message_done;
  17637. #undef CHK_
  17638. }
  17639. ::uint8_t* SubscribeMyShareCameraParams::_InternalSerialize(
  17640. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  17641. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
  17642. ::uint32_t cached_has_bits = 0;
  17643. (void) cached_has_bits;
  17644. cached_has_bits = _impl_._has_bits_[0];
  17645. // optional int64 zn_recv_handle = 1;
  17646. if (cached_has_bits & 0x00000001u) {
  17647. target = stream->EnsureSpace(target);
  17648. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  17649. 1, this->_internal_zn_recv_handle(), target);
  17650. }
  17651. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  17652. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  17653. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  17654. }
  17655. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
  17656. return target;
  17657. }
  17658. ::size_t SubscribeMyShareCameraParams::ByteSizeLong() const {
  17659. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
  17660. ::size_t total_size = 0;
  17661. ::uint32_t cached_has_bits = 0;
  17662. // Prevent compiler warnings about cached_has_bits being unused
  17663. (void) cached_has_bits;
  17664. // optional int64 zn_recv_handle = 1;
  17665. cached_has_bits = _impl_._has_bits_[0];
  17666. if (cached_has_bits & 0x00000001u) {
  17667. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  17668. this->_internal_zn_recv_handle());
  17669. }
  17670. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  17671. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  17672. }
  17673. int cached_size = ::_pbi::ToCachedSize(total_size);
  17674. SetCachedSize(cached_size);
  17675. return total_size;
  17676. }
  17677. void SubscribeMyShareCameraParams::CheckTypeAndMergeFrom(
  17678. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  17679. MergeFrom(*::_pbi::DownCast<const SubscribeMyShareCameraParams*>(
  17680. &from));
  17681. }
  17682. void SubscribeMyShareCameraParams::MergeFrom(const SubscribeMyShareCameraParams& from) {
  17683. SubscribeMyShareCameraParams* const _this = this;
  17684. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
  17685. ABSL_DCHECK_NE(&from, _this);
  17686. ::uint32_t cached_has_bits = 0;
  17687. (void) cached_has_bits;
  17688. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  17689. _this->_internal_set_zn_recv_handle(from._internal_zn_recv_handle());
  17690. }
  17691. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  17692. }
  17693. void SubscribeMyShareCameraParams::CopyFrom(const SubscribeMyShareCameraParams& from) {
  17694. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
  17695. if (&from == this) return;
  17696. Clear();
  17697. MergeFrom(from);
  17698. }
  17699. bool SubscribeMyShareCameraParams::IsInitialized() const {
  17700. return true;
  17701. }
  17702. void SubscribeMyShareCameraParams::InternalSwap(SubscribeMyShareCameraParams* other) {
  17703. using std::swap;
  17704. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  17705. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  17706. swap(_impl_.zn_recv_handle_, other->_impl_.zn_recv_handle_);
  17707. }
  17708. std::string SubscribeMyShareCameraParams::GetTypeName() const {
  17709. return "com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams";
  17710. }
  17711. // ===================================================================
  17712. class GetRemoteUsersParams::_Internal {
  17713. public:
  17714. using HasBits = decltype(std::declval<GetRemoteUsersParams>()._impl_._has_bits_);
  17715. static constexpr ::int32_t kHasBitsOffset =
  17716. 8 * PROTOBUF_FIELD_OFFSET(GetRemoteUsersParams, _impl_._has_bits_);
  17717. static void set_has_zn_options(HasBits* has_bits) {
  17718. (*has_bits)[0] |= 1u;
  17719. }
  17720. };
  17721. GetRemoteUsersParams::GetRemoteUsersParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  17722. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  17723. SharedCtor(arena);
  17724. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
  17725. }
  17726. GetRemoteUsersParams::GetRemoteUsersParams(const GetRemoteUsersParams& from)
  17727. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  17728. _internal_metadata_.MergeFrom<std::string>(
  17729. from._internal_metadata_);
  17730. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
  17731. }
  17732. inline void GetRemoteUsersParams::SharedCtor(::_pb::Arena* arena) {
  17733. (void)arena;
  17734. new (&_impl_) Impl_{
  17735. decltype(_impl_._has_bits_){}
  17736. , /*decltype(_impl_._cached_size_)*/{}
  17737. , decltype(_impl_.zn_options_) { ::int64_t{0} }
  17738. };
  17739. }
  17740. GetRemoteUsersParams::~GetRemoteUsersParams() {
  17741. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
  17742. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  17743. (void)arena;
  17744. return;
  17745. }
  17746. SharedDtor();
  17747. }
  17748. inline void GetRemoteUsersParams::SharedDtor() {
  17749. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  17750. }
  17751. void GetRemoteUsersParams::SetCachedSize(int size) const {
  17752. _impl_._cached_size_.Set(size);
  17753. }
  17754. void GetRemoteUsersParams::Clear() {
  17755. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
  17756. ::uint32_t cached_has_bits = 0;
  17757. // Prevent compiler warnings about cached_has_bits being unused
  17758. (void) cached_has_bits;
  17759. _impl_.zn_options_ = ::int64_t{0};
  17760. _impl_._has_bits_.Clear();
  17761. _internal_metadata_.Clear<std::string>();
  17762. }
  17763. const char* GetRemoteUsersParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  17764. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  17765. _Internal::HasBits has_bits{};
  17766. while (!ctx->Done(&ptr)) {
  17767. ::uint32_t tag;
  17768. ptr = ::_pbi::ReadTag(ptr, &tag);
  17769. switch (tag >> 3) {
  17770. // optional int64 zn_options = 1;
  17771. case 1:
  17772. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  17773. _Internal::set_has_zn_options(&has_bits);
  17774. _impl_.zn_options_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  17775. CHK_(ptr);
  17776. } else {
  17777. goto handle_unusual;
  17778. }
  17779. continue;
  17780. default:
  17781. goto handle_unusual;
  17782. } // switch
  17783. handle_unusual:
  17784. if ((tag == 0) || ((tag & 7) == 4)) {
  17785. CHK_(ptr);
  17786. ctx->SetLastTag(tag);
  17787. goto message_done;
  17788. }
  17789. ptr = UnknownFieldParse(
  17790. tag,
  17791. _internal_metadata_.mutable_unknown_fields<std::string>(),
  17792. ptr, ctx);
  17793. CHK_(ptr != nullptr);
  17794. } // while
  17795. message_done:
  17796. _impl_._has_bits_.Or(has_bits);
  17797. return ptr;
  17798. failure:
  17799. ptr = nullptr;
  17800. goto message_done;
  17801. #undef CHK_
  17802. }
  17803. ::uint8_t* GetRemoteUsersParams::_InternalSerialize(
  17804. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  17805. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
  17806. ::uint32_t cached_has_bits = 0;
  17807. (void) cached_has_bits;
  17808. cached_has_bits = _impl_._has_bits_[0];
  17809. // optional int64 zn_options = 1;
  17810. if (cached_has_bits & 0x00000001u) {
  17811. target = stream->EnsureSpace(target);
  17812. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  17813. 1, this->_internal_zn_options(), target);
  17814. }
  17815. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  17816. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  17817. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  17818. }
  17819. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
  17820. return target;
  17821. }
  17822. ::size_t GetRemoteUsersParams::ByteSizeLong() const {
  17823. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
  17824. ::size_t total_size = 0;
  17825. ::uint32_t cached_has_bits = 0;
  17826. // Prevent compiler warnings about cached_has_bits being unused
  17827. (void) cached_has_bits;
  17828. // optional int64 zn_options = 1;
  17829. cached_has_bits = _impl_._has_bits_[0];
  17830. if (cached_has_bits & 0x00000001u) {
  17831. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  17832. this->_internal_zn_options());
  17833. }
  17834. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  17835. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  17836. }
  17837. int cached_size = ::_pbi::ToCachedSize(total_size);
  17838. SetCachedSize(cached_size);
  17839. return total_size;
  17840. }
  17841. void GetRemoteUsersParams::CheckTypeAndMergeFrom(
  17842. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  17843. MergeFrom(*::_pbi::DownCast<const GetRemoteUsersParams*>(
  17844. &from));
  17845. }
  17846. void GetRemoteUsersParams::MergeFrom(const GetRemoteUsersParams& from) {
  17847. GetRemoteUsersParams* const _this = this;
  17848. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
  17849. ABSL_DCHECK_NE(&from, _this);
  17850. ::uint32_t cached_has_bits = 0;
  17851. (void) cached_has_bits;
  17852. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  17853. _this->_internal_set_zn_options(from._internal_zn_options());
  17854. }
  17855. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  17856. }
  17857. void GetRemoteUsersParams::CopyFrom(const GetRemoteUsersParams& from) {
  17858. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
  17859. if (&from == this) return;
  17860. Clear();
  17861. MergeFrom(from);
  17862. }
  17863. bool GetRemoteUsersParams::IsInitialized() const {
  17864. return true;
  17865. }
  17866. void GetRemoteUsersParams::InternalSwap(GetRemoteUsersParams* other) {
  17867. using std::swap;
  17868. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  17869. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  17870. swap(_impl_.zn_options_, other->_impl_.zn_options_);
  17871. }
  17872. std::string GetRemoteUsersParams::GetTypeName() const {
  17873. return "com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams";
  17874. }
  17875. // ===================================================================
  17876. class GetMyInfoParams::_Internal {
  17877. public:
  17878. using HasBits = decltype(std::declval<GetMyInfoParams>()._impl_._has_bits_);
  17879. static constexpr ::int32_t kHasBitsOffset =
  17880. 8 * PROTOBUF_FIELD_OFFSET(GetMyInfoParams, _impl_._has_bits_);
  17881. static void set_has_zn_options(HasBits* has_bits) {
  17882. (*has_bits)[0] |= 1u;
  17883. }
  17884. };
  17885. GetMyInfoParams::GetMyInfoParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  17886. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  17887. SharedCtor(arena);
  17888. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
  17889. }
  17890. GetMyInfoParams::GetMyInfoParams(const GetMyInfoParams& from)
  17891. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  17892. _internal_metadata_.MergeFrom<std::string>(
  17893. from._internal_metadata_);
  17894. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
  17895. }
  17896. inline void GetMyInfoParams::SharedCtor(::_pb::Arena* arena) {
  17897. (void)arena;
  17898. new (&_impl_) Impl_{
  17899. decltype(_impl_._has_bits_){}
  17900. , /*decltype(_impl_._cached_size_)*/{}
  17901. , decltype(_impl_.zn_options_) { ::int64_t{0} }
  17902. };
  17903. }
  17904. GetMyInfoParams::~GetMyInfoParams() {
  17905. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
  17906. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  17907. (void)arena;
  17908. return;
  17909. }
  17910. SharedDtor();
  17911. }
  17912. inline void GetMyInfoParams::SharedDtor() {
  17913. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  17914. }
  17915. void GetMyInfoParams::SetCachedSize(int size) const {
  17916. _impl_._cached_size_.Set(size);
  17917. }
  17918. void GetMyInfoParams::Clear() {
  17919. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
  17920. ::uint32_t cached_has_bits = 0;
  17921. // Prevent compiler warnings about cached_has_bits being unused
  17922. (void) cached_has_bits;
  17923. _impl_.zn_options_ = ::int64_t{0};
  17924. _impl_._has_bits_.Clear();
  17925. _internal_metadata_.Clear<std::string>();
  17926. }
  17927. const char* GetMyInfoParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  17928. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  17929. _Internal::HasBits has_bits{};
  17930. while (!ctx->Done(&ptr)) {
  17931. ::uint32_t tag;
  17932. ptr = ::_pbi::ReadTag(ptr, &tag);
  17933. switch (tag >> 3) {
  17934. // optional int64 zn_options = 1;
  17935. case 1:
  17936. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  17937. _Internal::set_has_zn_options(&has_bits);
  17938. _impl_.zn_options_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  17939. CHK_(ptr);
  17940. } else {
  17941. goto handle_unusual;
  17942. }
  17943. continue;
  17944. default:
  17945. goto handle_unusual;
  17946. } // switch
  17947. handle_unusual:
  17948. if ((tag == 0) || ((tag & 7) == 4)) {
  17949. CHK_(ptr);
  17950. ctx->SetLastTag(tag);
  17951. goto message_done;
  17952. }
  17953. ptr = UnknownFieldParse(
  17954. tag,
  17955. _internal_metadata_.mutable_unknown_fields<std::string>(),
  17956. ptr, ctx);
  17957. CHK_(ptr != nullptr);
  17958. } // while
  17959. message_done:
  17960. _impl_._has_bits_.Or(has_bits);
  17961. return ptr;
  17962. failure:
  17963. ptr = nullptr;
  17964. goto message_done;
  17965. #undef CHK_
  17966. }
  17967. ::uint8_t* GetMyInfoParams::_InternalSerialize(
  17968. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  17969. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
  17970. ::uint32_t cached_has_bits = 0;
  17971. (void) cached_has_bits;
  17972. cached_has_bits = _impl_._has_bits_[0];
  17973. // optional int64 zn_options = 1;
  17974. if (cached_has_bits & 0x00000001u) {
  17975. target = stream->EnsureSpace(target);
  17976. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  17977. 1, this->_internal_zn_options(), target);
  17978. }
  17979. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  17980. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  17981. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  17982. }
  17983. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
  17984. return target;
  17985. }
  17986. ::size_t GetMyInfoParams::ByteSizeLong() const {
  17987. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
  17988. ::size_t total_size = 0;
  17989. ::uint32_t cached_has_bits = 0;
  17990. // Prevent compiler warnings about cached_has_bits being unused
  17991. (void) cached_has_bits;
  17992. // optional int64 zn_options = 1;
  17993. cached_has_bits = _impl_._has_bits_[0];
  17994. if (cached_has_bits & 0x00000001u) {
  17995. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  17996. this->_internal_zn_options());
  17997. }
  17998. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  17999. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  18000. }
  18001. int cached_size = ::_pbi::ToCachedSize(total_size);
  18002. SetCachedSize(cached_size);
  18003. return total_size;
  18004. }
  18005. void GetMyInfoParams::CheckTypeAndMergeFrom(
  18006. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  18007. MergeFrom(*::_pbi::DownCast<const GetMyInfoParams*>(
  18008. &from));
  18009. }
  18010. void GetMyInfoParams::MergeFrom(const GetMyInfoParams& from) {
  18011. GetMyInfoParams* const _this = this;
  18012. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
  18013. ABSL_DCHECK_NE(&from, _this);
  18014. ::uint32_t cached_has_bits = 0;
  18015. (void) cached_has_bits;
  18016. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  18017. _this->_internal_set_zn_options(from._internal_zn_options());
  18018. }
  18019. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  18020. }
  18021. void GetMyInfoParams::CopyFrom(const GetMyInfoParams& from) {
  18022. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
  18023. if (&from == this) return;
  18024. Clear();
  18025. MergeFrom(from);
  18026. }
  18027. bool GetMyInfoParams::IsInitialized() const {
  18028. return true;
  18029. }
  18030. void GetMyInfoParams::InternalSwap(GetMyInfoParams* other) {
  18031. using std::swap;
  18032. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  18033. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  18034. swap(_impl_.zn_options_, other->_impl_.zn_options_);
  18035. }
  18036. std::string GetMyInfoParams::GetTypeName() const {
  18037. return "com.electron.zoomvideo.sdk.proto.GetMyInfoParams";
  18038. }
  18039. // ===================================================================
  18040. class ChangeNameParams::_Internal {
  18041. public:
  18042. using HasBits = decltype(std::declval<ChangeNameParams>()._impl_._has_bits_);
  18043. static constexpr ::int32_t kHasBitsOffset =
  18044. 8 * PROTOBUF_FIELD_OFFSET(ChangeNameParams, _impl_._has_bits_);
  18045. static void set_has_zn_name(HasBits* has_bits) {
  18046. (*has_bits)[0] |= 1u;
  18047. }
  18048. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const ChangeNameParams* msg);
  18049. static void set_has_user(HasBits* has_bits) {
  18050. (*has_bits)[0] |= 2u;
  18051. }
  18052. };
  18053. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  18054. ChangeNameParams::_Internal::user(const ChangeNameParams* msg) {
  18055. return *msg->_impl_.user_;
  18056. }
  18057. ChangeNameParams::ChangeNameParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  18058. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  18059. SharedCtor(arena);
  18060. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
  18061. }
  18062. ChangeNameParams::ChangeNameParams(const ChangeNameParams& from)
  18063. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  18064. ChangeNameParams* const _this = this; (void)_this;
  18065. new (&_impl_) Impl_{
  18066. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  18067. , /*decltype(_impl_._cached_size_)*/{}
  18068. , decltype(_impl_.zn_name_) {}
  18069. , decltype(_impl_.user_){nullptr}};
  18070. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  18071. _impl_.zn_name_.InitDefault();
  18072. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  18073. _impl_.zn_name_.Set("", GetArenaForAllocation());
  18074. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  18075. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  18076. _this->_impl_.zn_name_.Set(from._internal_zn_name(), _this->GetArenaForAllocation());
  18077. }
  18078. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  18079. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  18080. }
  18081. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
  18082. }
  18083. inline void ChangeNameParams::SharedCtor(::_pb::Arena* arena) {
  18084. (void)arena;
  18085. new (&_impl_) Impl_{
  18086. decltype(_impl_._has_bits_){}
  18087. , /*decltype(_impl_._cached_size_)*/{}
  18088. , decltype(_impl_.zn_name_) {}
  18089. , decltype(_impl_.user_){nullptr}
  18090. };
  18091. _impl_.zn_name_.InitDefault();
  18092. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  18093. _impl_.zn_name_.Set("", GetArenaForAllocation());
  18094. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  18095. }
  18096. ChangeNameParams::~ChangeNameParams() {
  18097. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
  18098. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  18099. (void)arena;
  18100. return;
  18101. }
  18102. SharedDtor();
  18103. }
  18104. inline void ChangeNameParams::SharedDtor() {
  18105. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  18106. _impl_.zn_name_.Destroy();
  18107. if (this != internal_default_instance()) delete _impl_.user_;
  18108. }
  18109. void ChangeNameParams::SetCachedSize(int size) const {
  18110. _impl_._cached_size_.Set(size);
  18111. }
  18112. void ChangeNameParams::Clear() {
  18113. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
  18114. ::uint32_t cached_has_bits = 0;
  18115. // Prevent compiler warnings about cached_has_bits being unused
  18116. (void) cached_has_bits;
  18117. cached_has_bits = _impl_._has_bits_[0];
  18118. if (cached_has_bits & 0x00000003u) {
  18119. if (cached_has_bits & 0x00000001u) {
  18120. _impl_.zn_name_.ClearNonDefaultToEmpty();
  18121. }
  18122. if (cached_has_bits & 0x00000002u) {
  18123. ABSL_DCHECK(_impl_.user_ != nullptr);
  18124. _impl_.user_->Clear();
  18125. }
  18126. }
  18127. _impl_._has_bits_.Clear();
  18128. _internal_metadata_.Clear<std::string>();
  18129. }
  18130. const char* ChangeNameParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  18131. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  18132. _Internal::HasBits has_bits{};
  18133. while (!ctx->Done(&ptr)) {
  18134. ::uint32_t tag;
  18135. ptr = ::_pbi::ReadTag(ptr, &tag);
  18136. switch (tag >> 3) {
  18137. // optional string zn_name = 1;
  18138. case 1:
  18139. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  18140. auto str = _internal_mutable_zn_name();
  18141. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  18142. CHK_(ptr);
  18143. } else {
  18144. goto handle_unusual;
  18145. }
  18146. continue;
  18147. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  18148. case 2:
  18149. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  18150. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  18151. CHK_(ptr);
  18152. } else {
  18153. goto handle_unusual;
  18154. }
  18155. continue;
  18156. default:
  18157. goto handle_unusual;
  18158. } // switch
  18159. handle_unusual:
  18160. if ((tag == 0) || ((tag & 7) == 4)) {
  18161. CHK_(ptr);
  18162. ctx->SetLastTag(tag);
  18163. goto message_done;
  18164. }
  18165. ptr = UnknownFieldParse(
  18166. tag,
  18167. _internal_metadata_.mutable_unknown_fields<std::string>(),
  18168. ptr, ctx);
  18169. CHK_(ptr != nullptr);
  18170. } // while
  18171. message_done:
  18172. _impl_._has_bits_.Or(has_bits);
  18173. return ptr;
  18174. failure:
  18175. ptr = nullptr;
  18176. goto message_done;
  18177. #undef CHK_
  18178. }
  18179. ::uint8_t* ChangeNameParams::_InternalSerialize(
  18180. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  18181. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
  18182. ::uint32_t cached_has_bits = 0;
  18183. (void) cached_has_bits;
  18184. cached_has_bits = _impl_._has_bits_[0];
  18185. // optional string zn_name = 1;
  18186. if (cached_has_bits & 0x00000001u) {
  18187. const std::string& _s = this->_internal_zn_name();
  18188. target = stream->WriteStringMaybeAliased(1, _s, target);
  18189. }
  18190. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  18191. if (cached_has_bits & 0x00000002u) {
  18192. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  18193. InternalWriteMessage(2, _Internal::user(this),
  18194. _Internal::user(this).GetCachedSize(), target, stream);
  18195. }
  18196. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  18197. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  18198. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  18199. }
  18200. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
  18201. return target;
  18202. }
  18203. ::size_t ChangeNameParams::ByteSizeLong() const {
  18204. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
  18205. ::size_t total_size = 0;
  18206. ::uint32_t cached_has_bits = 0;
  18207. // Prevent compiler warnings about cached_has_bits being unused
  18208. (void) cached_has_bits;
  18209. cached_has_bits = _impl_._has_bits_[0];
  18210. if (cached_has_bits & 0x00000003u) {
  18211. // optional string zn_name = 1;
  18212. if (cached_has_bits & 0x00000001u) {
  18213. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  18214. this->_internal_zn_name());
  18215. }
  18216. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  18217. if (cached_has_bits & 0x00000002u) {
  18218. total_size += 1 +
  18219. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  18220. *_impl_.user_);
  18221. }
  18222. }
  18223. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  18224. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  18225. }
  18226. int cached_size = ::_pbi::ToCachedSize(total_size);
  18227. SetCachedSize(cached_size);
  18228. return total_size;
  18229. }
  18230. void ChangeNameParams::CheckTypeAndMergeFrom(
  18231. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  18232. MergeFrom(*::_pbi::DownCast<const ChangeNameParams*>(
  18233. &from));
  18234. }
  18235. void ChangeNameParams::MergeFrom(const ChangeNameParams& from) {
  18236. ChangeNameParams* const _this = this;
  18237. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
  18238. ABSL_DCHECK_NE(&from, _this);
  18239. ::uint32_t cached_has_bits = 0;
  18240. (void) cached_has_bits;
  18241. cached_has_bits = from._impl_._has_bits_[0];
  18242. if (cached_has_bits & 0x00000003u) {
  18243. if (cached_has_bits & 0x00000001u) {
  18244. _this->_internal_set_zn_name(from._internal_zn_name());
  18245. }
  18246. if (cached_has_bits & 0x00000002u) {
  18247. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  18248. from._internal_user());
  18249. }
  18250. }
  18251. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  18252. }
  18253. void ChangeNameParams::CopyFrom(const ChangeNameParams& from) {
  18254. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
  18255. if (&from == this) return;
  18256. Clear();
  18257. MergeFrom(from);
  18258. }
  18259. bool ChangeNameParams::IsInitialized() const {
  18260. return true;
  18261. }
  18262. void ChangeNameParams::InternalSwap(ChangeNameParams* other) {
  18263. using std::swap;
  18264. auto* lhs_arena = GetArenaForAllocation();
  18265. auto* rhs_arena = other->GetArenaForAllocation();
  18266. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  18267. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  18268. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_name_, lhs_arena,
  18269. &other->_impl_.zn_name_, rhs_arena);
  18270. swap(_impl_.user_, other->_impl_.user_);
  18271. }
  18272. std::string ChangeNameParams::GetTypeName() const {
  18273. return "com.electron.zoomvideo.sdk.proto.ChangeNameParams";
  18274. }
  18275. // ===================================================================
  18276. class MakeHostParams::_Internal {
  18277. public:
  18278. using HasBits = decltype(std::declval<MakeHostParams>()._impl_._has_bits_);
  18279. static constexpr ::int32_t kHasBitsOffset =
  18280. 8 * PROTOBUF_FIELD_OFFSET(MakeHostParams, _impl_._has_bits_);
  18281. static void set_has_zn_name(HasBits* has_bits) {
  18282. (*has_bits)[0] |= 1u;
  18283. }
  18284. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const MakeHostParams* msg);
  18285. static void set_has_user(HasBits* has_bits) {
  18286. (*has_bits)[0] |= 2u;
  18287. }
  18288. };
  18289. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  18290. MakeHostParams::_Internal::user(const MakeHostParams* msg) {
  18291. return *msg->_impl_.user_;
  18292. }
  18293. MakeHostParams::MakeHostParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  18294. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  18295. SharedCtor(arena);
  18296. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.MakeHostParams)
  18297. }
  18298. MakeHostParams::MakeHostParams(const MakeHostParams& from)
  18299. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  18300. MakeHostParams* const _this = this; (void)_this;
  18301. new (&_impl_) Impl_{
  18302. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  18303. , /*decltype(_impl_._cached_size_)*/{}
  18304. , decltype(_impl_.zn_name_) {}
  18305. , decltype(_impl_.user_){nullptr}};
  18306. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  18307. _impl_.zn_name_.InitDefault();
  18308. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  18309. _impl_.zn_name_.Set("", GetArenaForAllocation());
  18310. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  18311. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  18312. _this->_impl_.zn_name_.Set(from._internal_zn_name(), _this->GetArenaForAllocation());
  18313. }
  18314. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  18315. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  18316. }
  18317. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.MakeHostParams)
  18318. }
  18319. inline void MakeHostParams::SharedCtor(::_pb::Arena* arena) {
  18320. (void)arena;
  18321. new (&_impl_) Impl_{
  18322. decltype(_impl_._has_bits_){}
  18323. , /*decltype(_impl_._cached_size_)*/{}
  18324. , decltype(_impl_.zn_name_) {}
  18325. , decltype(_impl_.user_){nullptr}
  18326. };
  18327. _impl_.zn_name_.InitDefault();
  18328. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  18329. _impl_.zn_name_.Set("", GetArenaForAllocation());
  18330. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  18331. }
  18332. MakeHostParams::~MakeHostParams() {
  18333. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.MakeHostParams)
  18334. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  18335. (void)arena;
  18336. return;
  18337. }
  18338. SharedDtor();
  18339. }
  18340. inline void MakeHostParams::SharedDtor() {
  18341. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  18342. _impl_.zn_name_.Destroy();
  18343. if (this != internal_default_instance()) delete _impl_.user_;
  18344. }
  18345. void MakeHostParams::SetCachedSize(int size) const {
  18346. _impl_._cached_size_.Set(size);
  18347. }
  18348. void MakeHostParams::Clear() {
  18349. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.MakeHostParams)
  18350. ::uint32_t cached_has_bits = 0;
  18351. // Prevent compiler warnings about cached_has_bits being unused
  18352. (void) cached_has_bits;
  18353. cached_has_bits = _impl_._has_bits_[0];
  18354. if (cached_has_bits & 0x00000003u) {
  18355. if (cached_has_bits & 0x00000001u) {
  18356. _impl_.zn_name_.ClearNonDefaultToEmpty();
  18357. }
  18358. if (cached_has_bits & 0x00000002u) {
  18359. ABSL_DCHECK(_impl_.user_ != nullptr);
  18360. _impl_.user_->Clear();
  18361. }
  18362. }
  18363. _impl_._has_bits_.Clear();
  18364. _internal_metadata_.Clear<std::string>();
  18365. }
  18366. const char* MakeHostParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  18367. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  18368. _Internal::HasBits has_bits{};
  18369. while (!ctx->Done(&ptr)) {
  18370. ::uint32_t tag;
  18371. ptr = ::_pbi::ReadTag(ptr, &tag);
  18372. switch (tag >> 3) {
  18373. // optional string zn_name = 1;
  18374. case 1:
  18375. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  18376. auto str = _internal_mutable_zn_name();
  18377. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  18378. CHK_(ptr);
  18379. } else {
  18380. goto handle_unusual;
  18381. }
  18382. continue;
  18383. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  18384. case 2:
  18385. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  18386. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  18387. CHK_(ptr);
  18388. } else {
  18389. goto handle_unusual;
  18390. }
  18391. continue;
  18392. default:
  18393. goto handle_unusual;
  18394. } // switch
  18395. handle_unusual:
  18396. if ((tag == 0) || ((tag & 7) == 4)) {
  18397. CHK_(ptr);
  18398. ctx->SetLastTag(tag);
  18399. goto message_done;
  18400. }
  18401. ptr = UnknownFieldParse(
  18402. tag,
  18403. _internal_metadata_.mutable_unknown_fields<std::string>(),
  18404. ptr, ctx);
  18405. CHK_(ptr != nullptr);
  18406. } // while
  18407. message_done:
  18408. _impl_._has_bits_.Or(has_bits);
  18409. return ptr;
  18410. failure:
  18411. ptr = nullptr;
  18412. goto message_done;
  18413. #undef CHK_
  18414. }
  18415. ::uint8_t* MakeHostParams::_InternalSerialize(
  18416. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  18417. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.MakeHostParams)
  18418. ::uint32_t cached_has_bits = 0;
  18419. (void) cached_has_bits;
  18420. cached_has_bits = _impl_._has_bits_[0];
  18421. // optional string zn_name = 1;
  18422. if (cached_has_bits & 0x00000001u) {
  18423. const std::string& _s = this->_internal_zn_name();
  18424. target = stream->WriteStringMaybeAliased(1, _s, target);
  18425. }
  18426. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  18427. if (cached_has_bits & 0x00000002u) {
  18428. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  18429. InternalWriteMessage(2, _Internal::user(this),
  18430. _Internal::user(this).GetCachedSize(), target, stream);
  18431. }
  18432. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  18433. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  18434. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  18435. }
  18436. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.MakeHostParams)
  18437. return target;
  18438. }
  18439. ::size_t MakeHostParams::ByteSizeLong() const {
  18440. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.MakeHostParams)
  18441. ::size_t total_size = 0;
  18442. ::uint32_t cached_has_bits = 0;
  18443. // Prevent compiler warnings about cached_has_bits being unused
  18444. (void) cached_has_bits;
  18445. cached_has_bits = _impl_._has_bits_[0];
  18446. if (cached_has_bits & 0x00000003u) {
  18447. // optional string zn_name = 1;
  18448. if (cached_has_bits & 0x00000001u) {
  18449. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  18450. this->_internal_zn_name());
  18451. }
  18452. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  18453. if (cached_has_bits & 0x00000002u) {
  18454. total_size += 1 +
  18455. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  18456. *_impl_.user_);
  18457. }
  18458. }
  18459. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  18460. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  18461. }
  18462. int cached_size = ::_pbi::ToCachedSize(total_size);
  18463. SetCachedSize(cached_size);
  18464. return total_size;
  18465. }
  18466. void MakeHostParams::CheckTypeAndMergeFrom(
  18467. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  18468. MergeFrom(*::_pbi::DownCast<const MakeHostParams*>(
  18469. &from));
  18470. }
  18471. void MakeHostParams::MergeFrom(const MakeHostParams& from) {
  18472. MakeHostParams* const _this = this;
  18473. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.MakeHostParams)
  18474. ABSL_DCHECK_NE(&from, _this);
  18475. ::uint32_t cached_has_bits = 0;
  18476. (void) cached_has_bits;
  18477. cached_has_bits = from._impl_._has_bits_[0];
  18478. if (cached_has_bits & 0x00000003u) {
  18479. if (cached_has_bits & 0x00000001u) {
  18480. _this->_internal_set_zn_name(from._internal_zn_name());
  18481. }
  18482. if (cached_has_bits & 0x00000002u) {
  18483. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  18484. from._internal_user());
  18485. }
  18486. }
  18487. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  18488. }
  18489. void MakeHostParams::CopyFrom(const MakeHostParams& from) {
  18490. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.MakeHostParams)
  18491. if (&from == this) return;
  18492. Clear();
  18493. MergeFrom(from);
  18494. }
  18495. bool MakeHostParams::IsInitialized() const {
  18496. return true;
  18497. }
  18498. void MakeHostParams::InternalSwap(MakeHostParams* other) {
  18499. using std::swap;
  18500. auto* lhs_arena = GetArenaForAllocation();
  18501. auto* rhs_arena = other->GetArenaForAllocation();
  18502. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  18503. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  18504. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_name_, lhs_arena,
  18505. &other->_impl_.zn_name_, rhs_arena);
  18506. swap(_impl_.user_, other->_impl_.user_);
  18507. }
  18508. std::string MakeHostParams::GetTypeName() const {
  18509. return "com.electron.zoomvideo.sdk.proto.MakeHostParams";
  18510. }
  18511. // ===================================================================
  18512. class MakeManagerParams::_Internal {
  18513. public:
  18514. using HasBits = decltype(std::declval<MakeManagerParams>()._impl_._has_bits_);
  18515. static constexpr ::int32_t kHasBitsOffset =
  18516. 8 * PROTOBUF_FIELD_OFFSET(MakeManagerParams, _impl_._has_bits_);
  18517. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const MakeManagerParams* msg);
  18518. static void set_has_user(HasBits* has_bits) {
  18519. (*has_bits)[0] |= 1u;
  18520. }
  18521. };
  18522. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  18523. MakeManagerParams::_Internal::user(const MakeManagerParams* msg) {
  18524. return *msg->_impl_.user_;
  18525. }
  18526. MakeManagerParams::MakeManagerParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  18527. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  18528. SharedCtor(arena);
  18529. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
  18530. }
  18531. MakeManagerParams::MakeManagerParams(const MakeManagerParams& from)
  18532. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  18533. MakeManagerParams* const _this = this; (void)_this;
  18534. new (&_impl_) Impl_{
  18535. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  18536. , /*decltype(_impl_._cached_size_)*/{}
  18537. , decltype(_impl_.user_){nullptr}};
  18538. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  18539. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  18540. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  18541. }
  18542. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
  18543. }
  18544. inline void MakeManagerParams::SharedCtor(::_pb::Arena* arena) {
  18545. (void)arena;
  18546. new (&_impl_) Impl_{
  18547. decltype(_impl_._has_bits_){}
  18548. , /*decltype(_impl_._cached_size_)*/{}
  18549. , decltype(_impl_.user_){nullptr}
  18550. };
  18551. }
  18552. MakeManagerParams::~MakeManagerParams() {
  18553. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
  18554. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  18555. (void)arena;
  18556. return;
  18557. }
  18558. SharedDtor();
  18559. }
  18560. inline void MakeManagerParams::SharedDtor() {
  18561. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  18562. if (this != internal_default_instance()) delete _impl_.user_;
  18563. }
  18564. void MakeManagerParams::SetCachedSize(int size) const {
  18565. _impl_._cached_size_.Set(size);
  18566. }
  18567. void MakeManagerParams::Clear() {
  18568. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
  18569. ::uint32_t cached_has_bits = 0;
  18570. // Prevent compiler warnings about cached_has_bits being unused
  18571. (void) cached_has_bits;
  18572. cached_has_bits = _impl_._has_bits_[0];
  18573. if (cached_has_bits & 0x00000001u) {
  18574. ABSL_DCHECK(_impl_.user_ != nullptr);
  18575. _impl_.user_->Clear();
  18576. }
  18577. _impl_._has_bits_.Clear();
  18578. _internal_metadata_.Clear<std::string>();
  18579. }
  18580. const char* MakeManagerParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  18581. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  18582. _Internal::HasBits has_bits{};
  18583. while (!ctx->Done(&ptr)) {
  18584. ::uint32_t tag;
  18585. ptr = ::_pbi::ReadTag(ptr, &tag);
  18586. switch (tag >> 3) {
  18587. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  18588. case 1:
  18589. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  18590. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  18591. CHK_(ptr);
  18592. } else {
  18593. goto handle_unusual;
  18594. }
  18595. continue;
  18596. default:
  18597. goto handle_unusual;
  18598. } // switch
  18599. handle_unusual:
  18600. if ((tag == 0) || ((tag & 7) == 4)) {
  18601. CHK_(ptr);
  18602. ctx->SetLastTag(tag);
  18603. goto message_done;
  18604. }
  18605. ptr = UnknownFieldParse(
  18606. tag,
  18607. _internal_metadata_.mutable_unknown_fields<std::string>(),
  18608. ptr, ctx);
  18609. CHK_(ptr != nullptr);
  18610. } // while
  18611. message_done:
  18612. _impl_._has_bits_.Or(has_bits);
  18613. return ptr;
  18614. failure:
  18615. ptr = nullptr;
  18616. goto message_done;
  18617. #undef CHK_
  18618. }
  18619. ::uint8_t* MakeManagerParams::_InternalSerialize(
  18620. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  18621. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
  18622. ::uint32_t cached_has_bits = 0;
  18623. (void) cached_has_bits;
  18624. cached_has_bits = _impl_._has_bits_[0];
  18625. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  18626. if (cached_has_bits & 0x00000001u) {
  18627. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  18628. InternalWriteMessage(1, _Internal::user(this),
  18629. _Internal::user(this).GetCachedSize(), target, stream);
  18630. }
  18631. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  18632. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  18633. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  18634. }
  18635. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
  18636. return target;
  18637. }
  18638. ::size_t MakeManagerParams::ByteSizeLong() const {
  18639. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
  18640. ::size_t total_size = 0;
  18641. ::uint32_t cached_has_bits = 0;
  18642. // Prevent compiler warnings about cached_has_bits being unused
  18643. (void) cached_has_bits;
  18644. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  18645. cached_has_bits = _impl_._has_bits_[0];
  18646. if (cached_has_bits & 0x00000001u) {
  18647. total_size += 1 +
  18648. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  18649. *_impl_.user_);
  18650. }
  18651. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  18652. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  18653. }
  18654. int cached_size = ::_pbi::ToCachedSize(total_size);
  18655. SetCachedSize(cached_size);
  18656. return total_size;
  18657. }
  18658. void MakeManagerParams::CheckTypeAndMergeFrom(
  18659. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  18660. MergeFrom(*::_pbi::DownCast<const MakeManagerParams*>(
  18661. &from));
  18662. }
  18663. void MakeManagerParams::MergeFrom(const MakeManagerParams& from) {
  18664. MakeManagerParams* const _this = this;
  18665. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
  18666. ABSL_DCHECK_NE(&from, _this);
  18667. ::uint32_t cached_has_bits = 0;
  18668. (void) cached_has_bits;
  18669. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  18670. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  18671. from._internal_user());
  18672. }
  18673. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  18674. }
  18675. void MakeManagerParams::CopyFrom(const MakeManagerParams& from) {
  18676. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
  18677. if (&from == this) return;
  18678. Clear();
  18679. MergeFrom(from);
  18680. }
  18681. bool MakeManagerParams::IsInitialized() const {
  18682. return true;
  18683. }
  18684. void MakeManagerParams::InternalSwap(MakeManagerParams* other) {
  18685. using std::swap;
  18686. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  18687. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  18688. swap(_impl_.user_, other->_impl_.user_);
  18689. }
  18690. std::string MakeManagerParams::GetTypeName() const {
  18691. return "com.electron.zoomvideo.sdk.proto.MakeManagerParams";
  18692. }
  18693. // ===================================================================
  18694. class RevokeManagerParams::_Internal {
  18695. public:
  18696. using HasBits = decltype(std::declval<RevokeManagerParams>()._impl_._has_bits_);
  18697. static constexpr ::int32_t kHasBitsOffset =
  18698. 8 * PROTOBUF_FIELD_OFFSET(RevokeManagerParams, _impl_._has_bits_);
  18699. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RevokeManagerParams* msg);
  18700. static void set_has_user(HasBits* has_bits) {
  18701. (*has_bits)[0] |= 1u;
  18702. }
  18703. };
  18704. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  18705. RevokeManagerParams::_Internal::user(const RevokeManagerParams* msg) {
  18706. return *msg->_impl_.user_;
  18707. }
  18708. RevokeManagerParams::RevokeManagerParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  18709. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  18710. SharedCtor(arena);
  18711. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
  18712. }
  18713. RevokeManagerParams::RevokeManagerParams(const RevokeManagerParams& from)
  18714. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  18715. RevokeManagerParams* const _this = this; (void)_this;
  18716. new (&_impl_) Impl_{
  18717. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  18718. , /*decltype(_impl_._cached_size_)*/{}
  18719. , decltype(_impl_.user_){nullptr}};
  18720. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  18721. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  18722. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  18723. }
  18724. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
  18725. }
  18726. inline void RevokeManagerParams::SharedCtor(::_pb::Arena* arena) {
  18727. (void)arena;
  18728. new (&_impl_) Impl_{
  18729. decltype(_impl_._has_bits_){}
  18730. , /*decltype(_impl_._cached_size_)*/{}
  18731. , decltype(_impl_.user_){nullptr}
  18732. };
  18733. }
  18734. RevokeManagerParams::~RevokeManagerParams() {
  18735. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
  18736. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  18737. (void)arena;
  18738. return;
  18739. }
  18740. SharedDtor();
  18741. }
  18742. inline void RevokeManagerParams::SharedDtor() {
  18743. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  18744. if (this != internal_default_instance()) delete _impl_.user_;
  18745. }
  18746. void RevokeManagerParams::SetCachedSize(int size) const {
  18747. _impl_._cached_size_.Set(size);
  18748. }
  18749. void RevokeManagerParams::Clear() {
  18750. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
  18751. ::uint32_t cached_has_bits = 0;
  18752. // Prevent compiler warnings about cached_has_bits being unused
  18753. (void) cached_has_bits;
  18754. cached_has_bits = _impl_._has_bits_[0];
  18755. if (cached_has_bits & 0x00000001u) {
  18756. ABSL_DCHECK(_impl_.user_ != nullptr);
  18757. _impl_.user_->Clear();
  18758. }
  18759. _impl_._has_bits_.Clear();
  18760. _internal_metadata_.Clear<std::string>();
  18761. }
  18762. const char* RevokeManagerParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  18763. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  18764. _Internal::HasBits has_bits{};
  18765. while (!ctx->Done(&ptr)) {
  18766. ::uint32_t tag;
  18767. ptr = ::_pbi::ReadTag(ptr, &tag);
  18768. switch (tag >> 3) {
  18769. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  18770. case 1:
  18771. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  18772. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  18773. CHK_(ptr);
  18774. } else {
  18775. goto handle_unusual;
  18776. }
  18777. continue;
  18778. default:
  18779. goto handle_unusual;
  18780. } // switch
  18781. handle_unusual:
  18782. if ((tag == 0) || ((tag & 7) == 4)) {
  18783. CHK_(ptr);
  18784. ctx->SetLastTag(tag);
  18785. goto message_done;
  18786. }
  18787. ptr = UnknownFieldParse(
  18788. tag,
  18789. _internal_metadata_.mutable_unknown_fields<std::string>(),
  18790. ptr, ctx);
  18791. CHK_(ptr != nullptr);
  18792. } // while
  18793. message_done:
  18794. _impl_._has_bits_.Or(has_bits);
  18795. return ptr;
  18796. failure:
  18797. ptr = nullptr;
  18798. goto message_done;
  18799. #undef CHK_
  18800. }
  18801. ::uint8_t* RevokeManagerParams::_InternalSerialize(
  18802. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  18803. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
  18804. ::uint32_t cached_has_bits = 0;
  18805. (void) cached_has_bits;
  18806. cached_has_bits = _impl_._has_bits_[0];
  18807. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  18808. if (cached_has_bits & 0x00000001u) {
  18809. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  18810. InternalWriteMessage(1, _Internal::user(this),
  18811. _Internal::user(this).GetCachedSize(), target, stream);
  18812. }
  18813. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  18814. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  18815. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  18816. }
  18817. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
  18818. return target;
  18819. }
  18820. ::size_t RevokeManagerParams::ByteSizeLong() const {
  18821. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
  18822. ::size_t total_size = 0;
  18823. ::uint32_t cached_has_bits = 0;
  18824. // Prevent compiler warnings about cached_has_bits being unused
  18825. (void) cached_has_bits;
  18826. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  18827. cached_has_bits = _impl_._has_bits_[0];
  18828. if (cached_has_bits & 0x00000001u) {
  18829. total_size += 1 +
  18830. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  18831. *_impl_.user_);
  18832. }
  18833. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  18834. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  18835. }
  18836. int cached_size = ::_pbi::ToCachedSize(total_size);
  18837. SetCachedSize(cached_size);
  18838. return total_size;
  18839. }
  18840. void RevokeManagerParams::CheckTypeAndMergeFrom(
  18841. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  18842. MergeFrom(*::_pbi::DownCast<const RevokeManagerParams*>(
  18843. &from));
  18844. }
  18845. void RevokeManagerParams::MergeFrom(const RevokeManagerParams& from) {
  18846. RevokeManagerParams* const _this = this;
  18847. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
  18848. ABSL_DCHECK_NE(&from, _this);
  18849. ::uint32_t cached_has_bits = 0;
  18850. (void) cached_has_bits;
  18851. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  18852. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  18853. from._internal_user());
  18854. }
  18855. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  18856. }
  18857. void RevokeManagerParams::CopyFrom(const RevokeManagerParams& from) {
  18858. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
  18859. if (&from == this) return;
  18860. Clear();
  18861. MergeFrom(from);
  18862. }
  18863. bool RevokeManagerParams::IsInitialized() const {
  18864. return true;
  18865. }
  18866. void RevokeManagerParams::InternalSwap(RevokeManagerParams* other) {
  18867. using std::swap;
  18868. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  18869. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  18870. swap(_impl_.user_, other->_impl_.user_);
  18871. }
  18872. std::string RevokeManagerParams::GetTypeName() const {
  18873. return "com.electron.zoomvideo.sdk.proto.RevokeManagerParams";
  18874. }
  18875. // ===================================================================
  18876. class RemoveUserParams::_Internal {
  18877. public:
  18878. using HasBits = decltype(std::declval<RemoveUserParams>()._impl_._has_bits_);
  18879. static constexpr ::int32_t kHasBitsOffset =
  18880. 8 * PROTOBUF_FIELD_OFFSET(RemoveUserParams, _impl_._has_bits_);
  18881. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RemoveUserParams* msg);
  18882. static void set_has_user(HasBits* has_bits) {
  18883. (*has_bits)[0] |= 1u;
  18884. }
  18885. };
  18886. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  18887. RemoveUserParams::_Internal::user(const RemoveUserParams* msg) {
  18888. return *msg->_impl_.user_;
  18889. }
  18890. RemoveUserParams::RemoveUserParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  18891. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  18892. SharedCtor(arena);
  18893. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
  18894. }
  18895. RemoveUserParams::RemoveUserParams(const RemoveUserParams& from)
  18896. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  18897. RemoveUserParams* const _this = this; (void)_this;
  18898. new (&_impl_) Impl_{
  18899. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  18900. , /*decltype(_impl_._cached_size_)*/{}
  18901. , decltype(_impl_.user_){nullptr}};
  18902. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  18903. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  18904. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  18905. }
  18906. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
  18907. }
  18908. inline void RemoveUserParams::SharedCtor(::_pb::Arena* arena) {
  18909. (void)arena;
  18910. new (&_impl_) Impl_{
  18911. decltype(_impl_._has_bits_){}
  18912. , /*decltype(_impl_._cached_size_)*/{}
  18913. , decltype(_impl_.user_){nullptr}
  18914. };
  18915. }
  18916. RemoveUserParams::~RemoveUserParams() {
  18917. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
  18918. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  18919. (void)arena;
  18920. return;
  18921. }
  18922. SharedDtor();
  18923. }
  18924. inline void RemoveUserParams::SharedDtor() {
  18925. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  18926. if (this != internal_default_instance()) delete _impl_.user_;
  18927. }
  18928. void RemoveUserParams::SetCachedSize(int size) const {
  18929. _impl_._cached_size_.Set(size);
  18930. }
  18931. void RemoveUserParams::Clear() {
  18932. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
  18933. ::uint32_t cached_has_bits = 0;
  18934. // Prevent compiler warnings about cached_has_bits being unused
  18935. (void) cached_has_bits;
  18936. cached_has_bits = _impl_._has_bits_[0];
  18937. if (cached_has_bits & 0x00000001u) {
  18938. ABSL_DCHECK(_impl_.user_ != nullptr);
  18939. _impl_.user_->Clear();
  18940. }
  18941. _impl_._has_bits_.Clear();
  18942. _internal_metadata_.Clear<std::string>();
  18943. }
  18944. const char* RemoveUserParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  18945. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  18946. _Internal::HasBits has_bits{};
  18947. while (!ctx->Done(&ptr)) {
  18948. ::uint32_t tag;
  18949. ptr = ::_pbi::ReadTag(ptr, &tag);
  18950. switch (tag >> 3) {
  18951. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  18952. case 1:
  18953. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  18954. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  18955. CHK_(ptr);
  18956. } else {
  18957. goto handle_unusual;
  18958. }
  18959. continue;
  18960. default:
  18961. goto handle_unusual;
  18962. } // switch
  18963. handle_unusual:
  18964. if ((tag == 0) || ((tag & 7) == 4)) {
  18965. CHK_(ptr);
  18966. ctx->SetLastTag(tag);
  18967. goto message_done;
  18968. }
  18969. ptr = UnknownFieldParse(
  18970. tag,
  18971. _internal_metadata_.mutable_unknown_fields<std::string>(),
  18972. ptr, ctx);
  18973. CHK_(ptr != nullptr);
  18974. } // while
  18975. message_done:
  18976. _impl_._has_bits_.Or(has_bits);
  18977. return ptr;
  18978. failure:
  18979. ptr = nullptr;
  18980. goto message_done;
  18981. #undef CHK_
  18982. }
  18983. ::uint8_t* RemoveUserParams::_InternalSerialize(
  18984. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  18985. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
  18986. ::uint32_t cached_has_bits = 0;
  18987. (void) cached_has_bits;
  18988. cached_has_bits = _impl_._has_bits_[0];
  18989. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  18990. if (cached_has_bits & 0x00000001u) {
  18991. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  18992. InternalWriteMessage(1, _Internal::user(this),
  18993. _Internal::user(this).GetCachedSize(), target, stream);
  18994. }
  18995. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  18996. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  18997. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  18998. }
  18999. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
  19000. return target;
  19001. }
  19002. ::size_t RemoveUserParams::ByteSizeLong() const {
  19003. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
  19004. ::size_t total_size = 0;
  19005. ::uint32_t cached_has_bits = 0;
  19006. // Prevent compiler warnings about cached_has_bits being unused
  19007. (void) cached_has_bits;
  19008. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  19009. cached_has_bits = _impl_._has_bits_[0];
  19010. if (cached_has_bits & 0x00000001u) {
  19011. total_size += 1 +
  19012. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  19013. *_impl_.user_);
  19014. }
  19015. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  19016. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  19017. }
  19018. int cached_size = ::_pbi::ToCachedSize(total_size);
  19019. SetCachedSize(cached_size);
  19020. return total_size;
  19021. }
  19022. void RemoveUserParams::CheckTypeAndMergeFrom(
  19023. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  19024. MergeFrom(*::_pbi::DownCast<const RemoveUserParams*>(
  19025. &from));
  19026. }
  19027. void RemoveUserParams::MergeFrom(const RemoveUserParams& from) {
  19028. RemoveUserParams* const _this = this;
  19029. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
  19030. ABSL_DCHECK_NE(&from, _this);
  19031. ::uint32_t cached_has_bits = 0;
  19032. (void) cached_has_bits;
  19033. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  19034. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  19035. from._internal_user());
  19036. }
  19037. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  19038. }
  19039. void RemoveUserParams::CopyFrom(const RemoveUserParams& from) {
  19040. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
  19041. if (&from == this) return;
  19042. Clear();
  19043. MergeFrom(from);
  19044. }
  19045. bool RemoveUserParams::IsInitialized() const {
  19046. return true;
  19047. }
  19048. void RemoveUserParams::InternalSwap(RemoveUserParams* other) {
  19049. using std::swap;
  19050. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  19051. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  19052. swap(_impl_.user_, other->_impl_.user_);
  19053. }
  19054. std::string RemoveUserParams::GetTypeName() const {
  19055. return "com.electron.zoomvideo.sdk.proto.RemoveUserParams";
  19056. }
  19057. // ===================================================================
  19058. class RotateMyVideoParams::_Internal {
  19059. public:
  19060. using HasBits = decltype(std::declval<RotateMyVideoParams>()._impl_._has_bits_);
  19061. static constexpr ::int32_t kHasBitsOffset =
  19062. 8 * PROTOBUF_FIELD_OFFSET(RotateMyVideoParams, _impl_._has_bits_);
  19063. static void set_has_zn_rotation(HasBits* has_bits) {
  19064. (*has_bits)[0] |= 1u;
  19065. }
  19066. };
  19067. RotateMyVideoParams::RotateMyVideoParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  19068. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  19069. SharedCtor(arena);
  19070. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
  19071. }
  19072. RotateMyVideoParams::RotateMyVideoParams(const RotateMyVideoParams& from)
  19073. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  19074. _internal_metadata_.MergeFrom<std::string>(
  19075. from._internal_metadata_);
  19076. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
  19077. }
  19078. inline void RotateMyVideoParams::SharedCtor(::_pb::Arena* arena) {
  19079. (void)arena;
  19080. new (&_impl_) Impl_{
  19081. decltype(_impl_._has_bits_){}
  19082. , /*decltype(_impl_._cached_size_)*/{}
  19083. , decltype(_impl_.zn_rotation_) { 0 }
  19084. };
  19085. }
  19086. RotateMyVideoParams::~RotateMyVideoParams() {
  19087. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
  19088. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  19089. (void)arena;
  19090. return;
  19091. }
  19092. SharedDtor();
  19093. }
  19094. inline void RotateMyVideoParams::SharedDtor() {
  19095. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  19096. }
  19097. void RotateMyVideoParams::SetCachedSize(int size) const {
  19098. _impl_._cached_size_.Set(size);
  19099. }
  19100. void RotateMyVideoParams::Clear() {
  19101. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
  19102. ::uint32_t cached_has_bits = 0;
  19103. // Prevent compiler warnings about cached_has_bits being unused
  19104. (void) cached_has_bits;
  19105. _impl_.zn_rotation_ = 0;
  19106. _impl_._has_bits_.Clear();
  19107. _internal_metadata_.Clear<std::string>();
  19108. }
  19109. const char* RotateMyVideoParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  19110. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  19111. _Internal::HasBits has_bits{};
  19112. while (!ctx->Done(&ptr)) {
  19113. ::uint32_t tag;
  19114. ptr = ::_pbi::ReadTag(ptr, &tag);
  19115. switch (tag >> 3) {
  19116. // optional int32 zn_rotation = 1;
  19117. case 1:
  19118. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  19119. _Internal::set_has_zn_rotation(&has_bits);
  19120. _impl_.zn_rotation_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  19121. CHK_(ptr);
  19122. } else {
  19123. goto handle_unusual;
  19124. }
  19125. continue;
  19126. default:
  19127. goto handle_unusual;
  19128. } // switch
  19129. handle_unusual:
  19130. if ((tag == 0) || ((tag & 7) == 4)) {
  19131. CHK_(ptr);
  19132. ctx->SetLastTag(tag);
  19133. goto message_done;
  19134. }
  19135. ptr = UnknownFieldParse(
  19136. tag,
  19137. _internal_metadata_.mutable_unknown_fields<std::string>(),
  19138. ptr, ctx);
  19139. CHK_(ptr != nullptr);
  19140. } // while
  19141. message_done:
  19142. _impl_._has_bits_.Or(has_bits);
  19143. return ptr;
  19144. failure:
  19145. ptr = nullptr;
  19146. goto message_done;
  19147. #undef CHK_
  19148. }
  19149. ::uint8_t* RotateMyVideoParams::_InternalSerialize(
  19150. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  19151. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
  19152. ::uint32_t cached_has_bits = 0;
  19153. (void) cached_has_bits;
  19154. cached_has_bits = _impl_._has_bits_[0];
  19155. // optional int32 zn_rotation = 1;
  19156. if (cached_has_bits & 0x00000001u) {
  19157. target = stream->EnsureSpace(target);
  19158. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  19159. 1, this->_internal_zn_rotation(), target);
  19160. }
  19161. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  19162. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  19163. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  19164. }
  19165. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
  19166. return target;
  19167. }
  19168. ::size_t RotateMyVideoParams::ByteSizeLong() const {
  19169. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
  19170. ::size_t total_size = 0;
  19171. ::uint32_t cached_has_bits = 0;
  19172. // Prevent compiler warnings about cached_has_bits being unused
  19173. (void) cached_has_bits;
  19174. // optional int32 zn_rotation = 1;
  19175. cached_has_bits = _impl_._has_bits_[0];
  19176. if (cached_has_bits & 0x00000001u) {
  19177. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  19178. this->_internal_zn_rotation());
  19179. }
  19180. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  19181. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  19182. }
  19183. int cached_size = ::_pbi::ToCachedSize(total_size);
  19184. SetCachedSize(cached_size);
  19185. return total_size;
  19186. }
  19187. void RotateMyVideoParams::CheckTypeAndMergeFrom(
  19188. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  19189. MergeFrom(*::_pbi::DownCast<const RotateMyVideoParams*>(
  19190. &from));
  19191. }
  19192. void RotateMyVideoParams::MergeFrom(const RotateMyVideoParams& from) {
  19193. RotateMyVideoParams* const _this = this;
  19194. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
  19195. ABSL_DCHECK_NE(&from, _this);
  19196. ::uint32_t cached_has_bits = 0;
  19197. (void) cached_has_bits;
  19198. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  19199. _this->_internal_set_zn_rotation(from._internal_zn_rotation());
  19200. }
  19201. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  19202. }
  19203. void RotateMyVideoParams::CopyFrom(const RotateMyVideoParams& from) {
  19204. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
  19205. if (&from == this) return;
  19206. Clear();
  19207. MergeFrom(from);
  19208. }
  19209. bool RotateMyVideoParams::IsInitialized() const {
  19210. return true;
  19211. }
  19212. void RotateMyVideoParams::InternalSwap(RotateMyVideoParams* other) {
  19213. using std::swap;
  19214. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  19215. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  19216. swap(_impl_.zn_rotation_, other->_impl_.zn_rotation_);
  19217. }
  19218. std::string RotateMyVideoParams::GetTypeName() const {
  19219. return "com.electron.zoomvideo.sdk.proto.RotateMyVideoParams";
  19220. }
  19221. // ===================================================================
  19222. class SelectCameraParams::_Internal {
  19223. public:
  19224. using HasBits = decltype(std::declval<SelectCameraParams>()._impl_._has_bits_);
  19225. static constexpr ::int32_t kHasBitsOffset =
  19226. 8 * PROTOBUF_FIELD_OFFSET(SelectCameraParams, _impl_._has_bits_);
  19227. static void set_has_zn_deviceid(HasBits* has_bits) {
  19228. (*has_bits)[0] |= 1u;
  19229. }
  19230. };
  19231. SelectCameraParams::SelectCameraParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  19232. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  19233. SharedCtor(arena);
  19234. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
  19235. }
  19236. SelectCameraParams::SelectCameraParams(const SelectCameraParams& from)
  19237. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  19238. SelectCameraParams* const _this = this; (void)_this;
  19239. new (&_impl_) Impl_{
  19240. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  19241. , /*decltype(_impl_._cached_size_)*/{}
  19242. , decltype(_impl_.zn_deviceid_) {}
  19243. };
  19244. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  19245. _impl_.zn_deviceid_.InitDefault();
  19246. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  19247. _impl_.zn_deviceid_.Set("", GetArenaForAllocation());
  19248. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  19249. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  19250. _this->_impl_.zn_deviceid_.Set(from._internal_zn_deviceid(), _this->GetArenaForAllocation());
  19251. }
  19252. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
  19253. }
  19254. inline void SelectCameraParams::SharedCtor(::_pb::Arena* arena) {
  19255. (void)arena;
  19256. new (&_impl_) Impl_{
  19257. decltype(_impl_._has_bits_){}
  19258. , /*decltype(_impl_._cached_size_)*/{}
  19259. , decltype(_impl_.zn_deviceid_) {}
  19260. };
  19261. _impl_.zn_deviceid_.InitDefault();
  19262. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  19263. _impl_.zn_deviceid_.Set("", GetArenaForAllocation());
  19264. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  19265. }
  19266. SelectCameraParams::~SelectCameraParams() {
  19267. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
  19268. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  19269. (void)arena;
  19270. return;
  19271. }
  19272. SharedDtor();
  19273. }
  19274. inline void SelectCameraParams::SharedDtor() {
  19275. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  19276. _impl_.zn_deviceid_.Destroy();
  19277. }
  19278. void SelectCameraParams::SetCachedSize(int size) const {
  19279. _impl_._cached_size_.Set(size);
  19280. }
  19281. void SelectCameraParams::Clear() {
  19282. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
  19283. ::uint32_t cached_has_bits = 0;
  19284. // Prevent compiler warnings about cached_has_bits being unused
  19285. (void) cached_has_bits;
  19286. cached_has_bits = _impl_._has_bits_[0];
  19287. if (cached_has_bits & 0x00000001u) {
  19288. _impl_.zn_deviceid_.ClearNonDefaultToEmpty();
  19289. }
  19290. _impl_._has_bits_.Clear();
  19291. _internal_metadata_.Clear<std::string>();
  19292. }
  19293. const char* SelectCameraParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  19294. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  19295. _Internal::HasBits has_bits{};
  19296. while (!ctx->Done(&ptr)) {
  19297. ::uint32_t tag;
  19298. ptr = ::_pbi::ReadTag(ptr, &tag);
  19299. switch (tag >> 3) {
  19300. // optional string zn_deviceID = 1;
  19301. case 1:
  19302. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  19303. auto str = _internal_mutable_zn_deviceid();
  19304. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  19305. CHK_(ptr);
  19306. } else {
  19307. goto handle_unusual;
  19308. }
  19309. continue;
  19310. default:
  19311. goto handle_unusual;
  19312. } // switch
  19313. handle_unusual:
  19314. if ((tag == 0) || ((tag & 7) == 4)) {
  19315. CHK_(ptr);
  19316. ctx->SetLastTag(tag);
  19317. goto message_done;
  19318. }
  19319. ptr = UnknownFieldParse(
  19320. tag,
  19321. _internal_metadata_.mutable_unknown_fields<std::string>(),
  19322. ptr, ctx);
  19323. CHK_(ptr != nullptr);
  19324. } // while
  19325. message_done:
  19326. _impl_._has_bits_.Or(has_bits);
  19327. return ptr;
  19328. failure:
  19329. ptr = nullptr;
  19330. goto message_done;
  19331. #undef CHK_
  19332. }
  19333. ::uint8_t* SelectCameraParams::_InternalSerialize(
  19334. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  19335. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
  19336. ::uint32_t cached_has_bits = 0;
  19337. (void) cached_has_bits;
  19338. cached_has_bits = _impl_._has_bits_[0];
  19339. // optional string zn_deviceID = 1;
  19340. if (cached_has_bits & 0x00000001u) {
  19341. const std::string& _s = this->_internal_zn_deviceid();
  19342. target = stream->WriteStringMaybeAliased(1, _s, target);
  19343. }
  19344. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  19345. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  19346. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  19347. }
  19348. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
  19349. return target;
  19350. }
  19351. ::size_t SelectCameraParams::ByteSizeLong() const {
  19352. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
  19353. ::size_t total_size = 0;
  19354. ::uint32_t cached_has_bits = 0;
  19355. // Prevent compiler warnings about cached_has_bits being unused
  19356. (void) cached_has_bits;
  19357. // optional string zn_deviceID = 1;
  19358. cached_has_bits = _impl_._has_bits_[0];
  19359. if (cached_has_bits & 0x00000001u) {
  19360. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  19361. this->_internal_zn_deviceid());
  19362. }
  19363. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  19364. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  19365. }
  19366. int cached_size = ::_pbi::ToCachedSize(total_size);
  19367. SetCachedSize(cached_size);
  19368. return total_size;
  19369. }
  19370. void SelectCameraParams::CheckTypeAndMergeFrom(
  19371. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  19372. MergeFrom(*::_pbi::DownCast<const SelectCameraParams*>(
  19373. &from));
  19374. }
  19375. void SelectCameraParams::MergeFrom(const SelectCameraParams& from) {
  19376. SelectCameraParams* const _this = this;
  19377. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
  19378. ABSL_DCHECK_NE(&from, _this);
  19379. ::uint32_t cached_has_bits = 0;
  19380. (void) cached_has_bits;
  19381. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  19382. _this->_internal_set_zn_deviceid(from._internal_zn_deviceid());
  19383. }
  19384. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  19385. }
  19386. void SelectCameraParams::CopyFrom(const SelectCameraParams& from) {
  19387. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
  19388. if (&from == this) return;
  19389. Clear();
  19390. MergeFrom(from);
  19391. }
  19392. bool SelectCameraParams::IsInitialized() const {
  19393. return true;
  19394. }
  19395. void SelectCameraParams::InternalSwap(SelectCameraParams* other) {
  19396. using std::swap;
  19397. auto* lhs_arena = GetArenaForAllocation();
  19398. auto* rhs_arena = other->GetArenaForAllocation();
  19399. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  19400. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  19401. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_deviceid_, lhs_arena,
  19402. &other->_impl_.zn_deviceid_, rhs_arena);
  19403. }
  19404. std::string SelectCameraParams::GetTypeName() const {
  19405. return "com.electron.zoomvideo.sdk.proto.SelectCameraParams";
  19406. }
  19407. // ===================================================================
  19408. class CreateRenderParams::_Internal {
  19409. public:
  19410. using HasBits = decltype(std::declval<CreateRenderParams>()._impl_._has_bits_);
  19411. static constexpr ::int32_t kHasBitsOffset =
  19412. 8 * PROTOBUF_FIELD_OFFSET(CreateRenderParams, _impl_._has_bits_);
  19413. static void set_has_zn_recv_handle(HasBits* has_bits) {
  19414. (*has_bits)[0] |= 1u;
  19415. }
  19416. };
  19417. CreateRenderParams::CreateRenderParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  19418. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  19419. SharedCtor(arena);
  19420. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
  19421. }
  19422. CreateRenderParams::CreateRenderParams(const CreateRenderParams& from)
  19423. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  19424. _internal_metadata_.MergeFrom<std::string>(
  19425. from._internal_metadata_);
  19426. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
  19427. }
  19428. inline void CreateRenderParams::SharedCtor(::_pb::Arena* arena) {
  19429. (void)arena;
  19430. new (&_impl_) Impl_{
  19431. decltype(_impl_._has_bits_){}
  19432. , /*decltype(_impl_._cached_size_)*/{}
  19433. , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
  19434. };
  19435. }
  19436. CreateRenderParams::~CreateRenderParams() {
  19437. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
  19438. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  19439. (void)arena;
  19440. return;
  19441. }
  19442. SharedDtor();
  19443. }
  19444. inline void CreateRenderParams::SharedDtor() {
  19445. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  19446. }
  19447. void CreateRenderParams::SetCachedSize(int size) const {
  19448. _impl_._cached_size_.Set(size);
  19449. }
  19450. void CreateRenderParams::Clear() {
  19451. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
  19452. ::uint32_t cached_has_bits = 0;
  19453. // Prevent compiler warnings about cached_has_bits being unused
  19454. (void) cached_has_bits;
  19455. _impl_.zn_recv_handle_ = ::int64_t{0};
  19456. _impl_._has_bits_.Clear();
  19457. _internal_metadata_.Clear<std::string>();
  19458. }
  19459. const char* CreateRenderParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  19460. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  19461. _Internal::HasBits has_bits{};
  19462. while (!ctx->Done(&ptr)) {
  19463. ::uint32_t tag;
  19464. ptr = ::_pbi::ReadTag(ptr, &tag);
  19465. switch (tag >> 3) {
  19466. // optional int64 zn_recv_handle = 1;
  19467. case 1:
  19468. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  19469. _Internal::set_has_zn_recv_handle(&has_bits);
  19470. _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  19471. CHK_(ptr);
  19472. } else {
  19473. goto handle_unusual;
  19474. }
  19475. continue;
  19476. default:
  19477. goto handle_unusual;
  19478. } // switch
  19479. handle_unusual:
  19480. if ((tag == 0) || ((tag & 7) == 4)) {
  19481. CHK_(ptr);
  19482. ctx->SetLastTag(tag);
  19483. goto message_done;
  19484. }
  19485. ptr = UnknownFieldParse(
  19486. tag,
  19487. _internal_metadata_.mutable_unknown_fields<std::string>(),
  19488. ptr, ctx);
  19489. CHK_(ptr != nullptr);
  19490. } // while
  19491. message_done:
  19492. _impl_._has_bits_.Or(has_bits);
  19493. return ptr;
  19494. failure:
  19495. ptr = nullptr;
  19496. goto message_done;
  19497. #undef CHK_
  19498. }
  19499. ::uint8_t* CreateRenderParams::_InternalSerialize(
  19500. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  19501. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
  19502. ::uint32_t cached_has_bits = 0;
  19503. (void) cached_has_bits;
  19504. cached_has_bits = _impl_._has_bits_[0];
  19505. // optional int64 zn_recv_handle = 1;
  19506. if (cached_has_bits & 0x00000001u) {
  19507. target = stream->EnsureSpace(target);
  19508. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  19509. 1, this->_internal_zn_recv_handle(), target);
  19510. }
  19511. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  19512. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  19513. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  19514. }
  19515. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
  19516. return target;
  19517. }
  19518. ::size_t CreateRenderParams::ByteSizeLong() const {
  19519. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
  19520. ::size_t total_size = 0;
  19521. ::uint32_t cached_has_bits = 0;
  19522. // Prevent compiler warnings about cached_has_bits being unused
  19523. (void) cached_has_bits;
  19524. // optional int64 zn_recv_handle = 1;
  19525. cached_has_bits = _impl_._has_bits_[0];
  19526. if (cached_has_bits & 0x00000001u) {
  19527. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  19528. this->_internal_zn_recv_handle());
  19529. }
  19530. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  19531. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  19532. }
  19533. int cached_size = ::_pbi::ToCachedSize(total_size);
  19534. SetCachedSize(cached_size);
  19535. return total_size;
  19536. }
  19537. void CreateRenderParams::CheckTypeAndMergeFrom(
  19538. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  19539. MergeFrom(*::_pbi::DownCast<const CreateRenderParams*>(
  19540. &from));
  19541. }
  19542. void CreateRenderParams::MergeFrom(const CreateRenderParams& from) {
  19543. CreateRenderParams* const _this = this;
  19544. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
  19545. ABSL_DCHECK_NE(&from, _this);
  19546. ::uint32_t cached_has_bits = 0;
  19547. (void) cached_has_bits;
  19548. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  19549. _this->_internal_set_zn_recv_handle(from._internal_zn_recv_handle());
  19550. }
  19551. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  19552. }
  19553. void CreateRenderParams::CopyFrom(const CreateRenderParams& from) {
  19554. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
  19555. if (&from == this) return;
  19556. Clear();
  19557. MergeFrom(from);
  19558. }
  19559. bool CreateRenderParams::IsInitialized() const {
  19560. return true;
  19561. }
  19562. void CreateRenderParams::InternalSwap(CreateRenderParams* other) {
  19563. using std::swap;
  19564. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  19565. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  19566. swap(_impl_.zn_recv_handle_, other->_impl_.zn_recv_handle_);
  19567. }
  19568. std::string CreateRenderParams::GetTypeName() const {
  19569. return "com.electron.zoomvideo.sdk.proto.CreateRenderParams";
  19570. }
  19571. // ===================================================================
  19572. class DestroyRendererParams::_Internal {
  19573. public:
  19574. using HasBits = decltype(std::declval<DestroyRendererParams>()._impl_._has_bits_);
  19575. static constexpr ::int32_t kHasBitsOffset =
  19576. 8 * PROTOBUF_FIELD_OFFSET(DestroyRendererParams, _impl_._has_bits_);
  19577. static void set_has_zn_recv_handle(HasBits* has_bits) {
  19578. (*has_bits)[0] |= 1u;
  19579. }
  19580. };
  19581. DestroyRendererParams::DestroyRendererParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  19582. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  19583. SharedCtor(arena);
  19584. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
  19585. }
  19586. DestroyRendererParams::DestroyRendererParams(const DestroyRendererParams& from)
  19587. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  19588. _internal_metadata_.MergeFrom<std::string>(
  19589. from._internal_metadata_);
  19590. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
  19591. }
  19592. inline void DestroyRendererParams::SharedCtor(::_pb::Arena* arena) {
  19593. (void)arena;
  19594. new (&_impl_) Impl_{
  19595. decltype(_impl_._has_bits_){}
  19596. , /*decltype(_impl_._cached_size_)*/{}
  19597. , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
  19598. };
  19599. }
  19600. DestroyRendererParams::~DestroyRendererParams() {
  19601. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
  19602. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  19603. (void)arena;
  19604. return;
  19605. }
  19606. SharedDtor();
  19607. }
  19608. inline void DestroyRendererParams::SharedDtor() {
  19609. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  19610. }
  19611. void DestroyRendererParams::SetCachedSize(int size) const {
  19612. _impl_._cached_size_.Set(size);
  19613. }
  19614. void DestroyRendererParams::Clear() {
  19615. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
  19616. ::uint32_t cached_has_bits = 0;
  19617. // Prevent compiler warnings about cached_has_bits being unused
  19618. (void) cached_has_bits;
  19619. _impl_.zn_recv_handle_ = ::int64_t{0};
  19620. _impl_._has_bits_.Clear();
  19621. _internal_metadata_.Clear<std::string>();
  19622. }
  19623. const char* DestroyRendererParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  19624. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  19625. _Internal::HasBits has_bits{};
  19626. while (!ctx->Done(&ptr)) {
  19627. ::uint32_t tag;
  19628. ptr = ::_pbi::ReadTag(ptr, &tag);
  19629. switch (tag >> 3) {
  19630. // optional int64 zn_recv_handle = 1;
  19631. case 1:
  19632. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  19633. _Internal::set_has_zn_recv_handle(&has_bits);
  19634. _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  19635. CHK_(ptr);
  19636. } else {
  19637. goto handle_unusual;
  19638. }
  19639. continue;
  19640. default:
  19641. goto handle_unusual;
  19642. } // switch
  19643. handle_unusual:
  19644. if ((tag == 0) || ((tag & 7) == 4)) {
  19645. CHK_(ptr);
  19646. ctx->SetLastTag(tag);
  19647. goto message_done;
  19648. }
  19649. ptr = UnknownFieldParse(
  19650. tag,
  19651. _internal_metadata_.mutable_unknown_fields<std::string>(),
  19652. ptr, ctx);
  19653. CHK_(ptr != nullptr);
  19654. } // while
  19655. message_done:
  19656. _impl_._has_bits_.Or(has_bits);
  19657. return ptr;
  19658. failure:
  19659. ptr = nullptr;
  19660. goto message_done;
  19661. #undef CHK_
  19662. }
  19663. ::uint8_t* DestroyRendererParams::_InternalSerialize(
  19664. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  19665. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
  19666. ::uint32_t cached_has_bits = 0;
  19667. (void) cached_has_bits;
  19668. cached_has_bits = _impl_._has_bits_[0];
  19669. // optional int64 zn_recv_handle = 1;
  19670. if (cached_has_bits & 0x00000001u) {
  19671. target = stream->EnsureSpace(target);
  19672. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  19673. 1, this->_internal_zn_recv_handle(), target);
  19674. }
  19675. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  19676. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  19677. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  19678. }
  19679. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
  19680. return target;
  19681. }
  19682. ::size_t DestroyRendererParams::ByteSizeLong() const {
  19683. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
  19684. ::size_t total_size = 0;
  19685. ::uint32_t cached_has_bits = 0;
  19686. // Prevent compiler warnings about cached_has_bits being unused
  19687. (void) cached_has_bits;
  19688. // optional int64 zn_recv_handle = 1;
  19689. cached_has_bits = _impl_._has_bits_[0];
  19690. if (cached_has_bits & 0x00000001u) {
  19691. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  19692. this->_internal_zn_recv_handle());
  19693. }
  19694. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  19695. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  19696. }
  19697. int cached_size = ::_pbi::ToCachedSize(total_size);
  19698. SetCachedSize(cached_size);
  19699. return total_size;
  19700. }
  19701. void DestroyRendererParams::CheckTypeAndMergeFrom(
  19702. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  19703. MergeFrom(*::_pbi::DownCast<const DestroyRendererParams*>(
  19704. &from));
  19705. }
  19706. void DestroyRendererParams::MergeFrom(const DestroyRendererParams& from) {
  19707. DestroyRendererParams* const _this = this;
  19708. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
  19709. ABSL_DCHECK_NE(&from, _this);
  19710. ::uint32_t cached_has_bits = 0;
  19711. (void) cached_has_bits;
  19712. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  19713. _this->_internal_set_zn_recv_handle(from._internal_zn_recv_handle());
  19714. }
  19715. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  19716. }
  19717. void DestroyRendererParams::CopyFrom(const DestroyRendererParams& from) {
  19718. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
  19719. if (&from == this) return;
  19720. Clear();
  19721. MergeFrom(from);
  19722. }
  19723. bool DestroyRendererParams::IsInitialized() const {
  19724. return true;
  19725. }
  19726. void DestroyRendererParams::InternalSwap(DestroyRendererParams* other) {
  19727. using std::swap;
  19728. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  19729. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  19730. swap(_impl_.zn_recv_handle_, other->_impl_.zn_recv_handle_);
  19731. }
  19732. std::string DestroyRendererParams::GetTypeName() const {
  19733. return "com.electron.zoomvideo.sdk.proto.DestroyRendererParams";
  19734. }
  19735. // ===================================================================
  19736. class SubscribeParams::_Internal {
  19737. public:
  19738. using HasBits = decltype(std::declval<SubscribeParams>()._impl_._has_bits_);
  19739. static constexpr ::int32_t kHasBitsOffset =
  19740. 8 * PROTOBUF_FIELD_OFFSET(SubscribeParams, _impl_._has_bits_);
  19741. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& zn_user(const SubscribeParams* msg);
  19742. static void set_has_zn_user(HasBits* has_bits) {
  19743. (*has_bits)[0] |= 1u;
  19744. }
  19745. static void set_has_zn_type(HasBits* has_bits) {
  19746. (*has_bits)[0] |= 4u;
  19747. }
  19748. static void set_has_zn_recv_handle(HasBits* has_bits) {
  19749. (*has_bits)[0] |= 2u;
  19750. }
  19751. static void set_has_zn_resolution(HasBits* has_bits) {
  19752. (*has_bits)[0] |= 8u;
  19753. }
  19754. };
  19755. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  19756. SubscribeParams::_Internal::zn_user(const SubscribeParams* msg) {
  19757. return *msg->_impl_.zn_user_;
  19758. }
  19759. SubscribeParams::SubscribeParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  19760. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  19761. SharedCtor(arena);
  19762. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SubscribeParams)
  19763. }
  19764. SubscribeParams::SubscribeParams(const SubscribeParams& from)
  19765. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  19766. SubscribeParams* const _this = this; (void)_this;
  19767. new (&_impl_) Impl_{
  19768. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  19769. , /*decltype(_impl_._cached_size_)*/{}
  19770. , decltype(_impl_.zn_user_){nullptr}
  19771. , decltype(_impl_.zn_recv_handle_) {}
  19772. , decltype(_impl_.zn_type_) {}
  19773. , decltype(_impl_.zn_resolution_) {}
  19774. };
  19775. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  19776. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  19777. _this->_impl_.zn_user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.zn_user_);
  19778. }
  19779. ::memcpy(&_impl_.zn_recv_handle_, &from._impl_.zn_recv_handle_,
  19780. static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.zn_resolution_) -
  19781. reinterpret_cast<char*>(&_impl_.zn_recv_handle_)) + sizeof(_impl_.zn_resolution_));
  19782. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SubscribeParams)
  19783. }
  19784. inline void SubscribeParams::SharedCtor(::_pb::Arena* arena) {
  19785. (void)arena;
  19786. new (&_impl_) Impl_{
  19787. decltype(_impl_._has_bits_){}
  19788. , /*decltype(_impl_._cached_size_)*/{}
  19789. , decltype(_impl_.zn_user_){nullptr}
  19790. , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
  19791. , decltype(_impl_.zn_type_) { 0 }
  19792. , decltype(_impl_.zn_resolution_) { 0 }
  19793. };
  19794. }
  19795. SubscribeParams::~SubscribeParams() {
  19796. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SubscribeParams)
  19797. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  19798. (void)arena;
  19799. return;
  19800. }
  19801. SharedDtor();
  19802. }
  19803. inline void SubscribeParams::SharedDtor() {
  19804. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  19805. if (this != internal_default_instance()) delete _impl_.zn_user_;
  19806. }
  19807. void SubscribeParams::SetCachedSize(int size) const {
  19808. _impl_._cached_size_.Set(size);
  19809. }
  19810. void SubscribeParams::Clear() {
  19811. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SubscribeParams)
  19812. ::uint32_t cached_has_bits = 0;
  19813. // Prevent compiler warnings about cached_has_bits being unused
  19814. (void) cached_has_bits;
  19815. cached_has_bits = _impl_._has_bits_[0];
  19816. if (cached_has_bits & 0x00000001u) {
  19817. ABSL_DCHECK(_impl_.zn_user_ != nullptr);
  19818. _impl_.zn_user_->Clear();
  19819. }
  19820. if (cached_has_bits & 0x0000000eu) {
  19821. ::memset(&_impl_.zn_recv_handle_, 0, static_cast<::size_t>(
  19822. reinterpret_cast<char*>(&_impl_.zn_resolution_) -
  19823. reinterpret_cast<char*>(&_impl_.zn_recv_handle_)) + sizeof(_impl_.zn_resolution_));
  19824. }
  19825. _impl_._has_bits_.Clear();
  19826. _internal_metadata_.Clear<std::string>();
  19827. }
  19828. const char* SubscribeParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  19829. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  19830. _Internal::HasBits has_bits{};
  19831. while (!ctx->Done(&ptr)) {
  19832. ::uint32_t tag;
  19833. ptr = ::_pbi::ReadTag(ptr, &tag);
  19834. switch (tag >> 3) {
  19835. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
  19836. case 1:
  19837. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  19838. ptr = ctx->ParseMessage(_internal_mutable_zn_user(), ptr);
  19839. CHK_(ptr);
  19840. } else {
  19841. goto handle_unusual;
  19842. }
  19843. continue;
  19844. // optional int32 zn_type = 2;
  19845. case 2:
  19846. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  19847. _Internal::set_has_zn_type(&has_bits);
  19848. _impl_.zn_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  19849. CHK_(ptr);
  19850. } else {
  19851. goto handle_unusual;
  19852. }
  19853. continue;
  19854. // optional int64 zn_recv_handle = 3;
  19855. case 3:
  19856. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  19857. _Internal::set_has_zn_recv_handle(&has_bits);
  19858. _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  19859. CHK_(ptr);
  19860. } else {
  19861. goto handle_unusual;
  19862. }
  19863. continue;
  19864. // optional int32 zn_resolution = 4;
  19865. case 4:
  19866. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
  19867. _Internal::set_has_zn_resolution(&has_bits);
  19868. _impl_.zn_resolution_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  19869. CHK_(ptr);
  19870. } else {
  19871. goto handle_unusual;
  19872. }
  19873. continue;
  19874. default:
  19875. goto handle_unusual;
  19876. } // switch
  19877. handle_unusual:
  19878. if ((tag == 0) || ((tag & 7) == 4)) {
  19879. CHK_(ptr);
  19880. ctx->SetLastTag(tag);
  19881. goto message_done;
  19882. }
  19883. ptr = UnknownFieldParse(
  19884. tag,
  19885. _internal_metadata_.mutable_unknown_fields<std::string>(),
  19886. ptr, ctx);
  19887. CHK_(ptr != nullptr);
  19888. } // while
  19889. message_done:
  19890. _impl_._has_bits_.Or(has_bits);
  19891. return ptr;
  19892. failure:
  19893. ptr = nullptr;
  19894. goto message_done;
  19895. #undef CHK_
  19896. }
  19897. ::uint8_t* SubscribeParams::_InternalSerialize(
  19898. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  19899. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SubscribeParams)
  19900. ::uint32_t cached_has_bits = 0;
  19901. (void) cached_has_bits;
  19902. cached_has_bits = _impl_._has_bits_[0];
  19903. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
  19904. if (cached_has_bits & 0x00000001u) {
  19905. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  19906. InternalWriteMessage(1, _Internal::zn_user(this),
  19907. _Internal::zn_user(this).GetCachedSize(), target, stream);
  19908. }
  19909. // optional int32 zn_type = 2;
  19910. if (cached_has_bits & 0x00000004u) {
  19911. target = stream->EnsureSpace(target);
  19912. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  19913. 2, this->_internal_zn_type(), target);
  19914. }
  19915. // optional int64 zn_recv_handle = 3;
  19916. if (cached_has_bits & 0x00000002u) {
  19917. target = stream->EnsureSpace(target);
  19918. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  19919. 3, this->_internal_zn_recv_handle(), target);
  19920. }
  19921. // optional int32 zn_resolution = 4;
  19922. if (cached_has_bits & 0x00000008u) {
  19923. target = stream->EnsureSpace(target);
  19924. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  19925. 4, this->_internal_zn_resolution(), target);
  19926. }
  19927. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  19928. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  19929. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  19930. }
  19931. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SubscribeParams)
  19932. return target;
  19933. }
  19934. ::size_t SubscribeParams::ByteSizeLong() const {
  19935. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SubscribeParams)
  19936. ::size_t total_size = 0;
  19937. ::uint32_t cached_has_bits = 0;
  19938. // Prevent compiler warnings about cached_has_bits being unused
  19939. (void) cached_has_bits;
  19940. cached_has_bits = _impl_._has_bits_[0];
  19941. if (cached_has_bits & 0x0000000fu) {
  19942. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
  19943. if (cached_has_bits & 0x00000001u) {
  19944. total_size += 1 +
  19945. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  19946. *_impl_.zn_user_);
  19947. }
  19948. // optional int64 zn_recv_handle = 3;
  19949. if (cached_has_bits & 0x00000002u) {
  19950. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  19951. this->_internal_zn_recv_handle());
  19952. }
  19953. // optional int32 zn_type = 2;
  19954. if (cached_has_bits & 0x00000004u) {
  19955. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  19956. this->_internal_zn_type());
  19957. }
  19958. // optional int32 zn_resolution = 4;
  19959. if (cached_has_bits & 0x00000008u) {
  19960. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  19961. this->_internal_zn_resolution());
  19962. }
  19963. }
  19964. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  19965. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  19966. }
  19967. int cached_size = ::_pbi::ToCachedSize(total_size);
  19968. SetCachedSize(cached_size);
  19969. return total_size;
  19970. }
  19971. void SubscribeParams::CheckTypeAndMergeFrom(
  19972. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  19973. MergeFrom(*::_pbi::DownCast<const SubscribeParams*>(
  19974. &from));
  19975. }
  19976. void SubscribeParams::MergeFrom(const SubscribeParams& from) {
  19977. SubscribeParams* const _this = this;
  19978. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SubscribeParams)
  19979. ABSL_DCHECK_NE(&from, _this);
  19980. ::uint32_t cached_has_bits = 0;
  19981. (void) cached_has_bits;
  19982. cached_has_bits = from._impl_._has_bits_[0];
  19983. if (cached_has_bits & 0x0000000fu) {
  19984. if (cached_has_bits & 0x00000001u) {
  19985. _this->_internal_mutable_zn_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  19986. from._internal_zn_user());
  19987. }
  19988. if (cached_has_bits & 0x00000002u) {
  19989. _this->_impl_.zn_recv_handle_ = from._impl_.zn_recv_handle_;
  19990. }
  19991. if (cached_has_bits & 0x00000004u) {
  19992. _this->_impl_.zn_type_ = from._impl_.zn_type_;
  19993. }
  19994. if (cached_has_bits & 0x00000008u) {
  19995. _this->_impl_.zn_resolution_ = from._impl_.zn_resolution_;
  19996. }
  19997. _this->_impl_._has_bits_[0] |= cached_has_bits;
  19998. }
  19999. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  20000. }
  20001. void SubscribeParams::CopyFrom(const SubscribeParams& from) {
  20002. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SubscribeParams)
  20003. if (&from == this) return;
  20004. Clear();
  20005. MergeFrom(from);
  20006. }
  20007. bool SubscribeParams::IsInitialized() const {
  20008. return true;
  20009. }
  20010. void SubscribeParams::InternalSwap(SubscribeParams* other) {
  20011. using std::swap;
  20012. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  20013. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  20014. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  20015. PROTOBUF_FIELD_OFFSET(SubscribeParams, _impl_.zn_resolution_)
  20016. + sizeof(SubscribeParams::_impl_.zn_resolution_)
  20017. - PROTOBUF_FIELD_OFFSET(SubscribeParams, _impl_.zn_user_)>(
  20018. reinterpret_cast<char*>(&_impl_.zn_user_),
  20019. reinterpret_cast<char*>(&other->_impl_.zn_user_));
  20020. }
  20021. std::string SubscribeParams::GetTypeName() const {
  20022. return "com.electron.zoomvideo.sdk.proto.SubscribeParams";
  20023. }
  20024. // ===================================================================
  20025. class UnSubscribeParams::_Internal {
  20026. public:
  20027. using HasBits = decltype(std::declval<UnSubscribeParams>()._impl_._has_bits_);
  20028. static constexpr ::int32_t kHasBitsOffset =
  20029. 8 * PROTOBUF_FIELD_OFFSET(UnSubscribeParams, _impl_._has_bits_);
  20030. static void set_has_zn_recv_handle(HasBits* has_bits) {
  20031. (*has_bits)[0] |= 2u;
  20032. }
  20033. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& zn_user(const UnSubscribeParams* msg);
  20034. static void set_has_zn_user(HasBits* has_bits) {
  20035. (*has_bits)[0] |= 1u;
  20036. }
  20037. static void set_has_zn_type(HasBits* has_bits) {
  20038. (*has_bits)[0] |= 4u;
  20039. }
  20040. };
  20041. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  20042. UnSubscribeParams::_Internal::zn_user(const UnSubscribeParams* msg) {
  20043. return *msg->_impl_.zn_user_;
  20044. }
  20045. UnSubscribeParams::UnSubscribeParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  20046. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  20047. SharedCtor(arena);
  20048. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
  20049. }
  20050. UnSubscribeParams::UnSubscribeParams(const UnSubscribeParams& from)
  20051. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  20052. UnSubscribeParams* const _this = this; (void)_this;
  20053. new (&_impl_) Impl_{
  20054. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  20055. , /*decltype(_impl_._cached_size_)*/{}
  20056. , decltype(_impl_.zn_user_){nullptr}
  20057. , decltype(_impl_.zn_recv_handle_) {}
  20058. , decltype(_impl_.zn_type_) {}
  20059. };
  20060. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  20061. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  20062. _this->_impl_.zn_user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.zn_user_);
  20063. }
  20064. ::memcpy(&_impl_.zn_recv_handle_, &from._impl_.zn_recv_handle_,
  20065. static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.zn_type_) -
  20066. reinterpret_cast<char*>(&_impl_.zn_recv_handle_)) + sizeof(_impl_.zn_type_));
  20067. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
  20068. }
  20069. inline void UnSubscribeParams::SharedCtor(::_pb::Arena* arena) {
  20070. (void)arena;
  20071. new (&_impl_) Impl_{
  20072. decltype(_impl_._has_bits_){}
  20073. , /*decltype(_impl_._cached_size_)*/{}
  20074. , decltype(_impl_.zn_user_){nullptr}
  20075. , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
  20076. , decltype(_impl_.zn_type_) { 0 }
  20077. };
  20078. }
  20079. UnSubscribeParams::~UnSubscribeParams() {
  20080. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
  20081. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  20082. (void)arena;
  20083. return;
  20084. }
  20085. SharedDtor();
  20086. }
  20087. inline void UnSubscribeParams::SharedDtor() {
  20088. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  20089. if (this != internal_default_instance()) delete _impl_.zn_user_;
  20090. }
  20091. void UnSubscribeParams::SetCachedSize(int size) const {
  20092. _impl_._cached_size_.Set(size);
  20093. }
  20094. void UnSubscribeParams::Clear() {
  20095. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
  20096. ::uint32_t cached_has_bits = 0;
  20097. // Prevent compiler warnings about cached_has_bits being unused
  20098. (void) cached_has_bits;
  20099. cached_has_bits = _impl_._has_bits_[0];
  20100. if (cached_has_bits & 0x00000001u) {
  20101. ABSL_DCHECK(_impl_.zn_user_ != nullptr);
  20102. _impl_.zn_user_->Clear();
  20103. }
  20104. if (cached_has_bits & 0x00000006u) {
  20105. ::memset(&_impl_.zn_recv_handle_, 0, static_cast<::size_t>(
  20106. reinterpret_cast<char*>(&_impl_.zn_type_) -
  20107. reinterpret_cast<char*>(&_impl_.zn_recv_handle_)) + sizeof(_impl_.zn_type_));
  20108. }
  20109. _impl_._has_bits_.Clear();
  20110. _internal_metadata_.Clear<std::string>();
  20111. }
  20112. const char* UnSubscribeParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  20113. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  20114. _Internal::HasBits has_bits{};
  20115. while (!ctx->Done(&ptr)) {
  20116. ::uint32_t tag;
  20117. ptr = ::_pbi::ReadTag(ptr, &tag);
  20118. switch (tag >> 3) {
  20119. // optional int64 zn_recv_handle = 1;
  20120. case 1:
  20121. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  20122. _Internal::set_has_zn_recv_handle(&has_bits);
  20123. _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  20124. CHK_(ptr);
  20125. } else {
  20126. goto handle_unusual;
  20127. }
  20128. continue;
  20129. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 2;
  20130. case 2:
  20131. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  20132. ptr = ctx->ParseMessage(_internal_mutable_zn_user(), ptr);
  20133. CHK_(ptr);
  20134. } else {
  20135. goto handle_unusual;
  20136. }
  20137. continue;
  20138. // optional int32 zn_type = 3;
  20139. case 3:
  20140. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  20141. _Internal::set_has_zn_type(&has_bits);
  20142. _impl_.zn_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  20143. CHK_(ptr);
  20144. } else {
  20145. goto handle_unusual;
  20146. }
  20147. continue;
  20148. default:
  20149. goto handle_unusual;
  20150. } // switch
  20151. handle_unusual:
  20152. if ((tag == 0) || ((tag & 7) == 4)) {
  20153. CHK_(ptr);
  20154. ctx->SetLastTag(tag);
  20155. goto message_done;
  20156. }
  20157. ptr = UnknownFieldParse(
  20158. tag,
  20159. _internal_metadata_.mutable_unknown_fields<std::string>(),
  20160. ptr, ctx);
  20161. CHK_(ptr != nullptr);
  20162. } // while
  20163. message_done:
  20164. _impl_._has_bits_.Or(has_bits);
  20165. return ptr;
  20166. failure:
  20167. ptr = nullptr;
  20168. goto message_done;
  20169. #undef CHK_
  20170. }
  20171. ::uint8_t* UnSubscribeParams::_InternalSerialize(
  20172. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  20173. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
  20174. ::uint32_t cached_has_bits = 0;
  20175. (void) cached_has_bits;
  20176. cached_has_bits = _impl_._has_bits_[0];
  20177. // optional int64 zn_recv_handle = 1;
  20178. if (cached_has_bits & 0x00000002u) {
  20179. target = stream->EnsureSpace(target);
  20180. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  20181. 1, this->_internal_zn_recv_handle(), target);
  20182. }
  20183. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 2;
  20184. if (cached_has_bits & 0x00000001u) {
  20185. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  20186. InternalWriteMessage(2, _Internal::zn_user(this),
  20187. _Internal::zn_user(this).GetCachedSize(), target, stream);
  20188. }
  20189. // optional int32 zn_type = 3;
  20190. if (cached_has_bits & 0x00000004u) {
  20191. target = stream->EnsureSpace(target);
  20192. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  20193. 3, this->_internal_zn_type(), target);
  20194. }
  20195. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  20196. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  20197. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  20198. }
  20199. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
  20200. return target;
  20201. }
  20202. ::size_t UnSubscribeParams::ByteSizeLong() const {
  20203. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
  20204. ::size_t total_size = 0;
  20205. ::uint32_t cached_has_bits = 0;
  20206. // Prevent compiler warnings about cached_has_bits being unused
  20207. (void) cached_has_bits;
  20208. cached_has_bits = _impl_._has_bits_[0];
  20209. if (cached_has_bits & 0x00000007u) {
  20210. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 2;
  20211. if (cached_has_bits & 0x00000001u) {
  20212. total_size += 1 +
  20213. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  20214. *_impl_.zn_user_);
  20215. }
  20216. // optional int64 zn_recv_handle = 1;
  20217. if (cached_has_bits & 0x00000002u) {
  20218. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  20219. this->_internal_zn_recv_handle());
  20220. }
  20221. // optional int32 zn_type = 3;
  20222. if (cached_has_bits & 0x00000004u) {
  20223. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  20224. this->_internal_zn_type());
  20225. }
  20226. }
  20227. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  20228. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  20229. }
  20230. int cached_size = ::_pbi::ToCachedSize(total_size);
  20231. SetCachedSize(cached_size);
  20232. return total_size;
  20233. }
  20234. void UnSubscribeParams::CheckTypeAndMergeFrom(
  20235. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  20236. MergeFrom(*::_pbi::DownCast<const UnSubscribeParams*>(
  20237. &from));
  20238. }
  20239. void UnSubscribeParams::MergeFrom(const UnSubscribeParams& from) {
  20240. UnSubscribeParams* const _this = this;
  20241. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
  20242. ABSL_DCHECK_NE(&from, _this);
  20243. ::uint32_t cached_has_bits = 0;
  20244. (void) cached_has_bits;
  20245. cached_has_bits = from._impl_._has_bits_[0];
  20246. if (cached_has_bits & 0x00000007u) {
  20247. if (cached_has_bits & 0x00000001u) {
  20248. _this->_internal_mutable_zn_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  20249. from._internal_zn_user());
  20250. }
  20251. if (cached_has_bits & 0x00000002u) {
  20252. _this->_impl_.zn_recv_handle_ = from._impl_.zn_recv_handle_;
  20253. }
  20254. if (cached_has_bits & 0x00000004u) {
  20255. _this->_impl_.zn_type_ = from._impl_.zn_type_;
  20256. }
  20257. _this->_impl_._has_bits_[0] |= cached_has_bits;
  20258. }
  20259. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  20260. }
  20261. void UnSubscribeParams::CopyFrom(const UnSubscribeParams& from) {
  20262. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
  20263. if (&from == this) return;
  20264. Clear();
  20265. MergeFrom(from);
  20266. }
  20267. bool UnSubscribeParams::IsInitialized() const {
  20268. return true;
  20269. }
  20270. void UnSubscribeParams::InternalSwap(UnSubscribeParams* other) {
  20271. using std::swap;
  20272. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  20273. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  20274. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  20275. PROTOBUF_FIELD_OFFSET(UnSubscribeParams, _impl_.zn_type_)
  20276. + sizeof(UnSubscribeParams::_impl_.zn_type_)
  20277. - PROTOBUF_FIELD_OFFSET(UnSubscribeParams, _impl_.zn_user_)>(
  20278. reinterpret_cast<char*>(&_impl_.zn_user_),
  20279. reinterpret_cast<char*>(&other->_impl_.zn_user_));
  20280. }
  20281. std::string UnSubscribeParams::GetTypeName() const {
  20282. return "com.electron.zoomvideo.sdk.proto.UnSubscribeParams";
  20283. }
  20284. // ===================================================================
  20285. class SubscribeToSharedComputerAudioParams::_Internal {
  20286. public:
  20287. using HasBits = decltype(std::declval<SubscribeToSharedComputerAudioParams>()._impl_._has_bits_);
  20288. static constexpr ::int32_t kHasBitsOffset =
  20289. 8 * PROTOBUF_FIELD_OFFSET(SubscribeToSharedComputerAudioParams, _impl_._has_bits_);
  20290. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& zn_user(const SubscribeToSharedComputerAudioParams* msg);
  20291. static void set_has_zn_user(HasBits* has_bits) {
  20292. (*has_bits)[0] |= 1u;
  20293. }
  20294. };
  20295. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  20296. SubscribeToSharedComputerAudioParams::_Internal::zn_user(const SubscribeToSharedComputerAudioParams* msg) {
  20297. return *msg->_impl_.zn_user_;
  20298. }
  20299. SubscribeToSharedComputerAudioParams::SubscribeToSharedComputerAudioParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  20300. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  20301. SharedCtor(arena);
  20302. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
  20303. }
  20304. SubscribeToSharedComputerAudioParams::SubscribeToSharedComputerAudioParams(const SubscribeToSharedComputerAudioParams& from)
  20305. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  20306. SubscribeToSharedComputerAudioParams* const _this = this; (void)_this;
  20307. new (&_impl_) Impl_{
  20308. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  20309. , /*decltype(_impl_._cached_size_)*/{}
  20310. , decltype(_impl_.zn_user_){nullptr}};
  20311. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  20312. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  20313. _this->_impl_.zn_user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.zn_user_);
  20314. }
  20315. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
  20316. }
  20317. inline void SubscribeToSharedComputerAudioParams::SharedCtor(::_pb::Arena* arena) {
  20318. (void)arena;
  20319. new (&_impl_) Impl_{
  20320. decltype(_impl_._has_bits_){}
  20321. , /*decltype(_impl_._cached_size_)*/{}
  20322. , decltype(_impl_.zn_user_){nullptr}
  20323. };
  20324. }
  20325. SubscribeToSharedComputerAudioParams::~SubscribeToSharedComputerAudioParams() {
  20326. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
  20327. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  20328. (void)arena;
  20329. return;
  20330. }
  20331. SharedDtor();
  20332. }
  20333. inline void SubscribeToSharedComputerAudioParams::SharedDtor() {
  20334. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  20335. if (this != internal_default_instance()) delete _impl_.zn_user_;
  20336. }
  20337. void SubscribeToSharedComputerAudioParams::SetCachedSize(int size) const {
  20338. _impl_._cached_size_.Set(size);
  20339. }
  20340. void SubscribeToSharedComputerAudioParams::Clear() {
  20341. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
  20342. ::uint32_t cached_has_bits = 0;
  20343. // Prevent compiler warnings about cached_has_bits being unused
  20344. (void) cached_has_bits;
  20345. cached_has_bits = _impl_._has_bits_[0];
  20346. if (cached_has_bits & 0x00000001u) {
  20347. ABSL_DCHECK(_impl_.zn_user_ != nullptr);
  20348. _impl_.zn_user_->Clear();
  20349. }
  20350. _impl_._has_bits_.Clear();
  20351. _internal_metadata_.Clear<std::string>();
  20352. }
  20353. const char* SubscribeToSharedComputerAudioParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  20354. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  20355. _Internal::HasBits has_bits{};
  20356. while (!ctx->Done(&ptr)) {
  20357. ::uint32_t tag;
  20358. ptr = ::_pbi::ReadTag(ptr, &tag);
  20359. switch (tag >> 3) {
  20360. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
  20361. case 1:
  20362. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  20363. ptr = ctx->ParseMessage(_internal_mutable_zn_user(), ptr);
  20364. CHK_(ptr);
  20365. } else {
  20366. goto handle_unusual;
  20367. }
  20368. continue;
  20369. default:
  20370. goto handle_unusual;
  20371. } // switch
  20372. handle_unusual:
  20373. if ((tag == 0) || ((tag & 7) == 4)) {
  20374. CHK_(ptr);
  20375. ctx->SetLastTag(tag);
  20376. goto message_done;
  20377. }
  20378. ptr = UnknownFieldParse(
  20379. tag,
  20380. _internal_metadata_.mutable_unknown_fields<std::string>(),
  20381. ptr, ctx);
  20382. CHK_(ptr != nullptr);
  20383. } // while
  20384. message_done:
  20385. _impl_._has_bits_.Or(has_bits);
  20386. return ptr;
  20387. failure:
  20388. ptr = nullptr;
  20389. goto message_done;
  20390. #undef CHK_
  20391. }
  20392. ::uint8_t* SubscribeToSharedComputerAudioParams::_InternalSerialize(
  20393. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  20394. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
  20395. ::uint32_t cached_has_bits = 0;
  20396. (void) cached_has_bits;
  20397. cached_has_bits = _impl_._has_bits_[0];
  20398. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
  20399. if (cached_has_bits & 0x00000001u) {
  20400. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  20401. InternalWriteMessage(1, _Internal::zn_user(this),
  20402. _Internal::zn_user(this).GetCachedSize(), target, stream);
  20403. }
  20404. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  20405. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  20406. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  20407. }
  20408. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
  20409. return target;
  20410. }
  20411. ::size_t SubscribeToSharedComputerAudioParams::ByteSizeLong() const {
  20412. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
  20413. ::size_t total_size = 0;
  20414. ::uint32_t cached_has_bits = 0;
  20415. // Prevent compiler warnings about cached_has_bits being unused
  20416. (void) cached_has_bits;
  20417. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
  20418. cached_has_bits = _impl_._has_bits_[0];
  20419. if (cached_has_bits & 0x00000001u) {
  20420. total_size += 1 +
  20421. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  20422. *_impl_.zn_user_);
  20423. }
  20424. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  20425. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  20426. }
  20427. int cached_size = ::_pbi::ToCachedSize(total_size);
  20428. SetCachedSize(cached_size);
  20429. return total_size;
  20430. }
  20431. void SubscribeToSharedComputerAudioParams::CheckTypeAndMergeFrom(
  20432. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  20433. MergeFrom(*::_pbi::DownCast<const SubscribeToSharedComputerAudioParams*>(
  20434. &from));
  20435. }
  20436. void SubscribeToSharedComputerAudioParams::MergeFrom(const SubscribeToSharedComputerAudioParams& from) {
  20437. SubscribeToSharedComputerAudioParams* const _this = this;
  20438. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
  20439. ABSL_DCHECK_NE(&from, _this);
  20440. ::uint32_t cached_has_bits = 0;
  20441. (void) cached_has_bits;
  20442. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  20443. _this->_internal_mutable_zn_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  20444. from._internal_zn_user());
  20445. }
  20446. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  20447. }
  20448. void SubscribeToSharedComputerAudioParams::CopyFrom(const SubscribeToSharedComputerAudioParams& from) {
  20449. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
  20450. if (&from == this) return;
  20451. Clear();
  20452. MergeFrom(from);
  20453. }
  20454. bool SubscribeToSharedComputerAudioParams::IsInitialized() const {
  20455. return true;
  20456. }
  20457. void SubscribeToSharedComputerAudioParams::InternalSwap(SubscribeToSharedComputerAudioParams* other) {
  20458. using std::swap;
  20459. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  20460. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  20461. swap(_impl_.zn_user_, other->_impl_.zn_user_);
  20462. }
  20463. std::string SubscribeToSharedComputerAudioParams::GetTypeName() const {
  20464. return "com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams";
  20465. }
  20466. // ===================================================================
  20467. class UnsubscribeToSharedComputerAudioParams::_Internal {
  20468. public:
  20469. using HasBits = decltype(std::declval<UnsubscribeToSharedComputerAudioParams>()._impl_._has_bits_);
  20470. static constexpr ::int32_t kHasBitsOffset =
  20471. 8 * PROTOBUF_FIELD_OFFSET(UnsubscribeToSharedComputerAudioParams, _impl_._has_bits_);
  20472. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& zn_user(const UnsubscribeToSharedComputerAudioParams* msg);
  20473. static void set_has_zn_user(HasBits* has_bits) {
  20474. (*has_bits)[0] |= 1u;
  20475. }
  20476. };
  20477. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  20478. UnsubscribeToSharedComputerAudioParams::_Internal::zn_user(const UnsubscribeToSharedComputerAudioParams* msg) {
  20479. return *msg->_impl_.zn_user_;
  20480. }
  20481. UnsubscribeToSharedComputerAudioParams::UnsubscribeToSharedComputerAudioParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  20482. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  20483. SharedCtor(arena);
  20484. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
  20485. }
  20486. UnsubscribeToSharedComputerAudioParams::UnsubscribeToSharedComputerAudioParams(const UnsubscribeToSharedComputerAudioParams& from)
  20487. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  20488. UnsubscribeToSharedComputerAudioParams* const _this = this; (void)_this;
  20489. new (&_impl_) Impl_{
  20490. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  20491. , /*decltype(_impl_._cached_size_)*/{}
  20492. , decltype(_impl_.zn_user_){nullptr}};
  20493. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  20494. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  20495. _this->_impl_.zn_user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.zn_user_);
  20496. }
  20497. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
  20498. }
  20499. inline void UnsubscribeToSharedComputerAudioParams::SharedCtor(::_pb::Arena* arena) {
  20500. (void)arena;
  20501. new (&_impl_) Impl_{
  20502. decltype(_impl_._has_bits_){}
  20503. , /*decltype(_impl_._cached_size_)*/{}
  20504. , decltype(_impl_.zn_user_){nullptr}
  20505. };
  20506. }
  20507. UnsubscribeToSharedComputerAudioParams::~UnsubscribeToSharedComputerAudioParams() {
  20508. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
  20509. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  20510. (void)arena;
  20511. return;
  20512. }
  20513. SharedDtor();
  20514. }
  20515. inline void UnsubscribeToSharedComputerAudioParams::SharedDtor() {
  20516. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  20517. if (this != internal_default_instance()) delete _impl_.zn_user_;
  20518. }
  20519. void UnsubscribeToSharedComputerAudioParams::SetCachedSize(int size) const {
  20520. _impl_._cached_size_.Set(size);
  20521. }
  20522. void UnsubscribeToSharedComputerAudioParams::Clear() {
  20523. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
  20524. ::uint32_t cached_has_bits = 0;
  20525. // Prevent compiler warnings about cached_has_bits being unused
  20526. (void) cached_has_bits;
  20527. cached_has_bits = _impl_._has_bits_[0];
  20528. if (cached_has_bits & 0x00000001u) {
  20529. ABSL_DCHECK(_impl_.zn_user_ != nullptr);
  20530. _impl_.zn_user_->Clear();
  20531. }
  20532. _impl_._has_bits_.Clear();
  20533. _internal_metadata_.Clear<std::string>();
  20534. }
  20535. const char* UnsubscribeToSharedComputerAudioParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  20536. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  20537. _Internal::HasBits has_bits{};
  20538. while (!ctx->Done(&ptr)) {
  20539. ::uint32_t tag;
  20540. ptr = ::_pbi::ReadTag(ptr, &tag);
  20541. switch (tag >> 3) {
  20542. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
  20543. case 1:
  20544. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  20545. ptr = ctx->ParseMessage(_internal_mutable_zn_user(), ptr);
  20546. CHK_(ptr);
  20547. } else {
  20548. goto handle_unusual;
  20549. }
  20550. continue;
  20551. default:
  20552. goto handle_unusual;
  20553. } // switch
  20554. handle_unusual:
  20555. if ((tag == 0) || ((tag & 7) == 4)) {
  20556. CHK_(ptr);
  20557. ctx->SetLastTag(tag);
  20558. goto message_done;
  20559. }
  20560. ptr = UnknownFieldParse(
  20561. tag,
  20562. _internal_metadata_.mutable_unknown_fields<std::string>(),
  20563. ptr, ctx);
  20564. CHK_(ptr != nullptr);
  20565. } // while
  20566. message_done:
  20567. _impl_._has_bits_.Or(has_bits);
  20568. return ptr;
  20569. failure:
  20570. ptr = nullptr;
  20571. goto message_done;
  20572. #undef CHK_
  20573. }
  20574. ::uint8_t* UnsubscribeToSharedComputerAudioParams::_InternalSerialize(
  20575. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  20576. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
  20577. ::uint32_t cached_has_bits = 0;
  20578. (void) cached_has_bits;
  20579. cached_has_bits = _impl_._has_bits_[0];
  20580. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
  20581. if (cached_has_bits & 0x00000001u) {
  20582. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  20583. InternalWriteMessage(1, _Internal::zn_user(this),
  20584. _Internal::zn_user(this).GetCachedSize(), target, stream);
  20585. }
  20586. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  20587. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  20588. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  20589. }
  20590. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
  20591. return target;
  20592. }
  20593. ::size_t UnsubscribeToSharedComputerAudioParams::ByteSizeLong() const {
  20594. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
  20595. ::size_t total_size = 0;
  20596. ::uint32_t cached_has_bits = 0;
  20597. // Prevent compiler warnings about cached_has_bits being unused
  20598. (void) cached_has_bits;
  20599. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
  20600. cached_has_bits = _impl_._has_bits_[0];
  20601. if (cached_has_bits & 0x00000001u) {
  20602. total_size += 1 +
  20603. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  20604. *_impl_.zn_user_);
  20605. }
  20606. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  20607. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  20608. }
  20609. int cached_size = ::_pbi::ToCachedSize(total_size);
  20610. SetCachedSize(cached_size);
  20611. return total_size;
  20612. }
  20613. void UnsubscribeToSharedComputerAudioParams::CheckTypeAndMergeFrom(
  20614. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  20615. MergeFrom(*::_pbi::DownCast<const UnsubscribeToSharedComputerAudioParams*>(
  20616. &from));
  20617. }
  20618. void UnsubscribeToSharedComputerAudioParams::MergeFrom(const UnsubscribeToSharedComputerAudioParams& from) {
  20619. UnsubscribeToSharedComputerAudioParams* const _this = this;
  20620. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
  20621. ABSL_DCHECK_NE(&from, _this);
  20622. ::uint32_t cached_has_bits = 0;
  20623. (void) cached_has_bits;
  20624. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  20625. _this->_internal_mutable_zn_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  20626. from._internal_zn_user());
  20627. }
  20628. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  20629. }
  20630. void UnsubscribeToSharedComputerAudioParams::CopyFrom(const UnsubscribeToSharedComputerAudioParams& from) {
  20631. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
  20632. if (&from == this) return;
  20633. Clear();
  20634. MergeFrom(from);
  20635. }
  20636. bool UnsubscribeToSharedComputerAudioParams::IsInitialized() const {
  20637. return true;
  20638. }
  20639. void UnsubscribeToSharedComputerAudioParams::InternalSwap(UnsubscribeToSharedComputerAudioParams* other) {
  20640. using std::swap;
  20641. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  20642. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  20643. swap(_impl_.zn_user_, other->_impl_.zn_user_);
  20644. }
  20645. std::string UnsubscribeToSharedComputerAudioParams::GetTypeName() const {
  20646. return "com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams";
  20647. }
  20648. // ===================================================================
  20649. class SubscribeMultiCameraStreamParams::_Internal {
  20650. public:
  20651. using HasBits = decltype(std::declval<SubscribeMultiCameraStreamParams>()._impl_._has_bits_);
  20652. static constexpr ::int32_t kHasBitsOffset =
  20653. 8 * PROTOBUF_FIELD_OFFSET(SubscribeMultiCameraStreamParams, _impl_._has_bits_);
  20654. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& zn_user(const SubscribeMultiCameraStreamParams* msg);
  20655. static void set_has_zn_user(HasBits* has_bits) {
  20656. (*has_bits)[0] |= 1u;
  20657. }
  20658. static void set_has_camerastreamid(HasBits* has_bits) {
  20659. (*has_bits)[0] |= 2u;
  20660. }
  20661. static void set_has_zn_recv_handle(HasBits* has_bits) {
  20662. (*has_bits)[0] |= 4u;
  20663. }
  20664. static void set_has_zn_resolution(HasBits* has_bits) {
  20665. (*has_bits)[0] |= 8u;
  20666. }
  20667. };
  20668. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  20669. SubscribeMultiCameraStreamParams::_Internal::zn_user(const SubscribeMultiCameraStreamParams* msg) {
  20670. return *msg->_impl_.zn_user_;
  20671. }
  20672. SubscribeMultiCameraStreamParams::SubscribeMultiCameraStreamParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  20673. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  20674. SharedCtor(arena);
  20675. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
  20676. }
  20677. SubscribeMultiCameraStreamParams::SubscribeMultiCameraStreamParams(const SubscribeMultiCameraStreamParams& from)
  20678. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  20679. SubscribeMultiCameraStreamParams* const _this = this; (void)_this;
  20680. new (&_impl_) Impl_{
  20681. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  20682. , /*decltype(_impl_._cached_size_)*/{}
  20683. , decltype(_impl_.zn_user_){nullptr}
  20684. , decltype(_impl_.camerastreamid_) {}
  20685. , decltype(_impl_.zn_recv_handle_) {}
  20686. , decltype(_impl_.zn_resolution_) {}
  20687. };
  20688. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  20689. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  20690. _this->_impl_.zn_user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.zn_user_);
  20691. }
  20692. ::memcpy(&_impl_.camerastreamid_, &from._impl_.camerastreamid_,
  20693. static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.zn_resolution_) -
  20694. reinterpret_cast<char*>(&_impl_.camerastreamid_)) + sizeof(_impl_.zn_resolution_));
  20695. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
  20696. }
  20697. inline void SubscribeMultiCameraStreamParams::SharedCtor(::_pb::Arena* arena) {
  20698. (void)arena;
  20699. new (&_impl_) Impl_{
  20700. decltype(_impl_._has_bits_){}
  20701. , /*decltype(_impl_._cached_size_)*/{}
  20702. , decltype(_impl_.zn_user_){nullptr}
  20703. , decltype(_impl_.camerastreamid_) { ::int64_t{0} }
  20704. , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
  20705. , decltype(_impl_.zn_resolution_) { 0 }
  20706. };
  20707. }
  20708. SubscribeMultiCameraStreamParams::~SubscribeMultiCameraStreamParams() {
  20709. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
  20710. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  20711. (void)arena;
  20712. return;
  20713. }
  20714. SharedDtor();
  20715. }
  20716. inline void SubscribeMultiCameraStreamParams::SharedDtor() {
  20717. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  20718. if (this != internal_default_instance()) delete _impl_.zn_user_;
  20719. }
  20720. void SubscribeMultiCameraStreamParams::SetCachedSize(int size) const {
  20721. _impl_._cached_size_.Set(size);
  20722. }
  20723. void SubscribeMultiCameraStreamParams::Clear() {
  20724. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
  20725. ::uint32_t cached_has_bits = 0;
  20726. // Prevent compiler warnings about cached_has_bits being unused
  20727. (void) cached_has_bits;
  20728. cached_has_bits = _impl_._has_bits_[0];
  20729. if (cached_has_bits & 0x00000001u) {
  20730. ABSL_DCHECK(_impl_.zn_user_ != nullptr);
  20731. _impl_.zn_user_->Clear();
  20732. }
  20733. if (cached_has_bits & 0x0000000eu) {
  20734. ::memset(&_impl_.camerastreamid_, 0, static_cast<::size_t>(
  20735. reinterpret_cast<char*>(&_impl_.zn_resolution_) -
  20736. reinterpret_cast<char*>(&_impl_.camerastreamid_)) + sizeof(_impl_.zn_resolution_));
  20737. }
  20738. _impl_._has_bits_.Clear();
  20739. _internal_metadata_.Clear<std::string>();
  20740. }
  20741. const char* SubscribeMultiCameraStreamParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  20742. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  20743. _Internal::HasBits has_bits{};
  20744. while (!ctx->Done(&ptr)) {
  20745. ::uint32_t tag;
  20746. ptr = ::_pbi::ReadTag(ptr, &tag);
  20747. switch (tag >> 3) {
  20748. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
  20749. case 1:
  20750. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  20751. ptr = ctx->ParseMessage(_internal_mutable_zn_user(), ptr);
  20752. CHK_(ptr);
  20753. } else {
  20754. goto handle_unusual;
  20755. }
  20756. continue;
  20757. // optional int64 cameraStreamID = 2;
  20758. case 2:
  20759. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  20760. _Internal::set_has_camerastreamid(&has_bits);
  20761. _impl_.camerastreamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  20762. CHK_(ptr);
  20763. } else {
  20764. goto handle_unusual;
  20765. }
  20766. continue;
  20767. // optional int64 zn_recv_handle = 3;
  20768. case 3:
  20769. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  20770. _Internal::set_has_zn_recv_handle(&has_bits);
  20771. _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  20772. CHK_(ptr);
  20773. } else {
  20774. goto handle_unusual;
  20775. }
  20776. continue;
  20777. // optional int32 zn_resolution = 4;
  20778. case 4:
  20779. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
  20780. _Internal::set_has_zn_resolution(&has_bits);
  20781. _impl_.zn_resolution_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  20782. CHK_(ptr);
  20783. } else {
  20784. goto handle_unusual;
  20785. }
  20786. continue;
  20787. default:
  20788. goto handle_unusual;
  20789. } // switch
  20790. handle_unusual:
  20791. if ((tag == 0) || ((tag & 7) == 4)) {
  20792. CHK_(ptr);
  20793. ctx->SetLastTag(tag);
  20794. goto message_done;
  20795. }
  20796. ptr = UnknownFieldParse(
  20797. tag,
  20798. _internal_metadata_.mutable_unknown_fields<std::string>(),
  20799. ptr, ctx);
  20800. CHK_(ptr != nullptr);
  20801. } // while
  20802. message_done:
  20803. _impl_._has_bits_.Or(has_bits);
  20804. return ptr;
  20805. failure:
  20806. ptr = nullptr;
  20807. goto message_done;
  20808. #undef CHK_
  20809. }
  20810. ::uint8_t* SubscribeMultiCameraStreamParams::_InternalSerialize(
  20811. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  20812. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
  20813. ::uint32_t cached_has_bits = 0;
  20814. (void) cached_has_bits;
  20815. cached_has_bits = _impl_._has_bits_[0];
  20816. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
  20817. if (cached_has_bits & 0x00000001u) {
  20818. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  20819. InternalWriteMessage(1, _Internal::zn_user(this),
  20820. _Internal::zn_user(this).GetCachedSize(), target, stream);
  20821. }
  20822. // optional int64 cameraStreamID = 2;
  20823. if (cached_has_bits & 0x00000002u) {
  20824. target = stream->EnsureSpace(target);
  20825. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  20826. 2, this->_internal_camerastreamid(), target);
  20827. }
  20828. // optional int64 zn_recv_handle = 3;
  20829. if (cached_has_bits & 0x00000004u) {
  20830. target = stream->EnsureSpace(target);
  20831. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  20832. 3, this->_internal_zn_recv_handle(), target);
  20833. }
  20834. // optional int32 zn_resolution = 4;
  20835. if (cached_has_bits & 0x00000008u) {
  20836. target = stream->EnsureSpace(target);
  20837. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  20838. 4, this->_internal_zn_resolution(), target);
  20839. }
  20840. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  20841. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  20842. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  20843. }
  20844. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
  20845. return target;
  20846. }
  20847. ::size_t SubscribeMultiCameraStreamParams::ByteSizeLong() const {
  20848. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
  20849. ::size_t total_size = 0;
  20850. ::uint32_t cached_has_bits = 0;
  20851. // Prevent compiler warnings about cached_has_bits being unused
  20852. (void) cached_has_bits;
  20853. cached_has_bits = _impl_._has_bits_[0];
  20854. if (cached_has_bits & 0x0000000fu) {
  20855. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
  20856. if (cached_has_bits & 0x00000001u) {
  20857. total_size += 1 +
  20858. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  20859. *_impl_.zn_user_);
  20860. }
  20861. // optional int64 cameraStreamID = 2;
  20862. if (cached_has_bits & 0x00000002u) {
  20863. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  20864. this->_internal_camerastreamid());
  20865. }
  20866. // optional int64 zn_recv_handle = 3;
  20867. if (cached_has_bits & 0x00000004u) {
  20868. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  20869. this->_internal_zn_recv_handle());
  20870. }
  20871. // optional int32 zn_resolution = 4;
  20872. if (cached_has_bits & 0x00000008u) {
  20873. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  20874. this->_internal_zn_resolution());
  20875. }
  20876. }
  20877. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  20878. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  20879. }
  20880. int cached_size = ::_pbi::ToCachedSize(total_size);
  20881. SetCachedSize(cached_size);
  20882. return total_size;
  20883. }
  20884. void SubscribeMultiCameraStreamParams::CheckTypeAndMergeFrom(
  20885. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  20886. MergeFrom(*::_pbi::DownCast<const SubscribeMultiCameraStreamParams*>(
  20887. &from));
  20888. }
  20889. void SubscribeMultiCameraStreamParams::MergeFrom(const SubscribeMultiCameraStreamParams& from) {
  20890. SubscribeMultiCameraStreamParams* const _this = this;
  20891. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
  20892. ABSL_DCHECK_NE(&from, _this);
  20893. ::uint32_t cached_has_bits = 0;
  20894. (void) cached_has_bits;
  20895. cached_has_bits = from._impl_._has_bits_[0];
  20896. if (cached_has_bits & 0x0000000fu) {
  20897. if (cached_has_bits & 0x00000001u) {
  20898. _this->_internal_mutable_zn_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  20899. from._internal_zn_user());
  20900. }
  20901. if (cached_has_bits & 0x00000002u) {
  20902. _this->_impl_.camerastreamid_ = from._impl_.camerastreamid_;
  20903. }
  20904. if (cached_has_bits & 0x00000004u) {
  20905. _this->_impl_.zn_recv_handle_ = from._impl_.zn_recv_handle_;
  20906. }
  20907. if (cached_has_bits & 0x00000008u) {
  20908. _this->_impl_.zn_resolution_ = from._impl_.zn_resolution_;
  20909. }
  20910. _this->_impl_._has_bits_[0] |= cached_has_bits;
  20911. }
  20912. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  20913. }
  20914. void SubscribeMultiCameraStreamParams::CopyFrom(const SubscribeMultiCameraStreamParams& from) {
  20915. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
  20916. if (&from == this) return;
  20917. Clear();
  20918. MergeFrom(from);
  20919. }
  20920. bool SubscribeMultiCameraStreamParams::IsInitialized() const {
  20921. return true;
  20922. }
  20923. void SubscribeMultiCameraStreamParams::InternalSwap(SubscribeMultiCameraStreamParams* other) {
  20924. using std::swap;
  20925. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  20926. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  20927. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  20928. PROTOBUF_FIELD_OFFSET(SubscribeMultiCameraStreamParams, _impl_.zn_resolution_)
  20929. + sizeof(SubscribeMultiCameraStreamParams::_impl_.zn_resolution_)
  20930. - PROTOBUF_FIELD_OFFSET(SubscribeMultiCameraStreamParams, _impl_.zn_user_)>(
  20931. reinterpret_cast<char*>(&_impl_.zn_user_),
  20932. reinterpret_cast<char*>(&other->_impl_.zn_user_));
  20933. }
  20934. std::string SubscribeMultiCameraStreamParams::GetTypeName() const {
  20935. return "com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams";
  20936. }
  20937. // ===================================================================
  20938. class UnSubscribeMultiCameraStreamParams::_Internal {
  20939. public:
  20940. using HasBits = decltype(std::declval<UnSubscribeMultiCameraStreamParams>()._impl_._has_bits_);
  20941. static constexpr ::int32_t kHasBitsOffset =
  20942. 8 * PROTOBUF_FIELD_OFFSET(UnSubscribeMultiCameraStreamParams, _impl_._has_bits_);
  20943. static void set_has_zn_recv_handle(HasBits* has_bits) {
  20944. (*has_bits)[0] |= 2u;
  20945. }
  20946. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& zn_user(const UnSubscribeMultiCameraStreamParams* msg);
  20947. static void set_has_zn_user(HasBits* has_bits) {
  20948. (*has_bits)[0] |= 1u;
  20949. }
  20950. static void set_has_camerastreamid(HasBits* has_bits) {
  20951. (*has_bits)[0] |= 4u;
  20952. }
  20953. };
  20954. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  20955. UnSubscribeMultiCameraStreamParams::_Internal::zn_user(const UnSubscribeMultiCameraStreamParams* msg) {
  20956. return *msg->_impl_.zn_user_;
  20957. }
  20958. UnSubscribeMultiCameraStreamParams::UnSubscribeMultiCameraStreamParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  20959. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  20960. SharedCtor(arena);
  20961. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
  20962. }
  20963. UnSubscribeMultiCameraStreamParams::UnSubscribeMultiCameraStreamParams(const UnSubscribeMultiCameraStreamParams& from)
  20964. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  20965. UnSubscribeMultiCameraStreamParams* const _this = this; (void)_this;
  20966. new (&_impl_) Impl_{
  20967. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  20968. , /*decltype(_impl_._cached_size_)*/{}
  20969. , decltype(_impl_.zn_user_){nullptr}
  20970. , decltype(_impl_.zn_recv_handle_) {}
  20971. , decltype(_impl_.camerastreamid_) {}
  20972. };
  20973. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  20974. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  20975. _this->_impl_.zn_user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.zn_user_);
  20976. }
  20977. ::memcpy(&_impl_.zn_recv_handle_, &from._impl_.zn_recv_handle_,
  20978. static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.camerastreamid_) -
  20979. reinterpret_cast<char*>(&_impl_.zn_recv_handle_)) + sizeof(_impl_.camerastreamid_));
  20980. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
  20981. }
  20982. inline void UnSubscribeMultiCameraStreamParams::SharedCtor(::_pb::Arena* arena) {
  20983. (void)arena;
  20984. new (&_impl_) Impl_{
  20985. decltype(_impl_._has_bits_){}
  20986. , /*decltype(_impl_._cached_size_)*/{}
  20987. , decltype(_impl_.zn_user_){nullptr}
  20988. , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
  20989. , decltype(_impl_.camerastreamid_) { ::int64_t{0} }
  20990. };
  20991. }
  20992. UnSubscribeMultiCameraStreamParams::~UnSubscribeMultiCameraStreamParams() {
  20993. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
  20994. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  20995. (void)arena;
  20996. return;
  20997. }
  20998. SharedDtor();
  20999. }
  21000. inline void UnSubscribeMultiCameraStreamParams::SharedDtor() {
  21001. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  21002. if (this != internal_default_instance()) delete _impl_.zn_user_;
  21003. }
  21004. void UnSubscribeMultiCameraStreamParams::SetCachedSize(int size) const {
  21005. _impl_._cached_size_.Set(size);
  21006. }
  21007. void UnSubscribeMultiCameraStreamParams::Clear() {
  21008. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
  21009. ::uint32_t cached_has_bits = 0;
  21010. // Prevent compiler warnings about cached_has_bits being unused
  21011. (void) cached_has_bits;
  21012. cached_has_bits = _impl_._has_bits_[0];
  21013. if (cached_has_bits & 0x00000001u) {
  21014. ABSL_DCHECK(_impl_.zn_user_ != nullptr);
  21015. _impl_.zn_user_->Clear();
  21016. }
  21017. if (cached_has_bits & 0x00000006u) {
  21018. ::memset(&_impl_.zn_recv_handle_, 0, static_cast<::size_t>(
  21019. reinterpret_cast<char*>(&_impl_.camerastreamid_) -
  21020. reinterpret_cast<char*>(&_impl_.zn_recv_handle_)) + sizeof(_impl_.camerastreamid_));
  21021. }
  21022. _impl_._has_bits_.Clear();
  21023. _internal_metadata_.Clear<std::string>();
  21024. }
  21025. const char* UnSubscribeMultiCameraStreamParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  21026. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  21027. _Internal::HasBits has_bits{};
  21028. while (!ctx->Done(&ptr)) {
  21029. ::uint32_t tag;
  21030. ptr = ::_pbi::ReadTag(ptr, &tag);
  21031. switch (tag >> 3) {
  21032. // optional int64 zn_recv_handle = 1;
  21033. case 1:
  21034. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  21035. _Internal::set_has_zn_recv_handle(&has_bits);
  21036. _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  21037. CHK_(ptr);
  21038. } else {
  21039. goto handle_unusual;
  21040. }
  21041. continue;
  21042. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 2;
  21043. case 2:
  21044. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  21045. ptr = ctx->ParseMessage(_internal_mutable_zn_user(), ptr);
  21046. CHK_(ptr);
  21047. } else {
  21048. goto handle_unusual;
  21049. }
  21050. continue;
  21051. // optional int64 cameraStreamID = 3;
  21052. case 3:
  21053. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  21054. _Internal::set_has_camerastreamid(&has_bits);
  21055. _impl_.camerastreamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  21056. CHK_(ptr);
  21057. } else {
  21058. goto handle_unusual;
  21059. }
  21060. continue;
  21061. default:
  21062. goto handle_unusual;
  21063. } // switch
  21064. handle_unusual:
  21065. if ((tag == 0) || ((tag & 7) == 4)) {
  21066. CHK_(ptr);
  21067. ctx->SetLastTag(tag);
  21068. goto message_done;
  21069. }
  21070. ptr = UnknownFieldParse(
  21071. tag,
  21072. _internal_metadata_.mutable_unknown_fields<std::string>(),
  21073. ptr, ctx);
  21074. CHK_(ptr != nullptr);
  21075. } // while
  21076. message_done:
  21077. _impl_._has_bits_.Or(has_bits);
  21078. return ptr;
  21079. failure:
  21080. ptr = nullptr;
  21081. goto message_done;
  21082. #undef CHK_
  21083. }
  21084. ::uint8_t* UnSubscribeMultiCameraStreamParams::_InternalSerialize(
  21085. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  21086. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
  21087. ::uint32_t cached_has_bits = 0;
  21088. (void) cached_has_bits;
  21089. cached_has_bits = _impl_._has_bits_[0];
  21090. // optional int64 zn_recv_handle = 1;
  21091. if (cached_has_bits & 0x00000002u) {
  21092. target = stream->EnsureSpace(target);
  21093. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  21094. 1, this->_internal_zn_recv_handle(), target);
  21095. }
  21096. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 2;
  21097. if (cached_has_bits & 0x00000001u) {
  21098. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  21099. InternalWriteMessage(2, _Internal::zn_user(this),
  21100. _Internal::zn_user(this).GetCachedSize(), target, stream);
  21101. }
  21102. // optional int64 cameraStreamID = 3;
  21103. if (cached_has_bits & 0x00000004u) {
  21104. target = stream->EnsureSpace(target);
  21105. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  21106. 3, this->_internal_camerastreamid(), target);
  21107. }
  21108. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  21109. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  21110. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  21111. }
  21112. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
  21113. return target;
  21114. }
  21115. ::size_t UnSubscribeMultiCameraStreamParams::ByteSizeLong() const {
  21116. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
  21117. ::size_t total_size = 0;
  21118. ::uint32_t cached_has_bits = 0;
  21119. // Prevent compiler warnings about cached_has_bits being unused
  21120. (void) cached_has_bits;
  21121. cached_has_bits = _impl_._has_bits_[0];
  21122. if (cached_has_bits & 0x00000007u) {
  21123. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 2;
  21124. if (cached_has_bits & 0x00000001u) {
  21125. total_size += 1 +
  21126. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  21127. *_impl_.zn_user_);
  21128. }
  21129. // optional int64 zn_recv_handle = 1;
  21130. if (cached_has_bits & 0x00000002u) {
  21131. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  21132. this->_internal_zn_recv_handle());
  21133. }
  21134. // optional int64 cameraStreamID = 3;
  21135. if (cached_has_bits & 0x00000004u) {
  21136. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  21137. this->_internal_camerastreamid());
  21138. }
  21139. }
  21140. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  21141. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  21142. }
  21143. int cached_size = ::_pbi::ToCachedSize(total_size);
  21144. SetCachedSize(cached_size);
  21145. return total_size;
  21146. }
  21147. void UnSubscribeMultiCameraStreamParams::CheckTypeAndMergeFrom(
  21148. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  21149. MergeFrom(*::_pbi::DownCast<const UnSubscribeMultiCameraStreamParams*>(
  21150. &from));
  21151. }
  21152. void UnSubscribeMultiCameraStreamParams::MergeFrom(const UnSubscribeMultiCameraStreamParams& from) {
  21153. UnSubscribeMultiCameraStreamParams* const _this = this;
  21154. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
  21155. ABSL_DCHECK_NE(&from, _this);
  21156. ::uint32_t cached_has_bits = 0;
  21157. (void) cached_has_bits;
  21158. cached_has_bits = from._impl_._has_bits_[0];
  21159. if (cached_has_bits & 0x00000007u) {
  21160. if (cached_has_bits & 0x00000001u) {
  21161. _this->_internal_mutable_zn_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  21162. from._internal_zn_user());
  21163. }
  21164. if (cached_has_bits & 0x00000002u) {
  21165. _this->_impl_.zn_recv_handle_ = from._impl_.zn_recv_handle_;
  21166. }
  21167. if (cached_has_bits & 0x00000004u) {
  21168. _this->_impl_.camerastreamid_ = from._impl_.camerastreamid_;
  21169. }
  21170. _this->_impl_._has_bits_[0] |= cached_has_bits;
  21171. }
  21172. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  21173. }
  21174. void UnSubscribeMultiCameraStreamParams::CopyFrom(const UnSubscribeMultiCameraStreamParams& from) {
  21175. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
  21176. if (&from == this) return;
  21177. Clear();
  21178. MergeFrom(from);
  21179. }
  21180. bool UnSubscribeMultiCameraStreamParams::IsInitialized() const {
  21181. return true;
  21182. }
  21183. void UnSubscribeMultiCameraStreamParams::InternalSwap(UnSubscribeMultiCameraStreamParams* other) {
  21184. using std::swap;
  21185. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  21186. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  21187. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  21188. PROTOBUF_FIELD_OFFSET(UnSubscribeMultiCameraStreamParams, _impl_.camerastreamid_)
  21189. + sizeof(UnSubscribeMultiCameraStreamParams::_impl_.camerastreamid_)
  21190. - PROTOBUF_FIELD_OFFSET(UnSubscribeMultiCameraStreamParams, _impl_.zn_user_)>(
  21191. reinterpret_cast<char*>(&_impl_.zn_user_),
  21192. reinterpret_cast<char*>(&other->_impl_.zn_user_));
  21193. }
  21194. std::string UnSubscribeMultiCameraStreamParams::GetTypeName() const {
  21195. return "com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams";
  21196. }
  21197. // ===================================================================
  21198. class SetRawDataResolutionParams::_Internal {
  21199. public:
  21200. using HasBits = decltype(std::declval<SetRawDataResolutionParams>()._impl_._has_bits_);
  21201. static constexpr ::int32_t kHasBitsOffset =
  21202. 8 * PROTOBUF_FIELD_OFFSET(SetRawDataResolutionParams, _impl_._has_bits_);
  21203. static void set_has_zn_resolution(HasBits* has_bits) {
  21204. (*has_bits)[0] |= 2u;
  21205. }
  21206. static void set_has_zn_recv_handle(HasBits* has_bits) {
  21207. (*has_bits)[0] |= 1u;
  21208. }
  21209. };
  21210. SetRawDataResolutionParams::SetRawDataResolutionParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  21211. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  21212. SharedCtor(arena);
  21213. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
  21214. }
  21215. SetRawDataResolutionParams::SetRawDataResolutionParams(const SetRawDataResolutionParams& from)
  21216. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  21217. _internal_metadata_.MergeFrom<std::string>(
  21218. from._internal_metadata_);
  21219. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
  21220. }
  21221. inline void SetRawDataResolutionParams::SharedCtor(::_pb::Arena* arena) {
  21222. (void)arena;
  21223. new (&_impl_) Impl_{
  21224. decltype(_impl_._has_bits_){}
  21225. , /*decltype(_impl_._cached_size_)*/{}
  21226. , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
  21227. , decltype(_impl_.zn_resolution_) { 0 }
  21228. };
  21229. }
  21230. SetRawDataResolutionParams::~SetRawDataResolutionParams() {
  21231. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
  21232. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  21233. (void)arena;
  21234. return;
  21235. }
  21236. SharedDtor();
  21237. }
  21238. inline void SetRawDataResolutionParams::SharedDtor() {
  21239. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  21240. }
  21241. void SetRawDataResolutionParams::SetCachedSize(int size) const {
  21242. _impl_._cached_size_.Set(size);
  21243. }
  21244. void SetRawDataResolutionParams::Clear() {
  21245. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
  21246. ::uint32_t cached_has_bits = 0;
  21247. // Prevent compiler warnings about cached_has_bits being unused
  21248. (void) cached_has_bits;
  21249. cached_has_bits = _impl_._has_bits_[0];
  21250. if (cached_has_bits & 0x00000003u) {
  21251. ::memset(&_impl_.zn_recv_handle_, 0, static_cast<::size_t>(
  21252. reinterpret_cast<char*>(&_impl_.zn_resolution_) -
  21253. reinterpret_cast<char*>(&_impl_.zn_recv_handle_)) + sizeof(_impl_.zn_resolution_));
  21254. }
  21255. _impl_._has_bits_.Clear();
  21256. _internal_metadata_.Clear<std::string>();
  21257. }
  21258. const char* SetRawDataResolutionParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  21259. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  21260. _Internal::HasBits has_bits{};
  21261. while (!ctx->Done(&ptr)) {
  21262. ::uint32_t tag;
  21263. ptr = ::_pbi::ReadTag(ptr, &tag);
  21264. switch (tag >> 3) {
  21265. // optional int32 zn_resolution = 1;
  21266. case 1:
  21267. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  21268. _Internal::set_has_zn_resolution(&has_bits);
  21269. _impl_.zn_resolution_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  21270. CHK_(ptr);
  21271. } else {
  21272. goto handle_unusual;
  21273. }
  21274. continue;
  21275. // optional int64 zn_recv_handle = 2;
  21276. case 2:
  21277. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  21278. _Internal::set_has_zn_recv_handle(&has_bits);
  21279. _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  21280. CHK_(ptr);
  21281. } else {
  21282. goto handle_unusual;
  21283. }
  21284. continue;
  21285. default:
  21286. goto handle_unusual;
  21287. } // switch
  21288. handle_unusual:
  21289. if ((tag == 0) || ((tag & 7) == 4)) {
  21290. CHK_(ptr);
  21291. ctx->SetLastTag(tag);
  21292. goto message_done;
  21293. }
  21294. ptr = UnknownFieldParse(
  21295. tag,
  21296. _internal_metadata_.mutable_unknown_fields<std::string>(),
  21297. ptr, ctx);
  21298. CHK_(ptr != nullptr);
  21299. } // while
  21300. message_done:
  21301. _impl_._has_bits_.Or(has_bits);
  21302. return ptr;
  21303. failure:
  21304. ptr = nullptr;
  21305. goto message_done;
  21306. #undef CHK_
  21307. }
  21308. ::uint8_t* SetRawDataResolutionParams::_InternalSerialize(
  21309. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  21310. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
  21311. ::uint32_t cached_has_bits = 0;
  21312. (void) cached_has_bits;
  21313. cached_has_bits = _impl_._has_bits_[0];
  21314. // optional int32 zn_resolution = 1;
  21315. if (cached_has_bits & 0x00000002u) {
  21316. target = stream->EnsureSpace(target);
  21317. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  21318. 1, this->_internal_zn_resolution(), target);
  21319. }
  21320. // optional int64 zn_recv_handle = 2;
  21321. if (cached_has_bits & 0x00000001u) {
  21322. target = stream->EnsureSpace(target);
  21323. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  21324. 2, this->_internal_zn_recv_handle(), target);
  21325. }
  21326. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  21327. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  21328. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  21329. }
  21330. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
  21331. return target;
  21332. }
  21333. ::size_t SetRawDataResolutionParams::ByteSizeLong() const {
  21334. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
  21335. ::size_t total_size = 0;
  21336. ::uint32_t cached_has_bits = 0;
  21337. // Prevent compiler warnings about cached_has_bits being unused
  21338. (void) cached_has_bits;
  21339. cached_has_bits = _impl_._has_bits_[0];
  21340. if (cached_has_bits & 0x00000003u) {
  21341. // optional int64 zn_recv_handle = 2;
  21342. if (cached_has_bits & 0x00000001u) {
  21343. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  21344. this->_internal_zn_recv_handle());
  21345. }
  21346. // optional int32 zn_resolution = 1;
  21347. if (cached_has_bits & 0x00000002u) {
  21348. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  21349. this->_internal_zn_resolution());
  21350. }
  21351. }
  21352. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  21353. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  21354. }
  21355. int cached_size = ::_pbi::ToCachedSize(total_size);
  21356. SetCachedSize(cached_size);
  21357. return total_size;
  21358. }
  21359. void SetRawDataResolutionParams::CheckTypeAndMergeFrom(
  21360. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  21361. MergeFrom(*::_pbi::DownCast<const SetRawDataResolutionParams*>(
  21362. &from));
  21363. }
  21364. void SetRawDataResolutionParams::MergeFrom(const SetRawDataResolutionParams& from) {
  21365. SetRawDataResolutionParams* const _this = this;
  21366. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
  21367. ABSL_DCHECK_NE(&from, _this);
  21368. ::uint32_t cached_has_bits = 0;
  21369. (void) cached_has_bits;
  21370. cached_has_bits = from._impl_._has_bits_[0];
  21371. if (cached_has_bits & 0x00000003u) {
  21372. if (cached_has_bits & 0x00000001u) {
  21373. _this->_impl_.zn_recv_handle_ = from._impl_.zn_recv_handle_;
  21374. }
  21375. if (cached_has_bits & 0x00000002u) {
  21376. _this->_impl_.zn_resolution_ = from._impl_.zn_resolution_;
  21377. }
  21378. _this->_impl_._has_bits_[0] |= cached_has_bits;
  21379. }
  21380. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  21381. }
  21382. void SetRawDataResolutionParams::CopyFrom(const SetRawDataResolutionParams& from) {
  21383. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
  21384. if (&from == this) return;
  21385. Clear();
  21386. MergeFrom(from);
  21387. }
  21388. bool SetRawDataResolutionParams::IsInitialized() const {
  21389. return true;
  21390. }
  21391. void SetRawDataResolutionParams::InternalSwap(SetRawDataResolutionParams* other) {
  21392. using std::swap;
  21393. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  21394. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  21395. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  21396. PROTOBUF_FIELD_OFFSET(SetRawDataResolutionParams, _impl_.zn_resolution_)
  21397. + sizeof(SetRawDataResolutionParams::_impl_.zn_resolution_)
  21398. - PROTOBUF_FIELD_OFFSET(SetRawDataResolutionParams, _impl_.zn_recv_handle_)>(
  21399. reinterpret_cast<char*>(&_impl_.zn_recv_handle_),
  21400. reinterpret_cast<char*>(&other->_impl_.zn_recv_handle_));
  21401. }
  21402. std::string SetRawDataResolutionParams::GetTypeName() const {
  21403. return "com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams";
  21404. }
  21405. // ===================================================================
  21406. class GetResolutionParams::_Internal {
  21407. public:
  21408. using HasBits = decltype(std::declval<GetResolutionParams>()._impl_._has_bits_);
  21409. static constexpr ::int32_t kHasBitsOffset =
  21410. 8 * PROTOBUF_FIELD_OFFSET(GetResolutionParams, _impl_._has_bits_);
  21411. static void set_has_zn_recv_handle(HasBits* has_bits) {
  21412. (*has_bits)[0] |= 1u;
  21413. }
  21414. };
  21415. GetResolutionParams::GetResolutionParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  21416. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  21417. SharedCtor(arena);
  21418. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
  21419. }
  21420. GetResolutionParams::GetResolutionParams(const GetResolutionParams& from)
  21421. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  21422. _internal_metadata_.MergeFrom<std::string>(
  21423. from._internal_metadata_);
  21424. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
  21425. }
  21426. inline void GetResolutionParams::SharedCtor(::_pb::Arena* arena) {
  21427. (void)arena;
  21428. new (&_impl_) Impl_{
  21429. decltype(_impl_._has_bits_){}
  21430. , /*decltype(_impl_._cached_size_)*/{}
  21431. , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
  21432. };
  21433. }
  21434. GetResolutionParams::~GetResolutionParams() {
  21435. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
  21436. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  21437. (void)arena;
  21438. return;
  21439. }
  21440. SharedDtor();
  21441. }
  21442. inline void GetResolutionParams::SharedDtor() {
  21443. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  21444. }
  21445. void GetResolutionParams::SetCachedSize(int size) const {
  21446. _impl_._cached_size_.Set(size);
  21447. }
  21448. void GetResolutionParams::Clear() {
  21449. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
  21450. ::uint32_t cached_has_bits = 0;
  21451. // Prevent compiler warnings about cached_has_bits being unused
  21452. (void) cached_has_bits;
  21453. _impl_.zn_recv_handle_ = ::int64_t{0};
  21454. _impl_._has_bits_.Clear();
  21455. _internal_metadata_.Clear<std::string>();
  21456. }
  21457. const char* GetResolutionParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  21458. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  21459. _Internal::HasBits has_bits{};
  21460. while (!ctx->Done(&ptr)) {
  21461. ::uint32_t tag;
  21462. ptr = ::_pbi::ReadTag(ptr, &tag);
  21463. switch (tag >> 3) {
  21464. // optional int64 zn_recv_handle = 1;
  21465. case 1:
  21466. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  21467. _Internal::set_has_zn_recv_handle(&has_bits);
  21468. _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  21469. CHK_(ptr);
  21470. } else {
  21471. goto handle_unusual;
  21472. }
  21473. continue;
  21474. default:
  21475. goto handle_unusual;
  21476. } // switch
  21477. handle_unusual:
  21478. if ((tag == 0) || ((tag & 7) == 4)) {
  21479. CHK_(ptr);
  21480. ctx->SetLastTag(tag);
  21481. goto message_done;
  21482. }
  21483. ptr = UnknownFieldParse(
  21484. tag,
  21485. _internal_metadata_.mutable_unknown_fields<std::string>(),
  21486. ptr, ctx);
  21487. CHK_(ptr != nullptr);
  21488. } // while
  21489. message_done:
  21490. _impl_._has_bits_.Or(has_bits);
  21491. return ptr;
  21492. failure:
  21493. ptr = nullptr;
  21494. goto message_done;
  21495. #undef CHK_
  21496. }
  21497. ::uint8_t* GetResolutionParams::_InternalSerialize(
  21498. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  21499. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
  21500. ::uint32_t cached_has_bits = 0;
  21501. (void) cached_has_bits;
  21502. cached_has_bits = _impl_._has_bits_[0];
  21503. // optional int64 zn_recv_handle = 1;
  21504. if (cached_has_bits & 0x00000001u) {
  21505. target = stream->EnsureSpace(target);
  21506. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  21507. 1, this->_internal_zn_recv_handle(), target);
  21508. }
  21509. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  21510. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  21511. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  21512. }
  21513. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
  21514. return target;
  21515. }
  21516. ::size_t GetResolutionParams::ByteSizeLong() const {
  21517. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
  21518. ::size_t total_size = 0;
  21519. ::uint32_t cached_has_bits = 0;
  21520. // Prevent compiler warnings about cached_has_bits being unused
  21521. (void) cached_has_bits;
  21522. // optional int64 zn_recv_handle = 1;
  21523. cached_has_bits = _impl_._has_bits_[0];
  21524. if (cached_has_bits & 0x00000001u) {
  21525. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  21526. this->_internal_zn_recv_handle());
  21527. }
  21528. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  21529. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  21530. }
  21531. int cached_size = ::_pbi::ToCachedSize(total_size);
  21532. SetCachedSize(cached_size);
  21533. return total_size;
  21534. }
  21535. void GetResolutionParams::CheckTypeAndMergeFrom(
  21536. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  21537. MergeFrom(*::_pbi::DownCast<const GetResolutionParams*>(
  21538. &from));
  21539. }
  21540. void GetResolutionParams::MergeFrom(const GetResolutionParams& from) {
  21541. GetResolutionParams* const _this = this;
  21542. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
  21543. ABSL_DCHECK_NE(&from, _this);
  21544. ::uint32_t cached_has_bits = 0;
  21545. (void) cached_has_bits;
  21546. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  21547. _this->_internal_set_zn_recv_handle(from._internal_zn_recv_handle());
  21548. }
  21549. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  21550. }
  21551. void GetResolutionParams::CopyFrom(const GetResolutionParams& from) {
  21552. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
  21553. if (&from == this) return;
  21554. Clear();
  21555. MergeFrom(from);
  21556. }
  21557. bool GetResolutionParams::IsInitialized() const {
  21558. return true;
  21559. }
  21560. void GetResolutionParams::InternalSwap(GetResolutionParams* other) {
  21561. using std::swap;
  21562. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  21563. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  21564. swap(_impl_.zn_recv_handle_, other->_impl_.zn_recv_handle_);
  21565. }
  21566. std::string GetResolutionParams::GetTypeName() const {
  21567. return "com.electron.zoomvideo.sdk.proto.GetResolutionParams";
  21568. }
  21569. // ===================================================================
  21570. class GetRawDataTypeParams::_Internal {
  21571. public:
  21572. using HasBits = decltype(std::declval<GetRawDataTypeParams>()._impl_._has_bits_);
  21573. static constexpr ::int32_t kHasBitsOffset =
  21574. 8 * PROTOBUF_FIELD_OFFSET(GetRawDataTypeParams, _impl_._has_bits_);
  21575. static void set_has_zn_recv_handle(HasBits* has_bits) {
  21576. (*has_bits)[0] |= 1u;
  21577. }
  21578. };
  21579. GetRawDataTypeParams::GetRawDataTypeParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  21580. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  21581. SharedCtor(arena);
  21582. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
  21583. }
  21584. GetRawDataTypeParams::GetRawDataTypeParams(const GetRawDataTypeParams& from)
  21585. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  21586. _internal_metadata_.MergeFrom<std::string>(
  21587. from._internal_metadata_);
  21588. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
  21589. }
  21590. inline void GetRawDataTypeParams::SharedCtor(::_pb::Arena* arena) {
  21591. (void)arena;
  21592. new (&_impl_) Impl_{
  21593. decltype(_impl_._has_bits_){}
  21594. , /*decltype(_impl_._cached_size_)*/{}
  21595. , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
  21596. };
  21597. }
  21598. GetRawDataTypeParams::~GetRawDataTypeParams() {
  21599. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
  21600. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  21601. (void)arena;
  21602. return;
  21603. }
  21604. SharedDtor();
  21605. }
  21606. inline void GetRawDataTypeParams::SharedDtor() {
  21607. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  21608. }
  21609. void GetRawDataTypeParams::SetCachedSize(int size) const {
  21610. _impl_._cached_size_.Set(size);
  21611. }
  21612. void GetRawDataTypeParams::Clear() {
  21613. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
  21614. ::uint32_t cached_has_bits = 0;
  21615. // Prevent compiler warnings about cached_has_bits being unused
  21616. (void) cached_has_bits;
  21617. _impl_.zn_recv_handle_ = ::int64_t{0};
  21618. _impl_._has_bits_.Clear();
  21619. _internal_metadata_.Clear<std::string>();
  21620. }
  21621. const char* GetRawDataTypeParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  21622. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  21623. _Internal::HasBits has_bits{};
  21624. while (!ctx->Done(&ptr)) {
  21625. ::uint32_t tag;
  21626. ptr = ::_pbi::ReadTag(ptr, &tag);
  21627. switch (tag >> 3) {
  21628. // optional int64 zn_recv_handle = 1;
  21629. case 1:
  21630. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  21631. _Internal::set_has_zn_recv_handle(&has_bits);
  21632. _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  21633. CHK_(ptr);
  21634. } else {
  21635. goto handle_unusual;
  21636. }
  21637. continue;
  21638. default:
  21639. goto handle_unusual;
  21640. } // switch
  21641. handle_unusual:
  21642. if ((tag == 0) || ((tag & 7) == 4)) {
  21643. CHK_(ptr);
  21644. ctx->SetLastTag(tag);
  21645. goto message_done;
  21646. }
  21647. ptr = UnknownFieldParse(
  21648. tag,
  21649. _internal_metadata_.mutable_unknown_fields<std::string>(),
  21650. ptr, ctx);
  21651. CHK_(ptr != nullptr);
  21652. } // while
  21653. message_done:
  21654. _impl_._has_bits_.Or(has_bits);
  21655. return ptr;
  21656. failure:
  21657. ptr = nullptr;
  21658. goto message_done;
  21659. #undef CHK_
  21660. }
  21661. ::uint8_t* GetRawDataTypeParams::_InternalSerialize(
  21662. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  21663. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
  21664. ::uint32_t cached_has_bits = 0;
  21665. (void) cached_has_bits;
  21666. cached_has_bits = _impl_._has_bits_[0];
  21667. // optional int64 zn_recv_handle = 1;
  21668. if (cached_has_bits & 0x00000001u) {
  21669. target = stream->EnsureSpace(target);
  21670. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  21671. 1, this->_internal_zn_recv_handle(), target);
  21672. }
  21673. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  21674. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  21675. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  21676. }
  21677. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
  21678. return target;
  21679. }
  21680. ::size_t GetRawDataTypeParams::ByteSizeLong() const {
  21681. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
  21682. ::size_t total_size = 0;
  21683. ::uint32_t cached_has_bits = 0;
  21684. // Prevent compiler warnings about cached_has_bits being unused
  21685. (void) cached_has_bits;
  21686. // optional int64 zn_recv_handle = 1;
  21687. cached_has_bits = _impl_._has_bits_[0];
  21688. if (cached_has_bits & 0x00000001u) {
  21689. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  21690. this->_internal_zn_recv_handle());
  21691. }
  21692. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  21693. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  21694. }
  21695. int cached_size = ::_pbi::ToCachedSize(total_size);
  21696. SetCachedSize(cached_size);
  21697. return total_size;
  21698. }
  21699. void GetRawDataTypeParams::CheckTypeAndMergeFrom(
  21700. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  21701. MergeFrom(*::_pbi::DownCast<const GetRawDataTypeParams*>(
  21702. &from));
  21703. }
  21704. void GetRawDataTypeParams::MergeFrom(const GetRawDataTypeParams& from) {
  21705. GetRawDataTypeParams* const _this = this;
  21706. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
  21707. ABSL_DCHECK_NE(&from, _this);
  21708. ::uint32_t cached_has_bits = 0;
  21709. (void) cached_has_bits;
  21710. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  21711. _this->_internal_set_zn_recv_handle(from._internal_zn_recv_handle());
  21712. }
  21713. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  21714. }
  21715. void GetRawDataTypeParams::CopyFrom(const GetRawDataTypeParams& from) {
  21716. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
  21717. if (&from == this) return;
  21718. Clear();
  21719. MergeFrom(from);
  21720. }
  21721. bool GetRawDataTypeParams::IsInitialized() const {
  21722. return true;
  21723. }
  21724. void GetRawDataTypeParams::InternalSwap(GetRawDataTypeParams* other) {
  21725. using std::swap;
  21726. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  21727. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  21728. swap(_impl_.zn_recv_handle_, other->_impl_.zn_recv_handle_);
  21729. }
  21730. std::string GetRawDataTypeParams::GetTypeName() const {
  21731. return "com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams";
  21732. }
  21733. // ===================================================================
  21734. class sendVideoFrameParams::_Internal {
  21735. public:
  21736. using HasBits = decltype(std::declval<sendVideoFrameParams>()._impl_._has_bits_);
  21737. static constexpr ::int32_t kHasBitsOffset =
  21738. 8 * PROTOBUF_FIELD_OFFSET(sendVideoFrameParams, _impl_._has_bits_);
  21739. static void set_has_framebuffer(HasBits* has_bits) {
  21740. (*has_bits)[0] |= 1u;
  21741. }
  21742. static void set_has_width(HasBits* has_bits) {
  21743. (*has_bits)[0] |= 2u;
  21744. }
  21745. static void set_has_height(HasBits* has_bits) {
  21746. (*has_bits)[0] |= 4u;
  21747. }
  21748. static void set_has_framelength(HasBits* has_bits) {
  21749. (*has_bits)[0] |= 8u;
  21750. }
  21751. static void set_has_rotaion(HasBits* has_bits) {
  21752. (*has_bits)[0] |= 16u;
  21753. }
  21754. };
  21755. sendVideoFrameParams::sendVideoFrameParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  21756. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  21757. SharedCtor(arena);
  21758. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
  21759. }
  21760. sendVideoFrameParams::sendVideoFrameParams(const sendVideoFrameParams& from)
  21761. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  21762. sendVideoFrameParams* const _this = this; (void)_this;
  21763. new (&_impl_) Impl_{
  21764. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  21765. , /*decltype(_impl_._cached_size_)*/{}
  21766. , decltype(_impl_.framebuffer_) {}
  21767. , decltype(_impl_.width_) {}
  21768. , decltype(_impl_.height_) {}
  21769. , decltype(_impl_.framelength_) {}
  21770. , decltype(_impl_.rotaion_) {}
  21771. };
  21772. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  21773. _impl_.framebuffer_.InitDefault();
  21774. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  21775. _impl_.framebuffer_.Set("", GetArenaForAllocation());
  21776. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  21777. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  21778. _this->_impl_.framebuffer_.Set(from._internal_framebuffer(), _this->GetArenaForAllocation());
  21779. }
  21780. ::memcpy(&_impl_.width_, &from._impl_.width_,
  21781. static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.rotaion_) -
  21782. reinterpret_cast<char*>(&_impl_.width_)) + sizeof(_impl_.rotaion_));
  21783. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
  21784. }
  21785. inline void sendVideoFrameParams::SharedCtor(::_pb::Arena* arena) {
  21786. (void)arena;
  21787. new (&_impl_) Impl_{
  21788. decltype(_impl_._has_bits_){}
  21789. , /*decltype(_impl_._cached_size_)*/{}
  21790. , decltype(_impl_.framebuffer_) {}
  21791. , decltype(_impl_.width_) { 0 }
  21792. , decltype(_impl_.height_) { 0 }
  21793. , decltype(_impl_.framelength_) { 0 }
  21794. , decltype(_impl_.rotaion_) { 0 }
  21795. };
  21796. _impl_.framebuffer_.InitDefault();
  21797. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  21798. _impl_.framebuffer_.Set("", GetArenaForAllocation());
  21799. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  21800. }
  21801. sendVideoFrameParams::~sendVideoFrameParams() {
  21802. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
  21803. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  21804. (void)arena;
  21805. return;
  21806. }
  21807. SharedDtor();
  21808. }
  21809. inline void sendVideoFrameParams::SharedDtor() {
  21810. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  21811. _impl_.framebuffer_.Destroy();
  21812. }
  21813. void sendVideoFrameParams::SetCachedSize(int size) const {
  21814. _impl_._cached_size_.Set(size);
  21815. }
  21816. void sendVideoFrameParams::Clear() {
  21817. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
  21818. ::uint32_t cached_has_bits = 0;
  21819. // Prevent compiler warnings about cached_has_bits being unused
  21820. (void) cached_has_bits;
  21821. cached_has_bits = _impl_._has_bits_[0];
  21822. if (cached_has_bits & 0x00000001u) {
  21823. _impl_.framebuffer_.ClearNonDefaultToEmpty();
  21824. }
  21825. if (cached_has_bits & 0x0000001eu) {
  21826. ::memset(&_impl_.width_, 0, static_cast<::size_t>(
  21827. reinterpret_cast<char*>(&_impl_.rotaion_) -
  21828. reinterpret_cast<char*>(&_impl_.width_)) + sizeof(_impl_.rotaion_));
  21829. }
  21830. _impl_._has_bits_.Clear();
  21831. _internal_metadata_.Clear<std::string>();
  21832. }
  21833. const char* sendVideoFrameParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  21834. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  21835. _Internal::HasBits has_bits{};
  21836. while (!ctx->Done(&ptr)) {
  21837. ::uint32_t tag;
  21838. ptr = ::_pbi::ReadTag(ptr, &tag);
  21839. switch (tag >> 3) {
  21840. // optional string frameBuffer = 1;
  21841. case 1:
  21842. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  21843. auto str = _internal_mutable_framebuffer();
  21844. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  21845. CHK_(ptr);
  21846. } else {
  21847. goto handle_unusual;
  21848. }
  21849. continue;
  21850. // optional int32 width = 2;
  21851. case 2:
  21852. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  21853. _Internal::set_has_width(&has_bits);
  21854. _impl_.width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  21855. CHK_(ptr);
  21856. } else {
  21857. goto handle_unusual;
  21858. }
  21859. continue;
  21860. // optional int32 height = 3;
  21861. case 3:
  21862. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  21863. _Internal::set_has_height(&has_bits);
  21864. _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  21865. CHK_(ptr);
  21866. } else {
  21867. goto handle_unusual;
  21868. }
  21869. continue;
  21870. // optional int32 frameLength = 4;
  21871. case 4:
  21872. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
  21873. _Internal::set_has_framelength(&has_bits);
  21874. _impl_.framelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  21875. CHK_(ptr);
  21876. } else {
  21877. goto handle_unusual;
  21878. }
  21879. continue;
  21880. // optional int32 rotaion = 5;
  21881. case 5:
  21882. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
  21883. _Internal::set_has_rotaion(&has_bits);
  21884. _impl_.rotaion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  21885. CHK_(ptr);
  21886. } else {
  21887. goto handle_unusual;
  21888. }
  21889. continue;
  21890. default:
  21891. goto handle_unusual;
  21892. } // switch
  21893. handle_unusual:
  21894. if ((tag == 0) || ((tag & 7) == 4)) {
  21895. CHK_(ptr);
  21896. ctx->SetLastTag(tag);
  21897. goto message_done;
  21898. }
  21899. ptr = UnknownFieldParse(
  21900. tag,
  21901. _internal_metadata_.mutable_unknown_fields<std::string>(),
  21902. ptr, ctx);
  21903. CHK_(ptr != nullptr);
  21904. } // while
  21905. message_done:
  21906. _impl_._has_bits_.Or(has_bits);
  21907. return ptr;
  21908. failure:
  21909. ptr = nullptr;
  21910. goto message_done;
  21911. #undef CHK_
  21912. }
  21913. ::uint8_t* sendVideoFrameParams::_InternalSerialize(
  21914. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  21915. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
  21916. ::uint32_t cached_has_bits = 0;
  21917. (void) cached_has_bits;
  21918. cached_has_bits = _impl_._has_bits_[0];
  21919. // optional string frameBuffer = 1;
  21920. if (cached_has_bits & 0x00000001u) {
  21921. const std::string& _s = this->_internal_framebuffer();
  21922. target = stream->WriteStringMaybeAliased(1, _s, target);
  21923. }
  21924. // optional int32 width = 2;
  21925. if (cached_has_bits & 0x00000002u) {
  21926. target = stream->EnsureSpace(target);
  21927. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  21928. 2, this->_internal_width(), target);
  21929. }
  21930. // optional int32 height = 3;
  21931. if (cached_has_bits & 0x00000004u) {
  21932. target = stream->EnsureSpace(target);
  21933. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  21934. 3, this->_internal_height(), target);
  21935. }
  21936. // optional int32 frameLength = 4;
  21937. if (cached_has_bits & 0x00000008u) {
  21938. target = stream->EnsureSpace(target);
  21939. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  21940. 4, this->_internal_framelength(), target);
  21941. }
  21942. // optional int32 rotaion = 5;
  21943. if (cached_has_bits & 0x00000010u) {
  21944. target = stream->EnsureSpace(target);
  21945. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  21946. 5, this->_internal_rotaion(), target);
  21947. }
  21948. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  21949. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  21950. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  21951. }
  21952. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
  21953. return target;
  21954. }
  21955. ::size_t sendVideoFrameParams::ByteSizeLong() const {
  21956. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
  21957. ::size_t total_size = 0;
  21958. ::uint32_t cached_has_bits = 0;
  21959. // Prevent compiler warnings about cached_has_bits being unused
  21960. (void) cached_has_bits;
  21961. cached_has_bits = _impl_._has_bits_[0];
  21962. if (cached_has_bits & 0x0000001fu) {
  21963. // optional string frameBuffer = 1;
  21964. if (cached_has_bits & 0x00000001u) {
  21965. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  21966. this->_internal_framebuffer());
  21967. }
  21968. // optional int32 width = 2;
  21969. if (cached_has_bits & 0x00000002u) {
  21970. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  21971. this->_internal_width());
  21972. }
  21973. // optional int32 height = 3;
  21974. if (cached_has_bits & 0x00000004u) {
  21975. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  21976. this->_internal_height());
  21977. }
  21978. // optional int32 frameLength = 4;
  21979. if (cached_has_bits & 0x00000008u) {
  21980. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  21981. this->_internal_framelength());
  21982. }
  21983. // optional int32 rotaion = 5;
  21984. if (cached_has_bits & 0x00000010u) {
  21985. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  21986. this->_internal_rotaion());
  21987. }
  21988. }
  21989. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  21990. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  21991. }
  21992. int cached_size = ::_pbi::ToCachedSize(total_size);
  21993. SetCachedSize(cached_size);
  21994. return total_size;
  21995. }
  21996. void sendVideoFrameParams::CheckTypeAndMergeFrom(
  21997. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  21998. MergeFrom(*::_pbi::DownCast<const sendVideoFrameParams*>(
  21999. &from));
  22000. }
  22001. void sendVideoFrameParams::MergeFrom(const sendVideoFrameParams& from) {
  22002. sendVideoFrameParams* const _this = this;
  22003. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
  22004. ABSL_DCHECK_NE(&from, _this);
  22005. ::uint32_t cached_has_bits = 0;
  22006. (void) cached_has_bits;
  22007. cached_has_bits = from._impl_._has_bits_[0];
  22008. if (cached_has_bits & 0x0000001fu) {
  22009. if (cached_has_bits & 0x00000001u) {
  22010. _this->_internal_set_framebuffer(from._internal_framebuffer());
  22011. }
  22012. if (cached_has_bits & 0x00000002u) {
  22013. _this->_impl_.width_ = from._impl_.width_;
  22014. }
  22015. if (cached_has_bits & 0x00000004u) {
  22016. _this->_impl_.height_ = from._impl_.height_;
  22017. }
  22018. if (cached_has_bits & 0x00000008u) {
  22019. _this->_impl_.framelength_ = from._impl_.framelength_;
  22020. }
  22021. if (cached_has_bits & 0x00000010u) {
  22022. _this->_impl_.rotaion_ = from._impl_.rotaion_;
  22023. }
  22024. _this->_impl_._has_bits_[0] |= cached_has_bits;
  22025. }
  22026. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  22027. }
  22028. void sendVideoFrameParams::CopyFrom(const sendVideoFrameParams& from) {
  22029. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
  22030. if (&from == this) return;
  22031. Clear();
  22032. MergeFrom(from);
  22033. }
  22034. bool sendVideoFrameParams::IsInitialized() const {
  22035. return true;
  22036. }
  22037. void sendVideoFrameParams::InternalSwap(sendVideoFrameParams* other) {
  22038. using std::swap;
  22039. auto* lhs_arena = GetArenaForAllocation();
  22040. auto* rhs_arena = other->GetArenaForAllocation();
  22041. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  22042. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  22043. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.framebuffer_, lhs_arena,
  22044. &other->_impl_.framebuffer_, rhs_arena);
  22045. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  22046. PROTOBUF_FIELD_OFFSET(sendVideoFrameParams, _impl_.rotaion_)
  22047. + sizeof(sendVideoFrameParams::_impl_.rotaion_)
  22048. - PROTOBUF_FIELD_OFFSET(sendVideoFrameParams, _impl_.width_)>(
  22049. reinterpret_cast<char*>(&_impl_.width_),
  22050. reinterpret_cast<char*>(&other->_impl_.width_));
  22051. }
  22052. std::string sendVideoFrameParams::GetTypeName() const {
  22053. return "com.electron.zoomvideo.sdk.proto.sendVideoFrameParams";
  22054. }
  22055. // ===================================================================
  22056. class CameraInfos::_Internal {
  22057. public:
  22058. using HasBits = decltype(std::declval<CameraInfos>()._impl_._has_bits_);
  22059. static constexpr ::int32_t kHasBitsOffset =
  22060. 8 * PROTOBUF_FIELD_OFFSET(CameraInfos, _impl_._has_bits_);
  22061. static void set_has_deviceid(HasBits* has_bits) {
  22062. (*has_bits)[0] |= 1u;
  22063. }
  22064. static void set_has_devicename(HasBits* has_bits) {
  22065. (*has_bits)[0] |= 2u;
  22066. }
  22067. static void set_has_isselecteddevice(HasBits* has_bits) {
  22068. (*has_bits)[0] |= 4u;
  22069. }
  22070. static void set_has_isselectedasmulticamera(HasBits* has_bits) {
  22071. (*has_bits)[0] |= 8u;
  22072. }
  22073. static void set_has_isrunningasmulticamera(HasBits* has_bits) {
  22074. (*has_bits)[0] |= 16u;
  22075. }
  22076. };
  22077. CameraInfos::CameraInfos(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  22078. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  22079. SharedCtor(arena);
  22080. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CameraInfos)
  22081. }
  22082. CameraInfos::CameraInfos(const CameraInfos& from)
  22083. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  22084. CameraInfos* const _this = this; (void)_this;
  22085. new (&_impl_) Impl_{
  22086. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  22087. , /*decltype(_impl_._cached_size_)*/{}
  22088. , decltype(_impl_.deviceid_) {}
  22089. , decltype(_impl_.devicename_) {}
  22090. , decltype(_impl_.isselecteddevice_) {}
  22091. , decltype(_impl_.isselectedasmulticamera_) {}
  22092. , decltype(_impl_.isrunningasmulticamera_) {}
  22093. };
  22094. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  22095. _impl_.deviceid_.InitDefault();
  22096. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  22097. _impl_.deviceid_.Set("", GetArenaForAllocation());
  22098. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  22099. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  22100. _this->_impl_.deviceid_.Set(from._internal_deviceid(), _this->GetArenaForAllocation());
  22101. }
  22102. _impl_.devicename_.InitDefault();
  22103. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  22104. _impl_.devicename_.Set("", GetArenaForAllocation());
  22105. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  22106. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  22107. _this->_impl_.devicename_.Set(from._internal_devicename(), _this->GetArenaForAllocation());
  22108. }
  22109. ::memcpy(&_impl_.isselecteddevice_, &from._impl_.isselecteddevice_,
  22110. static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.isrunningasmulticamera_) -
  22111. reinterpret_cast<char*>(&_impl_.isselecteddevice_)) + sizeof(_impl_.isrunningasmulticamera_));
  22112. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CameraInfos)
  22113. }
  22114. inline void CameraInfos::SharedCtor(::_pb::Arena* arena) {
  22115. (void)arena;
  22116. new (&_impl_) Impl_{
  22117. decltype(_impl_._has_bits_){}
  22118. , /*decltype(_impl_._cached_size_)*/{}
  22119. , decltype(_impl_.deviceid_) {}
  22120. , decltype(_impl_.devicename_) {}
  22121. , decltype(_impl_.isselecteddevice_) { false }
  22122. , decltype(_impl_.isselectedasmulticamera_) { false }
  22123. , decltype(_impl_.isrunningasmulticamera_) { false }
  22124. };
  22125. _impl_.deviceid_.InitDefault();
  22126. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  22127. _impl_.deviceid_.Set("", GetArenaForAllocation());
  22128. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  22129. _impl_.devicename_.InitDefault();
  22130. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  22131. _impl_.devicename_.Set("", GetArenaForAllocation());
  22132. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  22133. }
  22134. CameraInfos::~CameraInfos() {
  22135. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CameraInfos)
  22136. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  22137. (void)arena;
  22138. return;
  22139. }
  22140. SharedDtor();
  22141. }
  22142. inline void CameraInfos::SharedDtor() {
  22143. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  22144. _impl_.deviceid_.Destroy();
  22145. _impl_.devicename_.Destroy();
  22146. }
  22147. void CameraInfos::SetCachedSize(int size) const {
  22148. _impl_._cached_size_.Set(size);
  22149. }
  22150. void CameraInfos::Clear() {
  22151. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CameraInfos)
  22152. ::uint32_t cached_has_bits = 0;
  22153. // Prevent compiler warnings about cached_has_bits being unused
  22154. (void) cached_has_bits;
  22155. cached_has_bits = _impl_._has_bits_[0];
  22156. if (cached_has_bits & 0x00000003u) {
  22157. if (cached_has_bits & 0x00000001u) {
  22158. _impl_.deviceid_.ClearNonDefaultToEmpty();
  22159. }
  22160. if (cached_has_bits & 0x00000002u) {
  22161. _impl_.devicename_.ClearNonDefaultToEmpty();
  22162. }
  22163. }
  22164. ::memset(&_impl_.isselecteddevice_, 0, static_cast<::size_t>(
  22165. reinterpret_cast<char*>(&_impl_.isrunningasmulticamera_) -
  22166. reinterpret_cast<char*>(&_impl_.isselecteddevice_)) + sizeof(_impl_.isrunningasmulticamera_));
  22167. _impl_._has_bits_.Clear();
  22168. _internal_metadata_.Clear<std::string>();
  22169. }
  22170. const char* CameraInfos::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  22171. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  22172. _Internal::HasBits has_bits{};
  22173. while (!ctx->Done(&ptr)) {
  22174. ::uint32_t tag;
  22175. ptr = ::_pbi::ReadTag(ptr, &tag);
  22176. switch (tag >> 3) {
  22177. // optional string deviceID = 1;
  22178. case 1:
  22179. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  22180. auto str = _internal_mutable_deviceid();
  22181. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  22182. CHK_(ptr);
  22183. } else {
  22184. goto handle_unusual;
  22185. }
  22186. continue;
  22187. // optional string deviceName = 2;
  22188. case 2:
  22189. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  22190. auto str = _internal_mutable_devicename();
  22191. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  22192. CHK_(ptr);
  22193. } else {
  22194. goto handle_unusual;
  22195. }
  22196. continue;
  22197. // optional bool isSelectedDevice = 3;
  22198. case 3:
  22199. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  22200. _Internal::set_has_isselecteddevice(&has_bits);
  22201. _impl_.isselecteddevice_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  22202. CHK_(ptr);
  22203. } else {
  22204. goto handle_unusual;
  22205. }
  22206. continue;
  22207. // optional bool isSelectedAsMultiCamera = 4;
  22208. case 4:
  22209. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
  22210. _Internal::set_has_isselectedasmulticamera(&has_bits);
  22211. _impl_.isselectedasmulticamera_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  22212. CHK_(ptr);
  22213. } else {
  22214. goto handle_unusual;
  22215. }
  22216. continue;
  22217. // optional bool isRunningAsMultiCamera = 5;
  22218. case 5:
  22219. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
  22220. _Internal::set_has_isrunningasmulticamera(&has_bits);
  22221. _impl_.isrunningasmulticamera_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  22222. CHK_(ptr);
  22223. } else {
  22224. goto handle_unusual;
  22225. }
  22226. continue;
  22227. default:
  22228. goto handle_unusual;
  22229. } // switch
  22230. handle_unusual:
  22231. if ((tag == 0) || ((tag & 7) == 4)) {
  22232. CHK_(ptr);
  22233. ctx->SetLastTag(tag);
  22234. goto message_done;
  22235. }
  22236. ptr = UnknownFieldParse(
  22237. tag,
  22238. _internal_metadata_.mutable_unknown_fields<std::string>(),
  22239. ptr, ctx);
  22240. CHK_(ptr != nullptr);
  22241. } // while
  22242. message_done:
  22243. _impl_._has_bits_.Or(has_bits);
  22244. return ptr;
  22245. failure:
  22246. ptr = nullptr;
  22247. goto message_done;
  22248. #undef CHK_
  22249. }
  22250. ::uint8_t* CameraInfos::_InternalSerialize(
  22251. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  22252. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CameraInfos)
  22253. ::uint32_t cached_has_bits = 0;
  22254. (void) cached_has_bits;
  22255. cached_has_bits = _impl_._has_bits_[0];
  22256. // optional string deviceID = 1;
  22257. if (cached_has_bits & 0x00000001u) {
  22258. const std::string& _s = this->_internal_deviceid();
  22259. target = stream->WriteStringMaybeAliased(1, _s, target);
  22260. }
  22261. // optional string deviceName = 2;
  22262. if (cached_has_bits & 0x00000002u) {
  22263. const std::string& _s = this->_internal_devicename();
  22264. target = stream->WriteStringMaybeAliased(2, _s, target);
  22265. }
  22266. // optional bool isSelectedDevice = 3;
  22267. if (cached_has_bits & 0x00000004u) {
  22268. target = stream->EnsureSpace(target);
  22269. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  22270. 3, this->_internal_isselecteddevice(), target);
  22271. }
  22272. // optional bool isSelectedAsMultiCamera = 4;
  22273. if (cached_has_bits & 0x00000008u) {
  22274. target = stream->EnsureSpace(target);
  22275. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  22276. 4, this->_internal_isselectedasmulticamera(), target);
  22277. }
  22278. // optional bool isRunningAsMultiCamera = 5;
  22279. if (cached_has_bits & 0x00000010u) {
  22280. target = stream->EnsureSpace(target);
  22281. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  22282. 5, this->_internal_isrunningasmulticamera(), target);
  22283. }
  22284. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  22285. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  22286. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  22287. }
  22288. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CameraInfos)
  22289. return target;
  22290. }
  22291. ::size_t CameraInfos::ByteSizeLong() const {
  22292. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CameraInfos)
  22293. ::size_t total_size = 0;
  22294. ::uint32_t cached_has_bits = 0;
  22295. // Prevent compiler warnings about cached_has_bits being unused
  22296. (void) cached_has_bits;
  22297. cached_has_bits = _impl_._has_bits_[0];
  22298. if (cached_has_bits & 0x0000001fu) {
  22299. // optional string deviceID = 1;
  22300. if (cached_has_bits & 0x00000001u) {
  22301. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  22302. this->_internal_deviceid());
  22303. }
  22304. // optional string deviceName = 2;
  22305. if (cached_has_bits & 0x00000002u) {
  22306. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  22307. this->_internal_devicename());
  22308. }
  22309. // optional bool isSelectedDevice = 3;
  22310. if (cached_has_bits & 0x00000004u) {
  22311. total_size += 2;
  22312. }
  22313. // optional bool isSelectedAsMultiCamera = 4;
  22314. if (cached_has_bits & 0x00000008u) {
  22315. total_size += 2;
  22316. }
  22317. // optional bool isRunningAsMultiCamera = 5;
  22318. if (cached_has_bits & 0x00000010u) {
  22319. total_size += 2;
  22320. }
  22321. }
  22322. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  22323. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  22324. }
  22325. int cached_size = ::_pbi::ToCachedSize(total_size);
  22326. SetCachedSize(cached_size);
  22327. return total_size;
  22328. }
  22329. void CameraInfos::CheckTypeAndMergeFrom(
  22330. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  22331. MergeFrom(*::_pbi::DownCast<const CameraInfos*>(
  22332. &from));
  22333. }
  22334. void CameraInfos::MergeFrom(const CameraInfos& from) {
  22335. CameraInfos* const _this = this;
  22336. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CameraInfos)
  22337. ABSL_DCHECK_NE(&from, _this);
  22338. ::uint32_t cached_has_bits = 0;
  22339. (void) cached_has_bits;
  22340. cached_has_bits = from._impl_._has_bits_[0];
  22341. if (cached_has_bits & 0x0000001fu) {
  22342. if (cached_has_bits & 0x00000001u) {
  22343. _this->_internal_set_deviceid(from._internal_deviceid());
  22344. }
  22345. if (cached_has_bits & 0x00000002u) {
  22346. _this->_internal_set_devicename(from._internal_devicename());
  22347. }
  22348. if (cached_has_bits & 0x00000004u) {
  22349. _this->_impl_.isselecteddevice_ = from._impl_.isselecteddevice_;
  22350. }
  22351. if (cached_has_bits & 0x00000008u) {
  22352. _this->_impl_.isselectedasmulticamera_ = from._impl_.isselectedasmulticamera_;
  22353. }
  22354. if (cached_has_bits & 0x00000010u) {
  22355. _this->_impl_.isrunningasmulticamera_ = from._impl_.isrunningasmulticamera_;
  22356. }
  22357. _this->_impl_._has_bits_[0] |= cached_has_bits;
  22358. }
  22359. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  22360. }
  22361. void CameraInfos::CopyFrom(const CameraInfos& from) {
  22362. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CameraInfos)
  22363. if (&from == this) return;
  22364. Clear();
  22365. MergeFrom(from);
  22366. }
  22367. bool CameraInfos::IsInitialized() const {
  22368. return true;
  22369. }
  22370. void CameraInfos::InternalSwap(CameraInfos* other) {
  22371. using std::swap;
  22372. auto* lhs_arena = GetArenaForAllocation();
  22373. auto* rhs_arena = other->GetArenaForAllocation();
  22374. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  22375. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  22376. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceid_, lhs_arena,
  22377. &other->_impl_.deviceid_, rhs_arena);
  22378. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.devicename_, lhs_arena,
  22379. &other->_impl_.devicename_, rhs_arena);
  22380. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  22381. PROTOBUF_FIELD_OFFSET(CameraInfos, _impl_.isrunningasmulticamera_)
  22382. + sizeof(CameraInfos::_impl_.isrunningasmulticamera_)
  22383. - PROTOBUF_FIELD_OFFSET(CameraInfos, _impl_.isselecteddevice_)>(
  22384. reinterpret_cast<char*>(&_impl_.isselecteddevice_),
  22385. reinterpret_cast<char*>(&other->_impl_.isselecteddevice_));
  22386. }
  22387. std::string CameraInfos::GetTypeName() const {
  22388. return "com.electron.zoomvideo.sdk.proto.CameraInfos";
  22389. }
  22390. // ===================================================================
  22391. class GetCameraList::_Internal {
  22392. public:
  22393. };
  22394. GetCameraList::GetCameraList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  22395. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  22396. SharedCtor(arena);
  22397. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetCameraList)
  22398. }
  22399. GetCameraList::GetCameraList(const GetCameraList& from)
  22400. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  22401. GetCameraList* const _this = this; (void)_this;
  22402. new (&_impl_) Impl_{
  22403. decltype(_impl_.camerainfo_){from._impl_.camerainfo_}
  22404. , /*decltype(_impl_._cached_size_)*/{}};
  22405. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  22406. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetCameraList)
  22407. }
  22408. inline void GetCameraList::SharedCtor(::_pb::Arena* arena) {
  22409. (void)arena;
  22410. new (&_impl_) Impl_{
  22411. decltype(_impl_.camerainfo_){arena}
  22412. , /*decltype(_impl_._cached_size_)*/{}
  22413. };
  22414. }
  22415. GetCameraList::~GetCameraList() {
  22416. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetCameraList)
  22417. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  22418. (void)arena;
  22419. return;
  22420. }
  22421. SharedDtor();
  22422. }
  22423. inline void GetCameraList::SharedDtor() {
  22424. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  22425. _impl_.camerainfo_.~RepeatedPtrField();
  22426. }
  22427. void GetCameraList::SetCachedSize(int size) const {
  22428. _impl_._cached_size_.Set(size);
  22429. }
  22430. void GetCameraList::Clear() {
  22431. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetCameraList)
  22432. ::uint32_t cached_has_bits = 0;
  22433. // Prevent compiler warnings about cached_has_bits being unused
  22434. (void) cached_has_bits;
  22435. _impl_.camerainfo_.Clear();
  22436. _internal_metadata_.Clear<std::string>();
  22437. }
  22438. const char* GetCameraList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  22439. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  22440. while (!ctx->Done(&ptr)) {
  22441. ::uint32_t tag;
  22442. ptr = ::_pbi::ReadTag(ptr, &tag);
  22443. switch (tag >> 3) {
  22444. // repeated .com.electron.zoomvideo.sdk.proto.CameraInfos CameraInfo = 1;
  22445. case 1:
  22446. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  22447. ptr -= 1;
  22448. do {
  22449. ptr += 1;
  22450. ptr = ctx->ParseMessage(_internal_add_camerainfo(), ptr);
  22451. CHK_(ptr);
  22452. if (!ctx->DataAvailable(ptr)) break;
  22453. } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
  22454. } else {
  22455. goto handle_unusual;
  22456. }
  22457. continue;
  22458. default:
  22459. goto handle_unusual;
  22460. } // switch
  22461. handle_unusual:
  22462. if ((tag == 0) || ((tag & 7) == 4)) {
  22463. CHK_(ptr);
  22464. ctx->SetLastTag(tag);
  22465. goto message_done;
  22466. }
  22467. ptr = UnknownFieldParse(
  22468. tag,
  22469. _internal_metadata_.mutable_unknown_fields<std::string>(),
  22470. ptr, ctx);
  22471. CHK_(ptr != nullptr);
  22472. } // while
  22473. message_done:
  22474. return ptr;
  22475. failure:
  22476. ptr = nullptr;
  22477. goto message_done;
  22478. #undef CHK_
  22479. }
  22480. ::uint8_t* GetCameraList::_InternalSerialize(
  22481. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  22482. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetCameraList)
  22483. ::uint32_t cached_has_bits = 0;
  22484. (void) cached_has_bits;
  22485. // repeated .com.electron.zoomvideo.sdk.proto.CameraInfos CameraInfo = 1;
  22486. for (unsigned i = 0,
  22487. n = static_cast<unsigned>(this->_internal_camerainfo_size()); i < n; i++) {
  22488. const auto& repfield = this->_internal_camerainfo(i);
  22489. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  22490. InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
  22491. }
  22492. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  22493. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  22494. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  22495. }
  22496. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetCameraList)
  22497. return target;
  22498. }
  22499. ::size_t GetCameraList::ByteSizeLong() const {
  22500. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetCameraList)
  22501. ::size_t total_size = 0;
  22502. ::uint32_t cached_has_bits = 0;
  22503. // Prevent compiler warnings about cached_has_bits being unused
  22504. (void) cached_has_bits;
  22505. // repeated .com.electron.zoomvideo.sdk.proto.CameraInfos CameraInfo = 1;
  22506. total_size += 1UL * this->_internal_camerainfo_size();
  22507. for (const auto& msg : this->_impl_.camerainfo_) {
  22508. total_size +=
  22509. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
  22510. }
  22511. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  22512. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  22513. }
  22514. int cached_size = ::_pbi::ToCachedSize(total_size);
  22515. SetCachedSize(cached_size);
  22516. return total_size;
  22517. }
  22518. void GetCameraList::CheckTypeAndMergeFrom(
  22519. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  22520. MergeFrom(*::_pbi::DownCast<const GetCameraList*>(
  22521. &from));
  22522. }
  22523. void GetCameraList::MergeFrom(const GetCameraList& from) {
  22524. GetCameraList* const _this = this;
  22525. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetCameraList)
  22526. ABSL_DCHECK_NE(&from, _this);
  22527. ::uint32_t cached_has_bits = 0;
  22528. (void) cached_has_bits;
  22529. _this->_impl_.camerainfo_.MergeFrom(from._impl_.camerainfo_);
  22530. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  22531. }
  22532. void GetCameraList::CopyFrom(const GetCameraList& from) {
  22533. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetCameraList)
  22534. if (&from == this) return;
  22535. Clear();
  22536. MergeFrom(from);
  22537. }
  22538. bool GetCameraList::IsInitialized() const {
  22539. return true;
  22540. }
  22541. void GetCameraList::InternalSwap(GetCameraList* other) {
  22542. using std::swap;
  22543. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  22544. _impl_.camerainfo_.InternalSwap(&other->_impl_.camerainfo_);
  22545. }
  22546. std::string GetCameraList::GetTypeName() const {
  22547. return "com.electron.zoomvideo.sdk.proto.GetCameraList";
  22548. }
  22549. // ===================================================================
  22550. class MultiCameraStreamInfos::_Internal {
  22551. public:
  22552. using HasBits = decltype(std::declval<MultiCameraStreamInfos>()._impl_._has_bits_);
  22553. static constexpr ::int32_t kHasBitsOffset =
  22554. 8 * PROTOBUF_FIELD_OFFSET(MultiCameraStreamInfos, _impl_._has_bits_);
  22555. static void set_has_camerastreamid(HasBits* has_bits) {
  22556. (*has_bits)[0] |= 1u;
  22557. }
  22558. };
  22559. MultiCameraStreamInfos::MultiCameraStreamInfos(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  22560. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  22561. SharedCtor(arena);
  22562. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
  22563. }
  22564. MultiCameraStreamInfos::MultiCameraStreamInfos(const MultiCameraStreamInfos& from)
  22565. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  22566. _internal_metadata_.MergeFrom<std::string>(
  22567. from._internal_metadata_);
  22568. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
  22569. }
  22570. inline void MultiCameraStreamInfos::SharedCtor(::_pb::Arena* arena) {
  22571. (void)arena;
  22572. new (&_impl_) Impl_{
  22573. decltype(_impl_._has_bits_){}
  22574. , /*decltype(_impl_._cached_size_)*/{}
  22575. , decltype(_impl_.camerastreamid_) { ::int64_t{0} }
  22576. };
  22577. }
  22578. MultiCameraStreamInfos::~MultiCameraStreamInfos() {
  22579. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
  22580. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  22581. (void)arena;
  22582. return;
  22583. }
  22584. SharedDtor();
  22585. }
  22586. inline void MultiCameraStreamInfos::SharedDtor() {
  22587. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  22588. }
  22589. void MultiCameraStreamInfos::SetCachedSize(int size) const {
  22590. _impl_._cached_size_.Set(size);
  22591. }
  22592. void MultiCameraStreamInfos::Clear() {
  22593. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
  22594. ::uint32_t cached_has_bits = 0;
  22595. // Prevent compiler warnings about cached_has_bits being unused
  22596. (void) cached_has_bits;
  22597. _impl_.camerastreamid_ = ::int64_t{0};
  22598. _impl_._has_bits_.Clear();
  22599. _internal_metadata_.Clear<std::string>();
  22600. }
  22601. const char* MultiCameraStreamInfos::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  22602. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  22603. _Internal::HasBits has_bits{};
  22604. while (!ctx->Done(&ptr)) {
  22605. ::uint32_t tag;
  22606. ptr = ::_pbi::ReadTag(ptr, &tag);
  22607. switch (tag >> 3) {
  22608. // optional int64 cameraStreamID = 1;
  22609. case 1:
  22610. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  22611. _Internal::set_has_camerastreamid(&has_bits);
  22612. _impl_.camerastreamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  22613. CHK_(ptr);
  22614. } else {
  22615. goto handle_unusual;
  22616. }
  22617. continue;
  22618. default:
  22619. goto handle_unusual;
  22620. } // switch
  22621. handle_unusual:
  22622. if ((tag == 0) || ((tag & 7) == 4)) {
  22623. CHK_(ptr);
  22624. ctx->SetLastTag(tag);
  22625. goto message_done;
  22626. }
  22627. ptr = UnknownFieldParse(
  22628. tag,
  22629. _internal_metadata_.mutable_unknown_fields<std::string>(),
  22630. ptr, ctx);
  22631. CHK_(ptr != nullptr);
  22632. } // while
  22633. message_done:
  22634. _impl_._has_bits_.Or(has_bits);
  22635. return ptr;
  22636. failure:
  22637. ptr = nullptr;
  22638. goto message_done;
  22639. #undef CHK_
  22640. }
  22641. ::uint8_t* MultiCameraStreamInfos::_InternalSerialize(
  22642. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  22643. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
  22644. ::uint32_t cached_has_bits = 0;
  22645. (void) cached_has_bits;
  22646. cached_has_bits = _impl_._has_bits_[0];
  22647. // optional int64 cameraStreamID = 1;
  22648. if (cached_has_bits & 0x00000001u) {
  22649. target = stream->EnsureSpace(target);
  22650. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  22651. 1, this->_internal_camerastreamid(), target);
  22652. }
  22653. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  22654. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  22655. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  22656. }
  22657. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
  22658. return target;
  22659. }
  22660. ::size_t MultiCameraStreamInfos::ByteSizeLong() const {
  22661. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
  22662. ::size_t total_size = 0;
  22663. ::uint32_t cached_has_bits = 0;
  22664. // Prevent compiler warnings about cached_has_bits being unused
  22665. (void) cached_has_bits;
  22666. // optional int64 cameraStreamID = 1;
  22667. cached_has_bits = _impl_._has_bits_[0];
  22668. if (cached_has_bits & 0x00000001u) {
  22669. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  22670. this->_internal_camerastreamid());
  22671. }
  22672. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  22673. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  22674. }
  22675. int cached_size = ::_pbi::ToCachedSize(total_size);
  22676. SetCachedSize(cached_size);
  22677. return total_size;
  22678. }
  22679. void MultiCameraStreamInfos::CheckTypeAndMergeFrom(
  22680. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  22681. MergeFrom(*::_pbi::DownCast<const MultiCameraStreamInfos*>(
  22682. &from));
  22683. }
  22684. void MultiCameraStreamInfos::MergeFrom(const MultiCameraStreamInfos& from) {
  22685. MultiCameraStreamInfos* const _this = this;
  22686. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
  22687. ABSL_DCHECK_NE(&from, _this);
  22688. ::uint32_t cached_has_bits = 0;
  22689. (void) cached_has_bits;
  22690. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  22691. _this->_internal_set_camerastreamid(from._internal_camerastreamid());
  22692. }
  22693. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  22694. }
  22695. void MultiCameraStreamInfos::CopyFrom(const MultiCameraStreamInfos& from) {
  22696. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
  22697. if (&from == this) return;
  22698. Clear();
  22699. MergeFrom(from);
  22700. }
  22701. bool MultiCameraStreamInfos::IsInitialized() const {
  22702. return true;
  22703. }
  22704. void MultiCameraStreamInfos::InternalSwap(MultiCameraStreamInfos* other) {
  22705. using std::swap;
  22706. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  22707. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  22708. swap(_impl_.camerastreamid_, other->_impl_.camerastreamid_);
  22709. }
  22710. std::string MultiCameraStreamInfos::GetTypeName() const {
  22711. return "com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos";
  22712. }
  22713. // ===================================================================
  22714. class MultiCameraStreamList::_Internal {
  22715. public:
  22716. };
  22717. MultiCameraStreamList::MultiCameraStreamList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  22718. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  22719. SharedCtor(arena);
  22720. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
  22721. }
  22722. MultiCameraStreamList::MultiCameraStreamList(const MultiCameraStreamList& from)
  22723. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  22724. MultiCameraStreamList* const _this = this; (void)_this;
  22725. new (&_impl_) Impl_{
  22726. decltype(_impl_.camerastreaminfo_){from._impl_.camerastreaminfo_}
  22727. , /*decltype(_impl_._cached_size_)*/{}};
  22728. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  22729. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
  22730. }
  22731. inline void MultiCameraStreamList::SharedCtor(::_pb::Arena* arena) {
  22732. (void)arena;
  22733. new (&_impl_) Impl_{
  22734. decltype(_impl_.camerastreaminfo_){arena}
  22735. , /*decltype(_impl_._cached_size_)*/{}
  22736. };
  22737. }
  22738. MultiCameraStreamList::~MultiCameraStreamList() {
  22739. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
  22740. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  22741. (void)arena;
  22742. return;
  22743. }
  22744. SharedDtor();
  22745. }
  22746. inline void MultiCameraStreamList::SharedDtor() {
  22747. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  22748. _impl_.camerastreaminfo_.~RepeatedPtrField();
  22749. }
  22750. void MultiCameraStreamList::SetCachedSize(int size) const {
  22751. _impl_._cached_size_.Set(size);
  22752. }
  22753. void MultiCameraStreamList::Clear() {
  22754. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
  22755. ::uint32_t cached_has_bits = 0;
  22756. // Prevent compiler warnings about cached_has_bits being unused
  22757. (void) cached_has_bits;
  22758. _impl_.camerastreaminfo_.Clear();
  22759. _internal_metadata_.Clear<std::string>();
  22760. }
  22761. const char* MultiCameraStreamList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  22762. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  22763. while (!ctx->Done(&ptr)) {
  22764. ::uint32_t tag;
  22765. ptr = ::_pbi::ReadTag(ptr, &tag);
  22766. switch (tag >> 3) {
  22767. // repeated .com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos CameraStreamInfo = 1;
  22768. case 1:
  22769. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  22770. ptr -= 1;
  22771. do {
  22772. ptr += 1;
  22773. ptr = ctx->ParseMessage(_internal_add_camerastreaminfo(), ptr);
  22774. CHK_(ptr);
  22775. if (!ctx->DataAvailable(ptr)) break;
  22776. } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
  22777. } else {
  22778. goto handle_unusual;
  22779. }
  22780. continue;
  22781. default:
  22782. goto handle_unusual;
  22783. } // switch
  22784. handle_unusual:
  22785. if ((tag == 0) || ((tag & 7) == 4)) {
  22786. CHK_(ptr);
  22787. ctx->SetLastTag(tag);
  22788. goto message_done;
  22789. }
  22790. ptr = UnknownFieldParse(
  22791. tag,
  22792. _internal_metadata_.mutable_unknown_fields<std::string>(),
  22793. ptr, ctx);
  22794. CHK_(ptr != nullptr);
  22795. } // while
  22796. message_done:
  22797. return ptr;
  22798. failure:
  22799. ptr = nullptr;
  22800. goto message_done;
  22801. #undef CHK_
  22802. }
  22803. ::uint8_t* MultiCameraStreamList::_InternalSerialize(
  22804. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  22805. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
  22806. ::uint32_t cached_has_bits = 0;
  22807. (void) cached_has_bits;
  22808. // repeated .com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos CameraStreamInfo = 1;
  22809. for (unsigned i = 0,
  22810. n = static_cast<unsigned>(this->_internal_camerastreaminfo_size()); i < n; i++) {
  22811. const auto& repfield = this->_internal_camerastreaminfo(i);
  22812. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  22813. InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
  22814. }
  22815. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  22816. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  22817. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  22818. }
  22819. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
  22820. return target;
  22821. }
  22822. ::size_t MultiCameraStreamList::ByteSizeLong() const {
  22823. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
  22824. ::size_t total_size = 0;
  22825. ::uint32_t cached_has_bits = 0;
  22826. // Prevent compiler warnings about cached_has_bits being unused
  22827. (void) cached_has_bits;
  22828. // repeated .com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos CameraStreamInfo = 1;
  22829. total_size += 1UL * this->_internal_camerastreaminfo_size();
  22830. for (const auto& msg : this->_impl_.camerastreaminfo_) {
  22831. total_size +=
  22832. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
  22833. }
  22834. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  22835. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  22836. }
  22837. int cached_size = ::_pbi::ToCachedSize(total_size);
  22838. SetCachedSize(cached_size);
  22839. return total_size;
  22840. }
  22841. void MultiCameraStreamList::CheckTypeAndMergeFrom(
  22842. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  22843. MergeFrom(*::_pbi::DownCast<const MultiCameraStreamList*>(
  22844. &from));
  22845. }
  22846. void MultiCameraStreamList::MergeFrom(const MultiCameraStreamList& from) {
  22847. MultiCameraStreamList* const _this = this;
  22848. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
  22849. ABSL_DCHECK_NE(&from, _this);
  22850. ::uint32_t cached_has_bits = 0;
  22851. (void) cached_has_bits;
  22852. _this->_impl_.camerastreaminfo_.MergeFrom(from._impl_.camerastreaminfo_);
  22853. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  22854. }
  22855. void MultiCameraStreamList::CopyFrom(const MultiCameraStreamList& from) {
  22856. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
  22857. if (&from == this) return;
  22858. Clear();
  22859. MergeFrom(from);
  22860. }
  22861. bool MultiCameraStreamList::IsInitialized() const {
  22862. return true;
  22863. }
  22864. void MultiCameraStreamList::InternalSwap(MultiCameraStreamList* other) {
  22865. using std::swap;
  22866. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  22867. _impl_.camerastreaminfo_.InternalSwap(&other->_impl_.camerastreaminfo_);
  22868. }
  22869. std::string MultiCameraStreamList::GetTypeName() const {
  22870. return "com.electron.zoomvideo.sdk.proto.MultiCameraStreamList";
  22871. }
  22872. // ===================================================================
  22873. class GetMultiCameraStreamList::_Internal {
  22874. public:
  22875. using HasBits = decltype(std::declval<GetMultiCameraStreamList>()._impl_._has_bits_);
  22876. static constexpr ::int32_t kHasBitsOffset =
  22877. 8 * PROTOBUF_FIELD_OFFSET(GetMultiCameraStreamList, _impl_._has_bits_);
  22878. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const GetMultiCameraStreamList* msg);
  22879. static void set_has_user(HasBits* has_bits) {
  22880. (*has_bits)[0] |= 1u;
  22881. }
  22882. };
  22883. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  22884. GetMultiCameraStreamList::_Internal::user(const GetMultiCameraStreamList* msg) {
  22885. return *msg->_impl_.user_;
  22886. }
  22887. GetMultiCameraStreamList::GetMultiCameraStreamList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  22888. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  22889. SharedCtor(arena);
  22890. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
  22891. }
  22892. GetMultiCameraStreamList::GetMultiCameraStreamList(const GetMultiCameraStreamList& from)
  22893. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  22894. GetMultiCameraStreamList* const _this = this; (void)_this;
  22895. new (&_impl_) Impl_{
  22896. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  22897. , /*decltype(_impl_._cached_size_)*/{}
  22898. , decltype(_impl_.user_){nullptr}};
  22899. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  22900. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  22901. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  22902. }
  22903. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
  22904. }
  22905. inline void GetMultiCameraStreamList::SharedCtor(::_pb::Arena* arena) {
  22906. (void)arena;
  22907. new (&_impl_) Impl_{
  22908. decltype(_impl_._has_bits_){}
  22909. , /*decltype(_impl_._cached_size_)*/{}
  22910. , decltype(_impl_.user_){nullptr}
  22911. };
  22912. }
  22913. GetMultiCameraStreamList::~GetMultiCameraStreamList() {
  22914. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
  22915. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  22916. (void)arena;
  22917. return;
  22918. }
  22919. SharedDtor();
  22920. }
  22921. inline void GetMultiCameraStreamList::SharedDtor() {
  22922. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  22923. if (this != internal_default_instance()) delete _impl_.user_;
  22924. }
  22925. void GetMultiCameraStreamList::SetCachedSize(int size) const {
  22926. _impl_._cached_size_.Set(size);
  22927. }
  22928. void GetMultiCameraStreamList::Clear() {
  22929. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
  22930. ::uint32_t cached_has_bits = 0;
  22931. // Prevent compiler warnings about cached_has_bits being unused
  22932. (void) cached_has_bits;
  22933. cached_has_bits = _impl_._has_bits_[0];
  22934. if (cached_has_bits & 0x00000001u) {
  22935. ABSL_DCHECK(_impl_.user_ != nullptr);
  22936. _impl_.user_->Clear();
  22937. }
  22938. _impl_._has_bits_.Clear();
  22939. _internal_metadata_.Clear<std::string>();
  22940. }
  22941. const char* GetMultiCameraStreamList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  22942. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  22943. _Internal::HasBits has_bits{};
  22944. while (!ctx->Done(&ptr)) {
  22945. ::uint32_t tag;
  22946. ptr = ::_pbi::ReadTag(ptr, &tag);
  22947. switch (tag >> 3) {
  22948. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  22949. case 1:
  22950. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  22951. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  22952. CHK_(ptr);
  22953. } else {
  22954. goto handle_unusual;
  22955. }
  22956. continue;
  22957. default:
  22958. goto handle_unusual;
  22959. } // switch
  22960. handle_unusual:
  22961. if ((tag == 0) || ((tag & 7) == 4)) {
  22962. CHK_(ptr);
  22963. ctx->SetLastTag(tag);
  22964. goto message_done;
  22965. }
  22966. ptr = UnknownFieldParse(
  22967. tag,
  22968. _internal_metadata_.mutable_unknown_fields<std::string>(),
  22969. ptr, ctx);
  22970. CHK_(ptr != nullptr);
  22971. } // while
  22972. message_done:
  22973. _impl_._has_bits_.Or(has_bits);
  22974. return ptr;
  22975. failure:
  22976. ptr = nullptr;
  22977. goto message_done;
  22978. #undef CHK_
  22979. }
  22980. ::uint8_t* GetMultiCameraStreamList::_InternalSerialize(
  22981. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  22982. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
  22983. ::uint32_t cached_has_bits = 0;
  22984. (void) cached_has_bits;
  22985. cached_has_bits = _impl_._has_bits_[0];
  22986. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  22987. if (cached_has_bits & 0x00000001u) {
  22988. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  22989. InternalWriteMessage(1, _Internal::user(this),
  22990. _Internal::user(this).GetCachedSize(), target, stream);
  22991. }
  22992. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  22993. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  22994. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  22995. }
  22996. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
  22997. return target;
  22998. }
  22999. ::size_t GetMultiCameraStreamList::ByteSizeLong() const {
  23000. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
  23001. ::size_t total_size = 0;
  23002. ::uint32_t cached_has_bits = 0;
  23003. // Prevent compiler warnings about cached_has_bits being unused
  23004. (void) cached_has_bits;
  23005. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  23006. cached_has_bits = _impl_._has_bits_[0];
  23007. if (cached_has_bits & 0x00000001u) {
  23008. total_size += 1 +
  23009. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  23010. *_impl_.user_);
  23011. }
  23012. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  23013. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  23014. }
  23015. int cached_size = ::_pbi::ToCachedSize(total_size);
  23016. SetCachedSize(cached_size);
  23017. return total_size;
  23018. }
  23019. void GetMultiCameraStreamList::CheckTypeAndMergeFrom(
  23020. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  23021. MergeFrom(*::_pbi::DownCast<const GetMultiCameraStreamList*>(
  23022. &from));
  23023. }
  23024. void GetMultiCameraStreamList::MergeFrom(const GetMultiCameraStreamList& from) {
  23025. GetMultiCameraStreamList* const _this = this;
  23026. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
  23027. ABSL_DCHECK_NE(&from, _this);
  23028. ::uint32_t cached_has_bits = 0;
  23029. (void) cached_has_bits;
  23030. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  23031. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  23032. from._internal_user());
  23033. }
  23034. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  23035. }
  23036. void GetMultiCameraStreamList::CopyFrom(const GetMultiCameraStreamList& from) {
  23037. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
  23038. if (&from == this) return;
  23039. Clear();
  23040. MergeFrom(from);
  23041. }
  23042. bool GetMultiCameraStreamList::IsInitialized() const {
  23043. return true;
  23044. }
  23045. void GetMultiCameraStreamList::InternalSwap(GetMultiCameraStreamList* other) {
  23046. using std::swap;
  23047. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  23048. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  23049. swap(_impl_.user_, other->_impl_.user_);
  23050. }
  23051. std::string GetMultiCameraStreamList::GetTypeName() const {
  23052. return "com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList";
  23053. }
  23054. // ===================================================================
  23055. class MicInfos::_Internal {
  23056. public:
  23057. using HasBits = decltype(std::declval<MicInfos>()._impl_._has_bits_);
  23058. static constexpr ::int32_t kHasBitsOffset =
  23059. 8 * PROTOBUF_FIELD_OFFSET(MicInfos, _impl_._has_bits_);
  23060. static void set_has_deviceid(HasBits* has_bits) {
  23061. (*has_bits)[0] |= 1u;
  23062. }
  23063. static void set_has_devicename(HasBits* has_bits) {
  23064. (*has_bits)[0] |= 2u;
  23065. }
  23066. static void set_has_isselecteddevice(HasBits* has_bits) {
  23067. (*has_bits)[0] |= 4u;
  23068. }
  23069. };
  23070. MicInfos::MicInfos(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  23071. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  23072. SharedCtor(arena);
  23073. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.MicInfos)
  23074. }
  23075. MicInfos::MicInfos(const MicInfos& from)
  23076. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  23077. MicInfos* const _this = this; (void)_this;
  23078. new (&_impl_) Impl_{
  23079. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  23080. , /*decltype(_impl_._cached_size_)*/{}
  23081. , decltype(_impl_.deviceid_) {}
  23082. , decltype(_impl_.devicename_) {}
  23083. , decltype(_impl_.isselecteddevice_) {}
  23084. };
  23085. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  23086. _impl_.deviceid_.InitDefault();
  23087. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23088. _impl_.deviceid_.Set("", GetArenaForAllocation());
  23089. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23090. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  23091. _this->_impl_.deviceid_.Set(from._internal_deviceid(), _this->GetArenaForAllocation());
  23092. }
  23093. _impl_.devicename_.InitDefault();
  23094. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23095. _impl_.devicename_.Set("", GetArenaForAllocation());
  23096. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23097. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  23098. _this->_impl_.devicename_.Set(from._internal_devicename(), _this->GetArenaForAllocation());
  23099. }
  23100. _this->_impl_.isselecteddevice_ = from._impl_.isselecteddevice_;
  23101. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.MicInfos)
  23102. }
  23103. inline void MicInfos::SharedCtor(::_pb::Arena* arena) {
  23104. (void)arena;
  23105. new (&_impl_) Impl_{
  23106. decltype(_impl_._has_bits_){}
  23107. , /*decltype(_impl_._cached_size_)*/{}
  23108. , decltype(_impl_.deviceid_) {}
  23109. , decltype(_impl_.devicename_) {}
  23110. , decltype(_impl_.isselecteddevice_) { false }
  23111. };
  23112. _impl_.deviceid_.InitDefault();
  23113. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23114. _impl_.deviceid_.Set("", GetArenaForAllocation());
  23115. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23116. _impl_.devicename_.InitDefault();
  23117. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23118. _impl_.devicename_.Set("", GetArenaForAllocation());
  23119. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23120. }
  23121. MicInfos::~MicInfos() {
  23122. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.MicInfos)
  23123. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  23124. (void)arena;
  23125. return;
  23126. }
  23127. SharedDtor();
  23128. }
  23129. inline void MicInfos::SharedDtor() {
  23130. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  23131. _impl_.deviceid_.Destroy();
  23132. _impl_.devicename_.Destroy();
  23133. }
  23134. void MicInfos::SetCachedSize(int size) const {
  23135. _impl_._cached_size_.Set(size);
  23136. }
  23137. void MicInfos::Clear() {
  23138. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.MicInfos)
  23139. ::uint32_t cached_has_bits = 0;
  23140. // Prevent compiler warnings about cached_has_bits being unused
  23141. (void) cached_has_bits;
  23142. cached_has_bits = _impl_._has_bits_[0];
  23143. if (cached_has_bits & 0x00000003u) {
  23144. if (cached_has_bits & 0x00000001u) {
  23145. _impl_.deviceid_.ClearNonDefaultToEmpty();
  23146. }
  23147. if (cached_has_bits & 0x00000002u) {
  23148. _impl_.devicename_.ClearNonDefaultToEmpty();
  23149. }
  23150. }
  23151. _impl_.isselecteddevice_ = false;
  23152. _impl_._has_bits_.Clear();
  23153. _internal_metadata_.Clear<std::string>();
  23154. }
  23155. const char* MicInfos::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  23156. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  23157. _Internal::HasBits has_bits{};
  23158. while (!ctx->Done(&ptr)) {
  23159. ::uint32_t tag;
  23160. ptr = ::_pbi::ReadTag(ptr, &tag);
  23161. switch (tag >> 3) {
  23162. // optional string deviceID = 1;
  23163. case 1:
  23164. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  23165. auto str = _internal_mutable_deviceid();
  23166. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  23167. CHK_(ptr);
  23168. } else {
  23169. goto handle_unusual;
  23170. }
  23171. continue;
  23172. // optional string deviceName = 2;
  23173. case 2:
  23174. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  23175. auto str = _internal_mutable_devicename();
  23176. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  23177. CHK_(ptr);
  23178. } else {
  23179. goto handle_unusual;
  23180. }
  23181. continue;
  23182. // optional bool isSelectedDevice = 3;
  23183. case 3:
  23184. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  23185. _Internal::set_has_isselecteddevice(&has_bits);
  23186. _impl_.isselecteddevice_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  23187. CHK_(ptr);
  23188. } else {
  23189. goto handle_unusual;
  23190. }
  23191. continue;
  23192. default:
  23193. goto handle_unusual;
  23194. } // switch
  23195. handle_unusual:
  23196. if ((tag == 0) || ((tag & 7) == 4)) {
  23197. CHK_(ptr);
  23198. ctx->SetLastTag(tag);
  23199. goto message_done;
  23200. }
  23201. ptr = UnknownFieldParse(
  23202. tag,
  23203. _internal_metadata_.mutable_unknown_fields<std::string>(),
  23204. ptr, ctx);
  23205. CHK_(ptr != nullptr);
  23206. } // while
  23207. message_done:
  23208. _impl_._has_bits_.Or(has_bits);
  23209. return ptr;
  23210. failure:
  23211. ptr = nullptr;
  23212. goto message_done;
  23213. #undef CHK_
  23214. }
  23215. ::uint8_t* MicInfos::_InternalSerialize(
  23216. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  23217. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.MicInfos)
  23218. ::uint32_t cached_has_bits = 0;
  23219. (void) cached_has_bits;
  23220. cached_has_bits = _impl_._has_bits_[0];
  23221. // optional string deviceID = 1;
  23222. if (cached_has_bits & 0x00000001u) {
  23223. const std::string& _s = this->_internal_deviceid();
  23224. target = stream->WriteStringMaybeAliased(1, _s, target);
  23225. }
  23226. // optional string deviceName = 2;
  23227. if (cached_has_bits & 0x00000002u) {
  23228. const std::string& _s = this->_internal_devicename();
  23229. target = stream->WriteStringMaybeAliased(2, _s, target);
  23230. }
  23231. // optional bool isSelectedDevice = 3;
  23232. if (cached_has_bits & 0x00000004u) {
  23233. target = stream->EnsureSpace(target);
  23234. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  23235. 3, this->_internal_isselecteddevice(), target);
  23236. }
  23237. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  23238. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  23239. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  23240. }
  23241. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.MicInfos)
  23242. return target;
  23243. }
  23244. ::size_t MicInfos::ByteSizeLong() const {
  23245. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.MicInfos)
  23246. ::size_t total_size = 0;
  23247. ::uint32_t cached_has_bits = 0;
  23248. // Prevent compiler warnings about cached_has_bits being unused
  23249. (void) cached_has_bits;
  23250. cached_has_bits = _impl_._has_bits_[0];
  23251. if (cached_has_bits & 0x00000007u) {
  23252. // optional string deviceID = 1;
  23253. if (cached_has_bits & 0x00000001u) {
  23254. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  23255. this->_internal_deviceid());
  23256. }
  23257. // optional string deviceName = 2;
  23258. if (cached_has_bits & 0x00000002u) {
  23259. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  23260. this->_internal_devicename());
  23261. }
  23262. // optional bool isSelectedDevice = 3;
  23263. if (cached_has_bits & 0x00000004u) {
  23264. total_size += 2;
  23265. }
  23266. }
  23267. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  23268. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  23269. }
  23270. int cached_size = ::_pbi::ToCachedSize(total_size);
  23271. SetCachedSize(cached_size);
  23272. return total_size;
  23273. }
  23274. void MicInfos::CheckTypeAndMergeFrom(
  23275. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  23276. MergeFrom(*::_pbi::DownCast<const MicInfos*>(
  23277. &from));
  23278. }
  23279. void MicInfos::MergeFrom(const MicInfos& from) {
  23280. MicInfos* const _this = this;
  23281. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.MicInfos)
  23282. ABSL_DCHECK_NE(&from, _this);
  23283. ::uint32_t cached_has_bits = 0;
  23284. (void) cached_has_bits;
  23285. cached_has_bits = from._impl_._has_bits_[0];
  23286. if (cached_has_bits & 0x00000007u) {
  23287. if (cached_has_bits & 0x00000001u) {
  23288. _this->_internal_set_deviceid(from._internal_deviceid());
  23289. }
  23290. if (cached_has_bits & 0x00000002u) {
  23291. _this->_internal_set_devicename(from._internal_devicename());
  23292. }
  23293. if (cached_has_bits & 0x00000004u) {
  23294. _this->_impl_.isselecteddevice_ = from._impl_.isselecteddevice_;
  23295. }
  23296. _this->_impl_._has_bits_[0] |= cached_has_bits;
  23297. }
  23298. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  23299. }
  23300. void MicInfos::CopyFrom(const MicInfos& from) {
  23301. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.MicInfos)
  23302. if (&from == this) return;
  23303. Clear();
  23304. MergeFrom(from);
  23305. }
  23306. bool MicInfos::IsInitialized() const {
  23307. return true;
  23308. }
  23309. void MicInfos::InternalSwap(MicInfos* other) {
  23310. using std::swap;
  23311. auto* lhs_arena = GetArenaForAllocation();
  23312. auto* rhs_arena = other->GetArenaForAllocation();
  23313. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  23314. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  23315. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceid_, lhs_arena,
  23316. &other->_impl_.deviceid_, rhs_arena);
  23317. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.devicename_, lhs_arena,
  23318. &other->_impl_.devicename_, rhs_arena);
  23319. swap(_impl_.isselecteddevice_, other->_impl_.isselecteddevice_);
  23320. }
  23321. std::string MicInfos::GetTypeName() const {
  23322. return "com.electron.zoomvideo.sdk.proto.MicInfos";
  23323. }
  23324. // ===================================================================
  23325. class GetMicList::_Internal {
  23326. public:
  23327. };
  23328. GetMicList::GetMicList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  23329. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  23330. SharedCtor(arena);
  23331. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetMicList)
  23332. }
  23333. GetMicList::GetMicList(const GetMicList& from)
  23334. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  23335. GetMicList* const _this = this; (void)_this;
  23336. new (&_impl_) Impl_{
  23337. decltype(_impl_.micinfo_){from._impl_.micinfo_}
  23338. , /*decltype(_impl_._cached_size_)*/{}};
  23339. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  23340. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetMicList)
  23341. }
  23342. inline void GetMicList::SharedCtor(::_pb::Arena* arena) {
  23343. (void)arena;
  23344. new (&_impl_) Impl_{
  23345. decltype(_impl_.micinfo_){arena}
  23346. , /*decltype(_impl_._cached_size_)*/{}
  23347. };
  23348. }
  23349. GetMicList::~GetMicList() {
  23350. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetMicList)
  23351. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  23352. (void)arena;
  23353. return;
  23354. }
  23355. SharedDtor();
  23356. }
  23357. inline void GetMicList::SharedDtor() {
  23358. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  23359. _impl_.micinfo_.~RepeatedPtrField();
  23360. }
  23361. void GetMicList::SetCachedSize(int size) const {
  23362. _impl_._cached_size_.Set(size);
  23363. }
  23364. void GetMicList::Clear() {
  23365. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetMicList)
  23366. ::uint32_t cached_has_bits = 0;
  23367. // Prevent compiler warnings about cached_has_bits being unused
  23368. (void) cached_has_bits;
  23369. _impl_.micinfo_.Clear();
  23370. _internal_metadata_.Clear<std::string>();
  23371. }
  23372. const char* GetMicList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  23373. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  23374. while (!ctx->Done(&ptr)) {
  23375. ::uint32_t tag;
  23376. ptr = ::_pbi::ReadTag(ptr, &tag);
  23377. switch (tag >> 3) {
  23378. // repeated .com.electron.zoomvideo.sdk.proto.MicInfos MicInfo = 1;
  23379. case 1:
  23380. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  23381. ptr -= 1;
  23382. do {
  23383. ptr += 1;
  23384. ptr = ctx->ParseMessage(_internal_add_micinfo(), ptr);
  23385. CHK_(ptr);
  23386. if (!ctx->DataAvailable(ptr)) break;
  23387. } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
  23388. } else {
  23389. goto handle_unusual;
  23390. }
  23391. continue;
  23392. default:
  23393. goto handle_unusual;
  23394. } // switch
  23395. handle_unusual:
  23396. if ((tag == 0) || ((tag & 7) == 4)) {
  23397. CHK_(ptr);
  23398. ctx->SetLastTag(tag);
  23399. goto message_done;
  23400. }
  23401. ptr = UnknownFieldParse(
  23402. tag,
  23403. _internal_metadata_.mutable_unknown_fields<std::string>(),
  23404. ptr, ctx);
  23405. CHK_(ptr != nullptr);
  23406. } // while
  23407. message_done:
  23408. return ptr;
  23409. failure:
  23410. ptr = nullptr;
  23411. goto message_done;
  23412. #undef CHK_
  23413. }
  23414. ::uint8_t* GetMicList::_InternalSerialize(
  23415. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  23416. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetMicList)
  23417. ::uint32_t cached_has_bits = 0;
  23418. (void) cached_has_bits;
  23419. // repeated .com.electron.zoomvideo.sdk.proto.MicInfos MicInfo = 1;
  23420. for (unsigned i = 0,
  23421. n = static_cast<unsigned>(this->_internal_micinfo_size()); i < n; i++) {
  23422. const auto& repfield = this->_internal_micinfo(i);
  23423. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  23424. InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
  23425. }
  23426. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  23427. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  23428. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  23429. }
  23430. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetMicList)
  23431. return target;
  23432. }
  23433. ::size_t GetMicList::ByteSizeLong() const {
  23434. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetMicList)
  23435. ::size_t total_size = 0;
  23436. ::uint32_t cached_has_bits = 0;
  23437. // Prevent compiler warnings about cached_has_bits being unused
  23438. (void) cached_has_bits;
  23439. // repeated .com.electron.zoomvideo.sdk.proto.MicInfos MicInfo = 1;
  23440. total_size += 1UL * this->_internal_micinfo_size();
  23441. for (const auto& msg : this->_impl_.micinfo_) {
  23442. total_size +=
  23443. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
  23444. }
  23445. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  23446. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  23447. }
  23448. int cached_size = ::_pbi::ToCachedSize(total_size);
  23449. SetCachedSize(cached_size);
  23450. return total_size;
  23451. }
  23452. void GetMicList::CheckTypeAndMergeFrom(
  23453. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  23454. MergeFrom(*::_pbi::DownCast<const GetMicList*>(
  23455. &from));
  23456. }
  23457. void GetMicList::MergeFrom(const GetMicList& from) {
  23458. GetMicList* const _this = this;
  23459. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetMicList)
  23460. ABSL_DCHECK_NE(&from, _this);
  23461. ::uint32_t cached_has_bits = 0;
  23462. (void) cached_has_bits;
  23463. _this->_impl_.micinfo_.MergeFrom(from._impl_.micinfo_);
  23464. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  23465. }
  23466. void GetMicList::CopyFrom(const GetMicList& from) {
  23467. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetMicList)
  23468. if (&from == this) return;
  23469. Clear();
  23470. MergeFrom(from);
  23471. }
  23472. bool GetMicList::IsInitialized() const {
  23473. return true;
  23474. }
  23475. void GetMicList::InternalSwap(GetMicList* other) {
  23476. using std::swap;
  23477. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  23478. _impl_.micinfo_.InternalSwap(&other->_impl_.micinfo_);
  23479. }
  23480. std::string GetMicList::GetTypeName() const {
  23481. return "com.electron.zoomvideo.sdk.proto.GetMicList";
  23482. }
  23483. // ===================================================================
  23484. class SpeakerInfos::_Internal {
  23485. public:
  23486. using HasBits = decltype(std::declval<SpeakerInfos>()._impl_._has_bits_);
  23487. static constexpr ::int32_t kHasBitsOffset =
  23488. 8 * PROTOBUF_FIELD_OFFSET(SpeakerInfos, _impl_._has_bits_);
  23489. static void set_has_deviceid(HasBits* has_bits) {
  23490. (*has_bits)[0] |= 1u;
  23491. }
  23492. static void set_has_devicename(HasBits* has_bits) {
  23493. (*has_bits)[0] |= 2u;
  23494. }
  23495. static void set_has_isselecteddevice(HasBits* has_bits) {
  23496. (*has_bits)[0] |= 4u;
  23497. }
  23498. };
  23499. SpeakerInfos::SpeakerInfos(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  23500. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  23501. SharedCtor(arena);
  23502. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
  23503. }
  23504. SpeakerInfos::SpeakerInfos(const SpeakerInfos& from)
  23505. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  23506. SpeakerInfos* const _this = this; (void)_this;
  23507. new (&_impl_) Impl_{
  23508. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  23509. , /*decltype(_impl_._cached_size_)*/{}
  23510. , decltype(_impl_.deviceid_) {}
  23511. , decltype(_impl_.devicename_) {}
  23512. , decltype(_impl_.isselecteddevice_) {}
  23513. };
  23514. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  23515. _impl_.deviceid_.InitDefault();
  23516. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23517. _impl_.deviceid_.Set("", GetArenaForAllocation());
  23518. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23519. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  23520. _this->_impl_.deviceid_.Set(from._internal_deviceid(), _this->GetArenaForAllocation());
  23521. }
  23522. _impl_.devicename_.InitDefault();
  23523. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23524. _impl_.devicename_.Set("", GetArenaForAllocation());
  23525. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23526. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  23527. _this->_impl_.devicename_.Set(from._internal_devicename(), _this->GetArenaForAllocation());
  23528. }
  23529. _this->_impl_.isselecteddevice_ = from._impl_.isselecteddevice_;
  23530. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
  23531. }
  23532. inline void SpeakerInfos::SharedCtor(::_pb::Arena* arena) {
  23533. (void)arena;
  23534. new (&_impl_) Impl_{
  23535. decltype(_impl_._has_bits_){}
  23536. , /*decltype(_impl_._cached_size_)*/{}
  23537. , decltype(_impl_.deviceid_) {}
  23538. , decltype(_impl_.devicename_) {}
  23539. , decltype(_impl_.isselecteddevice_) { false }
  23540. };
  23541. _impl_.deviceid_.InitDefault();
  23542. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23543. _impl_.deviceid_.Set("", GetArenaForAllocation());
  23544. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23545. _impl_.devicename_.InitDefault();
  23546. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23547. _impl_.devicename_.Set("", GetArenaForAllocation());
  23548. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23549. }
  23550. SpeakerInfos::~SpeakerInfos() {
  23551. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
  23552. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  23553. (void)arena;
  23554. return;
  23555. }
  23556. SharedDtor();
  23557. }
  23558. inline void SpeakerInfos::SharedDtor() {
  23559. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  23560. _impl_.deviceid_.Destroy();
  23561. _impl_.devicename_.Destroy();
  23562. }
  23563. void SpeakerInfos::SetCachedSize(int size) const {
  23564. _impl_._cached_size_.Set(size);
  23565. }
  23566. void SpeakerInfos::Clear() {
  23567. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
  23568. ::uint32_t cached_has_bits = 0;
  23569. // Prevent compiler warnings about cached_has_bits being unused
  23570. (void) cached_has_bits;
  23571. cached_has_bits = _impl_._has_bits_[0];
  23572. if (cached_has_bits & 0x00000003u) {
  23573. if (cached_has_bits & 0x00000001u) {
  23574. _impl_.deviceid_.ClearNonDefaultToEmpty();
  23575. }
  23576. if (cached_has_bits & 0x00000002u) {
  23577. _impl_.devicename_.ClearNonDefaultToEmpty();
  23578. }
  23579. }
  23580. _impl_.isselecteddevice_ = false;
  23581. _impl_._has_bits_.Clear();
  23582. _internal_metadata_.Clear<std::string>();
  23583. }
  23584. const char* SpeakerInfos::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  23585. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  23586. _Internal::HasBits has_bits{};
  23587. while (!ctx->Done(&ptr)) {
  23588. ::uint32_t tag;
  23589. ptr = ::_pbi::ReadTag(ptr, &tag);
  23590. switch (tag >> 3) {
  23591. // optional string deviceID = 1;
  23592. case 1:
  23593. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  23594. auto str = _internal_mutable_deviceid();
  23595. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  23596. CHK_(ptr);
  23597. } else {
  23598. goto handle_unusual;
  23599. }
  23600. continue;
  23601. // optional string deviceName = 2;
  23602. case 2:
  23603. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  23604. auto str = _internal_mutable_devicename();
  23605. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  23606. CHK_(ptr);
  23607. } else {
  23608. goto handle_unusual;
  23609. }
  23610. continue;
  23611. // optional bool isSelectedDevice = 3;
  23612. case 3:
  23613. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  23614. _Internal::set_has_isselecteddevice(&has_bits);
  23615. _impl_.isselecteddevice_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  23616. CHK_(ptr);
  23617. } else {
  23618. goto handle_unusual;
  23619. }
  23620. continue;
  23621. default:
  23622. goto handle_unusual;
  23623. } // switch
  23624. handle_unusual:
  23625. if ((tag == 0) || ((tag & 7) == 4)) {
  23626. CHK_(ptr);
  23627. ctx->SetLastTag(tag);
  23628. goto message_done;
  23629. }
  23630. ptr = UnknownFieldParse(
  23631. tag,
  23632. _internal_metadata_.mutable_unknown_fields<std::string>(),
  23633. ptr, ctx);
  23634. CHK_(ptr != nullptr);
  23635. } // while
  23636. message_done:
  23637. _impl_._has_bits_.Or(has_bits);
  23638. return ptr;
  23639. failure:
  23640. ptr = nullptr;
  23641. goto message_done;
  23642. #undef CHK_
  23643. }
  23644. ::uint8_t* SpeakerInfos::_InternalSerialize(
  23645. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  23646. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
  23647. ::uint32_t cached_has_bits = 0;
  23648. (void) cached_has_bits;
  23649. cached_has_bits = _impl_._has_bits_[0];
  23650. // optional string deviceID = 1;
  23651. if (cached_has_bits & 0x00000001u) {
  23652. const std::string& _s = this->_internal_deviceid();
  23653. target = stream->WriteStringMaybeAliased(1, _s, target);
  23654. }
  23655. // optional string deviceName = 2;
  23656. if (cached_has_bits & 0x00000002u) {
  23657. const std::string& _s = this->_internal_devicename();
  23658. target = stream->WriteStringMaybeAliased(2, _s, target);
  23659. }
  23660. // optional bool isSelectedDevice = 3;
  23661. if (cached_has_bits & 0x00000004u) {
  23662. target = stream->EnsureSpace(target);
  23663. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  23664. 3, this->_internal_isselecteddevice(), target);
  23665. }
  23666. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  23667. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  23668. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  23669. }
  23670. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
  23671. return target;
  23672. }
  23673. ::size_t SpeakerInfos::ByteSizeLong() const {
  23674. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
  23675. ::size_t total_size = 0;
  23676. ::uint32_t cached_has_bits = 0;
  23677. // Prevent compiler warnings about cached_has_bits being unused
  23678. (void) cached_has_bits;
  23679. cached_has_bits = _impl_._has_bits_[0];
  23680. if (cached_has_bits & 0x00000007u) {
  23681. // optional string deviceID = 1;
  23682. if (cached_has_bits & 0x00000001u) {
  23683. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  23684. this->_internal_deviceid());
  23685. }
  23686. // optional string deviceName = 2;
  23687. if (cached_has_bits & 0x00000002u) {
  23688. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  23689. this->_internal_devicename());
  23690. }
  23691. // optional bool isSelectedDevice = 3;
  23692. if (cached_has_bits & 0x00000004u) {
  23693. total_size += 2;
  23694. }
  23695. }
  23696. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  23697. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  23698. }
  23699. int cached_size = ::_pbi::ToCachedSize(total_size);
  23700. SetCachedSize(cached_size);
  23701. return total_size;
  23702. }
  23703. void SpeakerInfos::CheckTypeAndMergeFrom(
  23704. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  23705. MergeFrom(*::_pbi::DownCast<const SpeakerInfos*>(
  23706. &from));
  23707. }
  23708. void SpeakerInfos::MergeFrom(const SpeakerInfos& from) {
  23709. SpeakerInfos* const _this = this;
  23710. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
  23711. ABSL_DCHECK_NE(&from, _this);
  23712. ::uint32_t cached_has_bits = 0;
  23713. (void) cached_has_bits;
  23714. cached_has_bits = from._impl_._has_bits_[0];
  23715. if (cached_has_bits & 0x00000007u) {
  23716. if (cached_has_bits & 0x00000001u) {
  23717. _this->_internal_set_deviceid(from._internal_deviceid());
  23718. }
  23719. if (cached_has_bits & 0x00000002u) {
  23720. _this->_internal_set_devicename(from._internal_devicename());
  23721. }
  23722. if (cached_has_bits & 0x00000004u) {
  23723. _this->_impl_.isselecteddevice_ = from._impl_.isselecteddevice_;
  23724. }
  23725. _this->_impl_._has_bits_[0] |= cached_has_bits;
  23726. }
  23727. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  23728. }
  23729. void SpeakerInfos::CopyFrom(const SpeakerInfos& from) {
  23730. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
  23731. if (&from == this) return;
  23732. Clear();
  23733. MergeFrom(from);
  23734. }
  23735. bool SpeakerInfos::IsInitialized() const {
  23736. return true;
  23737. }
  23738. void SpeakerInfos::InternalSwap(SpeakerInfos* other) {
  23739. using std::swap;
  23740. auto* lhs_arena = GetArenaForAllocation();
  23741. auto* rhs_arena = other->GetArenaForAllocation();
  23742. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  23743. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  23744. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceid_, lhs_arena,
  23745. &other->_impl_.deviceid_, rhs_arena);
  23746. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.devicename_, lhs_arena,
  23747. &other->_impl_.devicename_, rhs_arena);
  23748. swap(_impl_.isselecteddevice_, other->_impl_.isselecteddevice_);
  23749. }
  23750. std::string SpeakerInfos::GetTypeName() const {
  23751. return "com.electron.zoomvideo.sdk.proto.SpeakerInfos";
  23752. }
  23753. // ===================================================================
  23754. class GetSpeakerList::_Internal {
  23755. public:
  23756. };
  23757. GetSpeakerList::GetSpeakerList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  23758. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  23759. SharedCtor(arena);
  23760. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
  23761. }
  23762. GetSpeakerList::GetSpeakerList(const GetSpeakerList& from)
  23763. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  23764. GetSpeakerList* const _this = this; (void)_this;
  23765. new (&_impl_) Impl_{
  23766. decltype(_impl_.speakerinfo_){from._impl_.speakerinfo_}
  23767. , /*decltype(_impl_._cached_size_)*/{}};
  23768. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  23769. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
  23770. }
  23771. inline void GetSpeakerList::SharedCtor(::_pb::Arena* arena) {
  23772. (void)arena;
  23773. new (&_impl_) Impl_{
  23774. decltype(_impl_.speakerinfo_){arena}
  23775. , /*decltype(_impl_._cached_size_)*/{}
  23776. };
  23777. }
  23778. GetSpeakerList::~GetSpeakerList() {
  23779. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
  23780. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  23781. (void)arena;
  23782. return;
  23783. }
  23784. SharedDtor();
  23785. }
  23786. inline void GetSpeakerList::SharedDtor() {
  23787. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  23788. _impl_.speakerinfo_.~RepeatedPtrField();
  23789. }
  23790. void GetSpeakerList::SetCachedSize(int size) const {
  23791. _impl_._cached_size_.Set(size);
  23792. }
  23793. void GetSpeakerList::Clear() {
  23794. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
  23795. ::uint32_t cached_has_bits = 0;
  23796. // Prevent compiler warnings about cached_has_bits being unused
  23797. (void) cached_has_bits;
  23798. _impl_.speakerinfo_.Clear();
  23799. _internal_metadata_.Clear<std::string>();
  23800. }
  23801. const char* GetSpeakerList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  23802. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  23803. while (!ctx->Done(&ptr)) {
  23804. ::uint32_t tag;
  23805. ptr = ::_pbi::ReadTag(ptr, &tag);
  23806. switch (tag >> 3) {
  23807. // repeated .com.electron.zoomvideo.sdk.proto.SpeakerInfos SpeakerInfo = 1;
  23808. case 1:
  23809. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  23810. ptr -= 1;
  23811. do {
  23812. ptr += 1;
  23813. ptr = ctx->ParseMessage(_internal_add_speakerinfo(), ptr);
  23814. CHK_(ptr);
  23815. if (!ctx->DataAvailable(ptr)) break;
  23816. } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
  23817. } else {
  23818. goto handle_unusual;
  23819. }
  23820. continue;
  23821. default:
  23822. goto handle_unusual;
  23823. } // switch
  23824. handle_unusual:
  23825. if ((tag == 0) || ((tag & 7) == 4)) {
  23826. CHK_(ptr);
  23827. ctx->SetLastTag(tag);
  23828. goto message_done;
  23829. }
  23830. ptr = UnknownFieldParse(
  23831. tag,
  23832. _internal_metadata_.mutable_unknown_fields<std::string>(),
  23833. ptr, ctx);
  23834. CHK_(ptr != nullptr);
  23835. } // while
  23836. message_done:
  23837. return ptr;
  23838. failure:
  23839. ptr = nullptr;
  23840. goto message_done;
  23841. #undef CHK_
  23842. }
  23843. ::uint8_t* GetSpeakerList::_InternalSerialize(
  23844. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  23845. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
  23846. ::uint32_t cached_has_bits = 0;
  23847. (void) cached_has_bits;
  23848. // repeated .com.electron.zoomvideo.sdk.proto.SpeakerInfos SpeakerInfo = 1;
  23849. for (unsigned i = 0,
  23850. n = static_cast<unsigned>(this->_internal_speakerinfo_size()); i < n; i++) {
  23851. const auto& repfield = this->_internal_speakerinfo(i);
  23852. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  23853. InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
  23854. }
  23855. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  23856. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  23857. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  23858. }
  23859. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
  23860. return target;
  23861. }
  23862. ::size_t GetSpeakerList::ByteSizeLong() const {
  23863. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
  23864. ::size_t total_size = 0;
  23865. ::uint32_t cached_has_bits = 0;
  23866. // Prevent compiler warnings about cached_has_bits being unused
  23867. (void) cached_has_bits;
  23868. // repeated .com.electron.zoomvideo.sdk.proto.SpeakerInfos SpeakerInfo = 1;
  23869. total_size += 1UL * this->_internal_speakerinfo_size();
  23870. for (const auto& msg : this->_impl_.speakerinfo_) {
  23871. total_size +=
  23872. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
  23873. }
  23874. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  23875. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  23876. }
  23877. int cached_size = ::_pbi::ToCachedSize(total_size);
  23878. SetCachedSize(cached_size);
  23879. return total_size;
  23880. }
  23881. void GetSpeakerList::CheckTypeAndMergeFrom(
  23882. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  23883. MergeFrom(*::_pbi::DownCast<const GetSpeakerList*>(
  23884. &from));
  23885. }
  23886. void GetSpeakerList::MergeFrom(const GetSpeakerList& from) {
  23887. GetSpeakerList* const _this = this;
  23888. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
  23889. ABSL_DCHECK_NE(&from, _this);
  23890. ::uint32_t cached_has_bits = 0;
  23891. (void) cached_has_bits;
  23892. _this->_impl_.speakerinfo_.MergeFrom(from._impl_.speakerinfo_);
  23893. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  23894. }
  23895. void GetSpeakerList::CopyFrom(const GetSpeakerList& from) {
  23896. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
  23897. if (&from == this) return;
  23898. Clear();
  23899. MergeFrom(from);
  23900. }
  23901. bool GetSpeakerList::IsInitialized() const {
  23902. return true;
  23903. }
  23904. void GetSpeakerList::InternalSwap(GetSpeakerList* other) {
  23905. using std::swap;
  23906. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  23907. _impl_.speakerinfo_.InternalSwap(&other->_impl_.speakerinfo_);
  23908. }
  23909. std::string GetSpeakerList::GetTypeName() const {
  23910. return "com.electron.zoomvideo.sdk.proto.GetSpeakerList";
  23911. }
  23912. // ===================================================================
  23913. class SendCommandParams::_Internal {
  23914. public:
  23915. using HasBits = decltype(std::declval<SendCommandParams>()._impl_._has_bits_);
  23916. static constexpr ::int32_t kHasBitsOffset =
  23917. 8 * PROTOBUF_FIELD_OFFSET(SendCommandParams, _impl_._has_bits_);
  23918. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const SendCommandParams* msg);
  23919. static void set_has_user(HasBits* has_bits) {
  23920. (*has_bits)[0] |= 2u;
  23921. }
  23922. static void set_has_strcmd(HasBits* has_bits) {
  23923. (*has_bits)[0] |= 1u;
  23924. }
  23925. };
  23926. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  23927. SendCommandParams::_Internal::user(const SendCommandParams* msg) {
  23928. return *msg->_impl_.user_;
  23929. }
  23930. SendCommandParams::SendCommandParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  23931. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  23932. SharedCtor(arena);
  23933. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SendCommandParams)
  23934. }
  23935. SendCommandParams::SendCommandParams(const SendCommandParams& from)
  23936. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  23937. SendCommandParams* const _this = this; (void)_this;
  23938. new (&_impl_) Impl_{
  23939. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  23940. , /*decltype(_impl_._cached_size_)*/{}
  23941. , decltype(_impl_.strcmd_) {}
  23942. , decltype(_impl_.user_){nullptr}};
  23943. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  23944. _impl_.strcmd_.InitDefault();
  23945. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23946. _impl_.strcmd_.Set("", GetArenaForAllocation());
  23947. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23948. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  23949. _this->_impl_.strcmd_.Set(from._internal_strcmd(), _this->GetArenaForAllocation());
  23950. }
  23951. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  23952. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  23953. }
  23954. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SendCommandParams)
  23955. }
  23956. inline void SendCommandParams::SharedCtor(::_pb::Arena* arena) {
  23957. (void)arena;
  23958. new (&_impl_) Impl_{
  23959. decltype(_impl_._has_bits_){}
  23960. , /*decltype(_impl_._cached_size_)*/{}
  23961. , decltype(_impl_.strcmd_) {}
  23962. , decltype(_impl_.user_){nullptr}
  23963. };
  23964. _impl_.strcmd_.InitDefault();
  23965. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23966. _impl_.strcmd_.Set("", GetArenaForAllocation());
  23967. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  23968. }
  23969. SendCommandParams::~SendCommandParams() {
  23970. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SendCommandParams)
  23971. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  23972. (void)arena;
  23973. return;
  23974. }
  23975. SharedDtor();
  23976. }
  23977. inline void SendCommandParams::SharedDtor() {
  23978. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  23979. _impl_.strcmd_.Destroy();
  23980. if (this != internal_default_instance()) delete _impl_.user_;
  23981. }
  23982. void SendCommandParams::SetCachedSize(int size) const {
  23983. _impl_._cached_size_.Set(size);
  23984. }
  23985. void SendCommandParams::Clear() {
  23986. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SendCommandParams)
  23987. ::uint32_t cached_has_bits = 0;
  23988. // Prevent compiler warnings about cached_has_bits being unused
  23989. (void) cached_has_bits;
  23990. cached_has_bits = _impl_._has_bits_[0];
  23991. if (cached_has_bits & 0x00000003u) {
  23992. if (cached_has_bits & 0x00000001u) {
  23993. _impl_.strcmd_.ClearNonDefaultToEmpty();
  23994. }
  23995. if (cached_has_bits & 0x00000002u) {
  23996. ABSL_DCHECK(_impl_.user_ != nullptr);
  23997. _impl_.user_->Clear();
  23998. }
  23999. }
  24000. _impl_._has_bits_.Clear();
  24001. _internal_metadata_.Clear<std::string>();
  24002. }
  24003. const char* SendCommandParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  24004. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  24005. _Internal::HasBits has_bits{};
  24006. while (!ctx->Done(&ptr)) {
  24007. ::uint32_t tag;
  24008. ptr = ::_pbi::ReadTag(ptr, &tag);
  24009. switch (tag >> 3) {
  24010. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  24011. case 1:
  24012. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  24013. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  24014. CHK_(ptr);
  24015. } else {
  24016. goto handle_unusual;
  24017. }
  24018. continue;
  24019. // optional string strCmd = 2;
  24020. case 2:
  24021. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  24022. auto str = _internal_mutable_strcmd();
  24023. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  24024. CHK_(ptr);
  24025. } else {
  24026. goto handle_unusual;
  24027. }
  24028. continue;
  24029. default:
  24030. goto handle_unusual;
  24031. } // switch
  24032. handle_unusual:
  24033. if ((tag == 0) || ((tag & 7) == 4)) {
  24034. CHK_(ptr);
  24035. ctx->SetLastTag(tag);
  24036. goto message_done;
  24037. }
  24038. ptr = UnknownFieldParse(
  24039. tag,
  24040. _internal_metadata_.mutable_unknown_fields<std::string>(),
  24041. ptr, ctx);
  24042. CHK_(ptr != nullptr);
  24043. } // while
  24044. message_done:
  24045. _impl_._has_bits_.Or(has_bits);
  24046. return ptr;
  24047. failure:
  24048. ptr = nullptr;
  24049. goto message_done;
  24050. #undef CHK_
  24051. }
  24052. ::uint8_t* SendCommandParams::_InternalSerialize(
  24053. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  24054. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SendCommandParams)
  24055. ::uint32_t cached_has_bits = 0;
  24056. (void) cached_has_bits;
  24057. cached_has_bits = _impl_._has_bits_[0];
  24058. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  24059. if (cached_has_bits & 0x00000002u) {
  24060. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  24061. InternalWriteMessage(1, _Internal::user(this),
  24062. _Internal::user(this).GetCachedSize(), target, stream);
  24063. }
  24064. // optional string strCmd = 2;
  24065. if (cached_has_bits & 0x00000001u) {
  24066. const std::string& _s = this->_internal_strcmd();
  24067. target = stream->WriteStringMaybeAliased(2, _s, target);
  24068. }
  24069. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  24070. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  24071. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  24072. }
  24073. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SendCommandParams)
  24074. return target;
  24075. }
  24076. ::size_t SendCommandParams::ByteSizeLong() const {
  24077. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SendCommandParams)
  24078. ::size_t total_size = 0;
  24079. ::uint32_t cached_has_bits = 0;
  24080. // Prevent compiler warnings about cached_has_bits being unused
  24081. (void) cached_has_bits;
  24082. cached_has_bits = _impl_._has_bits_[0];
  24083. if (cached_has_bits & 0x00000003u) {
  24084. // optional string strCmd = 2;
  24085. if (cached_has_bits & 0x00000001u) {
  24086. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  24087. this->_internal_strcmd());
  24088. }
  24089. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  24090. if (cached_has_bits & 0x00000002u) {
  24091. total_size += 1 +
  24092. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  24093. *_impl_.user_);
  24094. }
  24095. }
  24096. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  24097. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  24098. }
  24099. int cached_size = ::_pbi::ToCachedSize(total_size);
  24100. SetCachedSize(cached_size);
  24101. return total_size;
  24102. }
  24103. void SendCommandParams::CheckTypeAndMergeFrom(
  24104. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  24105. MergeFrom(*::_pbi::DownCast<const SendCommandParams*>(
  24106. &from));
  24107. }
  24108. void SendCommandParams::MergeFrom(const SendCommandParams& from) {
  24109. SendCommandParams* const _this = this;
  24110. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SendCommandParams)
  24111. ABSL_DCHECK_NE(&from, _this);
  24112. ::uint32_t cached_has_bits = 0;
  24113. (void) cached_has_bits;
  24114. cached_has_bits = from._impl_._has_bits_[0];
  24115. if (cached_has_bits & 0x00000003u) {
  24116. if (cached_has_bits & 0x00000001u) {
  24117. _this->_internal_set_strcmd(from._internal_strcmd());
  24118. }
  24119. if (cached_has_bits & 0x00000002u) {
  24120. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  24121. from._internal_user());
  24122. }
  24123. }
  24124. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  24125. }
  24126. void SendCommandParams::CopyFrom(const SendCommandParams& from) {
  24127. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SendCommandParams)
  24128. if (&from == this) return;
  24129. Clear();
  24130. MergeFrom(from);
  24131. }
  24132. bool SendCommandParams::IsInitialized() const {
  24133. return true;
  24134. }
  24135. void SendCommandParams::InternalSwap(SendCommandParams* other) {
  24136. using std::swap;
  24137. auto* lhs_arena = GetArenaForAllocation();
  24138. auto* rhs_arena = other->GetArenaForAllocation();
  24139. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  24140. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  24141. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.strcmd_, lhs_arena,
  24142. &other->_impl_.strcmd_, rhs_arena);
  24143. swap(_impl_.user_, other->_impl_.user_);
  24144. }
  24145. std::string SendCommandParams::GetTypeName() const {
  24146. return "com.electron.zoomvideo.sdk.proto.SendCommandParams";
  24147. }
  24148. // ===================================================================
  24149. class PhoneSupportCountryInfos::_Internal {
  24150. public:
  24151. using HasBits = decltype(std::declval<PhoneSupportCountryInfos>()._impl_._has_bits_);
  24152. static constexpr ::int32_t kHasBitsOffset =
  24153. 8 * PROTOBUF_FIELD_OFFSET(PhoneSupportCountryInfos, _impl_._has_bits_);
  24154. static void set_has_countryid(HasBits* has_bits) {
  24155. (*has_bits)[0] |= 1u;
  24156. }
  24157. static void set_has_countryname(HasBits* has_bits) {
  24158. (*has_bits)[0] |= 2u;
  24159. }
  24160. static void set_has_countrycode(HasBits* has_bits) {
  24161. (*has_bits)[0] |= 4u;
  24162. }
  24163. };
  24164. PhoneSupportCountryInfos::PhoneSupportCountryInfos(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  24165. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  24166. SharedCtor(arena);
  24167. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
  24168. }
  24169. PhoneSupportCountryInfos::PhoneSupportCountryInfos(const PhoneSupportCountryInfos& from)
  24170. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  24171. PhoneSupportCountryInfos* const _this = this; (void)_this;
  24172. new (&_impl_) Impl_{
  24173. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  24174. , /*decltype(_impl_._cached_size_)*/{}
  24175. , decltype(_impl_.countryid_) {}
  24176. , decltype(_impl_.countryname_) {}
  24177. , decltype(_impl_.countrycode_) {}
  24178. };
  24179. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  24180. _impl_.countryid_.InitDefault();
  24181. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24182. _impl_.countryid_.Set("", GetArenaForAllocation());
  24183. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24184. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  24185. _this->_impl_.countryid_.Set(from._internal_countryid(), _this->GetArenaForAllocation());
  24186. }
  24187. _impl_.countryname_.InitDefault();
  24188. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24189. _impl_.countryname_.Set("", GetArenaForAllocation());
  24190. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24191. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  24192. _this->_impl_.countryname_.Set(from._internal_countryname(), _this->GetArenaForAllocation());
  24193. }
  24194. _impl_.countrycode_.InitDefault();
  24195. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24196. _impl_.countrycode_.Set("", GetArenaForAllocation());
  24197. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24198. if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
  24199. _this->_impl_.countrycode_.Set(from._internal_countrycode(), _this->GetArenaForAllocation());
  24200. }
  24201. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
  24202. }
  24203. inline void PhoneSupportCountryInfos::SharedCtor(::_pb::Arena* arena) {
  24204. (void)arena;
  24205. new (&_impl_) Impl_{
  24206. decltype(_impl_._has_bits_){}
  24207. , /*decltype(_impl_._cached_size_)*/{}
  24208. , decltype(_impl_.countryid_) {}
  24209. , decltype(_impl_.countryname_) {}
  24210. , decltype(_impl_.countrycode_) {}
  24211. };
  24212. _impl_.countryid_.InitDefault();
  24213. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24214. _impl_.countryid_.Set("", GetArenaForAllocation());
  24215. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24216. _impl_.countryname_.InitDefault();
  24217. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24218. _impl_.countryname_.Set("", GetArenaForAllocation());
  24219. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24220. _impl_.countrycode_.InitDefault();
  24221. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24222. _impl_.countrycode_.Set("", GetArenaForAllocation());
  24223. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24224. }
  24225. PhoneSupportCountryInfos::~PhoneSupportCountryInfos() {
  24226. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
  24227. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  24228. (void)arena;
  24229. return;
  24230. }
  24231. SharedDtor();
  24232. }
  24233. inline void PhoneSupportCountryInfos::SharedDtor() {
  24234. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  24235. _impl_.countryid_.Destroy();
  24236. _impl_.countryname_.Destroy();
  24237. _impl_.countrycode_.Destroy();
  24238. }
  24239. void PhoneSupportCountryInfos::SetCachedSize(int size) const {
  24240. _impl_._cached_size_.Set(size);
  24241. }
  24242. void PhoneSupportCountryInfos::Clear() {
  24243. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
  24244. ::uint32_t cached_has_bits = 0;
  24245. // Prevent compiler warnings about cached_has_bits being unused
  24246. (void) cached_has_bits;
  24247. cached_has_bits = _impl_._has_bits_[0];
  24248. if (cached_has_bits & 0x00000007u) {
  24249. if (cached_has_bits & 0x00000001u) {
  24250. _impl_.countryid_.ClearNonDefaultToEmpty();
  24251. }
  24252. if (cached_has_bits & 0x00000002u) {
  24253. _impl_.countryname_.ClearNonDefaultToEmpty();
  24254. }
  24255. if (cached_has_bits & 0x00000004u) {
  24256. _impl_.countrycode_.ClearNonDefaultToEmpty();
  24257. }
  24258. }
  24259. _impl_._has_bits_.Clear();
  24260. _internal_metadata_.Clear<std::string>();
  24261. }
  24262. const char* PhoneSupportCountryInfos::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  24263. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  24264. _Internal::HasBits has_bits{};
  24265. while (!ctx->Done(&ptr)) {
  24266. ::uint32_t tag;
  24267. ptr = ::_pbi::ReadTag(ptr, &tag);
  24268. switch (tag >> 3) {
  24269. // optional string countryID = 1;
  24270. case 1:
  24271. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  24272. auto str = _internal_mutable_countryid();
  24273. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  24274. CHK_(ptr);
  24275. } else {
  24276. goto handle_unusual;
  24277. }
  24278. continue;
  24279. // optional string countryName = 2;
  24280. case 2:
  24281. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  24282. auto str = _internal_mutable_countryname();
  24283. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  24284. CHK_(ptr);
  24285. } else {
  24286. goto handle_unusual;
  24287. }
  24288. continue;
  24289. // optional string countryCode = 3;
  24290. case 3:
  24291. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
  24292. auto str = _internal_mutable_countrycode();
  24293. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  24294. CHK_(ptr);
  24295. } else {
  24296. goto handle_unusual;
  24297. }
  24298. continue;
  24299. default:
  24300. goto handle_unusual;
  24301. } // switch
  24302. handle_unusual:
  24303. if ((tag == 0) || ((tag & 7) == 4)) {
  24304. CHK_(ptr);
  24305. ctx->SetLastTag(tag);
  24306. goto message_done;
  24307. }
  24308. ptr = UnknownFieldParse(
  24309. tag,
  24310. _internal_metadata_.mutable_unknown_fields<std::string>(),
  24311. ptr, ctx);
  24312. CHK_(ptr != nullptr);
  24313. } // while
  24314. message_done:
  24315. _impl_._has_bits_.Or(has_bits);
  24316. return ptr;
  24317. failure:
  24318. ptr = nullptr;
  24319. goto message_done;
  24320. #undef CHK_
  24321. }
  24322. ::uint8_t* PhoneSupportCountryInfos::_InternalSerialize(
  24323. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  24324. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
  24325. ::uint32_t cached_has_bits = 0;
  24326. (void) cached_has_bits;
  24327. cached_has_bits = _impl_._has_bits_[0];
  24328. // optional string countryID = 1;
  24329. if (cached_has_bits & 0x00000001u) {
  24330. const std::string& _s = this->_internal_countryid();
  24331. target = stream->WriteStringMaybeAliased(1, _s, target);
  24332. }
  24333. // optional string countryName = 2;
  24334. if (cached_has_bits & 0x00000002u) {
  24335. const std::string& _s = this->_internal_countryname();
  24336. target = stream->WriteStringMaybeAliased(2, _s, target);
  24337. }
  24338. // optional string countryCode = 3;
  24339. if (cached_has_bits & 0x00000004u) {
  24340. const std::string& _s = this->_internal_countrycode();
  24341. target = stream->WriteStringMaybeAliased(3, _s, target);
  24342. }
  24343. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  24344. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  24345. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  24346. }
  24347. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
  24348. return target;
  24349. }
  24350. ::size_t PhoneSupportCountryInfos::ByteSizeLong() const {
  24351. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
  24352. ::size_t total_size = 0;
  24353. ::uint32_t cached_has_bits = 0;
  24354. // Prevent compiler warnings about cached_has_bits being unused
  24355. (void) cached_has_bits;
  24356. cached_has_bits = _impl_._has_bits_[0];
  24357. if (cached_has_bits & 0x00000007u) {
  24358. // optional string countryID = 1;
  24359. if (cached_has_bits & 0x00000001u) {
  24360. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  24361. this->_internal_countryid());
  24362. }
  24363. // optional string countryName = 2;
  24364. if (cached_has_bits & 0x00000002u) {
  24365. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  24366. this->_internal_countryname());
  24367. }
  24368. // optional string countryCode = 3;
  24369. if (cached_has_bits & 0x00000004u) {
  24370. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  24371. this->_internal_countrycode());
  24372. }
  24373. }
  24374. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  24375. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  24376. }
  24377. int cached_size = ::_pbi::ToCachedSize(total_size);
  24378. SetCachedSize(cached_size);
  24379. return total_size;
  24380. }
  24381. void PhoneSupportCountryInfos::CheckTypeAndMergeFrom(
  24382. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  24383. MergeFrom(*::_pbi::DownCast<const PhoneSupportCountryInfos*>(
  24384. &from));
  24385. }
  24386. void PhoneSupportCountryInfos::MergeFrom(const PhoneSupportCountryInfos& from) {
  24387. PhoneSupportCountryInfos* const _this = this;
  24388. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
  24389. ABSL_DCHECK_NE(&from, _this);
  24390. ::uint32_t cached_has_bits = 0;
  24391. (void) cached_has_bits;
  24392. cached_has_bits = from._impl_._has_bits_[0];
  24393. if (cached_has_bits & 0x00000007u) {
  24394. if (cached_has_bits & 0x00000001u) {
  24395. _this->_internal_set_countryid(from._internal_countryid());
  24396. }
  24397. if (cached_has_bits & 0x00000002u) {
  24398. _this->_internal_set_countryname(from._internal_countryname());
  24399. }
  24400. if (cached_has_bits & 0x00000004u) {
  24401. _this->_internal_set_countrycode(from._internal_countrycode());
  24402. }
  24403. }
  24404. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  24405. }
  24406. void PhoneSupportCountryInfos::CopyFrom(const PhoneSupportCountryInfos& from) {
  24407. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
  24408. if (&from == this) return;
  24409. Clear();
  24410. MergeFrom(from);
  24411. }
  24412. bool PhoneSupportCountryInfos::IsInitialized() const {
  24413. return true;
  24414. }
  24415. void PhoneSupportCountryInfos::InternalSwap(PhoneSupportCountryInfos* other) {
  24416. using std::swap;
  24417. auto* lhs_arena = GetArenaForAllocation();
  24418. auto* rhs_arena = other->GetArenaForAllocation();
  24419. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  24420. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  24421. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.countryid_, lhs_arena,
  24422. &other->_impl_.countryid_, rhs_arena);
  24423. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.countryname_, lhs_arena,
  24424. &other->_impl_.countryname_, rhs_arena);
  24425. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.countrycode_, lhs_arena,
  24426. &other->_impl_.countrycode_, rhs_arena);
  24427. }
  24428. std::string PhoneSupportCountryInfos::GetTypeName() const {
  24429. return "com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos";
  24430. }
  24431. // ===================================================================
  24432. class GetPhoneSupportCountryList::_Internal {
  24433. public:
  24434. };
  24435. GetPhoneSupportCountryList::GetPhoneSupportCountryList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  24436. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  24437. SharedCtor(arena);
  24438. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
  24439. }
  24440. GetPhoneSupportCountryList::GetPhoneSupportCountryList(const GetPhoneSupportCountryList& from)
  24441. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  24442. GetPhoneSupportCountryList* const _this = this; (void)_this;
  24443. new (&_impl_) Impl_{
  24444. decltype(_impl_.phonesupportcountryinfo_){from._impl_.phonesupportcountryinfo_}
  24445. , /*decltype(_impl_._cached_size_)*/{}};
  24446. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  24447. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
  24448. }
  24449. inline void GetPhoneSupportCountryList::SharedCtor(::_pb::Arena* arena) {
  24450. (void)arena;
  24451. new (&_impl_) Impl_{
  24452. decltype(_impl_.phonesupportcountryinfo_){arena}
  24453. , /*decltype(_impl_._cached_size_)*/{}
  24454. };
  24455. }
  24456. GetPhoneSupportCountryList::~GetPhoneSupportCountryList() {
  24457. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
  24458. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  24459. (void)arena;
  24460. return;
  24461. }
  24462. SharedDtor();
  24463. }
  24464. inline void GetPhoneSupportCountryList::SharedDtor() {
  24465. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  24466. _impl_.phonesupportcountryinfo_.~RepeatedPtrField();
  24467. }
  24468. void GetPhoneSupportCountryList::SetCachedSize(int size) const {
  24469. _impl_._cached_size_.Set(size);
  24470. }
  24471. void GetPhoneSupportCountryList::Clear() {
  24472. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
  24473. ::uint32_t cached_has_bits = 0;
  24474. // Prevent compiler warnings about cached_has_bits being unused
  24475. (void) cached_has_bits;
  24476. _impl_.phonesupportcountryinfo_.Clear();
  24477. _internal_metadata_.Clear<std::string>();
  24478. }
  24479. const char* GetPhoneSupportCountryList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  24480. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  24481. while (!ctx->Done(&ptr)) {
  24482. ::uint32_t tag;
  24483. ptr = ::_pbi::ReadTag(ptr, &tag);
  24484. switch (tag >> 3) {
  24485. // repeated .com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos PhoneSupportCountryInfo = 1;
  24486. case 1:
  24487. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  24488. ptr -= 1;
  24489. do {
  24490. ptr += 1;
  24491. ptr = ctx->ParseMessage(_internal_add_phonesupportcountryinfo(), ptr);
  24492. CHK_(ptr);
  24493. if (!ctx->DataAvailable(ptr)) break;
  24494. } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
  24495. } else {
  24496. goto handle_unusual;
  24497. }
  24498. continue;
  24499. default:
  24500. goto handle_unusual;
  24501. } // switch
  24502. handle_unusual:
  24503. if ((tag == 0) || ((tag & 7) == 4)) {
  24504. CHK_(ptr);
  24505. ctx->SetLastTag(tag);
  24506. goto message_done;
  24507. }
  24508. ptr = UnknownFieldParse(
  24509. tag,
  24510. _internal_metadata_.mutable_unknown_fields<std::string>(),
  24511. ptr, ctx);
  24512. CHK_(ptr != nullptr);
  24513. } // while
  24514. message_done:
  24515. return ptr;
  24516. failure:
  24517. ptr = nullptr;
  24518. goto message_done;
  24519. #undef CHK_
  24520. }
  24521. ::uint8_t* GetPhoneSupportCountryList::_InternalSerialize(
  24522. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  24523. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
  24524. ::uint32_t cached_has_bits = 0;
  24525. (void) cached_has_bits;
  24526. // repeated .com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos PhoneSupportCountryInfo = 1;
  24527. for (unsigned i = 0,
  24528. n = static_cast<unsigned>(this->_internal_phonesupportcountryinfo_size()); i < n; i++) {
  24529. const auto& repfield = this->_internal_phonesupportcountryinfo(i);
  24530. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  24531. InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
  24532. }
  24533. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  24534. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  24535. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  24536. }
  24537. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
  24538. return target;
  24539. }
  24540. ::size_t GetPhoneSupportCountryList::ByteSizeLong() const {
  24541. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
  24542. ::size_t total_size = 0;
  24543. ::uint32_t cached_has_bits = 0;
  24544. // Prevent compiler warnings about cached_has_bits being unused
  24545. (void) cached_has_bits;
  24546. // repeated .com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos PhoneSupportCountryInfo = 1;
  24547. total_size += 1UL * this->_internal_phonesupportcountryinfo_size();
  24548. for (const auto& msg : this->_impl_.phonesupportcountryinfo_) {
  24549. total_size +=
  24550. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
  24551. }
  24552. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  24553. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  24554. }
  24555. int cached_size = ::_pbi::ToCachedSize(total_size);
  24556. SetCachedSize(cached_size);
  24557. return total_size;
  24558. }
  24559. void GetPhoneSupportCountryList::CheckTypeAndMergeFrom(
  24560. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  24561. MergeFrom(*::_pbi::DownCast<const GetPhoneSupportCountryList*>(
  24562. &from));
  24563. }
  24564. void GetPhoneSupportCountryList::MergeFrom(const GetPhoneSupportCountryList& from) {
  24565. GetPhoneSupportCountryList* const _this = this;
  24566. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
  24567. ABSL_DCHECK_NE(&from, _this);
  24568. ::uint32_t cached_has_bits = 0;
  24569. (void) cached_has_bits;
  24570. _this->_impl_.phonesupportcountryinfo_.MergeFrom(from._impl_.phonesupportcountryinfo_);
  24571. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  24572. }
  24573. void GetPhoneSupportCountryList::CopyFrom(const GetPhoneSupportCountryList& from) {
  24574. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
  24575. if (&from == this) return;
  24576. Clear();
  24577. MergeFrom(from);
  24578. }
  24579. bool GetPhoneSupportCountryList::IsInitialized() const {
  24580. return true;
  24581. }
  24582. void GetPhoneSupportCountryList::InternalSwap(GetPhoneSupportCountryList* other) {
  24583. using std::swap;
  24584. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  24585. _impl_.phonesupportcountryinfo_.InternalSwap(&other->_impl_.phonesupportcountryinfo_);
  24586. }
  24587. std::string GetPhoneSupportCountryList::GetTypeName() const {
  24588. return "com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList";
  24589. }
  24590. // ===================================================================
  24591. class InviteByPhoneParams::_Internal {
  24592. public:
  24593. using HasBits = decltype(std::declval<InviteByPhoneParams>()._impl_._has_bits_);
  24594. static constexpr ::int32_t kHasBitsOffset =
  24595. 8 * PROTOBUF_FIELD_OFFSET(InviteByPhoneParams, _impl_._has_bits_);
  24596. static void set_has_countrycode(HasBits* has_bits) {
  24597. (*has_bits)[0] |= 1u;
  24598. }
  24599. static void set_has_phonenumber(HasBits* has_bits) {
  24600. (*has_bits)[0] |= 2u;
  24601. }
  24602. static void set_has_name(HasBits* has_bits) {
  24603. (*has_bits)[0] |= 4u;
  24604. }
  24605. };
  24606. InviteByPhoneParams::InviteByPhoneParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  24607. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  24608. SharedCtor(arena);
  24609. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
  24610. }
  24611. InviteByPhoneParams::InviteByPhoneParams(const InviteByPhoneParams& from)
  24612. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  24613. InviteByPhoneParams* const _this = this; (void)_this;
  24614. new (&_impl_) Impl_{
  24615. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  24616. , /*decltype(_impl_._cached_size_)*/{}
  24617. , decltype(_impl_.countrycode_) {}
  24618. , decltype(_impl_.phonenumber_) {}
  24619. , decltype(_impl_.name_) {}
  24620. };
  24621. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  24622. _impl_.countrycode_.InitDefault();
  24623. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24624. _impl_.countrycode_.Set("", GetArenaForAllocation());
  24625. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24626. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  24627. _this->_impl_.countrycode_.Set(from._internal_countrycode(), _this->GetArenaForAllocation());
  24628. }
  24629. _impl_.phonenumber_.InitDefault();
  24630. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24631. _impl_.phonenumber_.Set("", GetArenaForAllocation());
  24632. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24633. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  24634. _this->_impl_.phonenumber_.Set(from._internal_phonenumber(), _this->GetArenaForAllocation());
  24635. }
  24636. _impl_.name_.InitDefault();
  24637. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24638. _impl_.name_.Set("", GetArenaForAllocation());
  24639. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24640. if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
  24641. _this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation());
  24642. }
  24643. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
  24644. }
  24645. inline void InviteByPhoneParams::SharedCtor(::_pb::Arena* arena) {
  24646. (void)arena;
  24647. new (&_impl_) Impl_{
  24648. decltype(_impl_._has_bits_){}
  24649. , /*decltype(_impl_._cached_size_)*/{}
  24650. , decltype(_impl_.countrycode_) {}
  24651. , decltype(_impl_.phonenumber_) {}
  24652. , decltype(_impl_.name_) {}
  24653. };
  24654. _impl_.countrycode_.InitDefault();
  24655. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24656. _impl_.countrycode_.Set("", GetArenaForAllocation());
  24657. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24658. _impl_.phonenumber_.InitDefault();
  24659. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24660. _impl_.phonenumber_.Set("", GetArenaForAllocation());
  24661. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24662. _impl_.name_.InitDefault();
  24663. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24664. _impl_.name_.Set("", GetArenaForAllocation());
  24665. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  24666. }
  24667. InviteByPhoneParams::~InviteByPhoneParams() {
  24668. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
  24669. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  24670. (void)arena;
  24671. return;
  24672. }
  24673. SharedDtor();
  24674. }
  24675. inline void InviteByPhoneParams::SharedDtor() {
  24676. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  24677. _impl_.countrycode_.Destroy();
  24678. _impl_.phonenumber_.Destroy();
  24679. _impl_.name_.Destroy();
  24680. }
  24681. void InviteByPhoneParams::SetCachedSize(int size) const {
  24682. _impl_._cached_size_.Set(size);
  24683. }
  24684. void InviteByPhoneParams::Clear() {
  24685. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
  24686. ::uint32_t cached_has_bits = 0;
  24687. // Prevent compiler warnings about cached_has_bits being unused
  24688. (void) cached_has_bits;
  24689. cached_has_bits = _impl_._has_bits_[0];
  24690. if (cached_has_bits & 0x00000007u) {
  24691. if (cached_has_bits & 0x00000001u) {
  24692. _impl_.countrycode_.ClearNonDefaultToEmpty();
  24693. }
  24694. if (cached_has_bits & 0x00000002u) {
  24695. _impl_.phonenumber_.ClearNonDefaultToEmpty();
  24696. }
  24697. if (cached_has_bits & 0x00000004u) {
  24698. _impl_.name_.ClearNonDefaultToEmpty();
  24699. }
  24700. }
  24701. _impl_._has_bits_.Clear();
  24702. _internal_metadata_.Clear<std::string>();
  24703. }
  24704. const char* InviteByPhoneParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  24705. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  24706. _Internal::HasBits has_bits{};
  24707. while (!ctx->Done(&ptr)) {
  24708. ::uint32_t tag;
  24709. ptr = ::_pbi::ReadTag(ptr, &tag);
  24710. switch (tag >> 3) {
  24711. // optional string countryCode = 1;
  24712. case 1:
  24713. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  24714. auto str = _internal_mutable_countrycode();
  24715. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  24716. CHK_(ptr);
  24717. } else {
  24718. goto handle_unusual;
  24719. }
  24720. continue;
  24721. // optional string phoneNumber = 2;
  24722. case 2:
  24723. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  24724. auto str = _internal_mutable_phonenumber();
  24725. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  24726. CHK_(ptr);
  24727. } else {
  24728. goto handle_unusual;
  24729. }
  24730. continue;
  24731. // optional string name = 3;
  24732. case 3:
  24733. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
  24734. auto str = _internal_mutable_name();
  24735. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  24736. CHK_(ptr);
  24737. } else {
  24738. goto handle_unusual;
  24739. }
  24740. continue;
  24741. default:
  24742. goto handle_unusual;
  24743. } // switch
  24744. handle_unusual:
  24745. if ((tag == 0) || ((tag & 7) == 4)) {
  24746. CHK_(ptr);
  24747. ctx->SetLastTag(tag);
  24748. goto message_done;
  24749. }
  24750. ptr = UnknownFieldParse(
  24751. tag,
  24752. _internal_metadata_.mutable_unknown_fields<std::string>(),
  24753. ptr, ctx);
  24754. CHK_(ptr != nullptr);
  24755. } // while
  24756. message_done:
  24757. _impl_._has_bits_.Or(has_bits);
  24758. return ptr;
  24759. failure:
  24760. ptr = nullptr;
  24761. goto message_done;
  24762. #undef CHK_
  24763. }
  24764. ::uint8_t* InviteByPhoneParams::_InternalSerialize(
  24765. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  24766. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
  24767. ::uint32_t cached_has_bits = 0;
  24768. (void) cached_has_bits;
  24769. cached_has_bits = _impl_._has_bits_[0];
  24770. // optional string countryCode = 1;
  24771. if (cached_has_bits & 0x00000001u) {
  24772. const std::string& _s = this->_internal_countrycode();
  24773. target = stream->WriteStringMaybeAliased(1, _s, target);
  24774. }
  24775. // optional string phoneNumber = 2;
  24776. if (cached_has_bits & 0x00000002u) {
  24777. const std::string& _s = this->_internal_phonenumber();
  24778. target = stream->WriteStringMaybeAliased(2, _s, target);
  24779. }
  24780. // optional string name = 3;
  24781. if (cached_has_bits & 0x00000004u) {
  24782. const std::string& _s = this->_internal_name();
  24783. target = stream->WriteStringMaybeAliased(3, _s, target);
  24784. }
  24785. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  24786. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  24787. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  24788. }
  24789. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
  24790. return target;
  24791. }
  24792. ::size_t InviteByPhoneParams::ByteSizeLong() const {
  24793. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
  24794. ::size_t total_size = 0;
  24795. ::uint32_t cached_has_bits = 0;
  24796. // Prevent compiler warnings about cached_has_bits being unused
  24797. (void) cached_has_bits;
  24798. cached_has_bits = _impl_._has_bits_[0];
  24799. if (cached_has_bits & 0x00000007u) {
  24800. // optional string countryCode = 1;
  24801. if (cached_has_bits & 0x00000001u) {
  24802. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  24803. this->_internal_countrycode());
  24804. }
  24805. // optional string phoneNumber = 2;
  24806. if (cached_has_bits & 0x00000002u) {
  24807. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  24808. this->_internal_phonenumber());
  24809. }
  24810. // optional string name = 3;
  24811. if (cached_has_bits & 0x00000004u) {
  24812. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  24813. this->_internal_name());
  24814. }
  24815. }
  24816. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  24817. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  24818. }
  24819. int cached_size = ::_pbi::ToCachedSize(total_size);
  24820. SetCachedSize(cached_size);
  24821. return total_size;
  24822. }
  24823. void InviteByPhoneParams::CheckTypeAndMergeFrom(
  24824. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  24825. MergeFrom(*::_pbi::DownCast<const InviteByPhoneParams*>(
  24826. &from));
  24827. }
  24828. void InviteByPhoneParams::MergeFrom(const InviteByPhoneParams& from) {
  24829. InviteByPhoneParams* const _this = this;
  24830. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
  24831. ABSL_DCHECK_NE(&from, _this);
  24832. ::uint32_t cached_has_bits = 0;
  24833. (void) cached_has_bits;
  24834. cached_has_bits = from._impl_._has_bits_[0];
  24835. if (cached_has_bits & 0x00000007u) {
  24836. if (cached_has_bits & 0x00000001u) {
  24837. _this->_internal_set_countrycode(from._internal_countrycode());
  24838. }
  24839. if (cached_has_bits & 0x00000002u) {
  24840. _this->_internal_set_phonenumber(from._internal_phonenumber());
  24841. }
  24842. if (cached_has_bits & 0x00000004u) {
  24843. _this->_internal_set_name(from._internal_name());
  24844. }
  24845. }
  24846. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  24847. }
  24848. void InviteByPhoneParams::CopyFrom(const InviteByPhoneParams& from) {
  24849. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
  24850. if (&from == this) return;
  24851. Clear();
  24852. MergeFrom(from);
  24853. }
  24854. bool InviteByPhoneParams::IsInitialized() const {
  24855. return true;
  24856. }
  24857. void InviteByPhoneParams::InternalSwap(InviteByPhoneParams* other) {
  24858. using std::swap;
  24859. auto* lhs_arena = GetArenaForAllocation();
  24860. auto* rhs_arena = other->GetArenaForAllocation();
  24861. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  24862. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  24863. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.countrycode_, lhs_arena,
  24864. &other->_impl_.countrycode_, rhs_arena);
  24865. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.phonenumber_, lhs_arena,
  24866. &other->_impl_.phonenumber_, rhs_arena);
  24867. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
  24868. &other->_impl_.name_, rhs_arena);
  24869. }
  24870. std::string InviteByPhoneParams::GetTypeName() const {
  24871. return "com.electron.zoomvideo.sdk.proto.InviteByPhoneParams";
  24872. }
  24873. // ===================================================================
  24874. class LocalCameraCtrlTurnLeftParams::_Internal {
  24875. public:
  24876. using HasBits = decltype(std::declval<LocalCameraCtrlTurnLeftParams>()._impl_._has_bits_);
  24877. static constexpr ::int32_t kHasBitsOffset =
  24878. 8 * PROTOBUF_FIELD_OFFSET(LocalCameraCtrlTurnLeftParams, _impl_._has_bits_);
  24879. static void set_has_range(HasBits* has_bits) {
  24880. (*has_bits)[0] |= 1u;
  24881. }
  24882. };
  24883. LocalCameraCtrlTurnLeftParams::LocalCameraCtrlTurnLeftParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  24884. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  24885. SharedCtor(arena);
  24886. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
  24887. }
  24888. LocalCameraCtrlTurnLeftParams::LocalCameraCtrlTurnLeftParams(const LocalCameraCtrlTurnLeftParams& from)
  24889. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  24890. _internal_metadata_.MergeFrom<std::string>(
  24891. from._internal_metadata_);
  24892. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
  24893. }
  24894. inline void LocalCameraCtrlTurnLeftParams::SharedCtor(::_pb::Arena* arena) {
  24895. (void)arena;
  24896. new (&_impl_) Impl_{
  24897. decltype(_impl_._has_bits_){}
  24898. , /*decltype(_impl_._cached_size_)*/{}
  24899. , decltype(_impl_.range_) { 0u }
  24900. };
  24901. }
  24902. LocalCameraCtrlTurnLeftParams::~LocalCameraCtrlTurnLeftParams() {
  24903. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
  24904. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  24905. (void)arena;
  24906. return;
  24907. }
  24908. SharedDtor();
  24909. }
  24910. inline void LocalCameraCtrlTurnLeftParams::SharedDtor() {
  24911. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  24912. }
  24913. void LocalCameraCtrlTurnLeftParams::SetCachedSize(int size) const {
  24914. _impl_._cached_size_.Set(size);
  24915. }
  24916. void LocalCameraCtrlTurnLeftParams::Clear() {
  24917. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
  24918. ::uint32_t cached_has_bits = 0;
  24919. // Prevent compiler warnings about cached_has_bits being unused
  24920. (void) cached_has_bits;
  24921. _impl_.range_ = 0u;
  24922. _impl_._has_bits_.Clear();
  24923. _internal_metadata_.Clear<std::string>();
  24924. }
  24925. const char* LocalCameraCtrlTurnLeftParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  24926. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  24927. _Internal::HasBits has_bits{};
  24928. while (!ctx->Done(&ptr)) {
  24929. ::uint32_t tag;
  24930. ptr = ::_pbi::ReadTag(ptr, &tag);
  24931. switch (tag >> 3) {
  24932. // optional uint32 range = 1;
  24933. case 1:
  24934. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  24935. _Internal::set_has_range(&has_bits);
  24936. _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  24937. CHK_(ptr);
  24938. } else {
  24939. goto handle_unusual;
  24940. }
  24941. continue;
  24942. default:
  24943. goto handle_unusual;
  24944. } // switch
  24945. handle_unusual:
  24946. if ((tag == 0) || ((tag & 7) == 4)) {
  24947. CHK_(ptr);
  24948. ctx->SetLastTag(tag);
  24949. goto message_done;
  24950. }
  24951. ptr = UnknownFieldParse(
  24952. tag,
  24953. _internal_metadata_.mutable_unknown_fields<std::string>(),
  24954. ptr, ctx);
  24955. CHK_(ptr != nullptr);
  24956. } // while
  24957. message_done:
  24958. _impl_._has_bits_.Or(has_bits);
  24959. return ptr;
  24960. failure:
  24961. ptr = nullptr;
  24962. goto message_done;
  24963. #undef CHK_
  24964. }
  24965. ::uint8_t* LocalCameraCtrlTurnLeftParams::_InternalSerialize(
  24966. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  24967. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
  24968. ::uint32_t cached_has_bits = 0;
  24969. (void) cached_has_bits;
  24970. cached_has_bits = _impl_._has_bits_[0];
  24971. // optional uint32 range = 1;
  24972. if (cached_has_bits & 0x00000001u) {
  24973. target = stream->EnsureSpace(target);
  24974. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  24975. 1, this->_internal_range(), target);
  24976. }
  24977. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  24978. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  24979. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  24980. }
  24981. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
  24982. return target;
  24983. }
  24984. ::size_t LocalCameraCtrlTurnLeftParams::ByteSizeLong() const {
  24985. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
  24986. ::size_t total_size = 0;
  24987. ::uint32_t cached_has_bits = 0;
  24988. // Prevent compiler warnings about cached_has_bits being unused
  24989. (void) cached_has_bits;
  24990. // optional uint32 range = 1;
  24991. cached_has_bits = _impl_._has_bits_[0];
  24992. if (cached_has_bits & 0x00000001u) {
  24993. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  24994. this->_internal_range());
  24995. }
  24996. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  24997. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  24998. }
  24999. int cached_size = ::_pbi::ToCachedSize(total_size);
  25000. SetCachedSize(cached_size);
  25001. return total_size;
  25002. }
  25003. void LocalCameraCtrlTurnLeftParams::CheckTypeAndMergeFrom(
  25004. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  25005. MergeFrom(*::_pbi::DownCast<const LocalCameraCtrlTurnLeftParams*>(
  25006. &from));
  25007. }
  25008. void LocalCameraCtrlTurnLeftParams::MergeFrom(const LocalCameraCtrlTurnLeftParams& from) {
  25009. LocalCameraCtrlTurnLeftParams* const _this = this;
  25010. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
  25011. ABSL_DCHECK_NE(&from, _this);
  25012. ::uint32_t cached_has_bits = 0;
  25013. (void) cached_has_bits;
  25014. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  25015. _this->_internal_set_range(from._internal_range());
  25016. }
  25017. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  25018. }
  25019. void LocalCameraCtrlTurnLeftParams::CopyFrom(const LocalCameraCtrlTurnLeftParams& from) {
  25020. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
  25021. if (&from == this) return;
  25022. Clear();
  25023. MergeFrom(from);
  25024. }
  25025. bool LocalCameraCtrlTurnLeftParams::IsInitialized() const {
  25026. return true;
  25027. }
  25028. void LocalCameraCtrlTurnLeftParams::InternalSwap(LocalCameraCtrlTurnLeftParams* other) {
  25029. using std::swap;
  25030. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  25031. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  25032. swap(_impl_.range_, other->_impl_.range_);
  25033. }
  25034. std::string LocalCameraCtrlTurnLeftParams::GetTypeName() const {
  25035. return "com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams";
  25036. }
  25037. // ===================================================================
  25038. class LocalCameraCtrlTurnRightParams::_Internal {
  25039. public:
  25040. using HasBits = decltype(std::declval<LocalCameraCtrlTurnRightParams>()._impl_._has_bits_);
  25041. static constexpr ::int32_t kHasBitsOffset =
  25042. 8 * PROTOBUF_FIELD_OFFSET(LocalCameraCtrlTurnRightParams, _impl_._has_bits_);
  25043. static void set_has_range(HasBits* has_bits) {
  25044. (*has_bits)[0] |= 1u;
  25045. }
  25046. };
  25047. LocalCameraCtrlTurnRightParams::LocalCameraCtrlTurnRightParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  25048. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  25049. SharedCtor(arena);
  25050. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
  25051. }
  25052. LocalCameraCtrlTurnRightParams::LocalCameraCtrlTurnRightParams(const LocalCameraCtrlTurnRightParams& from)
  25053. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  25054. _internal_metadata_.MergeFrom<std::string>(
  25055. from._internal_metadata_);
  25056. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
  25057. }
  25058. inline void LocalCameraCtrlTurnRightParams::SharedCtor(::_pb::Arena* arena) {
  25059. (void)arena;
  25060. new (&_impl_) Impl_{
  25061. decltype(_impl_._has_bits_){}
  25062. , /*decltype(_impl_._cached_size_)*/{}
  25063. , decltype(_impl_.range_) { 0u }
  25064. };
  25065. }
  25066. LocalCameraCtrlTurnRightParams::~LocalCameraCtrlTurnRightParams() {
  25067. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
  25068. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  25069. (void)arena;
  25070. return;
  25071. }
  25072. SharedDtor();
  25073. }
  25074. inline void LocalCameraCtrlTurnRightParams::SharedDtor() {
  25075. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  25076. }
  25077. void LocalCameraCtrlTurnRightParams::SetCachedSize(int size) const {
  25078. _impl_._cached_size_.Set(size);
  25079. }
  25080. void LocalCameraCtrlTurnRightParams::Clear() {
  25081. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
  25082. ::uint32_t cached_has_bits = 0;
  25083. // Prevent compiler warnings about cached_has_bits being unused
  25084. (void) cached_has_bits;
  25085. _impl_.range_ = 0u;
  25086. _impl_._has_bits_.Clear();
  25087. _internal_metadata_.Clear<std::string>();
  25088. }
  25089. const char* LocalCameraCtrlTurnRightParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  25090. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  25091. _Internal::HasBits has_bits{};
  25092. while (!ctx->Done(&ptr)) {
  25093. ::uint32_t tag;
  25094. ptr = ::_pbi::ReadTag(ptr, &tag);
  25095. switch (tag >> 3) {
  25096. // optional uint32 range = 1;
  25097. case 1:
  25098. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  25099. _Internal::set_has_range(&has_bits);
  25100. _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  25101. CHK_(ptr);
  25102. } else {
  25103. goto handle_unusual;
  25104. }
  25105. continue;
  25106. default:
  25107. goto handle_unusual;
  25108. } // switch
  25109. handle_unusual:
  25110. if ((tag == 0) || ((tag & 7) == 4)) {
  25111. CHK_(ptr);
  25112. ctx->SetLastTag(tag);
  25113. goto message_done;
  25114. }
  25115. ptr = UnknownFieldParse(
  25116. tag,
  25117. _internal_metadata_.mutable_unknown_fields<std::string>(),
  25118. ptr, ctx);
  25119. CHK_(ptr != nullptr);
  25120. } // while
  25121. message_done:
  25122. _impl_._has_bits_.Or(has_bits);
  25123. return ptr;
  25124. failure:
  25125. ptr = nullptr;
  25126. goto message_done;
  25127. #undef CHK_
  25128. }
  25129. ::uint8_t* LocalCameraCtrlTurnRightParams::_InternalSerialize(
  25130. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  25131. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
  25132. ::uint32_t cached_has_bits = 0;
  25133. (void) cached_has_bits;
  25134. cached_has_bits = _impl_._has_bits_[0];
  25135. // optional uint32 range = 1;
  25136. if (cached_has_bits & 0x00000001u) {
  25137. target = stream->EnsureSpace(target);
  25138. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  25139. 1, this->_internal_range(), target);
  25140. }
  25141. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  25142. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  25143. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  25144. }
  25145. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
  25146. return target;
  25147. }
  25148. ::size_t LocalCameraCtrlTurnRightParams::ByteSizeLong() const {
  25149. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
  25150. ::size_t total_size = 0;
  25151. ::uint32_t cached_has_bits = 0;
  25152. // Prevent compiler warnings about cached_has_bits being unused
  25153. (void) cached_has_bits;
  25154. // optional uint32 range = 1;
  25155. cached_has_bits = _impl_._has_bits_[0];
  25156. if (cached_has_bits & 0x00000001u) {
  25157. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  25158. this->_internal_range());
  25159. }
  25160. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  25161. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  25162. }
  25163. int cached_size = ::_pbi::ToCachedSize(total_size);
  25164. SetCachedSize(cached_size);
  25165. return total_size;
  25166. }
  25167. void LocalCameraCtrlTurnRightParams::CheckTypeAndMergeFrom(
  25168. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  25169. MergeFrom(*::_pbi::DownCast<const LocalCameraCtrlTurnRightParams*>(
  25170. &from));
  25171. }
  25172. void LocalCameraCtrlTurnRightParams::MergeFrom(const LocalCameraCtrlTurnRightParams& from) {
  25173. LocalCameraCtrlTurnRightParams* const _this = this;
  25174. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
  25175. ABSL_DCHECK_NE(&from, _this);
  25176. ::uint32_t cached_has_bits = 0;
  25177. (void) cached_has_bits;
  25178. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  25179. _this->_internal_set_range(from._internal_range());
  25180. }
  25181. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  25182. }
  25183. void LocalCameraCtrlTurnRightParams::CopyFrom(const LocalCameraCtrlTurnRightParams& from) {
  25184. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
  25185. if (&from == this) return;
  25186. Clear();
  25187. MergeFrom(from);
  25188. }
  25189. bool LocalCameraCtrlTurnRightParams::IsInitialized() const {
  25190. return true;
  25191. }
  25192. void LocalCameraCtrlTurnRightParams::InternalSwap(LocalCameraCtrlTurnRightParams* other) {
  25193. using std::swap;
  25194. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  25195. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  25196. swap(_impl_.range_, other->_impl_.range_);
  25197. }
  25198. std::string LocalCameraCtrlTurnRightParams::GetTypeName() const {
  25199. return "com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams";
  25200. }
  25201. // ===================================================================
  25202. class LocalCameraCtrlTurnUpParams::_Internal {
  25203. public:
  25204. using HasBits = decltype(std::declval<LocalCameraCtrlTurnUpParams>()._impl_._has_bits_);
  25205. static constexpr ::int32_t kHasBitsOffset =
  25206. 8 * PROTOBUF_FIELD_OFFSET(LocalCameraCtrlTurnUpParams, _impl_._has_bits_);
  25207. static void set_has_range(HasBits* has_bits) {
  25208. (*has_bits)[0] |= 1u;
  25209. }
  25210. };
  25211. LocalCameraCtrlTurnUpParams::LocalCameraCtrlTurnUpParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  25212. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  25213. SharedCtor(arena);
  25214. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
  25215. }
  25216. LocalCameraCtrlTurnUpParams::LocalCameraCtrlTurnUpParams(const LocalCameraCtrlTurnUpParams& from)
  25217. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  25218. _internal_metadata_.MergeFrom<std::string>(
  25219. from._internal_metadata_);
  25220. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
  25221. }
  25222. inline void LocalCameraCtrlTurnUpParams::SharedCtor(::_pb::Arena* arena) {
  25223. (void)arena;
  25224. new (&_impl_) Impl_{
  25225. decltype(_impl_._has_bits_){}
  25226. , /*decltype(_impl_._cached_size_)*/{}
  25227. , decltype(_impl_.range_) { 0u }
  25228. };
  25229. }
  25230. LocalCameraCtrlTurnUpParams::~LocalCameraCtrlTurnUpParams() {
  25231. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
  25232. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  25233. (void)arena;
  25234. return;
  25235. }
  25236. SharedDtor();
  25237. }
  25238. inline void LocalCameraCtrlTurnUpParams::SharedDtor() {
  25239. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  25240. }
  25241. void LocalCameraCtrlTurnUpParams::SetCachedSize(int size) const {
  25242. _impl_._cached_size_.Set(size);
  25243. }
  25244. void LocalCameraCtrlTurnUpParams::Clear() {
  25245. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
  25246. ::uint32_t cached_has_bits = 0;
  25247. // Prevent compiler warnings about cached_has_bits being unused
  25248. (void) cached_has_bits;
  25249. _impl_.range_ = 0u;
  25250. _impl_._has_bits_.Clear();
  25251. _internal_metadata_.Clear<std::string>();
  25252. }
  25253. const char* LocalCameraCtrlTurnUpParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  25254. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  25255. _Internal::HasBits has_bits{};
  25256. while (!ctx->Done(&ptr)) {
  25257. ::uint32_t tag;
  25258. ptr = ::_pbi::ReadTag(ptr, &tag);
  25259. switch (tag >> 3) {
  25260. // optional uint32 range = 1;
  25261. case 1:
  25262. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  25263. _Internal::set_has_range(&has_bits);
  25264. _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  25265. CHK_(ptr);
  25266. } else {
  25267. goto handle_unusual;
  25268. }
  25269. continue;
  25270. default:
  25271. goto handle_unusual;
  25272. } // switch
  25273. handle_unusual:
  25274. if ((tag == 0) || ((tag & 7) == 4)) {
  25275. CHK_(ptr);
  25276. ctx->SetLastTag(tag);
  25277. goto message_done;
  25278. }
  25279. ptr = UnknownFieldParse(
  25280. tag,
  25281. _internal_metadata_.mutable_unknown_fields<std::string>(),
  25282. ptr, ctx);
  25283. CHK_(ptr != nullptr);
  25284. } // while
  25285. message_done:
  25286. _impl_._has_bits_.Or(has_bits);
  25287. return ptr;
  25288. failure:
  25289. ptr = nullptr;
  25290. goto message_done;
  25291. #undef CHK_
  25292. }
  25293. ::uint8_t* LocalCameraCtrlTurnUpParams::_InternalSerialize(
  25294. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  25295. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
  25296. ::uint32_t cached_has_bits = 0;
  25297. (void) cached_has_bits;
  25298. cached_has_bits = _impl_._has_bits_[0];
  25299. // optional uint32 range = 1;
  25300. if (cached_has_bits & 0x00000001u) {
  25301. target = stream->EnsureSpace(target);
  25302. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  25303. 1, this->_internal_range(), target);
  25304. }
  25305. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  25306. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  25307. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  25308. }
  25309. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
  25310. return target;
  25311. }
  25312. ::size_t LocalCameraCtrlTurnUpParams::ByteSizeLong() const {
  25313. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
  25314. ::size_t total_size = 0;
  25315. ::uint32_t cached_has_bits = 0;
  25316. // Prevent compiler warnings about cached_has_bits being unused
  25317. (void) cached_has_bits;
  25318. // optional uint32 range = 1;
  25319. cached_has_bits = _impl_._has_bits_[0];
  25320. if (cached_has_bits & 0x00000001u) {
  25321. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  25322. this->_internal_range());
  25323. }
  25324. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  25325. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  25326. }
  25327. int cached_size = ::_pbi::ToCachedSize(total_size);
  25328. SetCachedSize(cached_size);
  25329. return total_size;
  25330. }
  25331. void LocalCameraCtrlTurnUpParams::CheckTypeAndMergeFrom(
  25332. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  25333. MergeFrom(*::_pbi::DownCast<const LocalCameraCtrlTurnUpParams*>(
  25334. &from));
  25335. }
  25336. void LocalCameraCtrlTurnUpParams::MergeFrom(const LocalCameraCtrlTurnUpParams& from) {
  25337. LocalCameraCtrlTurnUpParams* const _this = this;
  25338. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
  25339. ABSL_DCHECK_NE(&from, _this);
  25340. ::uint32_t cached_has_bits = 0;
  25341. (void) cached_has_bits;
  25342. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  25343. _this->_internal_set_range(from._internal_range());
  25344. }
  25345. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  25346. }
  25347. void LocalCameraCtrlTurnUpParams::CopyFrom(const LocalCameraCtrlTurnUpParams& from) {
  25348. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
  25349. if (&from == this) return;
  25350. Clear();
  25351. MergeFrom(from);
  25352. }
  25353. bool LocalCameraCtrlTurnUpParams::IsInitialized() const {
  25354. return true;
  25355. }
  25356. void LocalCameraCtrlTurnUpParams::InternalSwap(LocalCameraCtrlTurnUpParams* other) {
  25357. using std::swap;
  25358. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  25359. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  25360. swap(_impl_.range_, other->_impl_.range_);
  25361. }
  25362. std::string LocalCameraCtrlTurnUpParams::GetTypeName() const {
  25363. return "com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams";
  25364. }
  25365. // ===================================================================
  25366. class LocalCameraCtrlTurnDownParams::_Internal {
  25367. public:
  25368. using HasBits = decltype(std::declval<LocalCameraCtrlTurnDownParams>()._impl_._has_bits_);
  25369. static constexpr ::int32_t kHasBitsOffset =
  25370. 8 * PROTOBUF_FIELD_OFFSET(LocalCameraCtrlTurnDownParams, _impl_._has_bits_);
  25371. static void set_has_range(HasBits* has_bits) {
  25372. (*has_bits)[0] |= 1u;
  25373. }
  25374. };
  25375. LocalCameraCtrlTurnDownParams::LocalCameraCtrlTurnDownParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  25376. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  25377. SharedCtor(arena);
  25378. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
  25379. }
  25380. LocalCameraCtrlTurnDownParams::LocalCameraCtrlTurnDownParams(const LocalCameraCtrlTurnDownParams& from)
  25381. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  25382. _internal_metadata_.MergeFrom<std::string>(
  25383. from._internal_metadata_);
  25384. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
  25385. }
  25386. inline void LocalCameraCtrlTurnDownParams::SharedCtor(::_pb::Arena* arena) {
  25387. (void)arena;
  25388. new (&_impl_) Impl_{
  25389. decltype(_impl_._has_bits_){}
  25390. , /*decltype(_impl_._cached_size_)*/{}
  25391. , decltype(_impl_.range_) { 0u }
  25392. };
  25393. }
  25394. LocalCameraCtrlTurnDownParams::~LocalCameraCtrlTurnDownParams() {
  25395. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
  25396. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  25397. (void)arena;
  25398. return;
  25399. }
  25400. SharedDtor();
  25401. }
  25402. inline void LocalCameraCtrlTurnDownParams::SharedDtor() {
  25403. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  25404. }
  25405. void LocalCameraCtrlTurnDownParams::SetCachedSize(int size) const {
  25406. _impl_._cached_size_.Set(size);
  25407. }
  25408. void LocalCameraCtrlTurnDownParams::Clear() {
  25409. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
  25410. ::uint32_t cached_has_bits = 0;
  25411. // Prevent compiler warnings about cached_has_bits being unused
  25412. (void) cached_has_bits;
  25413. _impl_.range_ = 0u;
  25414. _impl_._has_bits_.Clear();
  25415. _internal_metadata_.Clear<std::string>();
  25416. }
  25417. const char* LocalCameraCtrlTurnDownParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  25418. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  25419. _Internal::HasBits has_bits{};
  25420. while (!ctx->Done(&ptr)) {
  25421. ::uint32_t tag;
  25422. ptr = ::_pbi::ReadTag(ptr, &tag);
  25423. switch (tag >> 3) {
  25424. // optional uint32 range = 1;
  25425. case 1:
  25426. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  25427. _Internal::set_has_range(&has_bits);
  25428. _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  25429. CHK_(ptr);
  25430. } else {
  25431. goto handle_unusual;
  25432. }
  25433. continue;
  25434. default:
  25435. goto handle_unusual;
  25436. } // switch
  25437. handle_unusual:
  25438. if ((tag == 0) || ((tag & 7) == 4)) {
  25439. CHK_(ptr);
  25440. ctx->SetLastTag(tag);
  25441. goto message_done;
  25442. }
  25443. ptr = UnknownFieldParse(
  25444. tag,
  25445. _internal_metadata_.mutable_unknown_fields<std::string>(),
  25446. ptr, ctx);
  25447. CHK_(ptr != nullptr);
  25448. } // while
  25449. message_done:
  25450. _impl_._has_bits_.Or(has_bits);
  25451. return ptr;
  25452. failure:
  25453. ptr = nullptr;
  25454. goto message_done;
  25455. #undef CHK_
  25456. }
  25457. ::uint8_t* LocalCameraCtrlTurnDownParams::_InternalSerialize(
  25458. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  25459. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
  25460. ::uint32_t cached_has_bits = 0;
  25461. (void) cached_has_bits;
  25462. cached_has_bits = _impl_._has_bits_[0];
  25463. // optional uint32 range = 1;
  25464. if (cached_has_bits & 0x00000001u) {
  25465. target = stream->EnsureSpace(target);
  25466. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  25467. 1, this->_internal_range(), target);
  25468. }
  25469. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  25470. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  25471. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  25472. }
  25473. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
  25474. return target;
  25475. }
  25476. ::size_t LocalCameraCtrlTurnDownParams::ByteSizeLong() const {
  25477. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
  25478. ::size_t total_size = 0;
  25479. ::uint32_t cached_has_bits = 0;
  25480. // Prevent compiler warnings about cached_has_bits being unused
  25481. (void) cached_has_bits;
  25482. // optional uint32 range = 1;
  25483. cached_has_bits = _impl_._has_bits_[0];
  25484. if (cached_has_bits & 0x00000001u) {
  25485. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  25486. this->_internal_range());
  25487. }
  25488. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  25489. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  25490. }
  25491. int cached_size = ::_pbi::ToCachedSize(total_size);
  25492. SetCachedSize(cached_size);
  25493. return total_size;
  25494. }
  25495. void LocalCameraCtrlTurnDownParams::CheckTypeAndMergeFrom(
  25496. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  25497. MergeFrom(*::_pbi::DownCast<const LocalCameraCtrlTurnDownParams*>(
  25498. &from));
  25499. }
  25500. void LocalCameraCtrlTurnDownParams::MergeFrom(const LocalCameraCtrlTurnDownParams& from) {
  25501. LocalCameraCtrlTurnDownParams* const _this = this;
  25502. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
  25503. ABSL_DCHECK_NE(&from, _this);
  25504. ::uint32_t cached_has_bits = 0;
  25505. (void) cached_has_bits;
  25506. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  25507. _this->_internal_set_range(from._internal_range());
  25508. }
  25509. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  25510. }
  25511. void LocalCameraCtrlTurnDownParams::CopyFrom(const LocalCameraCtrlTurnDownParams& from) {
  25512. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
  25513. if (&from == this) return;
  25514. Clear();
  25515. MergeFrom(from);
  25516. }
  25517. bool LocalCameraCtrlTurnDownParams::IsInitialized() const {
  25518. return true;
  25519. }
  25520. void LocalCameraCtrlTurnDownParams::InternalSwap(LocalCameraCtrlTurnDownParams* other) {
  25521. using std::swap;
  25522. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  25523. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  25524. swap(_impl_.range_, other->_impl_.range_);
  25525. }
  25526. std::string LocalCameraCtrlTurnDownParams::GetTypeName() const {
  25527. return "com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams";
  25528. }
  25529. // ===================================================================
  25530. class LocalCameraCtrlZoomInParams::_Internal {
  25531. public:
  25532. using HasBits = decltype(std::declval<LocalCameraCtrlZoomInParams>()._impl_._has_bits_);
  25533. static constexpr ::int32_t kHasBitsOffset =
  25534. 8 * PROTOBUF_FIELD_OFFSET(LocalCameraCtrlZoomInParams, _impl_._has_bits_);
  25535. static void set_has_range(HasBits* has_bits) {
  25536. (*has_bits)[0] |= 1u;
  25537. }
  25538. };
  25539. LocalCameraCtrlZoomInParams::LocalCameraCtrlZoomInParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  25540. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  25541. SharedCtor(arena);
  25542. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
  25543. }
  25544. LocalCameraCtrlZoomInParams::LocalCameraCtrlZoomInParams(const LocalCameraCtrlZoomInParams& from)
  25545. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  25546. _internal_metadata_.MergeFrom<std::string>(
  25547. from._internal_metadata_);
  25548. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
  25549. }
  25550. inline void LocalCameraCtrlZoomInParams::SharedCtor(::_pb::Arena* arena) {
  25551. (void)arena;
  25552. new (&_impl_) Impl_{
  25553. decltype(_impl_._has_bits_){}
  25554. , /*decltype(_impl_._cached_size_)*/{}
  25555. , decltype(_impl_.range_) { 0u }
  25556. };
  25557. }
  25558. LocalCameraCtrlZoomInParams::~LocalCameraCtrlZoomInParams() {
  25559. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
  25560. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  25561. (void)arena;
  25562. return;
  25563. }
  25564. SharedDtor();
  25565. }
  25566. inline void LocalCameraCtrlZoomInParams::SharedDtor() {
  25567. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  25568. }
  25569. void LocalCameraCtrlZoomInParams::SetCachedSize(int size) const {
  25570. _impl_._cached_size_.Set(size);
  25571. }
  25572. void LocalCameraCtrlZoomInParams::Clear() {
  25573. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
  25574. ::uint32_t cached_has_bits = 0;
  25575. // Prevent compiler warnings about cached_has_bits being unused
  25576. (void) cached_has_bits;
  25577. _impl_.range_ = 0u;
  25578. _impl_._has_bits_.Clear();
  25579. _internal_metadata_.Clear<std::string>();
  25580. }
  25581. const char* LocalCameraCtrlZoomInParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  25582. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  25583. _Internal::HasBits has_bits{};
  25584. while (!ctx->Done(&ptr)) {
  25585. ::uint32_t tag;
  25586. ptr = ::_pbi::ReadTag(ptr, &tag);
  25587. switch (tag >> 3) {
  25588. // optional uint32 range = 1;
  25589. case 1:
  25590. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  25591. _Internal::set_has_range(&has_bits);
  25592. _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  25593. CHK_(ptr);
  25594. } else {
  25595. goto handle_unusual;
  25596. }
  25597. continue;
  25598. default:
  25599. goto handle_unusual;
  25600. } // switch
  25601. handle_unusual:
  25602. if ((tag == 0) || ((tag & 7) == 4)) {
  25603. CHK_(ptr);
  25604. ctx->SetLastTag(tag);
  25605. goto message_done;
  25606. }
  25607. ptr = UnknownFieldParse(
  25608. tag,
  25609. _internal_metadata_.mutable_unknown_fields<std::string>(),
  25610. ptr, ctx);
  25611. CHK_(ptr != nullptr);
  25612. } // while
  25613. message_done:
  25614. _impl_._has_bits_.Or(has_bits);
  25615. return ptr;
  25616. failure:
  25617. ptr = nullptr;
  25618. goto message_done;
  25619. #undef CHK_
  25620. }
  25621. ::uint8_t* LocalCameraCtrlZoomInParams::_InternalSerialize(
  25622. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  25623. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
  25624. ::uint32_t cached_has_bits = 0;
  25625. (void) cached_has_bits;
  25626. cached_has_bits = _impl_._has_bits_[0];
  25627. // optional uint32 range = 1;
  25628. if (cached_has_bits & 0x00000001u) {
  25629. target = stream->EnsureSpace(target);
  25630. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  25631. 1, this->_internal_range(), target);
  25632. }
  25633. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  25634. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  25635. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  25636. }
  25637. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
  25638. return target;
  25639. }
  25640. ::size_t LocalCameraCtrlZoomInParams::ByteSizeLong() const {
  25641. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
  25642. ::size_t total_size = 0;
  25643. ::uint32_t cached_has_bits = 0;
  25644. // Prevent compiler warnings about cached_has_bits being unused
  25645. (void) cached_has_bits;
  25646. // optional uint32 range = 1;
  25647. cached_has_bits = _impl_._has_bits_[0];
  25648. if (cached_has_bits & 0x00000001u) {
  25649. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  25650. this->_internal_range());
  25651. }
  25652. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  25653. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  25654. }
  25655. int cached_size = ::_pbi::ToCachedSize(total_size);
  25656. SetCachedSize(cached_size);
  25657. return total_size;
  25658. }
  25659. void LocalCameraCtrlZoomInParams::CheckTypeAndMergeFrom(
  25660. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  25661. MergeFrom(*::_pbi::DownCast<const LocalCameraCtrlZoomInParams*>(
  25662. &from));
  25663. }
  25664. void LocalCameraCtrlZoomInParams::MergeFrom(const LocalCameraCtrlZoomInParams& from) {
  25665. LocalCameraCtrlZoomInParams* const _this = this;
  25666. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
  25667. ABSL_DCHECK_NE(&from, _this);
  25668. ::uint32_t cached_has_bits = 0;
  25669. (void) cached_has_bits;
  25670. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  25671. _this->_internal_set_range(from._internal_range());
  25672. }
  25673. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  25674. }
  25675. void LocalCameraCtrlZoomInParams::CopyFrom(const LocalCameraCtrlZoomInParams& from) {
  25676. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
  25677. if (&from == this) return;
  25678. Clear();
  25679. MergeFrom(from);
  25680. }
  25681. bool LocalCameraCtrlZoomInParams::IsInitialized() const {
  25682. return true;
  25683. }
  25684. void LocalCameraCtrlZoomInParams::InternalSwap(LocalCameraCtrlZoomInParams* other) {
  25685. using std::swap;
  25686. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  25687. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  25688. swap(_impl_.range_, other->_impl_.range_);
  25689. }
  25690. std::string LocalCameraCtrlZoomInParams::GetTypeName() const {
  25691. return "com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams";
  25692. }
  25693. // ===================================================================
  25694. class LocalCameraCtrlZoomOutParams::_Internal {
  25695. public:
  25696. using HasBits = decltype(std::declval<LocalCameraCtrlZoomOutParams>()._impl_._has_bits_);
  25697. static constexpr ::int32_t kHasBitsOffset =
  25698. 8 * PROTOBUF_FIELD_OFFSET(LocalCameraCtrlZoomOutParams, _impl_._has_bits_);
  25699. static void set_has_range(HasBits* has_bits) {
  25700. (*has_bits)[0] |= 1u;
  25701. }
  25702. };
  25703. LocalCameraCtrlZoomOutParams::LocalCameraCtrlZoomOutParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  25704. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  25705. SharedCtor(arena);
  25706. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
  25707. }
  25708. LocalCameraCtrlZoomOutParams::LocalCameraCtrlZoomOutParams(const LocalCameraCtrlZoomOutParams& from)
  25709. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  25710. _internal_metadata_.MergeFrom<std::string>(
  25711. from._internal_metadata_);
  25712. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
  25713. }
  25714. inline void LocalCameraCtrlZoomOutParams::SharedCtor(::_pb::Arena* arena) {
  25715. (void)arena;
  25716. new (&_impl_) Impl_{
  25717. decltype(_impl_._has_bits_){}
  25718. , /*decltype(_impl_._cached_size_)*/{}
  25719. , decltype(_impl_.range_) { 0u }
  25720. };
  25721. }
  25722. LocalCameraCtrlZoomOutParams::~LocalCameraCtrlZoomOutParams() {
  25723. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
  25724. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  25725. (void)arena;
  25726. return;
  25727. }
  25728. SharedDtor();
  25729. }
  25730. inline void LocalCameraCtrlZoomOutParams::SharedDtor() {
  25731. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  25732. }
  25733. void LocalCameraCtrlZoomOutParams::SetCachedSize(int size) const {
  25734. _impl_._cached_size_.Set(size);
  25735. }
  25736. void LocalCameraCtrlZoomOutParams::Clear() {
  25737. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
  25738. ::uint32_t cached_has_bits = 0;
  25739. // Prevent compiler warnings about cached_has_bits being unused
  25740. (void) cached_has_bits;
  25741. _impl_.range_ = 0u;
  25742. _impl_._has_bits_.Clear();
  25743. _internal_metadata_.Clear<std::string>();
  25744. }
  25745. const char* LocalCameraCtrlZoomOutParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  25746. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  25747. _Internal::HasBits has_bits{};
  25748. while (!ctx->Done(&ptr)) {
  25749. ::uint32_t tag;
  25750. ptr = ::_pbi::ReadTag(ptr, &tag);
  25751. switch (tag >> 3) {
  25752. // optional uint32 range = 1;
  25753. case 1:
  25754. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  25755. _Internal::set_has_range(&has_bits);
  25756. _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  25757. CHK_(ptr);
  25758. } else {
  25759. goto handle_unusual;
  25760. }
  25761. continue;
  25762. default:
  25763. goto handle_unusual;
  25764. } // switch
  25765. handle_unusual:
  25766. if ((tag == 0) || ((tag & 7) == 4)) {
  25767. CHK_(ptr);
  25768. ctx->SetLastTag(tag);
  25769. goto message_done;
  25770. }
  25771. ptr = UnknownFieldParse(
  25772. tag,
  25773. _internal_metadata_.mutable_unknown_fields<std::string>(),
  25774. ptr, ctx);
  25775. CHK_(ptr != nullptr);
  25776. } // while
  25777. message_done:
  25778. _impl_._has_bits_.Or(has_bits);
  25779. return ptr;
  25780. failure:
  25781. ptr = nullptr;
  25782. goto message_done;
  25783. #undef CHK_
  25784. }
  25785. ::uint8_t* LocalCameraCtrlZoomOutParams::_InternalSerialize(
  25786. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  25787. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
  25788. ::uint32_t cached_has_bits = 0;
  25789. (void) cached_has_bits;
  25790. cached_has_bits = _impl_._has_bits_[0];
  25791. // optional uint32 range = 1;
  25792. if (cached_has_bits & 0x00000001u) {
  25793. target = stream->EnsureSpace(target);
  25794. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  25795. 1, this->_internal_range(), target);
  25796. }
  25797. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  25798. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  25799. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  25800. }
  25801. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
  25802. return target;
  25803. }
  25804. ::size_t LocalCameraCtrlZoomOutParams::ByteSizeLong() const {
  25805. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
  25806. ::size_t total_size = 0;
  25807. ::uint32_t cached_has_bits = 0;
  25808. // Prevent compiler warnings about cached_has_bits being unused
  25809. (void) cached_has_bits;
  25810. // optional uint32 range = 1;
  25811. cached_has_bits = _impl_._has_bits_[0];
  25812. if (cached_has_bits & 0x00000001u) {
  25813. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  25814. this->_internal_range());
  25815. }
  25816. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  25817. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  25818. }
  25819. int cached_size = ::_pbi::ToCachedSize(total_size);
  25820. SetCachedSize(cached_size);
  25821. return total_size;
  25822. }
  25823. void LocalCameraCtrlZoomOutParams::CheckTypeAndMergeFrom(
  25824. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  25825. MergeFrom(*::_pbi::DownCast<const LocalCameraCtrlZoomOutParams*>(
  25826. &from));
  25827. }
  25828. void LocalCameraCtrlZoomOutParams::MergeFrom(const LocalCameraCtrlZoomOutParams& from) {
  25829. LocalCameraCtrlZoomOutParams* const _this = this;
  25830. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
  25831. ABSL_DCHECK_NE(&from, _this);
  25832. ::uint32_t cached_has_bits = 0;
  25833. (void) cached_has_bits;
  25834. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  25835. _this->_internal_set_range(from._internal_range());
  25836. }
  25837. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  25838. }
  25839. void LocalCameraCtrlZoomOutParams::CopyFrom(const LocalCameraCtrlZoomOutParams& from) {
  25840. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
  25841. if (&from == this) return;
  25842. Clear();
  25843. MergeFrom(from);
  25844. }
  25845. bool LocalCameraCtrlZoomOutParams::IsInitialized() const {
  25846. return true;
  25847. }
  25848. void LocalCameraCtrlZoomOutParams::InternalSwap(LocalCameraCtrlZoomOutParams* other) {
  25849. using std::swap;
  25850. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  25851. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  25852. swap(_impl_.range_, other->_impl_.range_);
  25853. }
  25854. std::string LocalCameraCtrlZoomOutParams::GetTypeName() const {
  25855. return "com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams";
  25856. }
  25857. // ===================================================================
  25858. class RequestControlRemoteCameraParams::_Internal {
  25859. public:
  25860. using HasBits = decltype(std::declval<RequestControlRemoteCameraParams>()._impl_._has_bits_);
  25861. static constexpr ::int32_t kHasBitsOffset =
  25862. 8 * PROTOBUF_FIELD_OFFSET(RequestControlRemoteCameraParams, _impl_._has_bits_);
  25863. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RequestControlRemoteCameraParams* msg);
  25864. static void set_has_user(HasBits* has_bits) {
  25865. (*has_bits)[0] |= 1u;
  25866. }
  25867. };
  25868. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  25869. RequestControlRemoteCameraParams::_Internal::user(const RequestControlRemoteCameraParams* msg) {
  25870. return *msg->_impl_.user_;
  25871. }
  25872. RequestControlRemoteCameraParams::RequestControlRemoteCameraParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  25873. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  25874. SharedCtor(arena);
  25875. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
  25876. }
  25877. RequestControlRemoteCameraParams::RequestControlRemoteCameraParams(const RequestControlRemoteCameraParams& from)
  25878. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  25879. RequestControlRemoteCameraParams* const _this = this; (void)_this;
  25880. new (&_impl_) Impl_{
  25881. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  25882. , /*decltype(_impl_._cached_size_)*/{}
  25883. , decltype(_impl_.user_){nullptr}};
  25884. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  25885. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  25886. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  25887. }
  25888. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
  25889. }
  25890. inline void RequestControlRemoteCameraParams::SharedCtor(::_pb::Arena* arena) {
  25891. (void)arena;
  25892. new (&_impl_) Impl_{
  25893. decltype(_impl_._has_bits_){}
  25894. , /*decltype(_impl_._cached_size_)*/{}
  25895. , decltype(_impl_.user_){nullptr}
  25896. };
  25897. }
  25898. RequestControlRemoteCameraParams::~RequestControlRemoteCameraParams() {
  25899. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
  25900. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  25901. (void)arena;
  25902. return;
  25903. }
  25904. SharedDtor();
  25905. }
  25906. inline void RequestControlRemoteCameraParams::SharedDtor() {
  25907. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  25908. if (this != internal_default_instance()) delete _impl_.user_;
  25909. }
  25910. void RequestControlRemoteCameraParams::SetCachedSize(int size) const {
  25911. _impl_._cached_size_.Set(size);
  25912. }
  25913. void RequestControlRemoteCameraParams::Clear() {
  25914. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
  25915. ::uint32_t cached_has_bits = 0;
  25916. // Prevent compiler warnings about cached_has_bits being unused
  25917. (void) cached_has_bits;
  25918. cached_has_bits = _impl_._has_bits_[0];
  25919. if (cached_has_bits & 0x00000001u) {
  25920. ABSL_DCHECK(_impl_.user_ != nullptr);
  25921. _impl_.user_->Clear();
  25922. }
  25923. _impl_._has_bits_.Clear();
  25924. _internal_metadata_.Clear<std::string>();
  25925. }
  25926. const char* RequestControlRemoteCameraParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  25927. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  25928. _Internal::HasBits has_bits{};
  25929. while (!ctx->Done(&ptr)) {
  25930. ::uint32_t tag;
  25931. ptr = ::_pbi::ReadTag(ptr, &tag);
  25932. switch (tag >> 3) {
  25933. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  25934. case 1:
  25935. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  25936. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  25937. CHK_(ptr);
  25938. } else {
  25939. goto handle_unusual;
  25940. }
  25941. continue;
  25942. default:
  25943. goto handle_unusual;
  25944. } // switch
  25945. handle_unusual:
  25946. if ((tag == 0) || ((tag & 7) == 4)) {
  25947. CHK_(ptr);
  25948. ctx->SetLastTag(tag);
  25949. goto message_done;
  25950. }
  25951. ptr = UnknownFieldParse(
  25952. tag,
  25953. _internal_metadata_.mutable_unknown_fields<std::string>(),
  25954. ptr, ctx);
  25955. CHK_(ptr != nullptr);
  25956. } // while
  25957. message_done:
  25958. _impl_._has_bits_.Or(has_bits);
  25959. return ptr;
  25960. failure:
  25961. ptr = nullptr;
  25962. goto message_done;
  25963. #undef CHK_
  25964. }
  25965. ::uint8_t* RequestControlRemoteCameraParams::_InternalSerialize(
  25966. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  25967. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
  25968. ::uint32_t cached_has_bits = 0;
  25969. (void) cached_has_bits;
  25970. cached_has_bits = _impl_._has_bits_[0];
  25971. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  25972. if (cached_has_bits & 0x00000001u) {
  25973. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  25974. InternalWriteMessage(1, _Internal::user(this),
  25975. _Internal::user(this).GetCachedSize(), target, stream);
  25976. }
  25977. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  25978. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  25979. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  25980. }
  25981. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
  25982. return target;
  25983. }
  25984. ::size_t RequestControlRemoteCameraParams::ByteSizeLong() const {
  25985. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
  25986. ::size_t total_size = 0;
  25987. ::uint32_t cached_has_bits = 0;
  25988. // Prevent compiler warnings about cached_has_bits being unused
  25989. (void) cached_has_bits;
  25990. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  25991. cached_has_bits = _impl_._has_bits_[0];
  25992. if (cached_has_bits & 0x00000001u) {
  25993. total_size += 1 +
  25994. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  25995. *_impl_.user_);
  25996. }
  25997. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  25998. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  25999. }
  26000. int cached_size = ::_pbi::ToCachedSize(total_size);
  26001. SetCachedSize(cached_size);
  26002. return total_size;
  26003. }
  26004. void RequestControlRemoteCameraParams::CheckTypeAndMergeFrom(
  26005. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  26006. MergeFrom(*::_pbi::DownCast<const RequestControlRemoteCameraParams*>(
  26007. &from));
  26008. }
  26009. void RequestControlRemoteCameraParams::MergeFrom(const RequestControlRemoteCameraParams& from) {
  26010. RequestControlRemoteCameraParams* const _this = this;
  26011. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
  26012. ABSL_DCHECK_NE(&from, _this);
  26013. ::uint32_t cached_has_bits = 0;
  26014. (void) cached_has_bits;
  26015. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  26016. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  26017. from._internal_user());
  26018. }
  26019. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  26020. }
  26021. void RequestControlRemoteCameraParams::CopyFrom(const RequestControlRemoteCameraParams& from) {
  26022. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
  26023. if (&from == this) return;
  26024. Clear();
  26025. MergeFrom(from);
  26026. }
  26027. bool RequestControlRemoteCameraParams::IsInitialized() const {
  26028. return true;
  26029. }
  26030. void RequestControlRemoteCameraParams::InternalSwap(RequestControlRemoteCameraParams* other) {
  26031. using std::swap;
  26032. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  26033. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  26034. swap(_impl_.user_, other->_impl_.user_);
  26035. }
  26036. std::string RequestControlRemoteCameraParams::GetTypeName() const {
  26037. return "com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams";
  26038. }
  26039. // ===================================================================
  26040. class GiveUpControlRemoteCameraParams::_Internal {
  26041. public:
  26042. using HasBits = decltype(std::declval<GiveUpControlRemoteCameraParams>()._impl_._has_bits_);
  26043. static constexpr ::int32_t kHasBitsOffset =
  26044. 8 * PROTOBUF_FIELD_OFFSET(GiveUpControlRemoteCameraParams, _impl_._has_bits_);
  26045. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const GiveUpControlRemoteCameraParams* msg);
  26046. static void set_has_user(HasBits* has_bits) {
  26047. (*has_bits)[0] |= 1u;
  26048. }
  26049. };
  26050. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  26051. GiveUpControlRemoteCameraParams::_Internal::user(const GiveUpControlRemoteCameraParams* msg) {
  26052. return *msg->_impl_.user_;
  26053. }
  26054. GiveUpControlRemoteCameraParams::GiveUpControlRemoteCameraParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  26055. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  26056. SharedCtor(arena);
  26057. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
  26058. }
  26059. GiveUpControlRemoteCameraParams::GiveUpControlRemoteCameraParams(const GiveUpControlRemoteCameraParams& from)
  26060. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  26061. GiveUpControlRemoteCameraParams* const _this = this; (void)_this;
  26062. new (&_impl_) Impl_{
  26063. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  26064. , /*decltype(_impl_._cached_size_)*/{}
  26065. , decltype(_impl_.user_){nullptr}};
  26066. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  26067. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  26068. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  26069. }
  26070. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
  26071. }
  26072. inline void GiveUpControlRemoteCameraParams::SharedCtor(::_pb::Arena* arena) {
  26073. (void)arena;
  26074. new (&_impl_) Impl_{
  26075. decltype(_impl_._has_bits_){}
  26076. , /*decltype(_impl_._cached_size_)*/{}
  26077. , decltype(_impl_.user_){nullptr}
  26078. };
  26079. }
  26080. GiveUpControlRemoteCameraParams::~GiveUpControlRemoteCameraParams() {
  26081. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
  26082. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  26083. (void)arena;
  26084. return;
  26085. }
  26086. SharedDtor();
  26087. }
  26088. inline void GiveUpControlRemoteCameraParams::SharedDtor() {
  26089. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  26090. if (this != internal_default_instance()) delete _impl_.user_;
  26091. }
  26092. void GiveUpControlRemoteCameraParams::SetCachedSize(int size) const {
  26093. _impl_._cached_size_.Set(size);
  26094. }
  26095. void GiveUpControlRemoteCameraParams::Clear() {
  26096. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
  26097. ::uint32_t cached_has_bits = 0;
  26098. // Prevent compiler warnings about cached_has_bits being unused
  26099. (void) cached_has_bits;
  26100. cached_has_bits = _impl_._has_bits_[0];
  26101. if (cached_has_bits & 0x00000001u) {
  26102. ABSL_DCHECK(_impl_.user_ != nullptr);
  26103. _impl_.user_->Clear();
  26104. }
  26105. _impl_._has_bits_.Clear();
  26106. _internal_metadata_.Clear<std::string>();
  26107. }
  26108. const char* GiveUpControlRemoteCameraParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  26109. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  26110. _Internal::HasBits has_bits{};
  26111. while (!ctx->Done(&ptr)) {
  26112. ::uint32_t tag;
  26113. ptr = ::_pbi::ReadTag(ptr, &tag);
  26114. switch (tag >> 3) {
  26115. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  26116. case 1:
  26117. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  26118. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  26119. CHK_(ptr);
  26120. } else {
  26121. goto handle_unusual;
  26122. }
  26123. continue;
  26124. default:
  26125. goto handle_unusual;
  26126. } // switch
  26127. handle_unusual:
  26128. if ((tag == 0) || ((tag & 7) == 4)) {
  26129. CHK_(ptr);
  26130. ctx->SetLastTag(tag);
  26131. goto message_done;
  26132. }
  26133. ptr = UnknownFieldParse(
  26134. tag,
  26135. _internal_metadata_.mutable_unknown_fields<std::string>(),
  26136. ptr, ctx);
  26137. CHK_(ptr != nullptr);
  26138. } // while
  26139. message_done:
  26140. _impl_._has_bits_.Or(has_bits);
  26141. return ptr;
  26142. failure:
  26143. ptr = nullptr;
  26144. goto message_done;
  26145. #undef CHK_
  26146. }
  26147. ::uint8_t* GiveUpControlRemoteCameraParams::_InternalSerialize(
  26148. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  26149. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
  26150. ::uint32_t cached_has_bits = 0;
  26151. (void) cached_has_bits;
  26152. cached_has_bits = _impl_._has_bits_[0];
  26153. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  26154. if (cached_has_bits & 0x00000001u) {
  26155. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  26156. InternalWriteMessage(1, _Internal::user(this),
  26157. _Internal::user(this).GetCachedSize(), target, stream);
  26158. }
  26159. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  26160. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  26161. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  26162. }
  26163. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
  26164. return target;
  26165. }
  26166. ::size_t GiveUpControlRemoteCameraParams::ByteSizeLong() const {
  26167. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
  26168. ::size_t total_size = 0;
  26169. ::uint32_t cached_has_bits = 0;
  26170. // Prevent compiler warnings about cached_has_bits being unused
  26171. (void) cached_has_bits;
  26172. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
  26173. cached_has_bits = _impl_._has_bits_[0];
  26174. if (cached_has_bits & 0x00000001u) {
  26175. total_size += 1 +
  26176. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  26177. *_impl_.user_);
  26178. }
  26179. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  26180. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  26181. }
  26182. int cached_size = ::_pbi::ToCachedSize(total_size);
  26183. SetCachedSize(cached_size);
  26184. return total_size;
  26185. }
  26186. void GiveUpControlRemoteCameraParams::CheckTypeAndMergeFrom(
  26187. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  26188. MergeFrom(*::_pbi::DownCast<const GiveUpControlRemoteCameraParams*>(
  26189. &from));
  26190. }
  26191. void GiveUpControlRemoteCameraParams::MergeFrom(const GiveUpControlRemoteCameraParams& from) {
  26192. GiveUpControlRemoteCameraParams* const _this = this;
  26193. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
  26194. ABSL_DCHECK_NE(&from, _this);
  26195. ::uint32_t cached_has_bits = 0;
  26196. (void) cached_has_bits;
  26197. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  26198. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  26199. from._internal_user());
  26200. }
  26201. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  26202. }
  26203. void GiveUpControlRemoteCameraParams::CopyFrom(const GiveUpControlRemoteCameraParams& from) {
  26204. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
  26205. if (&from == this) return;
  26206. Clear();
  26207. MergeFrom(from);
  26208. }
  26209. bool GiveUpControlRemoteCameraParams::IsInitialized() const {
  26210. return true;
  26211. }
  26212. void GiveUpControlRemoteCameraParams::InternalSwap(GiveUpControlRemoteCameraParams* other) {
  26213. using std::swap;
  26214. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  26215. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  26216. swap(_impl_.user_, other->_impl_.user_);
  26217. }
  26218. std::string GiveUpControlRemoteCameraParams::GetTypeName() const {
  26219. return "com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams";
  26220. }
  26221. // ===================================================================
  26222. class RemoteCameraCtrlTurnLeftParams::_Internal {
  26223. public:
  26224. using HasBits = decltype(std::declval<RemoteCameraCtrlTurnLeftParams>()._impl_._has_bits_);
  26225. static constexpr ::int32_t kHasBitsOffset =
  26226. 8 * PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnLeftParams, _impl_._has_bits_);
  26227. static void set_has_range(HasBits* has_bits) {
  26228. (*has_bits)[0] |= 2u;
  26229. }
  26230. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RemoteCameraCtrlTurnLeftParams* msg);
  26231. static void set_has_user(HasBits* has_bits) {
  26232. (*has_bits)[0] |= 1u;
  26233. }
  26234. };
  26235. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  26236. RemoteCameraCtrlTurnLeftParams::_Internal::user(const RemoteCameraCtrlTurnLeftParams* msg) {
  26237. return *msg->_impl_.user_;
  26238. }
  26239. RemoteCameraCtrlTurnLeftParams::RemoteCameraCtrlTurnLeftParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  26240. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  26241. SharedCtor(arena);
  26242. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
  26243. }
  26244. RemoteCameraCtrlTurnLeftParams::RemoteCameraCtrlTurnLeftParams(const RemoteCameraCtrlTurnLeftParams& from)
  26245. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  26246. RemoteCameraCtrlTurnLeftParams* const _this = this; (void)_this;
  26247. new (&_impl_) Impl_{
  26248. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  26249. , /*decltype(_impl_._cached_size_)*/{}
  26250. , decltype(_impl_.user_){nullptr}
  26251. , decltype(_impl_.range_) {}
  26252. };
  26253. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  26254. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  26255. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  26256. }
  26257. _this->_impl_.range_ = from._impl_.range_;
  26258. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
  26259. }
  26260. inline void RemoteCameraCtrlTurnLeftParams::SharedCtor(::_pb::Arena* arena) {
  26261. (void)arena;
  26262. new (&_impl_) Impl_{
  26263. decltype(_impl_._has_bits_){}
  26264. , /*decltype(_impl_._cached_size_)*/{}
  26265. , decltype(_impl_.user_){nullptr}
  26266. , decltype(_impl_.range_) { 0u }
  26267. };
  26268. }
  26269. RemoteCameraCtrlTurnLeftParams::~RemoteCameraCtrlTurnLeftParams() {
  26270. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
  26271. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  26272. (void)arena;
  26273. return;
  26274. }
  26275. SharedDtor();
  26276. }
  26277. inline void RemoteCameraCtrlTurnLeftParams::SharedDtor() {
  26278. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  26279. if (this != internal_default_instance()) delete _impl_.user_;
  26280. }
  26281. void RemoteCameraCtrlTurnLeftParams::SetCachedSize(int size) const {
  26282. _impl_._cached_size_.Set(size);
  26283. }
  26284. void RemoteCameraCtrlTurnLeftParams::Clear() {
  26285. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
  26286. ::uint32_t cached_has_bits = 0;
  26287. // Prevent compiler warnings about cached_has_bits being unused
  26288. (void) cached_has_bits;
  26289. cached_has_bits = _impl_._has_bits_[0];
  26290. if (cached_has_bits & 0x00000001u) {
  26291. ABSL_DCHECK(_impl_.user_ != nullptr);
  26292. _impl_.user_->Clear();
  26293. }
  26294. _impl_.range_ = 0u;
  26295. _impl_._has_bits_.Clear();
  26296. _internal_metadata_.Clear<std::string>();
  26297. }
  26298. const char* RemoteCameraCtrlTurnLeftParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  26299. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  26300. _Internal::HasBits has_bits{};
  26301. while (!ctx->Done(&ptr)) {
  26302. ::uint32_t tag;
  26303. ptr = ::_pbi::ReadTag(ptr, &tag);
  26304. switch (tag >> 3) {
  26305. // optional uint32 range = 1;
  26306. case 1:
  26307. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  26308. _Internal::set_has_range(&has_bits);
  26309. _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  26310. CHK_(ptr);
  26311. } else {
  26312. goto handle_unusual;
  26313. }
  26314. continue;
  26315. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  26316. case 2:
  26317. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  26318. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  26319. CHK_(ptr);
  26320. } else {
  26321. goto handle_unusual;
  26322. }
  26323. continue;
  26324. default:
  26325. goto handle_unusual;
  26326. } // switch
  26327. handle_unusual:
  26328. if ((tag == 0) || ((tag & 7) == 4)) {
  26329. CHK_(ptr);
  26330. ctx->SetLastTag(tag);
  26331. goto message_done;
  26332. }
  26333. ptr = UnknownFieldParse(
  26334. tag,
  26335. _internal_metadata_.mutable_unknown_fields<std::string>(),
  26336. ptr, ctx);
  26337. CHK_(ptr != nullptr);
  26338. } // while
  26339. message_done:
  26340. _impl_._has_bits_.Or(has_bits);
  26341. return ptr;
  26342. failure:
  26343. ptr = nullptr;
  26344. goto message_done;
  26345. #undef CHK_
  26346. }
  26347. ::uint8_t* RemoteCameraCtrlTurnLeftParams::_InternalSerialize(
  26348. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  26349. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
  26350. ::uint32_t cached_has_bits = 0;
  26351. (void) cached_has_bits;
  26352. cached_has_bits = _impl_._has_bits_[0];
  26353. // optional uint32 range = 1;
  26354. if (cached_has_bits & 0x00000002u) {
  26355. target = stream->EnsureSpace(target);
  26356. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  26357. 1, this->_internal_range(), target);
  26358. }
  26359. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  26360. if (cached_has_bits & 0x00000001u) {
  26361. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  26362. InternalWriteMessage(2, _Internal::user(this),
  26363. _Internal::user(this).GetCachedSize(), target, stream);
  26364. }
  26365. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  26366. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  26367. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  26368. }
  26369. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
  26370. return target;
  26371. }
  26372. ::size_t RemoteCameraCtrlTurnLeftParams::ByteSizeLong() const {
  26373. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
  26374. ::size_t total_size = 0;
  26375. ::uint32_t cached_has_bits = 0;
  26376. // Prevent compiler warnings about cached_has_bits being unused
  26377. (void) cached_has_bits;
  26378. cached_has_bits = _impl_._has_bits_[0];
  26379. if (cached_has_bits & 0x00000003u) {
  26380. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  26381. if (cached_has_bits & 0x00000001u) {
  26382. total_size += 1 +
  26383. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  26384. *_impl_.user_);
  26385. }
  26386. // optional uint32 range = 1;
  26387. if (cached_has_bits & 0x00000002u) {
  26388. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  26389. this->_internal_range());
  26390. }
  26391. }
  26392. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  26393. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  26394. }
  26395. int cached_size = ::_pbi::ToCachedSize(total_size);
  26396. SetCachedSize(cached_size);
  26397. return total_size;
  26398. }
  26399. void RemoteCameraCtrlTurnLeftParams::CheckTypeAndMergeFrom(
  26400. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  26401. MergeFrom(*::_pbi::DownCast<const RemoteCameraCtrlTurnLeftParams*>(
  26402. &from));
  26403. }
  26404. void RemoteCameraCtrlTurnLeftParams::MergeFrom(const RemoteCameraCtrlTurnLeftParams& from) {
  26405. RemoteCameraCtrlTurnLeftParams* const _this = this;
  26406. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
  26407. ABSL_DCHECK_NE(&from, _this);
  26408. ::uint32_t cached_has_bits = 0;
  26409. (void) cached_has_bits;
  26410. cached_has_bits = from._impl_._has_bits_[0];
  26411. if (cached_has_bits & 0x00000003u) {
  26412. if (cached_has_bits & 0x00000001u) {
  26413. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  26414. from._internal_user());
  26415. }
  26416. if (cached_has_bits & 0x00000002u) {
  26417. _this->_impl_.range_ = from._impl_.range_;
  26418. }
  26419. _this->_impl_._has_bits_[0] |= cached_has_bits;
  26420. }
  26421. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  26422. }
  26423. void RemoteCameraCtrlTurnLeftParams::CopyFrom(const RemoteCameraCtrlTurnLeftParams& from) {
  26424. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
  26425. if (&from == this) return;
  26426. Clear();
  26427. MergeFrom(from);
  26428. }
  26429. bool RemoteCameraCtrlTurnLeftParams::IsInitialized() const {
  26430. return true;
  26431. }
  26432. void RemoteCameraCtrlTurnLeftParams::InternalSwap(RemoteCameraCtrlTurnLeftParams* other) {
  26433. using std::swap;
  26434. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  26435. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  26436. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  26437. PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnLeftParams, _impl_.range_)
  26438. + sizeof(RemoteCameraCtrlTurnLeftParams::_impl_.range_)
  26439. - PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnLeftParams, _impl_.user_)>(
  26440. reinterpret_cast<char*>(&_impl_.user_),
  26441. reinterpret_cast<char*>(&other->_impl_.user_));
  26442. }
  26443. std::string RemoteCameraCtrlTurnLeftParams::GetTypeName() const {
  26444. return "com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams";
  26445. }
  26446. // ===================================================================
  26447. class RemoteCameraCtrlTurnRightParams::_Internal {
  26448. public:
  26449. using HasBits = decltype(std::declval<RemoteCameraCtrlTurnRightParams>()._impl_._has_bits_);
  26450. static constexpr ::int32_t kHasBitsOffset =
  26451. 8 * PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnRightParams, _impl_._has_bits_);
  26452. static void set_has_range(HasBits* has_bits) {
  26453. (*has_bits)[0] |= 2u;
  26454. }
  26455. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RemoteCameraCtrlTurnRightParams* msg);
  26456. static void set_has_user(HasBits* has_bits) {
  26457. (*has_bits)[0] |= 1u;
  26458. }
  26459. };
  26460. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  26461. RemoteCameraCtrlTurnRightParams::_Internal::user(const RemoteCameraCtrlTurnRightParams* msg) {
  26462. return *msg->_impl_.user_;
  26463. }
  26464. RemoteCameraCtrlTurnRightParams::RemoteCameraCtrlTurnRightParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  26465. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  26466. SharedCtor(arena);
  26467. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
  26468. }
  26469. RemoteCameraCtrlTurnRightParams::RemoteCameraCtrlTurnRightParams(const RemoteCameraCtrlTurnRightParams& from)
  26470. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  26471. RemoteCameraCtrlTurnRightParams* const _this = this; (void)_this;
  26472. new (&_impl_) Impl_{
  26473. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  26474. , /*decltype(_impl_._cached_size_)*/{}
  26475. , decltype(_impl_.user_){nullptr}
  26476. , decltype(_impl_.range_) {}
  26477. };
  26478. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  26479. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  26480. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  26481. }
  26482. _this->_impl_.range_ = from._impl_.range_;
  26483. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
  26484. }
  26485. inline void RemoteCameraCtrlTurnRightParams::SharedCtor(::_pb::Arena* arena) {
  26486. (void)arena;
  26487. new (&_impl_) Impl_{
  26488. decltype(_impl_._has_bits_){}
  26489. , /*decltype(_impl_._cached_size_)*/{}
  26490. , decltype(_impl_.user_){nullptr}
  26491. , decltype(_impl_.range_) { 0u }
  26492. };
  26493. }
  26494. RemoteCameraCtrlTurnRightParams::~RemoteCameraCtrlTurnRightParams() {
  26495. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
  26496. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  26497. (void)arena;
  26498. return;
  26499. }
  26500. SharedDtor();
  26501. }
  26502. inline void RemoteCameraCtrlTurnRightParams::SharedDtor() {
  26503. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  26504. if (this != internal_default_instance()) delete _impl_.user_;
  26505. }
  26506. void RemoteCameraCtrlTurnRightParams::SetCachedSize(int size) const {
  26507. _impl_._cached_size_.Set(size);
  26508. }
  26509. void RemoteCameraCtrlTurnRightParams::Clear() {
  26510. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
  26511. ::uint32_t cached_has_bits = 0;
  26512. // Prevent compiler warnings about cached_has_bits being unused
  26513. (void) cached_has_bits;
  26514. cached_has_bits = _impl_._has_bits_[0];
  26515. if (cached_has_bits & 0x00000001u) {
  26516. ABSL_DCHECK(_impl_.user_ != nullptr);
  26517. _impl_.user_->Clear();
  26518. }
  26519. _impl_.range_ = 0u;
  26520. _impl_._has_bits_.Clear();
  26521. _internal_metadata_.Clear<std::string>();
  26522. }
  26523. const char* RemoteCameraCtrlTurnRightParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  26524. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  26525. _Internal::HasBits has_bits{};
  26526. while (!ctx->Done(&ptr)) {
  26527. ::uint32_t tag;
  26528. ptr = ::_pbi::ReadTag(ptr, &tag);
  26529. switch (tag >> 3) {
  26530. // optional uint32 range = 1;
  26531. case 1:
  26532. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  26533. _Internal::set_has_range(&has_bits);
  26534. _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  26535. CHK_(ptr);
  26536. } else {
  26537. goto handle_unusual;
  26538. }
  26539. continue;
  26540. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  26541. case 2:
  26542. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  26543. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  26544. CHK_(ptr);
  26545. } else {
  26546. goto handle_unusual;
  26547. }
  26548. continue;
  26549. default:
  26550. goto handle_unusual;
  26551. } // switch
  26552. handle_unusual:
  26553. if ((tag == 0) || ((tag & 7) == 4)) {
  26554. CHK_(ptr);
  26555. ctx->SetLastTag(tag);
  26556. goto message_done;
  26557. }
  26558. ptr = UnknownFieldParse(
  26559. tag,
  26560. _internal_metadata_.mutable_unknown_fields<std::string>(),
  26561. ptr, ctx);
  26562. CHK_(ptr != nullptr);
  26563. } // while
  26564. message_done:
  26565. _impl_._has_bits_.Or(has_bits);
  26566. return ptr;
  26567. failure:
  26568. ptr = nullptr;
  26569. goto message_done;
  26570. #undef CHK_
  26571. }
  26572. ::uint8_t* RemoteCameraCtrlTurnRightParams::_InternalSerialize(
  26573. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  26574. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
  26575. ::uint32_t cached_has_bits = 0;
  26576. (void) cached_has_bits;
  26577. cached_has_bits = _impl_._has_bits_[0];
  26578. // optional uint32 range = 1;
  26579. if (cached_has_bits & 0x00000002u) {
  26580. target = stream->EnsureSpace(target);
  26581. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  26582. 1, this->_internal_range(), target);
  26583. }
  26584. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  26585. if (cached_has_bits & 0x00000001u) {
  26586. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  26587. InternalWriteMessage(2, _Internal::user(this),
  26588. _Internal::user(this).GetCachedSize(), target, stream);
  26589. }
  26590. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  26591. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  26592. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  26593. }
  26594. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
  26595. return target;
  26596. }
  26597. ::size_t RemoteCameraCtrlTurnRightParams::ByteSizeLong() const {
  26598. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
  26599. ::size_t total_size = 0;
  26600. ::uint32_t cached_has_bits = 0;
  26601. // Prevent compiler warnings about cached_has_bits being unused
  26602. (void) cached_has_bits;
  26603. cached_has_bits = _impl_._has_bits_[0];
  26604. if (cached_has_bits & 0x00000003u) {
  26605. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  26606. if (cached_has_bits & 0x00000001u) {
  26607. total_size += 1 +
  26608. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  26609. *_impl_.user_);
  26610. }
  26611. // optional uint32 range = 1;
  26612. if (cached_has_bits & 0x00000002u) {
  26613. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  26614. this->_internal_range());
  26615. }
  26616. }
  26617. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  26618. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  26619. }
  26620. int cached_size = ::_pbi::ToCachedSize(total_size);
  26621. SetCachedSize(cached_size);
  26622. return total_size;
  26623. }
  26624. void RemoteCameraCtrlTurnRightParams::CheckTypeAndMergeFrom(
  26625. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  26626. MergeFrom(*::_pbi::DownCast<const RemoteCameraCtrlTurnRightParams*>(
  26627. &from));
  26628. }
  26629. void RemoteCameraCtrlTurnRightParams::MergeFrom(const RemoteCameraCtrlTurnRightParams& from) {
  26630. RemoteCameraCtrlTurnRightParams* const _this = this;
  26631. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
  26632. ABSL_DCHECK_NE(&from, _this);
  26633. ::uint32_t cached_has_bits = 0;
  26634. (void) cached_has_bits;
  26635. cached_has_bits = from._impl_._has_bits_[0];
  26636. if (cached_has_bits & 0x00000003u) {
  26637. if (cached_has_bits & 0x00000001u) {
  26638. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  26639. from._internal_user());
  26640. }
  26641. if (cached_has_bits & 0x00000002u) {
  26642. _this->_impl_.range_ = from._impl_.range_;
  26643. }
  26644. _this->_impl_._has_bits_[0] |= cached_has_bits;
  26645. }
  26646. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  26647. }
  26648. void RemoteCameraCtrlTurnRightParams::CopyFrom(const RemoteCameraCtrlTurnRightParams& from) {
  26649. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
  26650. if (&from == this) return;
  26651. Clear();
  26652. MergeFrom(from);
  26653. }
  26654. bool RemoteCameraCtrlTurnRightParams::IsInitialized() const {
  26655. return true;
  26656. }
  26657. void RemoteCameraCtrlTurnRightParams::InternalSwap(RemoteCameraCtrlTurnRightParams* other) {
  26658. using std::swap;
  26659. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  26660. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  26661. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  26662. PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnRightParams, _impl_.range_)
  26663. + sizeof(RemoteCameraCtrlTurnRightParams::_impl_.range_)
  26664. - PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnRightParams, _impl_.user_)>(
  26665. reinterpret_cast<char*>(&_impl_.user_),
  26666. reinterpret_cast<char*>(&other->_impl_.user_));
  26667. }
  26668. std::string RemoteCameraCtrlTurnRightParams::GetTypeName() const {
  26669. return "com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams";
  26670. }
  26671. // ===================================================================
  26672. class RemoteCameraCtrlTurnUpParams::_Internal {
  26673. public:
  26674. using HasBits = decltype(std::declval<RemoteCameraCtrlTurnUpParams>()._impl_._has_bits_);
  26675. static constexpr ::int32_t kHasBitsOffset =
  26676. 8 * PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnUpParams, _impl_._has_bits_);
  26677. static void set_has_range(HasBits* has_bits) {
  26678. (*has_bits)[0] |= 2u;
  26679. }
  26680. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RemoteCameraCtrlTurnUpParams* msg);
  26681. static void set_has_user(HasBits* has_bits) {
  26682. (*has_bits)[0] |= 1u;
  26683. }
  26684. };
  26685. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  26686. RemoteCameraCtrlTurnUpParams::_Internal::user(const RemoteCameraCtrlTurnUpParams* msg) {
  26687. return *msg->_impl_.user_;
  26688. }
  26689. RemoteCameraCtrlTurnUpParams::RemoteCameraCtrlTurnUpParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  26690. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  26691. SharedCtor(arena);
  26692. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
  26693. }
  26694. RemoteCameraCtrlTurnUpParams::RemoteCameraCtrlTurnUpParams(const RemoteCameraCtrlTurnUpParams& from)
  26695. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  26696. RemoteCameraCtrlTurnUpParams* const _this = this; (void)_this;
  26697. new (&_impl_) Impl_{
  26698. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  26699. , /*decltype(_impl_._cached_size_)*/{}
  26700. , decltype(_impl_.user_){nullptr}
  26701. , decltype(_impl_.range_) {}
  26702. };
  26703. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  26704. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  26705. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  26706. }
  26707. _this->_impl_.range_ = from._impl_.range_;
  26708. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
  26709. }
  26710. inline void RemoteCameraCtrlTurnUpParams::SharedCtor(::_pb::Arena* arena) {
  26711. (void)arena;
  26712. new (&_impl_) Impl_{
  26713. decltype(_impl_._has_bits_){}
  26714. , /*decltype(_impl_._cached_size_)*/{}
  26715. , decltype(_impl_.user_){nullptr}
  26716. , decltype(_impl_.range_) { 0u }
  26717. };
  26718. }
  26719. RemoteCameraCtrlTurnUpParams::~RemoteCameraCtrlTurnUpParams() {
  26720. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
  26721. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  26722. (void)arena;
  26723. return;
  26724. }
  26725. SharedDtor();
  26726. }
  26727. inline void RemoteCameraCtrlTurnUpParams::SharedDtor() {
  26728. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  26729. if (this != internal_default_instance()) delete _impl_.user_;
  26730. }
  26731. void RemoteCameraCtrlTurnUpParams::SetCachedSize(int size) const {
  26732. _impl_._cached_size_.Set(size);
  26733. }
  26734. void RemoteCameraCtrlTurnUpParams::Clear() {
  26735. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
  26736. ::uint32_t cached_has_bits = 0;
  26737. // Prevent compiler warnings about cached_has_bits being unused
  26738. (void) cached_has_bits;
  26739. cached_has_bits = _impl_._has_bits_[0];
  26740. if (cached_has_bits & 0x00000001u) {
  26741. ABSL_DCHECK(_impl_.user_ != nullptr);
  26742. _impl_.user_->Clear();
  26743. }
  26744. _impl_.range_ = 0u;
  26745. _impl_._has_bits_.Clear();
  26746. _internal_metadata_.Clear<std::string>();
  26747. }
  26748. const char* RemoteCameraCtrlTurnUpParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  26749. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  26750. _Internal::HasBits has_bits{};
  26751. while (!ctx->Done(&ptr)) {
  26752. ::uint32_t tag;
  26753. ptr = ::_pbi::ReadTag(ptr, &tag);
  26754. switch (tag >> 3) {
  26755. // optional uint32 range = 1;
  26756. case 1:
  26757. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  26758. _Internal::set_has_range(&has_bits);
  26759. _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  26760. CHK_(ptr);
  26761. } else {
  26762. goto handle_unusual;
  26763. }
  26764. continue;
  26765. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  26766. case 2:
  26767. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  26768. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  26769. CHK_(ptr);
  26770. } else {
  26771. goto handle_unusual;
  26772. }
  26773. continue;
  26774. default:
  26775. goto handle_unusual;
  26776. } // switch
  26777. handle_unusual:
  26778. if ((tag == 0) || ((tag & 7) == 4)) {
  26779. CHK_(ptr);
  26780. ctx->SetLastTag(tag);
  26781. goto message_done;
  26782. }
  26783. ptr = UnknownFieldParse(
  26784. tag,
  26785. _internal_metadata_.mutable_unknown_fields<std::string>(),
  26786. ptr, ctx);
  26787. CHK_(ptr != nullptr);
  26788. } // while
  26789. message_done:
  26790. _impl_._has_bits_.Or(has_bits);
  26791. return ptr;
  26792. failure:
  26793. ptr = nullptr;
  26794. goto message_done;
  26795. #undef CHK_
  26796. }
  26797. ::uint8_t* RemoteCameraCtrlTurnUpParams::_InternalSerialize(
  26798. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  26799. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
  26800. ::uint32_t cached_has_bits = 0;
  26801. (void) cached_has_bits;
  26802. cached_has_bits = _impl_._has_bits_[0];
  26803. // optional uint32 range = 1;
  26804. if (cached_has_bits & 0x00000002u) {
  26805. target = stream->EnsureSpace(target);
  26806. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  26807. 1, this->_internal_range(), target);
  26808. }
  26809. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  26810. if (cached_has_bits & 0x00000001u) {
  26811. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  26812. InternalWriteMessage(2, _Internal::user(this),
  26813. _Internal::user(this).GetCachedSize(), target, stream);
  26814. }
  26815. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  26816. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  26817. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  26818. }
  26819. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
  26820. return target;
  26821. }
  26822. ::size_t RemoteCameraCtrlTurnUpParams::ByteSizeLong() const {
  26823. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
  26824. ::size_t total_size = 0;
  26825. ::uint32_t cached_has_bits = 0;
  26826. // Prevent compiler warnings about cached_has_bits being unused
  26827. (void) cached_has_bits;
  26828. cached_has_bits = _impl_._has_bits_[0];
  26829. if (cached_has_bits & 0x00000003u) {
  26830. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  26831. if (cached_has_bits & 0x00000001u) {
  26832. total_size += 1 +
  26833. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  26834. *_impl_.user_);
  26835. }
  26836. // optional uint32 range = 1;
  26837. if (cached_has_bits & 0x00000002u) {
  26838. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  26839. this->_internal_range());
  26840. }
  26841. }
  26842. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  26843. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  26844. }
  26845. int cached_size = ::_pbi::ToCachedSize(total_size);
  26846. SetCachedSize(cached_size);
  26847. return total_size;
  26848. }
  26849. void RemoteCameraCtrlTurnUpParams::CheckTypeAndMergeFrom(
  26850. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  26851. MergeFrom(*::_pbi::DownCast<const RemoteCameraCtrlTurnUpParams*>(
  26852. &from));
  26853. }
  26854. void RemoteCameraCtrlTurnUpParams::MergeFrom(const RemoteCameraCtrlTurnUpParams& from) {
  26855. RemoteCameraCtrlTurnUpParams* const _this = this;
  26856. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
  26857. ABSL_DCHECK_NE(&from, _this);
  26858. ::uint32_t cached_has_bits = 0;
  26859. (void) cached_has_bits;
  26860. cached_has_bits = from._impl_._has_bits_[0];
  26861. if (cached_has_bits & 0x00000003u) {
  26862. if (cached_has_bits & 0x00000001u) {
  26863. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  26864. from._internal_user());
  26865. }
  26866. if (cached_has_bits & 0x00000002u) {
  26867. _this->_impl_.range_ = from._impl_.range_;
  26868. }
  26869. _this->_impl_._has_bits_[0] |= cached_has_bits;
  26870. }
  26871. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  26872. }
  26873. void RemoteCameraCtrlTurnUpParams::CopyFrom(const RemoteCameraCtrlTurnUpParams& from) {
  26874. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
  26875. if (&from == this) return;
  26876. Clear();
  26877. MergeFrom(from);
  26878. }
  26879. bool RemoteCameraCtrlTurnUpParams::IsInitialized() const {
  26880. return true;
  26881. }
  26882. void RemoteCameraCtrlTurnUpParams::InternalSwap(RemoteCameraCtrlTurnUpParams* other) {
  26883. using std::swap;
  26884. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  26885. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  26886. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  26887. PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnUpParams, _impl_.range_)
  26888. + sizeof(RemoteCameraCtrlTurnUpParams::_impl_.range_)
  26889. - PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnUpParams, _impl_.user_)>(
  26890. reinterpret_cast<char*>(&_impl_.user_),
  26891. reinterpret_cast<char*>(&other->_impl_.user_));
  26892. }
  26893. std::string RemoteCameraCtrlTurnUpParams::GetTypeName() const {
  26894. return "com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams";
  26895. }
  26896. // ===================================================================
  26897. class RemoteCameraCtrlTurnDownParams::_Internal {
  26898. public:
  26899. using HasBits = decltype(std::declval<RemoteCameraCtrlTurnDownParams>()._impl_._has_bits_);
  26900. static constexpr ::int32_t kHasBitsOffset =
  26901. 8 * PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnDownParams, _impl_._has_bits_);
  26902. static void set_has_range(HasBits* has_bits) {
  26903. (*has_bits)[0] |= 2u;
  26904. }
  26905. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RemoteCameraCtrlTurnDownParams* msg);
  26906. static void set_has_user(HasBits* has_bits) {
  26907. (*has_bits)[0] |= 1u;
  26908. }
  26909. };
  26910. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  26911. RemoteCameraCtrlTurnDownParams::_Internal::user(const RemoteCameraCtrlTurnDownParams* msg) {
  26912. return *msg->_impl_.user_;
  26913. }
  26914. RemoteCameraCtrlTurnDownParams::RemoteCameraCtrlTurnDownParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  26915. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  26916. SharedCtor(arena);
  26917. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
  26918. }
  26919. RemoteCameraCtrlTurnDownParams::RemoteCameraCtrlTurnDownParams(const RemoteCameraCtrlTurnDownParams& from)
  26920. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  26921. RemoteCameraCtrlTurnDownParams* const _this = this; (void)_this;
  26922. new (&_impl_) Impl_{
  26923. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  26924. , /*decltype(_impl_._cached_size_)*/{}
  26925. , decltype(_impl_.user_){nullptr}
  26926. , decltype(_impl_.range_) {}
  26927. };
  26928. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  26929. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  26930. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  26931. }
  26932. _this->_impl_.range_ = from._impl_.range_;
  26933. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
  26934. }
  26935. inline void RemoteCameraCtrlTurnDownParams::SharedCtor(::_pb::Arena* arena) {
  26936. (void)arena;
  26937. new (&_impl_) Impl_{
  26938. decltype(_impl_._has_bits_){}
  26939. , /*decltype(_impl_._cached_size_)*/{}
  26940. , decltype(_impl_.user_){nullptr}
  26941. , decltype(_impl_.range_) { 0u }
  26942. };
  26943. }
  26944. RemoteCameraCtrlTurnDownParams::~RemoteCameraCtrlTurnDownParams() {
  26945. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
  26946. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  26947. (void)arena;
  26948. return;
  26949. }
  26950. SharedDtor();
  26951. }
  26952. inline void RemoteCameraCtrlTurnDownParams::SharedDtor() {
  26953. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  26954. if (this != internal_default_instance()) delete _impl_.user_;
  26955. }
  26956. void RemoteCameraCtrlTurnDownParams::SetCachedSize(int size) const {
  26957. _impl_._cached_size_.Set(size);
  26958. }
  26959. void RemoteCameraCtrlTurnDownParams::Clear() {
  26960. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
  26961. ::uint32_t cached_has_bits = 0;
  26962. // Prevent compiler warnings about cached_has_bits being unused
  26963. (void) cached_has_bits;
  26964. cached_has_bits = _impl_._has_bits_[0];
  26965. if (cached_has_bits & 0x00000001u) {
  26966. ABSL_DCHECK(_impl_.user_ != nullptr);
  26967. _impl_.user_->Clear();
  26968. }
  26969. _impl_.range_ = 0u;
  26970. _impl_._has_bits_.Clear();
  26971. _internal_metadata_.Clear<std::string>();
  26972. }
  26973. const char* RemoteCameraCtrlTurnDownParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  26974. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  26975. _Internal::HasBits has_bits{};
  26976. while (!ctx->Done(&ptr)) {
  26977. ::uint32_t tag;
  26978. ptr = ::_pbi::ReadTag(ptr, &tag);
  26979. switch (tag >> 3) {
  26980. // optional uint32 range = 1;
  26981. case 1:
  26982. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  26983. _Internal::set_has_range(&has_bits);
  26984. _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  26985. CHK_(ptr);
  26986. } else {
  26987. goto handle_unusual;
  26988. }
  26989. continue;
  26990. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  26991. case 2:
  26992. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  26993. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  26994. CHK_(ptr);
  26995. } else {
  26996. goto handle_unusual;
  26997. }
  26998. continue;
  26999. default:
  27000. goto handle_unusual;
  27001. } // switch
  27002. handle_unusual:
  27003. if ((tag == 0) || ((tag & 7) == 4)) {
  27004. CHK_(ptr);
  27005. ctx->SetLastTag(tag);
  27006. goto message_done;
  27007. }
  27008. ptr = UnknownFieldParse(
  27009. tag,
  27010. _internal_metadata_.mutable_unknown_fields<std::string>(),
  27011. ptr, ctx);
  27012. CHK_(ptr != nullptr);
  27013. } // while
  27014. message_done:
  27015. _impl_._has_bits_.Or(has_bits);
  27016. return ptr;
  27017. failure:
  27018. ptr = nullptr;
  27019. goto message_done;
  27020. #undef CHK_
  27021. }
  27022. ::uint8_t* RemoteCameraCtrlTurnDownParams::_InternalSerialize(
  27023. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  27024. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
  27025. ::uint32_t cached_has_bits = 0;
  27026. (void) cached_has_bits;
  27027. cached_has_bits = _impl_._has_bits_[0];
  27028. // optional uint32 range = 1;
  27029. if (cached_has_bits & 0x00000002u) {
  27030. target = stream->EnsureSpace(target);
  27031. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  27032. 1, this->_internal_range(), target);
  27033. }
  27034. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  27035. if (cached_has_bits & 0x00000001u) {
  27036. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  27037. InternalWriteMessage(2, _Internal::user(this),
  27038. _Internal::user(this).GetCachedSize(), target, stream);
  27039. }
  27040. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  27041. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  27042. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  27043. }
  27044. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
  27045. return target;
  27046. }
  27047. ::size_t RemoteCameraCtrlTurnDownParams::ByteSizeLong() const {
  27048. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
  27049. ::size_t total_size = 0;
  27050. ::uint32_t cached_has_bits = 0;
  27051. // Prevent compiler warnings about cached_has_bits being unused
  27052. (void) cached_has_bits;
  27053. cached_has_bits = _impl_._has_bits_[0];
  27054. if (cached_has_bits & 0x00000003u) {
  27055. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  27056. if (cached_has_bits & 0x00000001u) {
  27057. total_size += 1 +
  27058. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  27059. *_impl_.user_);
  27060. }
  27061. // optional uint32 range = 1;
  27062. if (cached_has_bits & 0x00000002u) {
  27063. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  27064. this->_internal_range());
  27065. }
  27066. }
  27067. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  27068. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  27069. }
  27070. int cached_size = ::_pbi::ToCachedSize(total_size);
  27071. SetCachedSize(cached_size);
  27072. return total_size;
  27073. }
  27074. void RemoteCameraCtrlTurnDownParams::CheckTypeAndMergeFrom(
  27075. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  27076. MergeFrom(*::_pbi::DownCast<const RemoteCameraCtrlTurnDownParams*>(
  27077. &from));
  27078. }
  27079. void RemoteCameraCtrlTurnDownParams::MergeFrom(const RemoteCameraCtrlTurnDownParams& from) {
  27080. RemoteCameraCtrlTurnDownParams* const _this = this;
  27081. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
  27082. ABSL_DCHECK_NE(&from, _this);
  27083. ::uint32_t cached_has_bits = 0;
  27084. (void) cached_has_bits;
  27085. cached_has_bits = from._impl_._has_bits_[0];
  27086. if (cached_has_bits & 0x00000003u) {
  27087. if (cached_has_bits & 0x00000001u) {
  27088. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  27089. from._internal_user());
  27090. }
  27091. if (cached_has_bits & 0x00000002u) {
  27092. _this->_impl_.range_ = from._impl_.range_;
  27093. }
  27094. _this->_impl_._has_bits_[0] |= cached_has_bits;
  27095. }
  27096. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  27097. }
  27098. void RemoteCameraCtrlTurnDownParams::CopyFrom(const RemoteCameraCtrlTurnDownParams& from) {
  27099. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
  27100. if (&from == this) return;
  27101. Clear();
  27102. MergeFrom(from);
  27103. }
  27104. bool RemoteCameraCtrlTurnDownParams::IsInitialized() const {
  27105. return true;
  27106. }
  27107. void RemoteCameraCtrlTurnDownParams::InternalSwap(RemoteCameraCtrlTurnDownParams* other) {
  27108. using std::swap;
  27109. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  27110. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  27111. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  27112. PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnDownParams, _impl_.range_)
  27113. + sizeof(RemoteCameraCtrlTurnDownParams::_impl_.range_)
  27114. - PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnDownParams, _impl_.user_)>(
  27115. reinterpret_cast<char*>(&_impl_.user_),
  27116. reinterpret_cast<char*>(&other->_impl_.user_));
  27117. }
  27118. std::string RemoteCameraCtrlTurnDownParams::GetTypeName() const {
  27119. return "com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams";
  27120. }
  27121. // ===================================================================
  27122. class RemoteCameraCtrlZoomInParams::_Internal {
  27123. public:
  27124. using HasBits = decltype(std::declval<RemoteCameraCtrlZoomInParams>()._impl_._has_bits_);
  27125. static constexpr ::int32_t kHasBitsOffset =
  27126. 8 * PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlZoomInParams, _impl_._has_bits_);
  27127. static void set_has_range(HasBits* has_bits) {
  27128. (*has_bits)[0] |= 2u;
  27129. }
  27130. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RemoteCameraCtrlZoomInParams* msg);
  27131. static void set_has_user(HasBits* has_bits) {
  27132. (*has_bits)[0] |= 1u;
  27133. }
  27134. };
  27135. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  27136. RemoteCameraCtrlZoomInParams::_Internal::user(const RemoteCameraCtrlZoomInParams* msg) {
  27137. return *msg->_impl_.user_;
  27138. }
  27139. RemoteCameraCtrlZoomInParams::RemoteCameraCtrlZoomInParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  27140. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  27141. SharedCtor(arena);
  27142. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
  27143. }
  27144. RemoteCameraCtrlZoomInParams::RemoteCameraCtrlZoomInParams(const RemoteCameraCtrlZoomInParams& from)
  27145. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  27146. RemoteCameraCtrlZoomInParams* const _this = this; (void)_this;
  27147. new (&_impl_) Impl_{
  27148. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  27149. , /*decltype(_impl_._cached_size_)*/{}
  27150. , decltype(_impl_.user_){nullptr}
  27151. , decltype(_impl_.range_) {}
  27152. };
  27153. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  27154. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  27155. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  27156. }
  27157. _this->_impl_.range_ = from._impl_.range_;
  27158. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
  27159. }
  27160. inline void RemoteCameraCtrlZoomInParams::SharedCtor(::_pb::Arena* arena) {
  27161. (void)arena;
  27162. new (&_impl_) Impl_{
  27163. decltype(_impl_._has_bits_){}
  27164. , /*decltype(_impl_._cached_size_)*/{}
  27165. , decltype(_impl_.user_){nullptr}
  27166. , decltype(_impl_.range_) { 0u }
  27167. };
  27168. }
  27169. RemoteCameraCtrlZoomInParams::~RemoteCameraCtrlZoomInParams() {
  27170. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
  27171. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  27172. (void)arena;
  27173. return;
  27174. }
  27175. SharedDtor();
  27176. }
  27177. inline void RemoteCameraCtrlZoomInParams::SharedDtor() {
  27178. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  27179. if (this != internal_default_instance()) delete _impl_.user_;
  27180. }
  27181. void RemoteCameraCtrlZoomInParams::SetCachedSize(int size) const {
  27182. _impl_._cached_size_.Set(size);
  27183. }
  27184. void RemoteCameraCtrlZoomInParams::Clear() {
  27185. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
  27186. ::uint32_t cached_has_bits = 0;
  27187. // Prevent compiler warnings about cached_has_bits being unused
  27188. (void) cached_has_bits;
  27189. cached_has_bits = _impl_._has_bits_[0];
  27190. if (cached_has_bits & 0x00000001u) {
  27191. ABSL_DCHECK(_impl_.user_ != nullptr);
  27192. _impl_.user_->Clear();
  27193. }
  27194. _impl_.range_ = 0u;
  27195. _impl_._has_bits_.Clear();
  27196. _internal_metadata_.Clear<std::string>();
  27197. }
  27198. const char* RemoteCameraCtrlZoomInParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  27199. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  27200. _Internal::HasBits has_bits{};
  27201. while (!ctx->Done(&ptr)) {
  27202. ::uint32_t tag;
  27203. ptr = ::_pbi::ReadTag(ptr, &tag);
  27204. switch (tag >> 3) {
  27205. // optional uint32 range = 1;
  27206. case 1:
  27207. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  27208. _Internal::set_has_range(&has_bits);
  27209. _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  27210. CHK_(ptr);
  27211. } else {
  27212. goto handle_unusual;
  27213. }
  27214. continue;
  27215. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  27216. case 2:
  27217. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  27218. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  27219. CHK_(ptr);
  27220. } else {
  27221. goto handle_unusual;
  27222. }
  27223. continue;
  27224. default:
  27225. goto handle_unusual;
  27226. } // switch
  27227. handle_unusual:
  27228. if ((tag == 0) || ((tag & 7) == 4)) {
  27229. CHK_(ptr);
  27230. ctx->SetLastTag(tag);
  27231. goto message_done;
  27232. }
  27233. ptr = UnknownFieldParse(
  27234. tag,
  27235. _internal_metadata_.mutable_unknown_fields<std::string>(),
  27236. ptr, ctx);
  27237. CHK_(ptr != nullptr);
  27238. } // while
  27239. message_done:
  27240. _impl_._has_bits_.Or(has_bits);
  27241. return ptr;
  27242. failure:
  27243. ptr = nullptr;
  27244. goto message_done;
  27245. #undef CHK_
  27246. }
  27247. ::uint8_t* RemoteCameraCtrlZoomInParams::_InternalSerialize(
  27248. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  27249. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
  27250. ::uint32_t cached_has_bits = 0;
  27251. (void) cached_has_bits;
  27252. cached_has_bits = _impl_._has_bits_[0];
  27253. // optional uint32 range = 1;
  27254. if (cached_has_bits & 0x00000002u) {
  27255. target = stream->EnsureSpace(target);
  27256. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  27257. 1, this->_internal_range(), target);
  27258. }
  27259. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  27260. if (cached_has_bits & 0x00000001u) {
  27261. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  27262. InternalWriteMessage(2, _Internal::user(this),
  27263. _Internal::user(this).GetCachedSize(), target, stream);
  27264. }
  27265. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  27266. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  27267. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  27268. }
  27269. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
  27270. return target;
  27271. }
  27272. ::size_t RemoteCameraCtrlZoomInParams::ByteSizeLong() const {
  27273. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
  27274. ::size_t total_size = 0;
  27275. ::uint32_t cached_has_bits = 0;
  27276. // Prevent compiler warnings about cached_has_bits being unused
  27277. (void) cached_has_bits;
  27278. cached_has_bits = _impl_._has_bits_[0];
  27279. if (cached_has_bits & 0x00000003u) {
  27280. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  27281. if (cached_has_bits & 0x00000001u) {
  27282. total_size += 1 +
  27283. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  27284. *_impl_.user_);
  27285. }
  27286. // optional uint32 range = 1;
  27287. if (cached_has_bits & 0x00000002u) {
  27288. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  27289. this->_internal_range());
  27290. }
  27291. }
  27292. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  27293. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  27294. }
  27295. int cached_size = ::_pbi::ToCachedSize(total_size);
  27296. SetCachedSize(cached_size);
  27297. return total_size;
  27298. }
  27299. void RemoteCameraCtrlZoomInParams::CheckTypeAndMergeFrom(
  27300. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  27301. MergeFrom(*::_pbi::DownCast<const RemoteCameraCtrlZoomInParams*>(
  27302. &from));
  27303. }
  27304. void RemoteCameraCtrlZoomInParams::MergeFrom(const RemoteCameraCtrlZoomInParams& from) {
  27305. RemoteCameraCtrlZoomInParams* const _this = this;
  27306. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
  27307. ABSL_DCHECK_NE(&from, _this);
  27308. ::uint32_t cached_has_bits = 0;
  27309. (void) cached_has_bits;
  27310. cached_has_bits = from._impl_._has_bits_[0];
  27311. if (cached_has_bits & 0x00000003u) {
  27312. if (cached_has_bits & 0x00000001u) {
  27313. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  27314. from._internal_user());
  27315. }
  27316. if (cached_has_bits & 0x00000002u) {
  27317. _this->_impl_.range_ = from._impl_.range_;
  27318. }
  27319. _this->_impl_._has_bits_[0] |= cached_has_bits;
  27320. }
  27321. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  27322. }
  27323. void RemoteCameraCtrlZoomInParams::CopyFrom(const RemoteCameraCtrlZoomInParams& from) {
  27324. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
  27325. if (&from == this) return;
  27326. Clear();
  27327. MergeFrom(from);
  27328. }
  27329. bool RemoteCameraCtrlZoomInParams::IsInitialized() const {
  27330. return true;
  27331. }
  27332. void RemoteCameraCtrlZoomInParams::InternalSwap(RemoteCameraCtrlZoomInParams* other) {
  27333. using std::swap;
  27334. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  27335. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  27336. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  27337. PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlZoomInParams, _impl_.range_)
  27338. + sizeof(RemoteCameraCtrlZoomInParams::_impl_.range_)
  27339. - PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlZoomInParams, _impl_.user_)>(
  27340. reinterpret_cast<char*>(&_impl_.user_),
  27341. reinterpret_cast<char*>(&other->_impl_.user_));
  27342. }
  27343. std::string RemoteCameraCtrlZoomInParams::GetTypeName() const {
  27344. return "com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams";
  27345. }
  27346. // ===================================================================
  27347. class RemoteCameraCtrlZoomOutParams::_Internal {
  27348. public:
  27349. using HasBits = decltype(std::declval<RemoteCameraCtrlZoomOutParams>()._impl_._has_bits_);
  27350. static constexpr ::int32_t kHasBitsOffset =
  27351. 8 * PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlZoomOutParams, _impl_._has_bits_);
  27352. static void set_has_range(HasBits* has_bits) {
  27353. (*has_bits)[0] |= 2u;
  27354. }
  27355. static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RemoteCameraCtrlZoomOutParams* msg);
  27356. static void set_has_user(HasBits* has_bits) {
  27357. (*has_bits)[0] |= 1u;
  27358. }
  27359. };
  27360. const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
  27361. RemoteCameraCtrlZoomOutParams::_Internal::user(const RemoteCameraCtrlZoomOutParams* msg) {
  27362. return *msg->_impl_.user_;
  27363. }
  27364. RemoteCameraCtrlZoomOutParams::RemoteCameraCtrlZoomOutParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  27365. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  27366. SharedCtor(arena);
  27367. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
  27368. }
  27369. RemoteCameraCtrlZoomOutParams::RemoteCameraCtrlZoomOutParams(const RemoteCameraCtrlZoomOutParams& from)
  27370. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  27371. RemoteCameraCtrlZoomOutParams* const _this = this; (void)_this;
  27372. new (&_impl_) Impl_{
  27373. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  27374. , /*decltype(_impl_._cached_size_)*/{}
  27375. , decltype(_impl_.user_){nullptr}
  27376. , decltype(_impl_.range_) {}
  27377. };
  27378. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  27379. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  27380. _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
  27381. }
  27382. _this->_impl_.range_ = from._impl_.range_;
  27383. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
  27384. }
  27385. inline void RemoteCameraCtrlZoomOutParams::SharedCtor(::_pb::Arena* arena) {
  27386. (void)arena;
  27387. new (&_impl_) Impl_{
  27388. decltype(_impl_._has_bits_){}
  27389. , /*decltype(_impl_._cached_size_)*/{}
  27390. , decltype(_impl_.user_){nullptr}
  27391. , decltype(_impl_.range_) { 0u }
  27392. };
  27393. }
  27394. RemoteCameraCtrlZoomOutParams::~RemoteCameraCtrlZoomOutParams() {
  27395. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
  27396. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  27397. (void)arena;
  27398. return;
  27399. }
  27400. SharedDtor();
  27401. }
  27402. inline void RemoteCameraCtrlZoomOutParams::SharedDtor() {
  27403. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  27404. if (this != internal_default_instance()) delete _impl_.user_;
  27405. }
  27406. void RemoteCameraCtrlZoomOutParams::SetCachedSize(int size) const {
  27407. _impl_._cached_size_.Set(size);
  27408. }
  27409. void RemoteCameraCtrlZoomOutParams::Clear() {
  27410. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
  27411. ::uint32_t cached_has_bits = 0;
  27412. // Prevent compiler warnings about cached_has_bits being unused
  27413. (void) cached_has_bits;
  27414. cached_has_bits = _impl_._has_bits_[0];
  27415. if (cached_has_bits & 0x00000001u) {
  27416. ABSL_DCHECK(_impl_.user_ != nullptr);
  27417. _impl_.user_->Clear();
  27418. }
  27419. _impl_.range_ = 0u;
  27420. _impl_._has_bits_.Clear();
  27421. _internal_metadata_.Clear<std::string>();
  27422. }
  27423. const char* RemoteCameraCtrlZoomOutParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  27424. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  27425. _Internal::HasBits has_bits{};
  27426. while (!ctx->Done(&ptr)) {
  27427. ::uint32_t tag;
  27428. ptr = ::_pbi::ReadTag(ptr, &tag);
  27429. switch (tag >> 3) {
  27430. // optional uint32 range = 1;
  27431. case 1:
  27432. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  27433. _Internal::set_has_range(&has_bits);
  27434. _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  27435. CHK_(ptr);
  27436. } else {
  27437. goto handle_unusual;
  27438. }
  27439. continue;
  27440. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  27441. case 2:
  27442. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  27443. ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
  27444. CHK_(ptr);
  27445. } else {
  27446. goto handle_unusual;
  27447. }
  27448. continue;
  27449. default:
  27450. goto handle_unusual;
  27451. } // switch
  27452. handle_unusual:
  27453. if ((tag == 0) || ((tag & 7) == 4)) {
  27454. CHK_(ptr);
  27455. ctx->SetLastTag(tag);
  27456. goto message_done;
  27457. }
  27458. ptr = UnknownFieldParse(
  27459. tag,
  27460. _internal_metadata_.mutable_unknown_fields<std::string>(),
  27461. ptr, ctx);
  27462. CHK_(ptr != nullptr);
  27463. } // while
  27464. message_done:
  27465. _impl_._has_bits_.Or(has_bits);
  27466. return ptr;
  27467. failure:
  27468. ptr = nullptr;
  27469. goto message_done;
  27470. #undef CHK_
  27471. }
  27472. ::uint8_t* RemoteCameraCtrlZoomOutParams::_InternalSerialize(
  27473. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  27474. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
  27475. ::uint32_t cached_has_bits = 0;
  27476. (void) cached_has_bits;
  27477. cached_has_bits = _impl_._has_bits_[0];
  27478. // optional uint32 range = 1;
  27479. if (cached_has_bits & 0x00000002u) {
  27480. target = stream->EnsureSpace(target);
  27481. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  27482. 1, this->_internal_range(), target);
  27483. }
  27484. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  27485. if (cached_has_bits & 0x00000001u) {
  27486. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  27487. InternalWriteMessage(2, _Internal::user(this),
  27488. _Internal::user(this).GetCachedSize(), target, stream);
  27489. }
  27490. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  27491. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  27492. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  27493. }
  27494. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
  27495. return target;
  27496. }
  27497. ::size_t RemoteCameraCtrlZoomOutParams::ByteSizeLong() const {
  27498. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
  27499. ::size_t total_size = 0;
  27500. ::uint32_t cached_has_bits = 0;
  27501. // Prevent compiler warnings about cached_has_bits being unused
  27502. (void) cached_has_bits;
  27503. cached_has_bits = _impl_._has_bits_[0];
  27504. if (cached_has_bits & 0x00000003u) {
  27505. // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
  27506. if (cached_has_bits & 0x00000001u) {
  27507. total_size += 1 +
  27508. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  27509. *_impl_.user_);
  27510. }
  27511. // optional uint32 range = 1;
  27512. if (cached_has_bits & 0x00000002u) {
  27513. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  27514. this->_internal_range());
  27515. }
  27516. }
  27517. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  27518. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  27519. }
  27520. int cached_size = ::_pbi::ToCachedSize(total_size);
  27521. SetCachedSize(cached_size);
  27522. return total_size;
  27523. }
  27524. void RemoteCameraCtrlZoomOutParams::CheckTypeAndMergeFrom(
  27525. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  27526. MergeFrom(*::_pbi::DownCast<const RemoteCameraCtrlZoomOutParams*>(
  27527. &from));
  27528. }
  27529. void RemoteCameraCtrlZoomOutParams::MergeFrom(const RemoteCameraCtrlZoomOutParams& from) {
  27530. RemoteCameraCtrlZoomOutParams* const _this = this;
  27531. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
  27532. ABSL_DCHECK_NE(&from, _this);
  27533. ::uint32_t cached_has_bits = 0;
  27534. (void) cached_has_bits;
  27535. cached_has_bits = from._impl_._has_bits_[0];
  27536. if (cached_has_bits & 0x00000003u) {
  27537. if (cached_has_bits & 0x00000001u) {
  27538. _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
  27539. from._internal_user());
  27540. }
  27541. if (cached_has_bits & 0x00000002u) {
  27542. _this->_impl_.range_ = from._impl_.range_;
  27543. }
  27544. _this->_impl_._has_bits_[0] |= cached_has_bits;
  27545. }
  27546. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  27547. }
  27548. void RemoteCameraCtrlZoomOutParams::CopyFrom(const RemoteCameraCtrlZoomOutParams& from) {
  27549. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
  27550. if (&from == this) return;
  27551. Clear();
  27552. MergeFrom(from);
  27553. }
  27554. bool RemoteCameraCtrlZoomOutParams::IsInitialized() const {
  27555. return true;
  27556. }
  27557. void RemoteCameraCtrlZoomOutParams::InternalSwap(RemoteCameraCtrlZoomOutParams* other) {
  27558. using std::swap;
  27559. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  27560. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  27561. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  27562. PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlZoomOutParams, _impl_.range_)
  27563. + sizeof(RemoteCameraCtrlZoomOutParams::_impl_.range_)
  27564. - PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlZoomOutParams, _impl_.user_)>(
  27565. reinterpret_cast<char*>(&_impl_.user_),
  27566. reinterpret_cast<char*>(&other->_impl_.user_));
  27567. }
  27568. std::string RemoteCameraCtrlZoomOutParams::GetTypeName() const {
  27569. return "com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams";
  27570. }
  27571. // ===================================================================
  27572. class SetVideoQualityPreferenceParams::_Internal {
  27573. public:
  27574. using HasBits = decltype(std::declval<SetVideoQualityPreferenceParams>()._impl_._has_bits_);
  27575. static constexpr ::int32_t kHasBitsOffset =
  27576. 8 * PROTOBUF_FIELD_OFFSET(SetVideoQualityPreferenceParams, _impl_._has_bits_);
  27577. static void set_has_mode(HasBits* has_bits) {
  27578. (*has_bits)[0] |= 1u;
  27579. }
  27580. static void set_has_minimum_frame_rate(HasBits* has_bits) {
  27581. (*has_bits)[0] |= 2u;
  27582. }
  27583. static void set_has_maximum_frame_rate(HasBits* has_bits) {
  27584. (*has_bits)[0] |= 4u;
  27585. }
  27586. };
  27587. SetVideoQualityPreferenceParams::SetVideoQualityPreferenceParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  27588. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  27589. SharedCtor(arena);
  27590. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
  27591. }
  27592. SetVideoQualityPreferenceParams::SetVideoQualityPreferenceParams(const SetVideoQualityPreferenceParams& from)
  27593. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  27594. _internal_metadata_.MergeFrom<std::string>(
  27595. from._internal_metadata_);
  27596. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
  27597. }
  27598. inline void SetVideoQualityPreferenceParams::SharedCtor(::_pb::Arena* arena) {
  27599. (void)arena;
  27600. new (&_impl_) Impl_{
  27601. decltype(_impl_._has_bits_){}
  27602. , /*decltype(_impl_._cached_size_)*/{}
  27603. , decltype(_impl_.mode_) { 0 }
  27604. , decltype(_impl_.minimum_frame_rate_) { 0u }
  27605. , decltype(_impl_.maximum_frame_rate_) { 0u }
  27606. };
  27607. }
  27608. SetVideoQualityPreferenceParams::~SetVideoQualityPreferenceParams() {
  27609. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
  27610. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  27611. (void)arena;
  27612. return;
  27613. }
  27614. SharedDtor();
  27615. }
  27616. inline void SetVideoQualityPreferenceParams::SharedDtor() {
  27617. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  27618. }
  27619. void SetVideoQualityPreferenceParams::SetCachedSize(int size) const {
  27620. _impl_._cached_size_.Set(size);
  27621. }
  27622. void SetVideoQualityPreferenceParams::Clear() {
  27623. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
  27624. ::uint32_t cached_has_bits = 0;
  27625. // Prevent compiler warnings about cached_has_bits being unused
  27626. (void) cached_has_bits;
  27627. cached_has_bits = _impl_._has_bits_[0];
  27628. if (cached_has_bits & 0x00000007u) {
  27629. ::memset(&_impl_.mode_, 0, static_cast<::size_t>(
  27630. reinterpret_cast<char*>(&_impl_.maximum_frame_rate_) -
  27631. reinterpret_cast<char*>(&_impl_.mode_)) + sizeof(_impl_.maximum_frame_rate_));
  27632. }
  27633. _impl_._has_bits_.Clear();
  27634. _internal_metadata_.Clear<std::string>();
  27635. }
  27636. const char* SetVideoQualityPreferenceParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  27637. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  27638. _Internal::HasBits has_bits{};
  27639. while (!ctx->Done(&ptr)) {
  27640. ::uint32_t tag;
  27641. ptr = ::_pbi::ReadTag(ptr, &tag);
  27642. switch (tag >> 3) {
  27643. // optional int32 mode = 1;
  27644. case 1:
  27645. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  27646. _Internal::set_has_mode(&has_bits);
  27647. _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  27648. CHK_(ptr);
  27649. } else {
  27650. goto handle_unusual;
  27651. }
  27652. continue;
  27653. // optional uint32 minimum_frame_rate = 2;
  27654. case 2:
  27655. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
  27656. _Internal::set_has_minimum_frame_rate(&has_bits);
  27657. _impl_.minimum_frame_rate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  27658. CHK_(ptr);
  27659. } else {
  27660. goto handle_unusual;
  27661. }
  27662. continue;
  27663. // optional uint32 maximum_frame_rate = 3;
  27664. case 3:
  27665. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  27666. _Internal::set_has_maximum_frame_rate(&has_bits);
  27667. _impl_.maximum_frame_rate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  27668. CHK_(ptr);
  27669. } else {
  27670. goto handle_unusual;
  27671. }
  27672. continue;
  27673. default:
  27674. goto handle_unusual;
  27675. } // switch
  27676. handle_unusual:
  27677. if ((tag == 0) || ((tag & 7) == 4)) {
  27678. CHK_(ptr);
  27679. ctx->SetLastTag(tag);
  27680. goto message_done;
  27681. }
  27682. ptr = UnknownFieldParse(
  27683. tag,
  27684. _internal_metadata_.mutable_unknown_fields<std::string>(),
  27685. ptr, ctx);
  27686. CHK_(ptr != nullptr);
  27687. } // while
  27688. message_done:
  27689. _impl_._has_bits_.Or(has_bits);
  27690. return ptr;
  27691. failure:
  27692. ptr = nullptr;
  27693. goto message_done;
  27694. #undef CHK_
  27695. }
  27696. ::uint8_t* SetVideoQualityPreferenceParams::_InternalSerialize(
  27697. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  27698. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
  27699. ::uint32_t cached_has_bits = 0;
  27700. (void) cached_has_bits;
  27701. cached_has_bits = _impl_._has_bits_[0];
  27702. // optional int32 mode = 1;
  27703. if (cached_has_bits & 0x00000001u) {
  27704. target = stream->EnsureSpace(target);
  27705. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  27706. 1, this->_internal_mode(), target);
  27707. }
  27708. // optional uint32 minimum_frame_rate = 2;
  27709. if (cached_has_bits & 0x00000002u) {
  27710. target = stream->EnsureSpace(target);
  27711. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  27712. 2, this->_internal_minimum_frame_rate(), target);
  27713. }
  27714. // optional uint32 maximum_frame_rate = 3;
  27715. if (cached_has_bits & 0x00000004u) {
  27716. target = stream->EnsureSpace(target);
  27717. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  27718. 3, this->_internal_maximum_frame_rate(), target);
  27719. }
  27720. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  27721. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  27722. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  27723. }
  27724. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
  27725. return target;
  27726. }
  27727. ::size_t SetVideoQualityPreferenceParams::ByteSizeLong() const {
  27728. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
  27729. ::size_t total_size = 0;
  27730. ::uint32_t cached_has_bits = 0;
  27731. // Prevent compiler warnings about cached_has_bits being unused
  27732. (void) cached_has_bits;
  27733. cached_has_bits = _impl_._has_bits_[0];
  27734. if (cached_has_bits & 0x00000007u) {
  27735. // optional int32 mode = 1;
  27736. if (cached_has_bits & 0x00000001u) {
  27737. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  27738. this->_internal_mode());
  27739. }
  27740. // optional uint32 minimum_frame_rate = 2;
  27741. if (cached_has_bits & 0x00000002u) {
  27742. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  27743. this->_internal_minimum_frame_rate());
  27744. }
  27745. // optional uint32 maximum_frame_rate = 3;
  27746. if (cached_has_bits & 0x00000004u) {
  27747. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  27748. this->_internal_maximum_frame_rate());
  27749. }
  27750. }
  27751. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  27752. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  27753. }
  27754. int cached_size = ::_pbi::ToCachedSize(total_size);
  27755. SetCachedSize(cached_size);
  27756. return total_size;
  27757. }
  27758. void SetVideoQualityPreferenceParams::CheckTypeAndMergeFrom(
  27759. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  27760. MergeFrom(*::_pbi::DownCast<const SetVideoQualityPreferenceParams*>(
  27761. &from));
  27762. }
  27763. void SetVideoQualityPreferenceParams::MergeFrom(const SetVideoQualityPreferenceParams& from) {
  27764. SetVideoQualityPreferenceParams* const _this = this;
  27765. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
  27766. ABSL_DCHECK_NE(&from, _this);
  27767. ::uint32_t cached_has_bits = 0;
  27768. (void) cached_has_bits;
  27769. cached_has_bits = from._impl_._has_bits_[0];
  27770. if (cached_has_bits & 0x00000007u) {
  27771. if (cached_has_bits & 0x00000001u) {
  27772. _this->_impl_.mode_ = from._impl_.mode_;
  27773. }
  27774. if (cached_has_bits & 0x00000002u) {
  27775. _this->_impl_.minimum_frame_rate_ = from._impl_.minimum_frame_rate_;
  27776. }
  27777. if (cached_has_bits & 0x00000004u) {
  27778. _this->_impl_.maximum_frame_rate_ = from._impl_.maximum_frame_rate_;
  27779. }
  27780. _this->_impl_._has_bits_[0] |= cached_has_bits;
  27781. }
  27782. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  27783. }
  27784. void SetVideoQualityPreferenceParams::CopyFrom(const SetVideoQualityPreferenceParams& from) {
  27785. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
  27786. if (&from == this) return;
  27787. Clear();
  27788. MergeFrom(from);
  27789. }
  27790. bool SetVideoQualityPreferenceParams::IsInitialized() const {
  27791. return true;
  27792. }
  27793. void SetVideoQualityPreferenceParams::InternalSwap(SetVideoQualityPreferenceParams* other) {
  27794. using std::swap;
  27795. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  27796. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  27797. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  27798. PROTOBUF_FIELD_OFFSET(SetVideoQualityPreferenceParams, _impl_.maximum_frame_rate_)
  27799. + sizeof(SetVideoQualityPreferenceParams::_impl_.maximum_frame_rate_)
  27800. - PROTOBUF_FIELD_OFFSET(SetVideoQualityPreferenceParams, _impl_.mode_)>(
  27801. reinterpret_cast<char*>(&_impl_.mode_),
  27802. reinterpret_cast<char*>(&other->_impl_.mode_));
  27803. }
  27804. std::string SetVideoQualityPreferenceParams::GetTypeName() const {
  27805. return "com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams";
  27806. }
  27807. // ===================================================================
  27808. class SetSuppressBackgroundNoiseLevelParams::_Internal {
  27809. public:
  27810. using HasBits = decltype(std::declval<SetSuppressBackgroundNoiseLevelParams>()._impl_._has_bits_);
  27811. static constexpr ::int32_t kHasBitsOffset =
  27812. 8 * PROTOBUF_FIELD_OFFSET(SetSuppressBackgroundNoiseLevelParams, _impl_._has_bits_);
  27813. static void set_has_level(HasBits* has_bits) {
  27814. (*has_bits)[0] |= 1u;
  27815. }
  27816. };
  27817. SetSuppressBackgroundNoiseLevelParams::SetSuppressBackgroundNoiseLevelParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  27818. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  27819. SharedCtor(arena);
  27820. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
  27821. }
  27822. SetSuppressBackgroundNoiseLevelParams::SetSuppressBackgroundNoiseLevelParams(const SetSuppressBackgroundNoiseLevelParams& from)
  27823. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  27824. _internal_metadata_.MergeFrom<std::string>(
  27825. from._internal_metadata_);
  27826. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
  27827. }
  27828. inline void SetSuppressBackgroundNoiseLevelParams::SharedCtor(::_pb::Arena* arena) {
  27829. (void)arena;
  27830. new (&_impl_) Impl_{
  27831. decltype(_impl_._has_bits_){}
  27832. , /*decltype(_impl_._cached_size_)*/{}
  27833. , decltype(_impl_.level_) { 0 }
  27834. };
  27835. }
  27836. SetSuppressBackgroundNoiseLevelParams::~SetSuppressBackgroundNoiseLevelParams() {
  27837. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
  27838. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  27839. (void)arena;
  27840. return;
  27841. }
  27842. SharedDtor();
  27843. }
  27844. inline void SetSuppressBackgroundNoiseLevelParams::SharedDtor() {
  27845. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  27846. }
  27847. void SetSuppressBackgroundNoiseLevelParams::SetCachedSize(int size) const {
  27848. _impl_._cached_size_.Set(size);
  27849. }
  27850. void SetSuppressBackgroundNoiseLevelParams::Clear() {
  27851. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
  27852. ::uint32_t cached_has_bits = 0;
  27853. // Prevent compiler warnings about cached_has_bits being unused
  27854. (void) cached_has_bits;
  27855. _impl_.level_ = 0;
  27856. _impl_._has_bits_.Clear();
  27857. _internal_metadata_.Clear<std::string>();
  27858. }
  27859. const char* SetSuppressBackgroundNoiseLevelParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  27860. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  27861. _Internal::HasBits has_bits{};
  27862. while (!ctx->Done(&ptr)) {
  27863. ::uint32_t tag;
  27864. ptr = ::_pbi::ReadTag(ptr, &tag);
  27865. switch (tag >> 3) {
  27866. // optional int32 level = 1;
  27867. case 1:
  27868. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  27869. _Internal::set_has_level(&has_bits);
  27870. _impl_.level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  27871. CHK_(ptr);
  27872. } else {
  27873. goto handle_unusual;
  27874. }
  27875. continue;
  27876. default:
  27877. goto handle_unusual;
  27878. } // switch
  27879. handle_unusual:
  27880. if ((tag == 0) || ((tag & 7) == 4)) {
  27881. CHK_(ptr);
  27882. ctx->SetLastTag(tag);
  27883. goto message_done;
  27884. }
  27885. ptr = UnknownFieldParse(
  27886. tag,
  27887. _internal_metadata_.mutable_unknown_fields<std::string>(),
  27888. ptr, ctx);
  27889. CHK_(ptr != nullptr);
  27890. } // while
  27891. message_done:
  27892. _impl_._has_bits_.Or(has_bits);
  27893. return ptr;
  27894. failure:
  27895. ptr = nullptr;
  27896. goto message_done;
  27897. #undef CHK_
  27898. }
  27899. ::uint8_t* SetSuppressBackgroundNoiseLevelParams::_InternalSerialize(
  27900. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  27901. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
  27902. ::uint32_t cached_has_bits = 0;
  27903. (void) cached_has_bits;
  27904. cached_has_bits = _impl_._has_bits_[0];
  27905. // optional int32 level = 1;
  27906. if (cached_has_bits & 0x00000001u) {
  27907. target = stream->EnsureSpace(target);
  27908. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  27909. 1, this->_internal_level(), target);
  27910. }
  27911. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  27912. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  27913. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  27914. }
  27915. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
  27916. return target;
  27917. }
  27918. ::size_t SetSuppressBackgroundNoiseLevelParams::ByteSizeLong() const {
  27919. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
  27920. ::size_t total_size = 0;
  27921. ::uint32_t cached_has_bits = 0;
  27922. // Prevent compiler warnings about cached_has_bits being unused
  27923. (void) cached_has_bits;
  27924. // optional int32 level = 1;
  27925. cached_has_bits = _impl_._has_bits_[0];
  27926. if (cached_has_bits & 0x00000001u) {
  27927. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  27928. this->_internal_level());
  27929. }
  27930. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  27931. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  27932. }
  27933. int cached_size = ::_pbi::ToCachedSize(total_size);
  27934. SetCachedSize(cached_size);
  27935. return total_size;
  27936. }
  27937. void SetSuppressBackgroundNoiseLevelParams::CheckTypeAndMergeFrom(
  27938. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  27939. MergeFrom(*::_pbi::DownCast<const SetSuppressBackgroundNoiseLevelParams*>(
  27940. &from));
  27941. }
  27942. void SetSuppressBackgroundNoiseLevelParams::MergeFrom(const SetSuppressBackgroundNoiseLevelParams& from) {
  27943. SetSuppressBackgroundNoiseLevelParams* const _this = this;
  27944. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
  27945. ABSL_DCHECK_NE(&from, _this);
  27946. ::uint32_t cached_has_bits = 0;
  27947. (void) cached_has_bits;
  27948. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  27949. _this->_internal_set_level(from._internal_level());
  27950. }
  27951. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  27952. }
  27953. void SetSuppressBackgroundNoiseLevelParams::CopyFrom(const SetSuppressBackgroundNoiseLevelParams& from) {
  27954. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
  27955. if (&from == this) return;
  27956. Clear();
  27957. MergeFrom(from);
  27958. }
  27959. bool SetSuppressBackgroundNoiseLevelParams::IsInitialized() const {
  27960. return true;
  27961. }
  27962. void SetSuppressBackgroundNoiseLevelParams::InternalSwap(SetSuppressBackgroundNoiseLevelParams* other) {
  27963. using std::swap;
  27964. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  27965. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  27966. swap(_impl_.level_, other->_impl_.level_);
  27967. }
  27968. std::string SetSuppressBackgroundNoiseLevelParams::GetTypeName() const {
  27969. return "com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams";
  27970. }
  27971. // ===================================================================
  27972. class SetEchoCancellationLevelParams::_Internal {
  27973. public:
  27974. using HasBits = decltype(std::declval<SetEchoCancellationLevelParams>()._impl_._has_bits_);
  27975. static constexpr ::int32_t kHasBitsOffset =
  27976. 8 * PROTOBUF_FIELD_OFFSET(SetEchoCancellationLevelParams, _impl_._has_bits_);
  27977. static void set_has_level(HasBits* has_bits) {
  27978. (*has_bits)[0] |= 1u;
  27979. }
  27980. };
  27981. SetEchoCancellationLevelParams::SetEchoCancellationLevelParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  27982. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  27983. SharedCtor(arena);
  27984. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
  27985. }
  27986. SetEchoCancellationLevelParams::SetEchoCancellationLevelParams(const SetEchoCancellationLevelParams& from)
  27987. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  27988. _internal_metadata_.MergeFrom<std::string>(
  27989. from._internal_metadata_);
  27990. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
  27991. }
  27992. inline void SetEchoCancellationLevelParams::SharedCtor(::_pb::Arena* arena) {
  27993. (void)arena;
  27994. new (&_impl_) Impl_{
  27995. decltype(_impl_._has_bits_){}
  27996. , /*decltype(_impl_._cached_size_)*/{}
  27997. , decltype(_impl_.level_) { 0 }
  27998. };
  27999. }
  28000. SetEchoCancellationLevelParams::~SetEchoCancellationLevelParams() {
  28001. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
  28002. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  28003. (void)arena;
  28004. return;
  28005. }
  28006. SharedDtor();
  28007. }
  28008. inline void SetEchoCancellationLevelParams::SharedDtor() {
  28009. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  28010. }
  28011. void SetEchoCancellationLevelParams::SetCachedSize(int size) const {
  28012. _impl_._cached_size_.Set(size);
  28013. }
  28014. void SetEchoCancellationLevelParams::Clear() {
  28015. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
  28016. ::uint32_t cached_has_bits = 0;
  28017. // Prevent compiler warnings about cached_has_bits being unused
  28018. (void) cached_has_bits;
  28019. _impl_.level_ = 0;
  28020. _impl_._has_bits_.Clear();
  28021. _internal_metadata_.Clear<std::string>();
  28022. }
  28023. const char* SetEchoCancellationLevelParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  28024. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  28025. _Internal::HasBits has_bits{};
  28026. while (!ctx->Done(&ptr)) {
  28027. ::uint32_t tag;
  28028. ptr = ::_pbi::ReadTag(ptr, &tag);
  28029. switch (tag >> 3) {
  28030. // optional int32 level = 1;
  28031. case 1:
  28032. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  28033. _Internal::set_has_level(&has_bits);
  28034. _impl_.level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  28035. CHK_(ptr);
  28036. } else {
  28037. goto handle_unusual;
  28038. }
  28039. continue;
  28040. default:
  28041. goto handle_unusual;
  28042. } // switch
  28043. handle_unusual:
  28044. if ((tag == 0) || ((tag & 7) == 4)) {
  28045. CHK_(ptr);
  28046. ctx->SetLastTag(tag);
  28047. goto message_done;
  28048. }
  28049. ptr = UnknownFieldParse(
  28050. tag,
  28051. _internal_metadata_.mutable_unknown_fields<std::string>(),
  28052. ptr, ctx);
  28053. CHK_(ptr != nullptr);
  28054. } // while
  28055. message_done:
  28056. _impl_._has_bits_.Or(has_bits);
  28057. return ptr;
  28058. failure:
  28059. ptr = nullptr;
  28060. goto message_done;
  28061. #undef CHK_
  28062. }
  28063. ::uint8_t* SetEchoCancellationLevelParams::_InternalSerialize(
  28064. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  28065. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
  28066. ::uint32_t cached_has_bits = 0;
  28067. (void) cached_has_bits;
  28068. cached_has_bits = _impl_._has_bits_[0];
  28069. // optional int32 level = 1;
  28070. if (cached_has_bits & 0x00000001u) {
  28071. target = stream->EnsureSpace(target);
  28072. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  28073. 1, this->_internal_level(), target);
  28074. }
  28075. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  28076. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  28077. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  28078. }
  28079. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
  28080. return target;
  28081. }
  28082. ::size_t SetEchoCancellationLevelParams::ByteSizeLong() const {
  28083. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
  28084. ::size_t total_size = 0;
  28085. ::uint32_t cached_has_bits = 0;
  28086. // Prevent compiler warnings about cached_has_bits being unused
  28087. (void) cached_has_bits;
  28088. // optional int32 level = 1;
  28089. cached_has_bits = _impl_._has_bits_[0];
  28090. if (cached_has_bits & 0x00000001u) {
  28091. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  28092. this->_internal_level());
  28093. }
  28094. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  28095. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  28096. }
  28097. int cached_size = ::_pbi::ToCachedSize(total_size);
  28098. SetCachedSize(cached_size);
  28099. return total_size;
  28100. }
  28101. void SetEchoCancellationLevelParams::CheckTypeAndMergeFrom(
  28102. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  28103. MergeFrom(*::_pbi::DownCast<const SetEchoCancellationLevelParams*>(
  28104. &from));
  28105. }
  28106. void SetEchoCancellationLevelParams::MergeFrom(const SetEchoCancellationLevelParams& from) {
  28107. SetEchoCancellationLevelParams* const _this = this;
  28108. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
  28109. ABSL_DCHECK_NE(&from, _this);
  28110. ::uint32_t cached_has_bits = 0;
  28111. (void) cached_has_bits;
  28112. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  28113. _this->_internal_set_level(from._internal_level());
  28114. }
  28115. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  28116. }
  28117. void SetEchoCancellationLevelParams::CopyFrom(const SetEchoCancellationLevelParams& from) {
  28118. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
  28119. if (&from == this) return;
  28120. Clear();
  28121. MergeFrom(from);
  28122. }
  28123. bool SetEchoCancellationLevelParams::IsInitialized() const {
  28124. return true;
  28125. }
  28126. void SetEchoCancellationLevelParams::InternalSwap(SetEchoCancellationLevelParams* other) {
  28127. using std::swap;
  28128. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  28129. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  28130. swap(_impl_.level_, other->_impl_.level_);
  28131. }
  28132. std::string SetEchoCancellationLevelParams::GetTypeName() const {
  28133. return "com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams";
  28134. }
  28135. // ===================================================================
  28136. class EnableMicOriginalInputParams::_Internal {
  28137. public:
  28138. using HasBits = decltype(std::declval<EnableMicOriginalInputParams>()._impl_._has_bits_);
  28139. static constexpr ::int32_t kHasBitsOffset =
  28140. 8 * PROTOBUF_FIELD_OFFSET(EnableMicOriginalInputParams, _impl_._has_bits_);
  28141. static void set_has_benable(HasBits* has_bits) {
  28142. (*has_bits)[0] |= 1u;
  28143. }
  28144. };
  28145. EnableMicOriginalInputParams::EnableMicOriginalInputParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  28146. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  28147. SharedCtor(arena);
  28148. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
  28149. }
  28150. EnableMicOriginalInputParams::EnableMicOriginalInputParams(const EnableMicOriginalInputParams& from)
  28151. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  28152. _internal_metadata_.MergeFrom<std::string>(
  28153. from._internal_metadata_);
  28154. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
  28155. }
  28156. inline void EnableMicOriginalInputParams::SharedCtor(::_pb::Arena* arena) {
  28157. (void)arena;
  28158. new (&_impl_) Impl_{
  28159. decltype(_impl_._has_bits_){}
  28160. , /*decltype(_impl_._cached_size_)*/{}
  28161. , decltype(_impl_.benable_) { false }
  28162. };
  28163. }
  28164. EnableMicOriginalInputParams::~EnableMicOriginalInputParams() {
  28165. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
  28166. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  28167. (void)arena;
  28168. return;
  28169. }
  28170. SharedDtor();
  28171. }
  28172. inline void EnableMicOriginalInputParams::SharedDtor() {
  28173. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  28174. }
  28175. void EnableMicOriginalInputParams::SetCachedSize(int size) const {
  28176. _impl_._cached_size_.Set(size);
  28177. }
  28178. void EnableMicOriginalInputParams::Clear() {
  28179. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
  28180. ::uint32_t cached_has_bits = 0;
  28181. // Prevent compiler warnings about cached_has_bits being unused
  28182. (void) cached_has_bits;
  28183. _impl_.benable_ = false;
  28184. _impl_._has_bits_.Clear();
  28185. _internal_metadata_.Clear<std::string>();
  28186. }
  28187. const char* EnableMicOriginalInputParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  28188. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  28189. _Internal::HasBits has_bits{};
  28190. while (!ctx->Done(&ptr)) {
  28191. ::uint32_t tag;
  28192. ptr = ::_pbi::ReadTag(ptr, &tag);
  28193. switch (tag >> 3) {
  28194. // optional bool bEnable = 1;
  28195. case 1:
  28196. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  28197. _Internal::set_has_benable(&has_bits);
  28198. _impl_.benable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  28199. CHK_(ptr);
  28200. } else {
  28201. goto handle_unusual;
  28202. }
  28203. continue;
  28204. default:
  28205. goto handle_unusual;
  28206. } // switch
  28207. handle_unusual:
  28208. if ((tag == 0) || ((tag & 7) == 4)) {
  28209. CHK_(ptr);
  28210. ctx->SetLastTag(tag);
  28211. goto message_done;
  28212. }
  28213. ptr = UnknownFieldParse(
  28214. tag,
  28215. _internal_metadata_.mutable_unknown_fields<std::string>(),
  28216. ptr, ctx);
  28217. CHK_(ptr != nullptr);
  28218. } // while
  28219. message_done:
  28220. _impl_._has_bits_.Or(has_bits);
  28221. return ptr;
  28222. failure:
  28223. ptr = nullptr;
  28224. goto message_done;
  28225. #undef CHK_
  28226. }
  28227. ::uint8_t* EnableMicOriginalInputParams::_InternalSerialize(
  28228. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  28229. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
  28230. ::uint32_t cached_has_bits = 0;
  28231. (void) cached_has_bits;
  28232. cached_has_bits = _impl_._has_bits_[0];
  28233. // optional bool bEnable = 1;
  28234. if (cached_has_bits & 0x00000001u) {
  28235. target = stream->EnsureSpace(target);
  28236. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  28237. 1, this->_internal_benable(), target);
  28238. }
  28239. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  28240. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  28241. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  28242. }
  28243. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
  28244. return target;
  28245. }
  28246. ::size_t EnableMicOriginalInputParams::ByteSizeLong() const {
  28247. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
  28248. ::size_t total_size = 0;
  28249. ::uint32_t cached_has_bits = 0;
  28250. // Prevent compiler warnings about cached_has_bits being unused
  28251. (void) cached_has_bits;
  28252. // optional bool bEnable = 1;
  28253. cached_has_bits = _impl_._has_bits_[0];
  28254. if (cached_has_bits & 0x00000001u) {
  28255. total_size += 2;
  28256. }
  28257. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  28258. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  28259. }
  28260. int cached_size = ::_pbi::ToCachedSize(total_size);
  28261. SetCachedSize(cached_size);
  28262. return total_size;
  28263. }
  28264. void EnableMicOriginalInputParams::CheckTypeAndMergeFrom(
  28265. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  28266. MergeFrom(*::_pbi::DownCast<const EnableMicOriginalInputParams*>(
  28267. &from));
  28268. }
  28269. void EnableMicOriginalInputParams::MergeFrom(const EnableMicOriginalInputParams& from) {
  28270. EnableMicOriginalInputParams* const _this = this;
  28271. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
  28272. ABSL_DCHECK_NE(&from, _this);
  28273. ::uint32_t cached_has_bits = 0;
  28274. (void) cached_has_bits;
  28275. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  28276. _this->_internal_set_benable(from._internal_benable());
  28277. }
  28278. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  28279. }
  28280. void EnableMicOriginalInputParams::CopyFrom(const EnableMicOriginalInputParams& from) {
  28281. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
  28282. if (&from == this) return;
  28283. Clear();
  28284. MergeFrom(from);
  28285. }
  28286. bool EnableMicOriginalInputParams::IsInitialized() const {
  28287. return true;
  28288. }
  28289. void EnableMicOriginalInputParams::InternalSwap(EnableMicOriginalInputParams* other) {
  28290. using std::swap;
  28291. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  28292. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  28293. swap(_impl_.benable_, other->_impl_.benable_);
  28294. }
  28295. std::string EnableMicOriginalInputParams::GetTypeName() const {
  28296. return "com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams";
  28297. }
  28298. // ===================================================================
  28299. class EnableHighFidelityMusicModeParams::_Internal {
  28300. public:
  28301. using HasBits = decltype(std::declval<EnableHighFidelityMusicModeParams>()._impl_._has_bits_);
  28302. static constexpr ::int32_t kHasBitsOffset =
  28303. 8 * PROTOBUF_FIELD_OFFSET(EnableHighFidelityMusicModeParams, _impl_._has_bits_);
  28304. static void set_has_benable(HasBits* has_bits) {
  28305. (*has_bits)[0] |= 1u;
  28306. }
  28307. };
  28308. EnableHighFidelityMusicModeParams::EnableHighFidelityMusicModeParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  28309. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  28310. SharedCtor(arena);
  28311. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
  28312. }
  28313. EnableHighFidelityMusicModeParams::EnableHighFidelityMusicModeParams(const EnableHighFidelityMusicModeParams& from)
  28314. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  28315. _internal_metadata_.MergeFrom<std::string>(
  28316. from._internal_metadata_);
  28317. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
  28318. }
  28319. inline void EnableHighFidelityMusicModeParams::SharedCtor(::_pb::Arena* arena) {
  28320. (void)arena;
  28321. new (&_impl_) Impl_{
  28322. decltype(_impl_._has_bits_){}
  28323. , /*decltype(_impl_._cached_size_)*/{}
  28324. , decltype(_impl_.benable_) { false }
  28325. };
  28326. }
  28327. EnableHighFidelityMusicModeParams::~EnableHighFidelityMusicModeParams() {
  28328. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
  28329. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  28330. (void)arena;
  28331. return;
  28332. }
  28333. SharedDtor();
  28334. }
  28335. inline void EnableHighFidelityMusicModeParams::SharedDtor() {
  28336. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  28337. }
  28338. void EnableHighFidelityMusicModeParams::SetCachedSize(int size) const {
  28339. _impl_._cached_size_.Set(size);
  28340. }
  28341. void EnableHighFidelityMusicModeParams::Clear() {
  28342. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
  28343. ::uint32_t cached_has_bits = 0;
  28344. // Prevent compiler warnings about cached_has_bits being unused
  28345. (void) cached_has_bits;
  28346. _impl_.benable_ = false;
  28347. _impl_._has_bits_.Clear();
  28348. _internal_metadata_.Clear<std::string>();
  28349. }
  28350. const char* EnableHighFidelityMusicModeParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  28351. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  28352. _Internal::HasBits has_bits{};
  28353. while (!ctx->Done(&ptr)) {
  28354. ::uint32_t tag;
  28355. ptr = ::_pbi::ReadTag(ptr, &tag);
  28356. switch (tag >> 3) {
  28357. // optional bool bEnable = 1;
  28358. case 1:
  28359. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  28360. _Internal::set_has_benable(&has_bits);
  28361. _impl_.benable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  28362. CHK_(ptr);
  28363. } else {
  28364. goto handle_unusual;
  28365. }
  28366. continue;
  28367. default:
  28368. goto handle_unusual;
  28369. } // switch
  28370. handle_unusual:
  28371. if ((tag == 0) || ((tag & 7) == 4)) {
  28372. CHK_(ptr);
  28373. ctx->SetLastTag(tag);
  28374. goto message_done;
  28375. }
  28376. ptr = UnknownFieldParse(
  28377. tag,
  28378. _internal_metadata_.mutable_unknown_fields<std::string>(),
  28379. ptr, ctx);
  28380. CHK_(ptr != nullptr);
  28381. } // while
  28382. message_done:
  28383. _impl_._has_bits_.Or(has_bits);
  28384. return ptr;
  28385. failure:
  28386. ptr = nullptr;
  28387. goto message_done;
  28388. #undef CHK_
  28389. }
  28390. ::uint8_t* EnableHighFidelityMusicModeParams::_InternalSerialize(
  28391. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  28392. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
  28393. ::uint32_t cached_has_bits = 0;
  28394. (void) cached_has_bits;
  28395. cached_has_bits = _impl_._has_bits_[0];
  28396. // optional bool bEnable = 1;
  28397. if (cached_has_bits & 0x00000001u) {
  28398. target = stream->EnsureSpace(target);
  28399. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  28400. 1, this->_internal_benable(), target);
  28401. }
  28402. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  28403. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  28404. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  28405. }
  28406. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
  28407. return target;
  28408. }
  28409. ::size_t EnableHighFidelityMusicModeParams::ByteSizeLong() const {
  28410. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
  28411. ::size_t total_size = 0;
  28412. ::uint32_t cached_has_bits = 0;
  28413. // Prevent compiler warnings about cached_has_bits being unused
  28414. (void) cached_has_bits;
  28415. // optional bool bEnable = 1;
  28416. cached_has_bits = _impl_._has_bits_[0];
  28417. if (cached_has_bits & 0x00000001u) {
  28418. total_size += 2;
  28419. }
  28420. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  28421. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  28422. }
  28423. int cached_size = ::_pbi::ToCachedSize(total_size);
  28424. SetCachedSize(cached_size);
  28425. return total_size;
  28426. }
  28427. void EnableHighFidelityMusicModeParams::CheckTypeAndMergeFrom(
  28428. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  28429. MergeFrom(*::_pbi::DownCast<const EnableHighFidelityMusicModeParams*>(
  28430. &from));
  28431. }
  28432. void EnableHighFidelityMusicModeParams::MergeFrom(const EnableHighFidelityMusicModeParams& from) {
  28433. EnableHighFidelityMusicModeParams* const _this = this;
  28434. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
  28435. ABSL_DCHECK_NE(&from, _this);
  28436. ::uint32_t cached_has_bits = 0;
  28437. (void) cached_has_bits;
  28438. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  28439. _this->_internal_set_benable(from._internal_benable());
  28440. }
  28441. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  28442. }
  28443. void EnableHighFidelityMusicModeParams::CopyFrom(const EnableHighFidelityMusicModeParams& from) {
  28444. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
  28445. if (&from == this) return;
  28446. Clear();
  28447. MergeFrom(from);
  28448. }
  28449. bool EnableHighFidelityMusicModeParams::IsInitialized() const {
  28450. return true;
  28451. }
  28452. void EnableHighFidelityMusicModeParams::InternalSwap(EnableHighFidelityMusicModeParams* other) {
  28453. using std::swap;
  28454. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  28455. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  28456. swap(_impl_.benable_, other->_impl_.benable_);
  28457. }
  28458. std::string EnableHighFidelityMusicModeParams::GetTypeName() const {
  28459. return "com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams";
  28460. }
  28461. // ===================================================================
  28462. class EnableEchoCancellationParams::_Internal {
  28463. public:
  28464. using HasBits = decltype(std::declval<EnableEchoCancellationParams>()._impl_._has_bits_);
  28465. static constexpr ::int32_t kHasBitsOffset =
  28466. 8 * PROTOBUF_FIELD_OFFSET(EnableEchoCancellationParams, _impl_._has_bits_);
  28467. static void set_has_benable(HasBits* has_bits) {
  28468. (*has_bits)[0] |= 1u;
  28469. }
  28470. };
  28471. EnableEchoCancellationParams::EnableEchoCancellationParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  28472. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  28473. SharedCtor(arena);
  28474. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
  28475. }
  28476. EnableEchoCancellationParams::EnableEchoCancellationParams(const EnableEchoCancellationParams& from)
  28477. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  28478. _internal_metadata_.MergeFrom<std::string>(
  28479. from._internal_metadata_);
  28480. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
  28481. }
  28482. inline void EnableEchoCancellationParams::SharedCtor(::_pb::Arena* arena) {
  28483. (void)arena;
  28484. new (&_impl_) Impl_{
  28485. decltype(_impl_._has_bits_){}
  28486. , /*decltype(_impl_._cached_size_)*/{}
  28487. , decltype(_impl_.benable_) { false }
  28488. };
  28489. }
  28490. EnableEchoCancellationParams::~EnableEchoCancellationParams() {
  28491. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
  28492. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  28493. (void)arena;
  28494. return;
  28495. }
  28496. SharedDtor();
  28497. }
  28498. inline void EnableEchoCancellationParams::SharedDtor() {
  28499. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  28500. }
  28501. void EnableEchoCancellationParams::SetCachedSize(int size) const {
  28502. _impl_._cached_size_.Set(size);
  28503. }
  28504. void EnableEchoCancellationParams::Clear() {
  28505. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
  28506. ::uint32_t cached_has_bits = 0;
  28507. // Prevent compiler warnings about cached_has_bits being unused
  28508. (void) cached_has_bits;
  28509. _impl_.benable_ = false;
  28510. _impl_._has_bits_.Clear();
  28511. _internal_metadata_.Clear<std::string>();
  28512. }
  28513. const char* EnableEchoCancellationParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  28514. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  28515. _Internal::HasBits has_bits{};
  28516. while (!ctx->Done(&ptr)) {
  28517. ::uint32_t tag;
  28518. ptr = ::_pbi::ReadTag(ptr, &tag);
  28519. switch (tag >> 3) {
  28520. // optional bool bEnable = 1;
  28521. case 1:
  28522. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  28523. _Internal::set_has_benable(&has_bits);
  28524. _impl_.benable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  28525. CHK_(ptr);
  28526. } else {
  28527. goto handle_unusual;
  28528. }
  28529. continue;
  28530. default:
  28531. goto handle_unusual;
  28532. } // switch
  28533. handle_unusual:
  28534. if ((tag == 0) || ((tag & 7) == 4)) {
  28535. CHK_(ptr);
  28536. ctx->SetLastTag(tag);
  28537. goto message_done;
  28538. }
  28539. ptr = UnknownFieldParse(
  28540. tag,
  28541. _internal_metadata_.mutable_unknown_fields<std::string>(),
  28542. ptr, ctx);
  28543. CHK_(ptr != nullptr);
  28544. } // while
  28545. message_done:
  28546. _impl_._has_bits_.Or(has_bits);
  28547. return ptr;
  28548. failure:
  28549. ptr = nullptr;
  28550. goto message_done;
  28551. #undef CHK_
  28552. }
  28553. ::uint8_t* EnableEchoCancellationParams::_InternalSerialize(
  28554. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  28555. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
  28556. ::uint32_t cached_has_bits = 0;
  28557. (void) cached_has_bits;
  28558. cached_has_bits = _impl_._has_bits_[0];
  28559. // optional bool bEnable = 1;
  28560. if (cached_has_bits & 0x00000001u) {
  28561. target = stream->EnsureSpace(target);
  28562. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  28563. 1, this->_internal_benable(), target);
  28564. }
  28565. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  28566. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  28567. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  28568. }
  28569. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
  28570. return target;
  28571. }
  28572. ::size_t EnableEchoCancellationParams::ByteSizeLong() const {
  28573. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
  28574. ::size_t total_size = 0;
  28575. ::uint32_t cached_has_bits = 0;
  28576. // Prevent compiler warnings about cached_has_bits being unused
  28577. (void) cached_has_bits;
  28578. // optional bool bEnable = 1;
  28579. cached_has_bits = _impl_._has_bits_[0];
  28580. if (cached_has_bits & 0x00000001u) {
  28581. total_size += 2;
  28582. }
  28583. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  28584. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  28585. }
  28586. int cached_size = ::_pbi::ToCachedSize(total_size);
  28587. SetCachedSize(cached_size);
  28588. return total_size;
  28589. }
  28590. void EnableEchoCancellationParams::CheckTypeAndMergeFrom(
  28591. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  28592. MergeFrom(*::_pbi::DownCast<const EnableEchoCancellationParams*>(
  28593. &from));
  28594. }
  28595. void EnableEchoCancellationParams::MergeFrom(const EnableEchoCancellationParams& from) {
  28596. EnableEchoCancellationParams* const _this = this;
  28597. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
  28598. ABSL_DCHECK_NE(&from, _this);
  28599. ::uint32_t cached_has_bits = 0;
  28600. (void) cached_has_bits;
  28601. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  28602. _this->_internal_set_benable(from._internal_benable());
  28603. }
  28604. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  28605. }
  28606. void EnableEchoCancellationParams::CopyFrom(const EnableEchoCancellationParams& from) {
  28607. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
  28608. if (&from == this) return;
  28609. Clear();
  28610. MergeFrom(from);
  28611. }
  28612. bool EnableEchoCancellationParams::IsInitialized() const {
  28613. return true;
  28614. }
  28615. void EnableEchoCancellationParams::InternalSwap(EnableEchoCancellationParams* other) {
  28616. using std::swap;
  28617. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  28618. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  28619. swap(_impl_.benable_, other->_impl_.benable_);
  28620. }
  28621. std::string EnableEchoCancellationParams::GetTypeName() const {
  28622. return "com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams";
  28623. }
  28624. // ===================================================================
  28625. class EnableStereoAudioParams::_Internal {
  28626. public:
  28627. using HasBits = decltype(std::declval<EnableStereoAudioParams>()._impl_._has_bits_);
  28628. static constexpr ::int32_t kHasBitsOffset =
  28629. 8 * PROTOBUF_FIELD_OFFSET(EnableStereoAudioParams, _impl_._has_bits_);
  28630. static void set_has_benable(HasBits* has_bits) {
  28631. (*has_bits)[0] |= 1u;
  28632. }
  28633. };
  28634. EnableStereoAudioParams::EnableStereoAudioParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  28635. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  28636. SharedCtor(arena);
  28637. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
  28638. }
  28639. EnableStereoAudioParams::EnableStereoAudioParams(const EnableStereoAudioParams& from)
  28640. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  28641. _internal_metadata_.MergeFrom<std::string>(
  28642. from._internal_metadata_);
  28643. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
  28644. }
  28645. inline void EnableStereoAudioParams::SharedCtor(::_pb::Arena* arena) {
  28646. (void)arena;
  28647. new (&_impl_) Impl_{
  28648. decltype(_impl_._has_bits_){}
  28649. , /*decltype(_impl_._cached_size_)*/{}
  28650. , decltype(_impl_.benable_) { false }
  28651. };
  28652. }
  28653. EnableStereoAudioParams::~EnableStereoAudioParams() {
  28654. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
  28655. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  28656. (void)arena;
  28657. return;
  28658. }
  28659. SharedDtor();
  28660. }
  28661. inline void EnableStereoAudioParams::SharedDtor() {
  28662. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  28663. }
  28664. void EnableStereoAudioParams::SetCachedSize(int size) const {
  28665. _impl_._cached_size_.Set(size);
  28666. }
  28667. void EnableStereoAudioParams::Clear() {
  28668. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
  28669. ::uint32_t cached_has_bits = 0;
  28670. // Prevent compiler warnings about cached_has_bits being unused
  28671. (void) cached_has_bits;
  28672. _impl_.benable_ = false;
  28673. _impl_._has_bits_.Clear();
  28674. _internal_metadata_.Clear<std::string>();
  28675. }
  28676. const char* EnableStereoAudioParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  28677. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  28678. _Internal::HasBits has_bits{};
  28679. while (!ctx->Done(&ptr)) {
  28680. ::uint32_t tag;
  28681. ptr = ::_pbi::ReadTag(ptr, &tag);
  28682. switch (tag >> 3) {
  28683. // optional bool bEnable = 1;
  28684. case 1:
  28685. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  28686. _Internal::set_has_benable(&has_bits);
  28687. _impl_.benable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  28688. CHK_(ptr);
  28689. } else {
  28690. goto handle_unusual;
  28691. }
  28692. continue;
  28693. default:
  28694. goto handle_unusual;
  28695. } // switch
  28696. handle_unusual:
  28697. if ((tag == 0) || ((tag & 7) == 4)) {
  28698. CHK_(ptr);
  28699. ctx->SetLastTag(tag);
  28700. goto message_done;
  28701. }
  28702. ptr = UnknownFieldParse(
  28703. tag,
  28704. _internal_metadata_.mutable_unknown_fields<std::string>(),
  28705. ptr, ctx);
  28706. CHK_(ptr != nullptr);
  28707. } // while
  28708. message_done:
  28709. _impl_._has_bits_.Or(has_bits);
  28710. return ptr;
  28711. failure:
  28712. ptr = nullptr;
  28713. goto message_done;
  28714. #undef CHK_
  28715. }
  28716. ::uint8_t* EnableStereoAudioParams::_InternalSerialize(
  28717. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  28718. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
  28719. ::uint32_t cached_has_bits = 0;
  28720. (void) cached_has_bits;
  28721. cached_has_bits = _impl_._has_bits_[0];
  28722. // optional bool bEnable = 1;
  28723. if (cached_has_bits & 0x00000001u) {
  28724. target = stream->EnsureSpace(target);
  28725. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  28726. 1, this->_internal_benable(), target);
  28727. }
  28728. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  28729. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  28730. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  28731. }
  28732. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
  28733. return target;
  28734. }
  28735. ::size_t EnableStereoAudioParams::ByteSizeLong() const {
  28736. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
  28737. ::size_t total_size = 0;
  28738. ::uint32_t cached_has_bits = 0;
  28739. // Prevent compiler warnings about cached_has_bits being unused
  28740. (void) cached_has_bits;
  28741. // optional bool bEnable = 1;
  28742. cached_has_bits = _impl_._has_bits_[0];
  28743. if (cached_has_bits & 0x00000001u) {
  28744. total_size += 2;
  28745. }
  28746. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  28747. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  28748. }
  28749. int cached_size = ::_pbi::ToCachedSize(total_size);
  28750. SetCachedSize(cached_size);
  28751. return total_size;
  28752. }
  28753. void EnableStereoAudioParams::CheckTypeAndMergeFrom(
  28754. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  28755. MergeFrom(*::_pbi::DownCast<const EnableStereoAudioParams*>(
  28756. &from));
  28757. }
  28758. void EnableStereoAudioParams::MergeFrom(const EnableStereoAudioParams& from) {
  28759. EnableStereoAudioParams* const _this = this;
  28760. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
  28761. ABSL_DCHECK_NE(&from, _this);
  28762. ::uint32_t cached_has_bits = 0;
  28763. (void) cached_has_bits;
  28764. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  28765. _this->_internal_set_benable(from._internal_benable());
  28766. }
  28767. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  28768. }
  28769. void EnableStereoAudioParams::CopyFrom(const EnableStereoAudioParams& from) {
  28770. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
  28771. if (&from == this) return;
  28772. Clear();
  28773. MergeFrom(from);
  28774. }
  28775. bool EnableStereoAudioParams::IsInitialized() const {
  28776. return true;
  28777. }
  28778. void EnableStereoAudioParams::InternalSwap(EnableStereoAudioParams* other) {
  28779. using std::swap;
  28780. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  28781. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  28782. swap(_impl_.benable_, other->_impl_.benable_);
  28783. }
  28784. std::string EnableStereoAudioParams::GetTypeName() const {
  28785. return "com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams";
  28786. }
  28787. // ===================================================================
  28788. class StartMicTestRecordingParams::_Internal {
  28789. public:
  28790. using HasBits = decltype(std::declval<StartMicTestRecordingParams>()._impl_._has_bits_);
  28791. static constexpr ::int32_t kHasBitsOffset =
  28792. 8 * PROTOBUF_FIELD_OFFSET(StartMicTestRecordingParams, _impl_._has_bits_);
  28793. static void set_has_deviceid(HasBits* has_bits) {
  28794. (*has_bits)[0] |= 1u;
  28795. }
  28796. };
  28797. StartMicTestRecordingParams::StartMicTestRecordingParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  28798. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  28799. SharedCtor(arena);
  28800. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
  28801. }
  28802. StartMicTestRecordingParams::StartMicTestRecordingParams(const StartMicTestRecordingParams& from)
  28803. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  28804. StartMicTestRecordingParams* const _this = this; (void)_this;
  28805. new (&_impl_) Impl_{
  28806. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  28807. , /*decltype(_impl_._cached_size_)*/{}
  28808. , decltype(_impl_.deviceid_) {}
  28809. };
  28810. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  28811. _impl_.deviceid_.InitDefault();
  28812. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  28813. _impl_.deviceid_.Set("", GetArenaForAllocation());
  28814. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  28815. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  28816. _this->_impl_.deviceid_.Set(from._internal_deviceid(), _this->GetArenaForAllocation());
  28817. }
  28818. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
  28819. }
  28820. inline void StartMicTestRecordingParams::SharedCtor(::_pb::Arena* arena) {
  28821. (void)arena;
  28822. new (&_impl_) Impl_{
  28823. decltype(_impl_._has_bits_){}
  28824. , /*decltype(_impl_._cached_size_)*/{}
  28825. , decltype(_impl_.deviceid_) {}
  28826. };
  28827. _impl_.deviceid_.InitDefault();
  28828. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  28829. _impl_.deviceid_.Set("", GetArenaForAllocation());
  28830. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  28831. }
  28832. StartMicTestRecordingParams::~StartMicTestRecordingParams() {
  28833. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
  28834. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  28835. (void)arena;
  28836. return;
  28837. }
  28838. SharedDtor();
  28839. }
  28840. inline void StartMicTestRecordingParams::SharedDtor() {
  28841. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  28842. _impl_.deviceid_.Destroy();
  28843. }
  28844. void StartMicTestRecordingParams::SetCachedSize(int size) const {
  28845. _impl_._cached_size_.Set(size);
  28846. }
  28847. void StartMicTestRecordingParams::Clear() {
  28848. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
  28849. ::uint32_t cached_has_bits = 0;
  28850. // Prevent compiler warnings about cached_has_bits being unused
  28851. (void) cached_has_bits;
  28852. cached_has_bits = _impl_._has_bits_[0];
  28853. if (cached_has_bits & 0x00000001u) {
  28854. _impl_.deviceid_.ClearNonDefaultToEmpty();
  28855. }
  28856. _impl_._has_bits_.Clear();
  28857. _internal_metadata_.Clear<std::string>();
  28858. }
  28859. const char* StartMicTestRecordingParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  28860. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  28861. _Internal::HasBits has_bits{};
  28862. while (!ctx->Done(&ptr)) {
  28863. ::uint32_t tag;
  28864. ptr = ::_pbi::ReadTag(ptr, &tag);
  28865. switch (tag >> 3) {
  28866. // optional string deviceID = 1;
  28867. case 1:
  28868. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  28869. auto str = _internal_mutable_deviceid();
  28870. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  28871. CHK_(ptr);
  28872. } else {
  28873. goto handle_unusual;
  28874. }
  28875. continue;
  28876. default:
  28877. goto handle_unusual;
  28878. } // switch
  28879. handle_unusual:
  28880. if ((tag == 0) || ((tag & 7) == 4)) {
  28881. CHK_(ptr);
  28882. ctx->SetLastTag(tag);
  28883. goto message_done;
  28884. }
  28885. ptr = UnknownFieldParse(
  28886. tag,
  28887. _internal_metadata_.mutable_unknown_fields<std::string>(),
  28888. ptr, ctx);
  28889. CHK_(ptr != nullptr);
  28890. } // while
  28891. message_done:
  28892. _impl_._has_bits_.Or(has_bits);
  28893. return ptr;
  28894. failure:
  28895. ptr = nullptr;
  28896. goto message_done;
  28897. #undef CHK_
  28898. }
  28899. ::uint8_t* StartMicTestRecordingParams::_InternalSerialize(
  28900. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  28901. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
  28902. ::uint32_t cached_has_bits = 0;
  28903. (void) cached_has_bits;
  28904. cached_has_bits = _impl_._has_bits_[0];
  28905. // optional string deviceID = 1;
  28906. if (cached_has_bits & 0x00000001u) {
  28907. const std::string& _s = this->_internal_deviceid();
  28908. target = stream->WriteStringMaybeAliased(1, _s, target);
  28909. }
  28910. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  28911. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  28912. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  28913. }
  28914. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
  28915. return target;
  28916. }
  28917. ::size_t StartMicTestRecordingParams::ByteSizeLong() const {
  28918. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
  28919. ::size_t total_size = 0;
  28920. ::uint32_t cached_has_bits = 0;
  28921. // Prevent compiler warnings about cached_has_bits being unused
  28922. (void) cached_has_bits;
  28923. // optional string deviceID = 1;
  28924. cached_has_bits = _impl_._has_bits_[0];
  28925. if (cached_has_bits & 0x00000001u) {
  28926. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  28927. this->_internal_deviceid());
  28928. }
  28929. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  28930. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  28931. }
  28932. int cached_size = ::_pbi::ToCachedSize(total_size);
  28933. SetCachedSize(cached_size);
  28934. return total_size;
  28935. }
  28936. void StartMicTestRecordingParams::CheckTypeAndMergeFrom(
  28937. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  28938. MergeFrom(*::_pbi::DownCast<const StartMicTestRecordingParams*>(
  28939. &from));
  28940. }
  28941. void StartMicTestRecordingParams::MergeFrom(const StartMicTestRecordingParams& from) {
  28942. StartMicTestRecordingParams* const _this = this;
  28943. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
  28944. ABSL_DCHECK_NE(&from, _this);
  28945. ::uint32_t cached_has_bits = 0;
  28946. (void) cached_has_bits;
  28947. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  28948. _this->_internal_set_deviceid(from._internal_deviceid());
  28949. }
  28950. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  28951. }
  28952. void StartMicTestRecordingParams::CopyFrom(const StartMicTestRecordingParams& from) {
  28953. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
  28954. if (&from == this) return;
  28955. Clear();
  28956. MergeFrom(from);
  28957. }
  28958. bool StartMicTestRecordingParams::IsInitialized() const {
  28959. return true;
  28960. }
  28961. void StartMicTestRecordingParams::InternalSwap(StartMicTestRecordingParams* other) {
  28962. using std::swap;
  28963. auto* lhs_arena = GetArenaForAllocation();
  28964. auto* rhs_arena = other->GetArenaForAllocation();
  28965. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  28966. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  28967. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceid_, lhs_arena,
  28968. &other->_impl_.deviceid_, rhs_arena);
  28969. }
  28970. std::string StartMicTestRecordingParams::GetTypeName() const {
  28971. return "com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams";
  28972. }
  28973. // ===================================================================
  28974. class StartSpeakerTestParams::_Internal {
  28975. public:
  28976. using HasBits = decltype(std::declval<StartSpeakerTestParams>()._impl_._has_bits_);
  28977. static constexpr ::int32_t kHasBitsOffset =
  28978. 8 * PROTOBUF_FIELD_OFFSET(StartSpeakerTestParams, _impl_._has_bits_);
  28979. static void set_has_deviceid(HasBits* has_bits) {
  28980. (*has_bits)[0] |= 1u;
  28981. }
  28982. };
  28983. StartSpeakerTestParams::StartSpeakerTestParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  28984. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  28985. SharedCtor(arena);
  28986. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
  28987. }
  28988. StartSpeakerTestParams::StartSpeakerTestParams(const StartSpeakerTestParams& from)
  28989. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  28990. StartSpeakerTestParams* const _this = this; (void)_this;
  28991. new (&_impl_) Impl_{
  28992. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  28993. , /*decltype(_impl_._cached_size_)*/{}
  28994. , decltype(_impl_.deviceid_) {}
  28995. };
  28996. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  28997. _impl_.deviceid_.InitDefault();
  28998. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  28999. _impl_.deviceid_.Set("", GetArenaForAllocation());
  29000. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  29001. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  29002. _this->_impl_.deviceid_.Set(from._internal_deviceid(), _this->GetArenaForAllocation());
  29003. }
  29004. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
  29005. }
  29006. inline void StartSpeakerTestParams::SharedCtor(::_pb::Arena* arena) {
  29007. (void)arena;
  29008. new (&_impl_) Impl_{
  29009. decltype(_impl_._has_bits_){}
  29010. , /*decltype(_impl_._cached_size_)*/{}
  29011. , decltype(_impl_.deviceid_) {}
  29012. };
  29013. _impl_.deviceid_.InitDefault();
  29014. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  29015. _impl_.deviceid_.Set("", GetArenaForAllocation());
  29016. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  29017. }
  29018. StartSpeakerTestParams::~StartSpeakerTestParams() {
  29019. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
  29020. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  29021. (void)arena;
  29022. return;
  29023. }
  29024. SharedDtor();
  29025. }
  29026. inline void StartSpeakerTestParams::SharedDtor() {
  29027. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  29028. _impl_.deviceid_.Destroy();
  29029. }
  29030. void StartSpeakerTestParams::SetCachedSize(int size) const {
  29031. _impl_._cached_size_.Set(size);
  29032. }
  29033. void StartSpeakerTestParams::Clear() {
  29034. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
  29035. ::uint32_t cached_has_bits = 0;
  29036. // Prevent compiler warnings about cached_has_bits being unused
  29037. (void) cached_has_bits;
  29038. cached_has_bits = _impl_._has_bits_[0];
  29039. if (cached_has_bits & 0x00000001u) {
  29040. _impl_.deviceid_.ClearNonDefaultToEmpty();
  29041. }
  29042. _impl_._has_bits_.Clear();
  29043. _internal_metadata_.Clear<std::string>();
  29044. }
  29045. const char* StartSpeakerTestParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  29046. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  29047. _Internal::HasBits has_bits{};
  29048. while (!ctx->Done(&ptr)) {
  29049. ::uint32_t tag;
  29050. ptr = ::_pbi::ReadTag(ptr, &tag);
  29051. switch (tag >> 3) {
  29052. // optional string deviceID = 1;
  29053. case 1:
  29054. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  29055. auto str = _internal_mutable_deviceid();
  29056. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  29057. CHK_(ptr);
  29058. } else {
  29059. goto handle_unusual;
  29060. }
  29061. continue;
  29062. default:
  29063. goto handle_unusual;
  29064. } // switch
  29065. handle_unusual:
  29066. if ((tag == 0) || ((tag & 7) == 4)) {
  29067. CHK_(ptr);
  29068. ctx->SetLastTag(tag);
  29069. goto message_done;
  29070. }
  29071. ptr = UnknownFieldParse(
  29072. tag,
  29073. _internal_metadata_.mutable_unknown_fields<std::string>(),
  29074. ptr, ctx);
  29075. CHK_(ptr != nullptr);
  29076. } // while
  29077. message_done:
  29078. _impl_._has_bits_.Or(has_bits);
  29079. return ptr;
  29080. failure:
  29081. ptr = nullptr;
  29082. goto message_done;
  29083. #undef CHK_
  29084. }
  29085. ::uint8_t* StartSpeakerTestParams::_InternalSerialize(
  29086. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  29087. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
  29088. ::uint32_t cached_has_bits = 0;
  29089. (void) cached_has_bits;
  29090. cached_has_bits = _impl_._has_bits_[0];
  29091. // optional string deviceID = 1;
  29092. if (cached_has_bits & 0x00000001u) {
  29093. const std::string& _s = this->_internal_deviceid();
  29094. target = stream->WriteStringMaybeAliased(1, _s, target);
  29095. }
  29096. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  29097. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  29098. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  29099. }
  29100. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
  29101. return target;
  29102. }
  29103. ::size_t StartSpeakerTestParams::ByteSizeLong() const {
  29104. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
  29105. ::size_t total_size = 0;
  29106. ::uint32_t cached_has_bits = 0;
  29107. // Prevent compiler warnings about cached_has_bits being unused
  29108. (void) cached_has_bits;
  29109. // optional string deviceID = 1;
  29110. cached_has_bits = _impl_._has_bits_[0];
  29111. if (cached_has_bits & 0x00000001u) {
  29112. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  29113. this->_internal_deviceid());
  29114. }
  29115. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  29116. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  29117. }
  29118. int cached_size = ::_pbi::ToCachedSize(total_size);
  29119. SetCachedSize(cached_size);
  29120. return total_size;
  29121. }
  29122. void StartSpeakerTestParams::CheckTypeAndMergeFrom(
  29123. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  29124. MergeFrom(*::_pbi::DownCast<const StartSpeakerTestParams*>(
  29125. &from));
  29126. }
  29127. void StartSpeakerTestParams::MergeFrom(const StartSpeakerTestParams& from) {
  29128. StartSpeakerTestParams* const _this = this;
  29129. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
  29130. ABSL_DCHECK_NE(&from, _this);
  29131. ::uint32_t cached_has_bits = 0;
  29132. (void) cached_has_bits;
  29133. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  29134. _this->_internal_set_deviceid(from._internal_deviceid());
  29135. }
  29136. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  29137. }
  29138. void StartSpeakerTestParams::CopyFrom(const StartSpeakerTestParams& from) {
  29139. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
  29140. if (&from == this) return;
  29141. Clear();
  29142. MergeFrom(from);
  29143. }
  29144. bool StartSpeakerTestParams::IsInitialized() const {
  29145. return true;
  29146. }
  29147. void StartSpeakerTestParams::InternalSwap(StartSpeakerTestParams* other) {
  29148. using std::swap;
  29149. auto* lhs_arena = GetArenaForAllocation();
  29150. auto* rhs_arena = other->GetArenaForAllocation();
  29151. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  29152. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  29153. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceid_, lhs_arena,
  29154. &other->_impl_.deviceid_, rhs_arena);
  29155. }
  29156. std::string StartSpeakerTestParams::GetTypeName() const {
  29157. return "com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams";
  29158. }
  29159. // ===================================================================
  29160. class SetTimerIntervalParams::_Internal {
  29161. public:
  29162. using HasBits = decltype(std::declval<SetTimerIntervalParams>()._impl_._has_bits_);
  29163. static constexpr ::int32_t kHasBitsOffset =
  29164. 8 * PROTOBUF_FIELD_OFFSET(SetTimerIntervalParams, _impl_._has_bits_);
  29165. static void set_has_timerinterval(HasBits* has_bits) {
  29166. (*has_bits)[0] |= 1u;
  29167. }
  29168. };
  29169. SetTimerIntervalParams::SetTimerIntervalParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  29170. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  29171. SharedCtor(arena);
  29172. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
  29173. }
  29174. SetTimerIntervalParams::SetTimerIntervalParams(const SetTimerIntervalParams& from)
  29175. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  29176. _internal_metadata_.MergeFrom<std::string>(
  29177. from._internal_metadata_);
  29178. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
  29179. }
  29180. inline void SetTimerIntervalParams::SharedCtor(::_pb::Arena* arena) {
  29181. (void)arena;
  29182. new (&_impl_) Impl_{
  29183. decltype(_impl_._has_bits_){}
  29184. , /*decltype(_impl_._cached_size_)*/{}
  29185. , decltype(_impl_.timerinterval_) { 0u }
  29186. };
  29187. }
  29188. SetTimerIntervalParams::~SetTimerIntervalParams() {
  29189. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
  29190. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  29191. (void)arena;
  29192. return;
  29193. }
  29194. SharedDtor();
  29195. }
  29196. inline void SetTimerIntervalParams::SharedDtor() {
  29197. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  29198. }
  29199. void SetTimerIntervalParams::SetCachedSize(int size) const {
  29200. _impl_._cached_size_.Set(size);
  29201. }
  29202. void SetTimerIntervalParams::Clear() {
  29203. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
  29204. ::uint32_t cached_has_bits = 0;
  29205. // Prevent compiler warnings about cached_has_bits being unused
  29206. (void) cached_has_bits;
  29207. _impl_.timerinterval_ = 0u;
  29208. _impl_._has_bits_.Clear();
  29209. _internal_metadata_.Clear<std::string>();
  29210. }
  29211. const char* SetTimerIntervalParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  29212. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  29213. _Internal::HasBits has_bits{};
  29214. while (!ctx->Done(&ptr)) {
  29215. ::uint32_t tag;
  29216. ptr = ::_pbi::ReadTag(ptr, &tag);
  29217. switch (tag >> 3) {
  29218. // optional uint32 timerInterval = 1;
  29219. case 1:
  29220. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  29221. _Internal::set_has_timerinterval(&has_bits);
  29222. _impl_.timerinterval_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  29223. CHK_(ptr);
  29224. } else {
  29225. goto handle_unusual;
  29226. }
  29227. continue;
  29228. default:
  29229. goto handle_unusual;
  29230. } // switch
  29231. handle_unusual:
  29232. if ((tag == 0) || ((tag & 7) == 4)) {
  29233. CHK_(ptr);
  29234. ctx->SetLastTag(tag);
  29235. goto message_done;
  29236. }
  29237. ptr = UnknownFieldParse(
  29238. tag,
  29239. _internal_metadata_.mutable_unknown_fields<std::string>(),
  29240. ptr, ctx);
  29241. CHK_(ptr != nullptr);
  29242. } // while
  29243. message_done:
  29244. _impl_._has_bits_.Or(has_bits);
  29245. return ptr;
  29246. failure:
  29247. ptr = nullptr;
  29248. goto message_done;
  29249. #undef CHK_
  29250. }
  29251. ::uint8_t* SetTimerIntervalParams::_InternalSerialize(
  29252. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  29253. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
  29254. ::uint32_t cached_has_bits = 0;
  29255. (void) cached_has_bits;
  29256. cached_has_bits = _impl_._has_bits_[0];
  29257. // optional uint32 timerInterval = 1;
  29258. if (cached_has_bits & 0x00000001u) {
  29259. target = stream->EnsureSpace(target);
  29260. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  29261. 1, this->_internal_timerinterval(), target);
  29262. }
  29263. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  29264. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  29265. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  29266. }
  29267. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
  29268. return target;
  29269. }
  29270. ::size_t SetTimerIntervalParams::ByteSizeLong() const {
  29271. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
  29272. ::size_t total_size = 0;
  29273. ::uint32_t cached_has_bits = 0;
  29274. // Prevent compiler warnings about cached_has_bits being unused
  29275. (void) cached_has_bits;
  29276. // optional uint32 timerInterval = 1;
  29277. cached_has_bits = _impl_._has_bits_[0];
  29278. if (cached_has_bits & 0x00000001u) {
  29279. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  29280. this->_internal_timerinterval());
  29281. }
  29282. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  29283. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  29284. }
  29285. int cached_size = ::_pbi::ToCachedSize(total_size);
  29286. SetCachedSize(cached_size);
  29287. return total_size;
  29288. }
  29289. void SetTimerIntervalParams::CheckTypeAndMergeFrom(
  29290. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  29291. MergeFrom(*::_pbi::DownCast<const SetTimerIntervalParams*>(
  29292. &from));
  29293. }
  29294. void SetTimerIntervalParams::MergeFrom(const SetTimerIntervalParams& from) {
  29295. SetTimerIntervalParams* const _this = this;
  29296. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
  29297. ABSL_DCHECK_NE(&from, _this);
  29298. ::uint32_t cached_has_bits = 0;
  29299. (void) cached_has_bits;
  29300. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  29301. _this->_internal_set_timerinterval(from._internal_timerinterval());
  29302. }
  29303. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  29304. }
  29305. void SetTimerIntervalParams::CopyFrom(const SetTimerIntervalParams& from) {
  29306. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
  29307. if (&from == this) return;
  29308. Clear();
  29309. MergeFrom(from);
  29310. }
  29311. bool SetTimerIntervalParams::IsInitialized() const {
  29312. return true;
  29313. }
  29314. void SetTimerIntervalParams::InternalSwap(SetTimerIntervalParams* other) {
  29315. using std::swap;
  29316. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  29317. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  29318. swap(_impl_.timerinterval_, other->_impl_.timerinterval_);
  29319. }
  29320. std::string SetTimerIntervalParams::GetTypeName() const {
  29321. return "com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams";
  29322. }
  29323. // ===================================================================
  29324. class EnableMultiStreamVideoParams::_Internal {
  29325. public:
  29326. using HasBits = decltype(std::declval<EnableMultiStreamVideoParams>()._impl_._has_bits_);
  29327. static constexpr ::int32_t kHasBitsOffset =
  29328. 8 * PROTOBUF_FIELD_OFFSET(EnableMultiStreamVideoParams, _impl_._has_bits_);
  29329. static void set_has_deviceid(HasBits* has_bits) {
  29330. (*has_bits)[0] |= 1u;
  29331. }
  29332. };
  29333. EnableMultiStreamVideoParams::EnableMultiStreamVideoParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  29334. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  29335. SharedCtor(arena);
  29336. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
  29337. }
  29338. EnableMultiStreamVideoParams::EnableMultiStreamVideoParams(const EnableMultiStreamVideoParams& from)
  29339. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  29340. EnableMultiStreamVideoParams* const _this = this; (void)_this;
  29341. new (&_impl_) Impl_{
  29342. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  29343. , /*decltype(_impl_._cached_size_)*/{}
  29344. , decltype(_impl_.deviceid_) {}
  29345. };
  29346. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  29347. _impl_.deviceid_.InitDefault();
  29348. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  29349. _impl_.deviceid_.Set("", GetArenaForAllocation());
  29350. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  29351. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  29352. _this->_impl_.deviceid_.Set(from._internal_deviceid(), _this->GetArenaForAllocation());
  29353. }
  29354. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
  29355. }
  29356. inline void EnableMultiStreamVideoParams::SharedCtor(::_pb::Arena* arena) {
  29357. (void)arena;
  29358. new (&_impl_) Impl_{
  29359. decltype(_impl_._has_bits_){}
  29360. , /*decltype(_impl_._cached_size_)*/{}
  29361. , decltype(_impl_.deviceid_) {}
  29362. };
  29363. _impl_.deviceid_.InitDefault();
  29364. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  29365. _impl_.deviceid_.Set("", GetArenaForAllocation());
  29366. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  29367. }
  29368. EnableMultiStreamVideoParams::~EnableMultiStreamVideoParams() {
  29369. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
  29370. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  29371. (void)arena;
  29372. return;
  29373. }
  29374. SharedDtor();
  29375. }
  29376. inline void EnableMultiStreamVideoParams::SharedDtor() {
  29377. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  29378. _impl_.deviceid_.Destroy();
  29379. }
  29380. void EnableMultiStreamVideoParams::SetCachedSize(int size) const {
  29381. _impl_._cached_size_.Set(size);
  29382. }
  29383. void EnableMultiStreamVideoParams::Clear() {
  29384. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
  29385. ::uint32_t cached_has_bits = 0;
  29386. // Prevent compiler warnings about cached_has_bits being unused
  29387. (void) cached_has_bits;
  29388. cached_has_bits = _impl_._has_bits_[0];
  29389. if (cached_has_bits & 0x00000001u) {
  29390. _impl_.deviceid_.ClearNonDefaultToEmpty();
  29391. }
  29392. _impl_._has_bits_.Clear();
  29393. _internal_metadata_.Clear<std::string>();
  29394. }
  29395. const char* EnableMultiStreamVideoParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  29396. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  29397. _Internal::HasBits has_bits{};
  29398. while (!ctx->Done(&ptr)) {
  29399. ::uint32_t tag;
  29400. ptr = ::_pbi::ReadTag(ptr, &tag);
  29401. switch (tag >> 3) {
  29402. // optional string deviceID = 1;
  29403. case 1:
  29404. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  29405. auto str = _internal_mutable_deviceid();
  29406. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  29407. CHK_(ptr);
  29408. } else {
  29409. goto handle_unusual;
  29410. }
  29411. continue;
  29412. default:
  29413. goto handle_unusual;
  29414. } // switch
  29415. handle_unusual:
  29416. if ((tag == 0) || ((tag & 7) == 4)) {
  29417. CHK_(ptr);
  29418. ctx->SetLastTag(tag);
  29419. goto message_done;
  29420. }
  29421. ptr = UnknownFieldParse(
  29422. tag,
  29423. _internal_metadata_.mutable_unknown_fields<std::string>(),
  29424. ptr, ctx);
  29425. CHK_(ptr != nullptr);
  29426. } // while
  29427. message_done:
  29428. _impl_._has_bits_.Or(has_bits);
  29429. return ptr;
  29430. failure:
  29431. ptr = nullptr;
  29432. goto message_done;
  29433. #undef CHK_
  29434. }
  29435. ::uint8_t* EnableMultiStreamVideoParams::_InternalSerialize(
  29436. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  29437. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
  29438. ::uint32_t cached_has_bits = 0;
  29439. (void) cached_has_bits;
  29440. cached_has_bits = _impl_._has_bits_[0];
  29441. // optional string deviceID = 1;
  29442. if (cached_has_bits & 0x00000001u) {
  29443. const std::string& _s = this->_internal_deviceid();
  29444. target = stream->WriteStringMaybeAliased(1, _s, target);
  29445. }
  29446. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  29447. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  29448. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  29449. }
  29450. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
  29451. return target;
  29452. }
  29453. ::size_t EnableMultiStreamVideoParams::ByteSizeLong() const {
  29454. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
  29455. ::size_t total_size = 0;
  29456. ::uint32_t cached_has_bits = 0;
  29457. // Prevent compiler warnings about cached_has_bits being unused
  29458. (void) cached_has_bits;
  29459. // optional string deviceID = 1;
  29460. cached_has_bits = _impl_._has_bits_[0];
  29461. if (cached_has_bits & 0x00000001u) {
  29462. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  29463. this->_internal_deviceid());
  29464. }
  29465. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  29466. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  29467. }
  29468. int cached_size = ::_pbi::ToCachedSize(total_size);
  29469. SetCachedSize(cached_size);
  29470. return total_size;
  29471. }
  29472. void EnableMultiStreamVideoParams::CheckTypeAndMergeFrom(
  29473. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  29474. MergeFrom(*::_pbi::DownCast<const EnableMultiStreamVideoParams*>(
  29475. &from));
  29476. }
  29477. void EnableMultiStreamVideoParams::MergeFrom(const EnableMultiStreamVideoParams& from) {
  29478. EnableMultiStreamVideoParams* const _this = this;
  29479. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
  29480. ABSL_DCHECK_NE(&from, _this);
  29481. ::uint32_t cached_has_bits = 0;
  29482. (void) cached_has_bits;
  29483. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  29484. _this->_internal_set_deviceid(from._internal_deviceid());
  29485. }
  29486. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  29487. }
  29488. void EnableMultiStreamVideoParams::CopyFrom(const EnableMultiStreamVideoParams& from) {
  29489. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
  29490. if (&from == this) return;
  29491. Clear();
  29492. MergeFrom(from);
  29493. }
  29494. bool EnableMultiStreamVideoParams::IsInitialized() const {
  29495. return true;
  29496. }
  29497. void EnableMultiStreamVideoParams::InternalSwap(EnableMultiStreamVideoParams* other) {
  29498. using std::swap;
  29499. auto* lhs_arena = GetArenaForAllocation();
  29500. auto* rhs_arena = other->GetArenaForAllocation();
  29501. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  29502. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  29503. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceid_, lhs_arena,
  29504. &other->_impl_.deviceid_, rhs_arena);
  29505. }
  29506. std::string EnableMultiStreamVideoParams::GetTypeName() const {
  29507. return "com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams";
  29508. }
  29509. // ===================================================================
  29510. class DisableMultiStreamVideoParams::_Internal {
  29511. public:
  29512. using HasBits = decltype(std::declval<DisableMultiStreamVideoParams>()._impl_._has_bits_);
  29513. static constexpr ::int32_t kHasBitsOffset =
  29514. 8 * PROTOBUF_FIELD_OFFSET(DisableMultiStreamVideoParams, _impl_._has_bits_);
  29515. static void set_has_deviceid(HasBits* has_bits) {
  29516. (*has_bits)[0] |= 1u;
  29517. }
  29518. };
  29519. DisableMultiStreamVideoParams::DisableMultiStreamVideoParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  29520. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  29521. SharedCtor(arena);
  29522. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
  29523. }
  29524. DisableMultiStreamVideoParams::DisableMultiStreamVideoParams(const DisableMultiStreamVideoParams& from)
  29525. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  29526. DisableMultiStreamVideoParams* const _this = this; (void)_this;
  29527. new (&_impl_) Impl_{
  29528. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  29529. , /*decltype(_impl_._cached_size_)*/{}
  29530. , decltype(_impl_.deviceid_) {}
  29531. };
  29532. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  29533. _impl_.deviceid_.InitDefault();
  29534. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  29535. _impl_.deviceid_.Set("", GetArenaForAllocation());
  29536. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  29537. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  29538. _this->_impl_.deviceid_.Set(from._internal_deviceid(), _this->GetArenaForAllocation());
  29539. }
  29540. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
  29541. }
  29542. inline void DisableMultiStreamVideoParams::SharedCtor(::_pb::Arena* arena) {
  29543. (void)arena;
  29544. new (&_impl_) Impl_{
  29545. decltype(_impl_._has_bits_){}
  29546. , /*decltype(_impl_._cached_size_)*/{}
  29547. , decltype(_impl_.deviceid_) {}
  29548. };
  29549. _impl_.deviceid_.InitDefault();
  29550. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  29551. _impl_.deviceid_.Set("", GetArenaForAllocation());
  29552. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  29553. }
  29554. DisableMultiStreamVideoParams::~DisableMultiStreamVideoParams() {
  29555. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
  29556. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  29557. (void)arena;
  29558. return;
  29559. }
  29560. SharedDtor();
  29561. }
  29562. inline void DisableMultiStreamVideoParams::SharedDtor() {
  29563. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  29564. _impl_.deviceid_.Destroy();
  29565. }
  29566. void DisableMultiStreamVideoParams::SetCachedSize(int size) const {
  29567. _impl_._cached_size_.Set(size);
  29568. }
  29569. void DisableMultiStreamVideoParams::Clear() {
  29570. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
  29571. ::uint32_t cached_has_bits = 0;
  29572. // Prevent compiler warnings about cached_has_bits being unused
  29573. (void) cached_has_bits;
  29574. cached_has_bits = _impl_._has_bits_[0];
  29575. if (cached_has_bits & 0x00000001u) {
  29576. _impl_.deviceid_.ClearNonDefaultToEmpty();
  29577. }
  29578. _impl_._has_bits_.Clear();
  29579. _internal_metadata_.Clear<std::string>();
  29580. }
  29581. const char* DisableMultiStreamVideoParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  29582. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  29583. _Internal::HasBits has_bits{};
  29584. while (!ctx->Done(&ptr)) {
  29585. ::uint32_t tag;
  29586. ptr = ::_pbi::ReadTag(ptr, &tag);
  29587. switch (tag >> 3) {
  29588. // optional string deviceID = 1;
  29589. case 1:
  29590. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  29591. auto str = _internal_mutable_deviceid();
  29592. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  29593. CHK_(ptr);
  29594. } else {
  29595. goto handle_unusual;
  29596. }
  29597. continue;
  29598. default:
  29599. goto handle_unusual;
  29600. } // switch
  29601. handle_unusual:
  29602. if ((tag == 0) || ((tag & 7) == 4)) {
  29603. CHK_(ptr);
  29604. ctx->SetLastTag(tag);
  29605. goto message_done;
  29606. }
  29607. ptr = UnknownFieldParse(
  29608. tag,
  29609. _internal_metadata_.mutable_unknown_fields<std::string>(),
  29610. ptr, ctx);
  29611. CHK_(ptr != nullptr);
  29612. } // while
  29613. message_done:
  29614. _impl_._has_bits_.Or(has_bits);
  29615. return ptr;
  29616. failure:
  29617. ptr = nullptr;
  29618. goto message_done;
  29619. #undef CHK_
  29620. }
  29621. ::uint8_t* DisableMultiStreamVideoParams::_InternalSerialize(
  29622. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  29623. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
  29624. ::uint32_t cached_has_bits = 0;
  29625. (void) cached_has_bits;
  29626. cached_has_bits = _impl_._has_bits_[0];
  29627. // optional string deviceID = 1;
  29628. if (cached_has_bits & 0x00000001u) {
  29629. const std::string& _s = this->_internal_deviceid();
  29630. target = stream->WriteStringMaybeAliased(1, _s, target);
  29631. }
  29632. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  29633. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  29634. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  29635. }
  29636. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
  29637. return target;
  29638. }
  29639. ::size_t DisableMultiStreamVideoParams::ByteSizeLong() const {
  29640. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
  29641. ::size_t total_size = 0;
  29642. ::uint32_t cached_has_bits = 0;
  29643. // Prevent compiler warnings about cached_has_bits being unused
  29644. (void) cached_has_bits;
  29645. // optional string deviceID = 1;
  29646. cached_has_bits = _impl_._has_bits_[0];
  29647. if (cached_has_bits & 0x00000001u) {
  29648. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  29649. this->_internal_deviceid());
  29650. }
  29651. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  29652. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  29653. }
  29654. int cached_size = ::_pbi::ToCachedSize(total_size);
  29655. SetCachedSize(cached_size);
  29656. return total_size;
  29657. }
  29658. void DisableMultiStreamVideoParams::CheckTypeAndMergeFrom(
  29659. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  29660. MergeFrom(*::_pbi::DownCast<const DisableMultiStreamVideoParams*>(
  29661. &from));
  29662. }
  29663. void DisableMultiStreamVideoParams::MergeFrom(const DisableMultiStreamVideoParams& from) {
  29664. DisableMultiStreamVideoParams* const _this = this;
  29665. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
  29666. ABSL_DCHECK_NE(&from, _this);
  29667. ::uint32_t cached_has_bits = 0;
  29668. (void) cached_has_bits;
  29669. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  29670. _this->_internal_set_deviceid(from._internal_deviceid());
  29671. }
  29672. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  29673. }
  29674. void DisableMultiStreamVideoParams::CopyFrom(const DisableMultiStreamVideoParams& from) {
  29675. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
  29676. if (&from == this) return;
  29677. Clear();
  29678. MergeFrom(from);
  29679. }
  29680. bool DisableMultiStreamVideoParams::IsInitialized() const {
  29681. return true;
  29682. }
  29683. void DisableMultiStreamVideoParams::InternalSwap(DisableMultiStreamVideoParams* other) {
  29684. using std::swap;
  29685. auto* lhs_arena = GetArenaForAllocation();
  29686. auto* rhs_arena = other->GetArenaForAllocation();
  29687. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  29688. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  29689. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceid_, lhs_arena,
  29690. &other->_impl_.deviceid_, rhs_arena);
  29691. }
  29692. std::string DisableMultiStreamVideoParams::GetTypeName() const {
  29693. return "com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams";
  29694. }
  29695. // ===================================================================
  29696. class StartVideoPreviewParams::_Internal {
  29697. public:
  29698. using HasBits = decltype(std::declval<StartVideoPreviewParams>()._impl_._has_bits_);
  29699. static constexpr ::int32_t kHasBitsOffset =
  29700. 8 * PROTOBUF_FIELD_OFFSET(StartVideoPreviewParams, _impl_._has_bits_);
  29701. static void set_has_zn_recv_handle(HasBits* has_bits) {
  29702. (*has_bits)[0] |= 2u;
  29703. }
  29704. static void set_has_cameradeviceid(HasBits* has_bits) {
  29705. (*has_bits)[0] |= 1u;
  29706. }
  29707. };
  29708. StartVideoPreviewParams::StartVideoPreviewParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  29709. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  29710. SharedCtor(arena);
  29711. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
  29712. }
  29713. StartVideoPreviewParams::StartVideoPreviewParams(const StartVideoPreviewParams& from)
  29714. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  29715. StartVideoPreviewParams* const _this = this; (void)_this;
  29716. new (&_impl_) Impl_{
  29717. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  29718. , /*decltype(_impl_._cached_size_)*/{}
  29719. , decltype(_impl_.cameradeviceid_) {}
  29720. , decltype(_impl_.zn_recv_handle_) {}
  29721. };
  29722. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  29723. _impl_.cameradeviceid_.InitDefault();
  29724. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  29725. _impl_.cameradeviceid_.Set("", GetArenaForAllocation());
  29726. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  29727. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  29728. _this->_impl_.cameradeviceid_.Set(from._internal_cameradeviceid(), _this->GetArenaForAllocation());
  29729. }
  29730. _this->_impl_.zn_recv_handle_ = from._impl_.zn_recv_handle_;
  29731. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
  29732. }
  29733. inline void StartVideoPreviewParams::SharedCtor(::_pb::Arena* arena) {
  29734. (void)arena;
  29735. new (&_impl_) Impl_{
  29736. decltype(_impl_._has_bits_){}
  29737. , /*decltype(_impl_._cached_size_)*/{}
  29738. , decltype(_impl_.cameradeviceid_) {}
  29739. , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
  29740. };
  29741. _impl_.cameradeviceid_.InitDefault();
  29742. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  29743. _impl_.cameradeviceid_.Set("", GetArenaForAllocation());
  29744. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  29745. }
  29746. StartVideoPreviewParams::~StartVideoPreviewParams() {
  29747. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
  29748. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  29749. (void)arena;
  29750. return;
  29751. }
  29752. SharedDtor();
  29753. }
  29754. inline void StartVideoPreviewParams::SharedDtor() {
  29755. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  29756. _impl_.cameradeviceid_.Destroy();
  29757. }
  29758. void StartVideoPreviewParams::SetCachedSize(int size) const {
  29759. _impl_._cached_size_.Set(size);
  29760. }
  29761. void StartVideoPreviewParams::Clear() {
  29762. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
  29763. ::uint32_t cached_has_bits = 0;
  29764. // Prevent compiler warnings about cached_has_bits being unused
  29765. (void) cached_has_bits;
  29766. cached_has_bits = _impl_._has_bits_[0];
  29767. if (cached_has_bits & 0x00000001u) {
  29768. _impl_.cameradeviceid_.ClearNonDefaultToEmpty();
  29769. }
  29770. _impl_.zn_recv_handle_ = ::int64_t{0};
  29771. _impl_._has_bits_.Clear();
  29772. _internal_metadata_.Clear<std::string>();
  29773. }
  29774. const char* StartVideoPreviewParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  29775. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  29776. _Internal::HasBits has_bits{};
  29777. while (!ctx->Done(&ptr)) {
  29778. ::uint32_t tag;
  29779. ptr = ::_pbi::ReadTag(ptr, &tag);
  29780. switch (tag >> 3) {
  29781. // optional int64 zn_recv_handle = 1;
  29782. case 1:
  29783. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  29784. _Internal::set_has_zn_recv_handle(&has_bits);
  29785. _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  29786. CHK_(ptr);
  29787. } else {
  29788. goto handle_unusual;
  29789. }
  29790. continue;
  29791. // optional string cameraDeviceID = 2;
  29792. case 2:
  29793. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  29794. auto str = _internal_mutable_cameradeviceid();
  29795. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  29796. CHK_(ptr);
  29797. } else {
  29798. goto handle_unusual;
  29799. }
  29800. continue;
  29801. default:
  29802. goto handle_unusual;
  29803. } // switch
  29804. handle_unusual:
  29805. if ((tag == 0) || ((tag & 7) == 4)) {
  29806. CHK_(ptr);
  29807. ctx->SetLastTag(tag);
  29808. goto message_done;
  29809. }
  29810. ptr = UnknownFieldParse(
  29811. tag,
  29812. _internal_metadata_.mutable_unknown_fields<std::string>(),
  29813. ptr, ctx);
  29814. CHK_(ptr != nullptr);
  29815. } // while
  29816. message_done:
  29817. _impl_._has_bits_.Or(has_bits);
  29818. return ptr;
  29819. failure:
  29820. ptr = nullptr;
  29821. goto message_done;
  29822. #undef CHK_
  29823. }
  29824. ::uint8_t* StartVideoPreviewParams::_InternalSerialize(
  29825. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  29826. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
  29827. ::uint32_t cached_has_bits = 0;
  29828. (void) cached_has_bits;
  29829. cached_has_bits = _impl_._has_bits_[0];
  29830. // optional int64 zn_recv_handle = 1;
  29831. if (cached_has_bits & 0x00000002u) {
  29832. target = stream->EnsureSpace(target);
  29833. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  29834. 1, this->_internal_zn_recv_handle(), target);
  29835. }
  29836. // optional string cameraDeviceID = 2;
  29837. if (cached_has_bits & 0x00000001u) {
  29838. const std::string& _s = this->_internal_cameradeviceid();
  29839. target = stream->WriteStringMaybeAliased(2, _s, target);
  29840. }
  29841. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  29842. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  29843. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  29844. }
  29845. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
  29846. return target;
  29847. }
  29848. ::size_t StartVideoPreviewParams::ByteSizeLong() const {
  29849. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
  29850. ::size_t total_size = 0;
  29851. ::uint32_t cached_has_bits = 0;
  29852. // Prevent compiler warnings about cached_has_bits being unused
  29853. (void) cached_has_bits;
  29854. cached_has_bits = _impl_._has_bits_[0];
  29855. if (cached_has_bits & 0x00000003u) {
  29856. // optional string cameraDeviceID = 2;
  29857. if (cached_has_bits & 0x00000001u) {
  29858. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  29859. this->_internal_cameradeviceid());
  29860. }
  29861. // optional int64 zn_recv_handle = 1;
  29862. if (cached_has_bits & 0x00000002u) {
  29863. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  29864. this->_internal_zn_recv_handle());
  29865. }
  29866. }
  29867. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  29868. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  29869. }
  29870. int cached_size = ::_pbi::ToCachedSize(total_size);
  29871. SetCachedSize(cached_size);
  29872. return total_size;
  29873. }
  29874. void StartVideoPreviewParams::CheckTypeAndMergeFrom(
  29875. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  29876. MergeFrom(*::_pbi::DownCast<const StartVideoPreviewParams*>(
  29877. &from));
  29878. }
  29879. void StartVideoPreviewParams::MergeFrom(const StartVideoPreviewParams& from) {
  29880. StartVideoPreviewParams* const _this = this;
  29881. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
  29882. ABSL_DCHECK_NE(&from, _this);
  29883. ::uint32_t cached_has_bits = 0;
  29884. (void) cached_has_bits;
  29885. cached_has_bits = from._impl_._has_bits_[0];
  29886. if (cached_has_bits & 0x00000003u) {
  29887. if (cached_has_bits & 0x00000001u) {
  29888. _this->_internal_set_cameradeviceid(from._internal_cameradeviceid());
  29889. }
  29890. if (cached_has_bits & 0x00000002u) {
  29891. _this->_impl_.zn_recv_handle_ = from._impl_.zn_recv_handle_;
  29892. }
  29893. _this->_impl_._has_bits_[0] |= cached_has_bits;
  29894. }
  29895. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  29896. }
  29897. void StartVideoPreviewParams::CopyFrom(const StartVideoPreviewParams& from) {
  29898. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
  29899. if (&from == this) return;
  29900. Clear();
  29901. MergeFrom(from);
  29902. }
  29903. bool StartVideoPreviewParams::IsInitialized() const {
  29904. return true;
  29905. }
  29906. void StartVideoPreviewParams::InternalSwap(StartVideoPreviewParams* other) {
  29907. using std::swap;
  29908. auto* lhs_arena = GetArenaForAllocation();
  29909. auto* rhs_arena = other->GetArenaForAllocation();
  29910. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  29911. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  29912. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.cameradeviceid_, lhs_arena,
  29913. &other->_impl_.cameradeviceid_, rhs_arena);
  29914. swap(_impl_.zn_recv_handle_, other->_impl_.zn_recv_handle_);
  29915. }
  29916. std::string StartVideoPreviewParams::GetTypeName() const {
  29917. return "com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams";
  29918. }
  29919. // ===================================================================
  29920. class StopVideoPreviewParams::_Internal {
  29921. public:
  29922. using HasBits = decltype(std::declval<StopVideoPreviewParams>()._impl_._has_bits_);
  29923. static constexpr ::int32_t kHasBitsOffset =
  29924. 8 * PROTOBUF_FIELD_OFFSET(StopVideoPreviewParams, _impl_._has_bits_);
  29925. static void set_has_zn_recv_handle(HasBits* has_bits) {
  29926. (*has_bits)[0] |= 1u;
  29927. }
  29928. };
  29929. StopVideoPreviewParams::StopVideoPreviewParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  29930. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  29931. SharedCtor(arena);
  29932. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
  29933. }
  29934. StopVideoPreviewParams::StopVideoPreviewParams(const StopVideoPreviewParams& from)
  29935. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  29936. _internal_metadata_.MergeFrom<std::string>(
  29937. from._internal_metadata_);
  29938. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
  29939. }
  29940. inline void StopVideoPreviewParams::SharedCtor(::_pb::Arena* arena) {
  29941. (void)arena;
  29942. new (&_impl_) Impl_{
  29943. decltype(_impl_._has_bits_){}
  29944. , /*decltype(_impl_._cached_size_)*/{}
  29945. , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
  29946. };
  29947. }
  29948. StopVideoPreviewParams::~StopVideoPreviewParams() {
  29949. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
  29950. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  29951. (void)arena;
  29952. return;
  29953. }
  29954. SharedDtor();
  29955. }
  29956. inline void StopVideoPreviewParams::SharedDtor() {
  29957. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  29958. }
  29959. void StopVideoPreviewParams::SetCachedSize(int size) const {
  29960. _impl_._cached_size_.Set(size);
  29961. }
  29962. void StopVideoPreviewParams::Clear() {
  29963. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
  29964. ::uint32_t cached_has_bits = 0;
  29965. // Prevent compiler warnings about cached_has_bits being unused
  29966. (void) cached_has_bits;
  29967. _impl_.zn_recv_handle_ = ::int64_t{0};
  29968. _impl_._has_bits_.Clear();
  29969. _internal_metadata_.Clear<std::string>();
  29970. }
  29971. const char* StopVideoPreviewParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  29972. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  29973. _Internal::HasBits has_bits{};
  29974. while (!ctx->Done(&ptr)) {
  29975. ::uint32_t tag;
  29976. ptr = ::_pbi::ReadTag(ptr, &tag);
  29977. switch (tag >> 3) {
  29978. // optional int64 zn_recv_handle = 1;
  29979. case 1:
  29980. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  29981. _Internal::set_has_zn_recv_handle(&has_bits);
  29982. _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  29983. CHK_(ptr);
  29984. } else {
  29985. goto handle_unusual;
  29986. }
  29987. continue;
  29988. default:
  29989. goto handle_unusual;
  29990. } // switch
  29991. handle_unusual:
  29992. if ((tag == 0) || ((tag & 7) == 4)) {
  29993. CHK_(ptr);
  29994. ctx->SetLastTag(tag);
  29995. goto message_done;
  29996. }
  29997. ptr = UnknownFieldParse(
  29998. tag,
  29999. _internal_metadata_.mutable_unknown_fields<std::string>(),
  30000. ptr, ctx);
  30001. CHK_(ptr != nullptr);
  30002. } // while
  30003. message_done:
  30004. _impl_._has_bits_.Or(has_bits);
  30005. return ptr;
  30006. failure:
  30007. ptr = nullptr;
  30008. goto message_done;
  30009. #undef CHK_
  30010. }
  30011. ::uint8_t* StopVideoPreviewParams::_InternalSerialize(
  30012. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  30013. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
  30014. ::uint32_t cached_has_bits = 0;
  30015. (void) cached_has_bits;
  30016. cached_has_bits = _impl_._has_bits_[0];
  30017. // optional int64 zn_recv_handle = 1;
  30018. if (cached_has_bits & 0x00000001u) {
  30019. target = stream->EnsureSpace(target);
  30020. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  30021. 1, this->_internal_zn_recv_handle(), target);
  30022. }
  30023. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  30024. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  30025. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  30026. }
  30027. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
  30028. return target;
  30029. }
  30030. ::size_t StopVideoPreviewParams::ByteSizeLong() const {
  30031. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
  30032. ::size_t total_size = 0;
  30033. ::uint32_t cached_has_bits = 0;
  30034. // Prevent compiler warnings about cached_has_bits being unused
  30035. (void) cached_has_bits;
  30036. // optional int64 zn_recv_handle = 1;
  30037. cached_has_bits = _impl_._has_bits_[0];
  30038. if (cached_has_bits & 0x00000001u) {
  30039. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  30040. this->_internal_zn_recv_handle());
  30041. }
  30042. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  30043. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  30044. }
  30045. int cached_size = ::_pbi::ToCachedSize(total_size);
  30046. SetCachedSize(cached_size);
  30047. return total_size;
  30048. }
  30049. void StopVideoPreviewParams::CheckTypeAndMergeFrom(
  30050. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  30051. MergeFrom(*::_pbi::DownCast<const StopVideoPreviewParams*>(
  30052. &from));
  30053. }
  30054. void StopVideoPreviewParams::MergeFrom(const StopVideoPreviewParams& from) {
  30055. StopVideoPreviewParams* const _this = this;
  30056. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
  30057. ABSL_DCHECK_NE(&from, _this);
  30058. ::uint32_t cached_has_bits = 0;
  30059. (void) cached_has_bits;
  30060. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  30061. _this->_internal_set_zn_recv_handle(from._internal_zn_recv_handle());
  30062. }
  30063. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  30064. }
  30065. void StopVideoPreviewParams::CopyFrom(const StopVideoPreviewParams& from) {
  30066. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
  30067. if (&from == this) return;
  30068. Clear();
  30069. MergeFrom(from);
  30070. }
  30071. bool StopVideoPreviewParams::IsInitialized() const {
  30072. return true;
  30073. }
  30074. void StopVideoPreviewParams::InternalSwap(StopVideoPreviewParams* other) {
  30075. using std::swap;
  30076. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  30077. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  30078. swap(_impl_.zn_recv_handle_, other->_impl_.zn_recv_handle_);
  30079. }
  30080. std::string StopVideoPreviewParams::GetTypeName() const {
  30081. return "com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams";
  30082. }
  30083. // ===================================================================
  30084. class SetSpokenLanguageParams::_Internal {
  30085. public:
  30086. using HasBits = decltype(std::declval<SetSpokenLanguageParams>()._impl_._has_bits_);
  30087. static constexpr ::int32_t kHasBitsOffset =
  30088. 8 * PROTOBUF_FIELD_OFFSET(SetSpokenLanguageParams, _impl_._has_bits_);
  30089. static void set_has_languageid(HasBits* has_bits) {
  30090. (*has_bits)[0] |= 1u;
  30091. }
  30092. };
  30093. SetSpokenLanguageParams::SetSpokenLanguageParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  30094. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  30095. SharedCtor(arena);
  30096. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
  30097. }
  30098. SetSpokenLanguageParams::SetSpokenLanguageParams(const SetSpokenLanguageParams& from)
  30099. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  30100. _internal_metadata_.MergeFrom<std::string>(
  30101. from._internal_metadata_);
  30102. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
  30103. }
  30104. inline void SetSpokenLanguageParams::SharedCtor(::_pb::Arena* arena) {
  30105. (void)arena;
  30106. new (&_impl_) Impl_{
  30107. decltype(_impl_._has_bits_){}
  30108. , /*decltype(_impl_._cached_size_)*/{}
  30109. , decltype(_impl_.languageid_) { 0 }
  30110. };
  30111. }
  30112. SetSpokenLanguageParams::~SetSpokenLanguageParams() {
  30113. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
  30114. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  30115. (void)arena;
  30116. return;
  30117. }
  30118. SharedDtor();
  30119. }
  30120. inline void SetSpokenLanguageParams::SharedDtor() {
  30121. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  30122. }
  30123. void SetSpokenLanguageParams::SetCachedSize(int size) const {
  30124. _impl_._cached_size_.Set(size);
  30125. }
  30126. void SetSpokenLanguageParams::Clear() {
  30127. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
  30128. ::uint32_t cached_has_bits = 0;
  30129. // Prevent compiler warnings about cached_has_bits being unused
  30130. (void) cached_has_bits;
  30131. _impl_.languageid_ = 0;
  30132. _impl_._has_bits_.Clear();
  30133. _internal_metadata_.Clear<std::string>();
  30134. }
  30135. const char* SetSpokenLanguageParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  30136. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  30137. _Internal::HasBits has_bits{};
  30138. while (!ctx->Done(&ptr)) {
  30139. ::uint32_t tag;
  30140. ptr = ::_pbi::ReadTag(ptr, &tag);
  30141. switch (tag >> 3) {
  30142. // optional int32 languageID = 1;
  30143. case 1:
  30144. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  30145. _Internal::set_has_languageid(&has_bits);
  30146. _impl_.languageid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  30147. CHK_(ptr);
  30148. } else {
  30149. goto handle_unusual;
  30150. }
  30151. continue;
  30152. default:
  30153. goto handle_unusual;
  30154. } // switch
  30155. handle_unusual:
  30156. if ((tag == 0) || ((tag & 7) == 4)) {
  30157. CHK_(ptr);
  30158. ctx->SetLastTag(tag);
  30159. goto message_done;
  30160. }
  30161. ptr = UnknownFieldParse(
  30162. tag,
  30163. _internal_metadata_.mutable_unknown_fields<std::string>(),
  30164. ptr, ctx);
  30165. CHK_(ptr != nullptr);
  30166. } // while
  30167. message_done:
  30168. _impl_._has_bits_.Or(has_bits);
  30169. return ptr;
  30170. failure:
  30171. ptr = nullptr;
  30172. goto message_done;
  30173. #undef CHK_
  30174. }
  30175. ::uint8_t* SetSpokenLanguageParams::_InternalSerialize(
  30176. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  30177. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
  30178. ::uint32_t cached_has_bits = 0;
  30179. (void) cached_has_bits;
  30180. cached_has_bits = _impl_._has_bits_[0];
  30181. // optional int32 languageID = 1;
  30182. if (cached_has_bits & 0x00000001u) {
  30183. target = stream->EnsureSpace(target);
  30184. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  30185. 1, this->_internal_languageid(), target);
  30186. }
  30187. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  30188. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  30189. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  30190. }
  30191. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
  30192. return target;
  30193. }
  30194. ::size_t SetSpokenLanguageParams::ByteSizeLong() const {
  30195. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
  30196. ::size_t total_size = 0;
  30197. ::uint32_t cached_has_bits = 0;
  30198. // Prevent compiler warnings about cached_has_bits being unused
  30199. (void) cached_has_bits;
  30200. // optional int32 languageID = 1;
  30201. cached_has_bits = _impl_._has_bits_[0];
  30202. if (cached_has_bits & 0x00000001u) {
  30203. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  30204. this->_internal_languageid());
  30205. }
  30206. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  30207. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  30208. }
  30209. int cached_size = ::_pbi::ToCachedSize(total_size);
  30210. SetCachedSize(cached_size);
  30211. return total_size;
  30212. }
  30213. void SetSpokenLanguageParams::CheckTypeAndMergeFrom(
  30214. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  30215. MergeFrom(*::_pbi::DownCast<const SetSpokenLanguageParams*>(
  30216. &from));
  30217. }
  30218. void SetSpokenLanguageParams::MergeFrom(const SetSpokenLanguageParams& from) {
  30219. SetSpokenLanguageParams* const _this = this;
  30220. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
  30221. ABSL_DCHECK_NE(&from, _this);
  30222. ::uint32_t cached_has_bits = 0;
  30223. (void) cached_has_bits;
  30224. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  30225. _this->_internal_set_languageid(from._internal_languageid());
  30226. }
  30227. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  30228. }
  30229. void SetSpokenLanguageParams::CopyFrom(const SetSpokenLanguageParams& from) {
  30230. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
  30231. if (&from == this) return;
  30232. Clear();
  30233. MergeFrom(from);
  30234. }
  30235. bool SetSpokenLanguageParams::IsInitialized() const {
  30236. return true;
  30237. }
  30238. void SetSpokenLanguageParams::InternalSwap(SetSpokenLanguageParams* other) {
  30239. using std::swap;
  30240. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  30241. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  30242. swap(_impl_.languageid_, other->_impl_.languageid_);
  30243. }
  30244. std::string SetSpokenLanguageParams::GetTypeName() const {
  30245. return "com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams";
  30246. }
  30247. // ===================================================================
  30248. class LTTLanguagesList::_Internal {
  30249. public:
  30250. };
  30251. LTTLanguagesList::LTTLanguagesList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  30252. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  30253. SharedCtor(arena);
  30254. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
  30255. }
  30256. LTTLanguagesList::LTTLanguagesList(const LTTLanguagesList& from)
  30257. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  30258. LTTLanguagesList* const _this = this; (void)_this;
  30259. new (&_impl_) Impl_{
  30260. decltype(_impl_.lttlanguageinfo_){from._impl_.lttlanguageinfo_}
  30261. , /*decltype(_impl_._cached_size_)*/{}};
  30262. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  30263. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
  30264. }
  30265. inline void LTTLanguagesList::SharedCtor(::_pb::Arena* arena) {
  30266. (void)arena;
  30267. new (&_impl_) Impl_{
  30268. decltype(_impl_.lttlanguageinfo_){arena}
  30269. , /*decltype(_impl_._cached_size_)*/{}
  30270. };
  30271. }
  30272. LTTLanguagesList::~LTTLanguagesList() {
  30273. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
  30274. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  30275. (void)arena;
  30276. return;
  30277. }
  30278. SharedDtor();
  30279. }
  30280. inline void LTTLanguagesList::SharedDtor() {
  30281. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  30282. _impl_.lttlanguageinfo_.~RepeatedPtrField();
  30283. }
  30284. void LTTLanguagesList::SetCachedSize(int size) const {
  30285. _impl_._cached_size_.Set(size);
  30286. }
  30287. void LTTLanguagesList::Clear() {
  30288. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
  30289. ::uint32_t cached_has_bits = 0;
  30290. // Prevent compiler warnings about cached_has_bits being unused
  30291. (void) cached_has_bits;
  30292. _impl_.lttlanguageinfo_.Clear();
  30293. _internal_metadata_.Clear<std::string>();
  30294. }
  30295. const char* LTTLanguagesList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  30296. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  30297. while (!ctx->Done(&ptr)) {
  30298. ::uint32_t tag;
  30299. ptr = ::_pbi::ReadTag(ptr, &tag);
  30300. switch (tag >> 3) {
  30301. // repeated .com.electron.zoomvideo.sdk.proto.LTTLanguage lttLanguageInfo = 1;
  30302. case 1:
  30303. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  30304. ptr -= 1;
  30305. do {
  30306. ptr += 1;
  30307. ptr = ctx->ParseMessage(_internal_add_lttlanguageinfo(), ptr);
  30308. CHK_(ptr);
  30309. if (!ctx->DataAvailable(ptr)) break;
  30310. } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
  30311. } else {
  30312. goto handle_unusual;
  30313. }
  30314. continue;
  30315. default:
  30316. goto handle_unusual;
  30317. } // switch
  30318. handle_unusual:
  30319. if ((tag == 0) || ((tag & 7) == 4)) {
  30320. CHK_(ptr);
  30321. ctx->SetLastTag(tag);
  30322. goto message_done;
  30323. }
  30324. ptr = UnknownFieldParse(
  30325. tag,
  30326. _internal_metadata_.mutable_unknown_fields<std::string>(),
  30327. ptr, ctx);
  30328. CHK_(ptr != nullptr);
  30329. } // while
  30330. message_done:
  30331. return ptr;
  30332. failure:
  30333. ptr = nullptr;
  30334. goto message_done;
  30335. #undef CHK_
  30336. }
  30337. ::uint8_t* LTTLanguagesList::_InternalSerialize(
  30338. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  30339. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
  30340. ::uint32_t cached_has_bits = 0;
  30341. (void) cached_has_bits;
  30342. // repeated .com.electron.zoomvideo.sdk.proto.LTTLanguage lttLanguageInfo = 1;
  30343. for (unsigned i = 0,
  30344. n = static_cast<unsigned>(this->_internal_lttlanguageinfo_size()); i < n; i++) {
  30345. const auto& repfield = this->_internal_lttlanguageinfo(i);
  30346. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  30347. InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
  30348. }
  30349. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  30350. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  30351. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  30352. }
  30353. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
  30354. return target;
  30355. }
  30356. ::size_t LTTLanguagesList::ByteSizeLong() const {
  30357. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
  30358. ::size_t total_size = 0;
  30359. ::uint32_t cached_has_bits = 0;
  30360. // Prevent compiler warnings about cached_has_bits being unused
  30361. (void) cached_has_bits;
  30362. // repeated .com.electron.zoomvideo.sdk.proto.LTTLanguage lttLanguageInfo = 1;
  30363. total_size += 1UL * this->_internal_lttlanguageinfo_size();
  30364. for (const auto& msg : this->_impl_.lttlanguageinfo_) {
  30365. total_size +=
  30366. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
  30367. }
  30368. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  30369. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  30370. }
  30371. int cached_size = ::_pbi::ToCachedSize(total_size);
  30372. SetCachedSize(cached_size);
  30373. return total_size;
  30374. }
  30375. void LTTLanguagesList::CheckTypeAndMergeFrom(
  30376. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  30377. MergeFrom(*::_pbi::DownCast<const LTTLanguagesList*>(
  30378. &from));
  30379. }
  30380. void LTTLanguagesList::MergeFrom(const LTTLanguagesList& from) {
  30381. LTTLanguagesList* const _this = this;
  30382. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
  30383. ABSL_DCHECK_NE(&from, _this);
  30384. ::uint32_t cached_has_bits = 0;
  30385. (void) cached_has_bits;
  30386. _this->_impl_.lttlanguageinfo_.MergeFrom(from._impl_.lttlanguageinfo_);
  30387. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  30388. }
  30389. void LTTLanguagesList::CopyFrom(const LTTLanguagesList& from) {
  30390. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
  30391. if (&from == this) return;
  30392. Clear();
  30393. MergeFrom(from);
  30394. }
  30395. bool LTTLanguagesList::IsInitialized() const {
  30396. return true;
  30397. }
  30398. void LTTLanguagesList::InternalSwap(LTTLanguagesList* other) {
  30399. using std::swap;
  30400. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  30401. _impl_.lttlanguageinfo_.InternalSwap(&other->_impl_.lttlanguageinfo_);
  30402. }
  30403. std::string LTTLanguagesList::GetTypeName() const {
  30404. return "com.electron.zoomvideo.sdk.proto.LTTLanguagesList";
  30405. }
  30406. // ===================================================================
  30407. class SetTranslationLanguageParams::_Internal {
  30408. public:
  30409. using HasBits = decltype(std::declval<SetTranslationLanguageParams>()._impl_._has_bits_);
  30410. static constexpr ::int32_t kHasBitsOffset =
  30411. 8 * PROTOBUF_FIELD_OFFSET(SetTranslationLanguageParams, _impl_._has_bits_);
  30412. static void set_has_languageid(HasBits* has_bits) {
  30413. (*has_bits)[0] |= 1u;
  30414. }
  30415. };
  30416. SetTranslationLanguageParams::SetTranslationLanguageParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  30417. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  30418. SharedCtor(arena);
  30419. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
  30420. }
  30421. SetTranslationLanguageParams::SetTranslationLanguageParams(const SetTranslationLanguageParams& from)
  30422. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  30423. _internal_metadata_.MergeFrom<std::string>(
  30424. from._internal_metadata_);
  30425. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
  30426. }
  30427. inline void SetTranslationLanguageParams::SharedCtor(::_pb::Arena* arena) {
  30428. (void)arena;
  30429. new (&_impl_) Impl_{
  30430. decltype(_impl_._has_bits_){}
  30431. , /*decltype(_impl_._cached_size_)*/{}
  30432. , decltype(_impl_.languageid_) { 0 }
  30433. };
  30434. }
  30435. SetTranslationLanguageParams::~SetTranslationLanguageParams() {
  30436. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
  30437. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  30438. (void)arena;
  30439. return;
  30440. }
  30441. SharedDtor();
  30442. }
  30443. inline void SetTranslationLanguageParams::SharedDtor() {
  30444. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  30445. }
  30446. void SetTranslationLanguageParams::SetCachedSize(int size) const {
  30447. _impl_._cached_size_.Set(size);
  30448. }
  30449. void SetTranslationLanguageParams::Clear() {
  30450. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
  30451. ::uint32_t cached_has_bits = 0;
  30452. // Prevent compiler warnings about cached_has_bits being unused
  30453. (void) cached_has_bits;
  30454. _impl_.languageid_ = 0;
  30455. _impl_._has_bits_.Clear();
  30456. _internal_metadata_.Clear<std::string>();
  30457. }
  30458. const char* SetTranslationLanguageParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  30459. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  30460. _Internal::HasBits has_bits{};
  30461. while (!ctx->Done(&ptr)) {
  30462. ::uint32_t tag;
  30463. ptr = ::_pbi::ReadTag(ptr, &tag);
  30464. switch (tag >> 3) {
  30465. // optional int32 languageID = 1;
  30466. case 1:
  30467. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  30468. _Internal::set_has_languageid(&has_bits);
  30469. _impl_.languageid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  30470. CHK_(ptr);
  30471. } else {
  30472. goto handle_unusual;
  30473. }
  30474. continue;
  30475. default:
  30476. goto handle_unusual;
  30477. } // switch
  30478. handle_unusual:
  30479. if ((tag == 0) || ((tag & 7) == 4)) {
  30480. CHK_(ptr);
  30481. ctx->SetLastTag(tag);
  30482. goto message_done;
  30483. }
  30484. ptr = UnknownFieldParse(
  30485. tag,
  30486. _internal_metadata_.mutable_unknown_fields<std::string>(),
  30487. ptr, ctx);
  30488. CHK_(ptr != nullptr);
  30489. } // while
  30490. message_done:
  30491. _impl_._has_bits_.Or(has_bits);
  30492. return ptr;
  30493. failure:
  30494. ptr = nullptr;
  30495. goto message_done;
  30496. #undef CHK_
  30497. }
  30498. ::uint8_t* SetTranslationLanguageParams::_InternalSerialize(
  30499. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  30500. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
  30501. ::uint32_t cached_has_bits = 0;
  30502. (void) cached_has_bits;
  30503. cached_has_bits = _impl_._has_bits_[0];
  30504. // optional int32 languageID = 1;
  30505. if (cached_has_bits & 0x00000001u) {
  30506. target = stream->EnsureSpace(target);
  30507. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  30508. 1, this->_internal_languageid(), target);
  30509. }
  30510. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  30511. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  30512. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  30513. }
  30514. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
  30515. return target;
  30516. }
  30517. ::size_t SetTranslationLanguageParams::ByteSizeLong() const {
  30518. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
  30519. ::size_t total_size = 0;
  30520. ::uint32_t cached_has_bits = 0;
  30521. // Prevent compiler warnings about cached_has_bits being unused
  30522. (void) cached_has_bits;
  30523. // optional int32 languageID = 1;
  30524. cached_has_bits = _impl_._has_bits_[0];
  30525. if (cached_has_bits & 0x00000001u) {
  30526. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  30527. this->_internal_languageid());
  30528. }
  30529. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  30530. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  30531. }
  30532. int cached_size = ::_pbi::ToCachedSize(total_size);
  30533. SetCachedSize(cached_size);
  30534. return total_size;
  30535. }
  30536. void SetTranslationLanguageParams::CheckTypeAndMergeFrom(
  30537. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  30538. MergeFrom(*::_pbi::DownCast<const SetTranslationLanguageParams*>(
  30539. &from));
  30540. }
  30541. void SetTranslationLanguageParams::MergeFrom(const SetTranslationLanguageParams& from) {
  30542. SetTranslationLanguageParams* const _this = this;
  30543. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
  30544. ABSL_DCHECK_NE(&from, _this);
  30545. ::uint32_t cached_has_bits = 0;
  30546. (void) cached_has_bits;
  30547. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  30548. _this->_internal_set_languageid(from._internal_languageid());
  30549. }
  30550. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  30551. }
  30552. void SetTranslationLanguageParams::CopyFrom(const SetTranslationLanguageParams& from) {
  30553. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
  30554. if (&from == this) return;
  30555. Clear();
  30556. MergeFrom(from);
  30557. }
  30558. bool SetTranslationLanguageParams::IsInitialized() const {
  30559. return true;
  30560. }
  30561. void SetTranslationLanguageParams::InternalSwap(SetTranslationLanguageParams* other) {
  30562. using std::swap;
  30563. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  30564. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  30565. swap(_impl_.languageid_, other->_impl_.languageid_);
  30566. }
  30567. std::string SetTranslationLanguageParams::GetTypeName() const {
  30568. return "com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams";
  30569. }
  30570. // ===================================================================
  30571. class CanChatMessageBeDeletedParams::_Internal {
  30572. public:
  30573. using HasBits = decltype(std::declval<CanChatMessageBeDeletedParams>()._impl_._has_bits_);
  30574. static constexpr ::int32_t kHasBitsOffset =
  30575. 8 * PROTOBUF_FIELD_OFFSET(CanChatMessageBeDeletedParams, _impl_._has_bits_);
  30576. static void set_has_messageid(HasBits* has_bits) {
  30577. (*has_bits)[0] |= 1u;
  30578. }
  30579. };
  30580. CanChatMessageBeDeletedParams::CanChatMessageBeDeletedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  30581. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  30582. SharedCtor(arena);
  30583. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
  30584. }
  30585. CanChatMessageBeDeletedParams::CanChatMessageBeDeletedParams(const CanChatMessageBeDeletedParams& from)
  30586. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  30587. CanChatMessageBeDeletedParams* const _this = this; (void)_this;
  30588. new (&_impl_) Impl_{
  30589. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  30590. , /*decltype(_impl_._cached_size_)*/{}
  30591. , decltype(_impl_.messageid_) {}
  30592. };
  30593. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  30594. _impl_.messageid_.InitDefault();
  30595. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  30596. _impl_.messageid_.Set("", GetArenaForAllocation());
  30597. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  30598. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  30599. _this->_impl_.messageid_.Set(from._internal_messageid(), _this->GetArenaForAllocation());
  30600. }
  30601. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
  30602. }
  30603. inline void CanChatMessageBeDeletedParams::SharedCtor(::_pb::Arena* arena) {
  30604. (void)arena;
  30605. new (&_impl_) Impl_{
  30606. decltype(_impl_._has_bits_){}
  30607. , /*decltype(_impl_._cached_size_)*/{}
  30608. , decltype(_impl_.messageid_) {}
  30609. };
  30610. _impl_.messageid_.InitDefault();
  30611. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  30612. _impl_.messageid_.Set("", GetArenaForAllocation());
  30613. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  30614. }
  30615. CanChatMessageBeDeletedParams::~CanChatMessageBeDeletedParams() {
  30616. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
  30617. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  30618. (void)arena;
  30619. return;
  30620. }
  30621. SharedDtor();
  30622. }
  30623. inline void CanChatMessageBeDeletedParams::SharedDtor() {
  30624. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  30625. _impl_.messageid_.Destroy();
  30626. }
  30627. void CanChatMessageBeDeletedParams::SetCachedSize(int size) const {
  30628. _impl_._cached_size_.Set(size);
  30629. }
  30630. void CanChatMessageBeDeletedParams::Clear() {
  30631. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
  30632. ::uint32_t cached_has_bits = 0;
  30633. // Prevent compiler warnings about cached_has_bits being unused
  30634. (void) cached_has_bits;
  30635. cached_has_bits = _impl_._has_bits_[0];
  30636. if (cached_has_bits & 0x00000001u) {
  30637. _impl_.messageid_.ClearNonDefaultToEmpty();
  30638. }
  30639. _impl_._has_bits_.Clear();
  30640. _internal_metadata_.Clear<std::string>();
  30641. }
  30642. const char* CanChatMessageBeDeletedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  30643. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  30644. _Internal::HasBits has_bits{};
  30645. while (!ctx->Done(&ptr)) {
  30646. ::uint32_t tag;
  30647. ptr = ::_pbi::ReadTag(ptr, &tag);
  30648. switch (tag >> 3) {
  30649. // optional string messageID = 1;
  30650. case 1:
  30651. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  30652. auto str = _internal_mutable_messageid();
  30653. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  30654. CHK_(ptr);
  30655. } else {
  30656. goto handle_unusual;
  30657. }
  30658. continue;
  30659. default:
  30660. goto handle_unusual;
  30661. } // switch
  30662. handle_unusual:
  30663. if ((tag == 0) || ((tag & 7) == 4)) {
  30664. CHK_(ptr);
  30665. ctx->SetLastTag(tag);
  30666. goto message_done;
  30667. }
  30668. ptr = UnknownFieldParse(
  30669. tag,
  30670. _internal_metadata_.mutable_unknown_fields<std::string>(),
  30671. ptr, ctx);
  30672. CHK_(ptr != nullptr);
  30673. } // while
  30674. message_done:
  30675. _impl_._has_bits_.Or(has_bits);
  30676. return ptr;
  30677. failure:
  30678. ptr = nullptr;
  30679. goto message_done;
  30680. #undef CHK_
  30681. }
  30682. ::uint8_t* CanChatMessageBeDeletedParams::_InternalSerialize(
  30683. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  30684. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
  30685. ::uint32_t cached_has_bits = 0;
  30686. (void) cached_has_bits;
  30687. cached_has_bits = _impl_._has_bits_[0];
  30688. // optional string messageID = 1;
  30689. if (cached_has_bits & 0x00000001u) {
  30690. const std::string& _s = this->_internal_messageid();
  30691. target = stream->WriteStringMaybeAliased(1, _s, target);
  30692. }
  30693. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  30694. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  30695. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  30696. }
  30697. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
  30698. return target;
  30699. }
  30700. ::size_t CanChatMessageBeDeletedParams::ByteSizeLong() const {
  30701. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
  30702. ::size_t total_size = 0;
  30703. ::uint32_t cached_has_bits = 0;
  30704. // Prevent compiler warnings about cached_has_bits being unused
  30705. (void) cached_has_bits;
  30706. // optional string messageID = 1;
  30707. cached_has_bits = _impl_._has_bits_[0];
  30708. if (cached_has_bits & 0x00000001u) {
  30709. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  30710. this->_internal_messageid());
  30711. }
  30712. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  30713. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  30714. }
  30715. int cached_size = ::_pbi::ToCachedSize(total_size);
  30716. SetCachedSize(cached_size);
  30717. return total_size;
  30718. }
  30719. void CanChatMessageBeDeletedParams::CheckTypeAndMergeFrom(
  30720. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  30721. MergeFrom(*::_pbi::DownCast<const CanChatMessageBeDeletedParams*>(
  30722. &from));
  30723. }
  30724. void CanChatMessageBeDeletedParams::MergeFrom(const CanChatMessageBeDeletedParams& from) {
  30725. CanChatMessageBeDeletedParams* const _this = this;
  30726. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
  30727. ABSL_DCHECK_NE(&from, _this);
  30728. ::uint32_t cached_has_bits = 0;
  30729. (void) cached_has_bits;
  30730. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  30731. _this->_internal_set_messageid(from._internal_messageid());
  30732. }
  30733. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  30734. }
  30735. void CanChatMessageBeDeletedParams::CopyFrom(const CanChatMessageBeDeletedParams& from) {
  30736. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
  30737. if (&from == this) return;
  30738. Clear();
  30739. MergeFrom(from);
  30740. }
  30741. bool CanChatMessageBeDeletedParams::IsInitialized() const {
  30742. return true;
  30743. }
  30744. void CanChatMessageBeDeletedParams::InternalSwap(CanChatMessageBeDeletedParams* other) {
  30745. using std::swap;
  30746. auto* lhs_arena = GetArenaForAllocation();
  30747. auto* rhs_arena = other->GetArenaForAllocation();
  30748. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  30749. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  30750. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.messageid_, lhs_arena,
  30751. &other->_impl_.messageid_, rhs_arena);
  30752. }
  30753. std::string CanChatMessageBeDeletedParams::GetTypeName() const {
  30754. return "com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams";
  30755. }
  30756. // ===================================================================
  30757. class DeleteChatMessageParams::_Internal {
  30758. public:
  30759. using HasBits = decltype(std::declval<DeleteChatMessageParams>()._impl_._has_bits_);
  30760. static constexpr ::int32_t kHasBitsOffset =
  30761. 8 * PROTOBUF_FIELD_OFFSET(DeleteChatMessageParams, _impl_._has_bits_);
  30762. static void set_has_messageid(HasBits* has_bits) {
  30763. (*has_bits)[0] |= 1u;
  30764. }
  30765. };
  30766. DeleteChatMessageParams::DeleteChatMessageParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  30767. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  30768. SharedCtor(arena);
  30769. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
  30770. }
  30771. DeleteChatMessageParams::DeleteChatMessageParams(const DeleteChatMessageParams& from)
  30772. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  30773. DeleteChatMessageParams* const _this = this; (void)_this;
  30774. new (&_impl_) Impl_{
  30775. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  30776. , /*decltype(_impl_._cached_size_)*/{}
  30777. , decltype(_impl_.messageid_) {}
  30778. };
  30779. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  30780. _impl_.messageid_.InitDefault();
  30781. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  30782. _impl_.messageid_.Set("", GetArenaForAllocation());
  30783. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  30784. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  30785. _this->_impl_.messageid_.Set(from._internal_messageid(), _this->GetArenaForAllocation());
  30786. }
  30787. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
  30788. }
  30789. inline void DeleteChatMessageParams::SharedCtor(::_pb::Arena* arena) {
  30790. (void)arena;
  30791. new (&_impl_) Impl_{
  30792. decltype(_impl_._has_bits_){}
  30793. , /*decltype(_impl_._cached_size_)*/{}
  30794. , decltype(_impl_.messageid_) {}
  30795. };
  30796. _impl_.messageid_.InitDefault();
  30797. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  30798. _impl_.messageid_.Set("", GetArenaForAllocation());
  30799. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  30800. }
  30801. DeleteChatMessageParams::~DeleteChatMessageParams() {
  30802. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
  30803. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  30804. (void)arena;
  30805. return;
  30806. }
  30807. SharedDtor();
  30808. }
  30809. inline void DeleteChatMessageParams::SharedDtor() {
  30810. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  30811. _impl_.messageid_.Destroy();
  30812. }
  30813. void DeleteChatMessageParams::SetCachedSize(int size) const {
  30814. _impl_._cached_size_.Set(size);
  30815. }
  30816. void DeleteChatMessageParams::Clear() {
  30817. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
  30818. ::uint32_t cached_has_bits = 0;
  30819. // Prevent compiler warnings about cached_has_bits being unused
  30820. (void) cached_has_bits;
  30821. cached_has_bits = _impl_._has_bits_[0];
  30822. if (cached_has_bits & 0x00000001u) {
  30823. _impl_.messageid_.ClearNonDefaultToEmpty();
  30824. }
  30825. _impl_._has_bits_.Clear();
  30826. _internal_metadata_.Clear<std::string>();
  30827. }
  30828. const char* DeleteChatMessageParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  30829. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  30830. _Internal::HasBits has_bits{};
  30831. while (!ctx->Done(&ptr)) {
  30832. ::uint32_t tag;
  30833. ptr = ::_pbi::ReadTag(ptr, &tag);
  30834. switch (tag >> 3) {
  30835. // optional string messageID = 1;
  30836. case 1:
  30837. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  30838. auto str = _internal_mutable_messageid();
  30839. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  30840. CHK_(ptr);
  30841. } else {
  30842. goto handle_unusual;
  30843. }
  30844. continue;
  30845. default:
  30846. goto handle_unusual;
  30847. } // switch
  30848. handle_unusual:
  30849. if ((tag == 0) || ((tag & 7) == 4)) {
  30850. CHK_(ptr);
  30851. ctx->SetLastTag(tag);
  30852. goto message_done;
  30853. }
  30854. ptr = UnknownFieldParse(
  30855. tag,
  30856. _internal_metadata_.mutable_unknown_fields<std::string>(),
  30857. ptr, ctx);
  30858. CHK_(ptr != nullptr);
  30859. } // while
  30860. message_done:
  30861. _impl_._has_bits_.Or(has_bits);
  30862. return ptr;
  30863. failure:
  30864. ptr = nullptr;
  30865. goto message_done;
  30866. #undef CHK_
  30867. }
  30868. ::uint8_t* DeleteChatMessageParams::_InternalSerialize(
  30869. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  30870. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
  30871. ::uint32_t cached_has_bits = 0;
  30872. (void) cached_has_bits;
  30873. cached_has_bits = _impl_._has_bits_[0];
  30874. // optional string messageID = 1;
  30875. if (cached_has_bits & 0x00000001u) {
  30876. const std::string& _s = this->_internal_messageid();
  30877. target = stream->WriteStringMaybeAliased(1, _s, target);
  30878. }
  30879. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  30880. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  30881. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  30882. }
  30883. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
  30884. return target;
  30885. }
  30886. ::size_t DeleteChatMessageParams::ByteSizeLong() const {
  30887. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
  30888. ::size_t total_size = 0;
  30889. ::uint32_t cached_has_bits = 0;
  30890. // Prevent compiler warnings about cached_has_bits being unused
  30891. (void) cached_has_bits;
  30892. // optional string messageID = 1;
  30893. cached_has_bits = _impl_._has_bits_[0];
  30894. if (cached_has_bits & 0x00000001u) {
  30895. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  30896. this->_internal_messageid());
  30897. }
  30898. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  30899. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  30900. }
  30901. int cached_size = ::_pbi::ToCachedSize(total_size);
  30902. SetCachedSize(cached_size);
  30903. return total_size;
  30904. }
  30905. void DeleteChatMessageParams::CheckTypeAndMergeFrom(
  30906. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  30907. MergeFrom(*::_pbi::DownCast<const DeleteChatMessageParams*>(
  30908. &from));
  30909. }
  30910. void DeleteChatMessageParams::MergeFrom(const DeleteChatMessageParams& from) {
  30911. DeleteChatMessageParams* const _this = this;
  30912. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
  30913. ABSL_DCHECK_NE(&from, _this);
  30914. ::uint32_t cached_has_bits = 0;
  30915. (void) cached_has_bits;
  30916. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  30917. _this->_internal_set_messageid(from._internal_messageid());
  30918. }
  30919. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  30920. }
  30921. void DeleteChatMessageParams::CopyFrom(const DeleteChatMessageParams& from) {
  30922. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
  30923. if (&from == this) return;
  30924. Clear();
  30925. MergeFrom(from);
  30926. }
  30927. bool DeleteChatMessageParams::IsInitialized() const {
  30928. return true;
  30929. }
  30930. void DeleteChatMessageParams::InternalSwap(DeleteChatMessageParams* other) {
  30931. using std::swap;
  30932. auto* lhs_arena = GetArenaForAllocation();
  30933. auto* rhs_arena = other->GetArenaForAllocation();
  30934. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  30935. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  30936. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.messageid_, lhs_arena,
  30937. &other->_impl_.messageid_, rhs_arena);
  30938. }
  30939. std::string DeleteChatMessageParams::GetTypeName() const {
  30940. return "com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams";
  30941. }
  30942. // ===================================================================
  30943. class VBItemInfo::_Internal {
  30944. public:
  30945. using HasBits = decltype(std::declval<VBItemInfo>()._impl_._has_bits_);
  30946. static constexpr ::int32_t kHasBitsOffset =
  30947. 8 * PROTOBUF_FIELD_OFFSET(VBItemInfo, _impl_._has_bits_);
  30948. static void set_has_imagefilepath(HasBits* has_bits) {
  30949. (*has_bits)[0] |= 1u;
  30950. }
  30951. static void set_has_imagename(HasBits* has_bits) {
  30952. (*has_bits)[0] |= 2u;
  30953. }
  30954. static void set_has_vbtype(HasBits* has_bits) {
  30955. (*has_bits)[0] |= 4u;
  30956. }
  30957. static void set_has_canbedeleted(HasBits* has_bits) {
  30958. (*has_bits)[0] |= 8u;
  30959. }
  30960. };
  30961. VBItemInfo::VBItemInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  30962. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  30963. SharedCtor(arena);
  30964. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VBItemInfo)
  30965. }
  30966. VBItemInfo::VBItemInfo(const VBItemInfo& from)
  30967. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  30968. VBItemInfo* const _this = this; (void)_this;
  30969. new (&_impl_) Impl_{
  30970. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  30971. , /*decltype(_impl_._cached_size_)*/{}
  30972. , decltype(_impl_.imagefilepath_) {}
  30973. , decltype(_impl_.imagename_) {}
  30974. , decltype(_impl_.vbtype_) {}
  30975. , decltype(_impl_.canbedeleted_) {}
  30976. };
  30977. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  30978. _impl_.imagefilepath_.InitDefault();
  30979. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  30980. _impl_.imagefilepath_.Set("", GetArenaForAllocation());
  30981. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  30982. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  30983. _this->_impl_.imagefilepath_.Set(from._internal_imagefilepath(), _this->GetArenaForAllocation());
  30984. }
  30985. _impl_.imagename_.InitDefault();
  30986. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  30987. _impl_.imagename_.Set("", GetArenaForAllocation());
  30988. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  30989. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  30990. _this->_impl_.imagename_.Set(from._internal_imagename(), _this->GetArenaForAllocation());
  30991. }
  30992. ::memcpy(&_impl_.vbtype_, &from._impl_.vbtype_,
  30993. static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.canbedeleted_) -
  30994. reinterpret_cast<char*>(&_impl_.vbtype_)) + sizeof(_impl_.canbedeleted_));
  30995. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VBItemInfo)
  30996. }
  30997. inline void VBItemInfo::SharedCtor(::_pb::Arena* arena) {
  30998. (void)arena;
  30999. new (&_impl_) Impl_{
  31000. decltype(_impl_._has_bits_){}
  31001. , /*decltype(_impl_._cached_size_)*/{}
  31002. , decltype(_impl_.imagefilepath_) {}
  31003. , decltype(_impl_.imagename_) {}
  31004. , decltype(_impl_.vbtype_) { 0 }
  31005. , decltype(_impl_.canbedeleted_) { false }
  31006. };
  31007. _impl_.imagefilepath_.InitDefault();
  31008. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  31009. _impl_.imagefilepath_.Set("", GetArenaForAllocation());
  31010. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  31011. _impl_.imagename_.InitDefault();
  31012. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  31013. _impl_.imagename_.Set("", GetArenaForAllocation());
  31014. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  31015. }
  31016. VBItemInfo::~VBItemInfo() {
  31017. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VBItemInfo)
  31018. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  31019. (void)arena;
  31020. return;
  31021. }
  31022. SharedDtor();
  31023. }
  31024. inline void VBItemInfo::SharedDtor() {
  31025. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  31026. _impl_.imagefilepath_.Destroy();
  31027. _impl_.imagename_.Destroy();
  31028. }
  31029. void VBItemInfo::SetCachedSize(int size) const {
  31030. _impl_._cached_size_.Set(size);
  31031. }
  31032. void VBItemInfo::Clear() {
  31033. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VBItemInfo)
  31034. ::uint32_t cached_has_bits = 0;
  31035. // Prevent compiler warnings about cached_has_bits being unused
  31036. (void) cached_has_bits;
  31037. cached_has_bits = _impl_._has_bits_[0];
  31038. if (cached_has_bits & 0x00000003u) {
  31039. if (cached_has_bits & 0x00000001u) {
  31040. _impl_.imagefilepath_.ClearNonDefaultToEmpty();
  31041. }
  31042. if (cached_has_bits & 0x00000002u) {
  31043. _impl_.imagename_.ClearNonDefaultToEmpty();
  31044. }
  31045. }
  31046. if (cached_has_bits & 0x0000000cu) {
  31047. ::memset(&_impl_.vbtype_, 0, static_cast<::size_t>(
  31048. reinterpret_cast<char*>(&_impl_.canbedeleted_) -
  31049. reinterpret_cast<char*>(&_impl_.vbtype_)) + sizeof(_impl_.canbedeleted_));
  31050. }
  31051. _impl_._has_bits_.Clear();
  31052. _internal_metadata_.Clear<std::string>();
  31053. }
  31054. const char* VBItemInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  31055. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  31056. _Internal::HasBits has_bits{};
  31057. while (!ctx->Done(&ptr)) {
  31058. ::uint32_t tag;
  31059. ptr = ::_pbi::ReadTag(ptr, &tag);
  31060. switch (tag >> 3) {
  31061. // optional string imageFilePath = 1;
  31062. case 1:
  31063. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  31064. auto str = _internal_mutable_imagefilepath();
  31065. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  31066. CHK_(ptr);
  31067. } else {
  31068. goto handle_unusual;
  31069. }
  31070. continue;
  31071. // optional string imageName = 2;
  31072. case 2:
  31073. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
  31074. auto str = _internal_mutable_imagename();
  31075. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  31076. CHK_(ptr);
  31077. } else {
  31078. goto handle_unusual;
  31079. }
  31080. continue;
  31081. // optional int32 vbType = 3;
  31082. case 3:
  31083. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
  31084. _Internal::set_has_vbtype(&has_bits);
  31085. _impl_.vbtype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  31086. CHK_(ptr);
  31087. } else {
  31088. goto handle_unusual;
  31089. }
  31090. continue;
  31091. // optional bool canBeDeleted = 4;
  31092. case 4:
  31093. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
  31094. _Internal::set_has_canbedeleted(&has_bits);
  31095. _impl_.canbedeleted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  31096. CHK_(ptr);
  31097. } else {
  31098. goto handle_unusual;
  31099. }
  31100. continue;
  31101. default:
  31102. goto handle_unusual;
  31103. } // switch
  31104. handle_unusual:
  31105. if ((tag == 0) || ((tag & 7) == 4)) {
  31106. CHK_(ptr);
  31107. ctx->SetLastTag(tag);
  31108. goto message_done;
  31109. }
  31110. ptr = UnknownFieldParse(
  31111. tag,
  31112. _internal_metadata_.mutable_unknown_fields<std::string>(),
  31113. ptr, ctx);
  31114. CHK_(ptr != nullptr);
  31115. } // while
  31116. message_done:
  31117. _impl_._has_bits_.Or(has_bits);
  31118. return ptr;
  31119. failure:
  31120. ptr = nullptr;
  31121. goto message_done;
  31122. #undef CHK_
  31123. }
  31124. ::uint8_t* VBItemInfo::_InternalSerialize(
  31125. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  31126. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VBItemInfo)
  31127. ::uint32_t cached_has_bits = 0;
  31128. (void) cached_has_bits;
  31129. cached_has_bits = _impl_._has_bits_[0];
  31130. // optional string imageFilePath = 1;
  31131. if (cached_has_bits & 0x00000001u) {
  31132. const std::string& _s = this->_internal_imagefilepath();
  31133. target = stream->WriteStringMaybeAliased(1, _s, target);
  31134. }
  31135. // optional string imageName = 2;
  31136. if (cached_has_bits & 0x00000002u) {
  31137. const std::string& _s = this->_internal_imagename();
  31138. target = stream->WriteStringMaybeAliased(2, _s, target);
  31139. }
  31140. // optional int32 vbType = 3;
  31141. if (cached_has_bits & 0x00000004u) {
  31142. target = stream->EnsureSpace(target);
  31143. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  31144. 3, this->_internal_vbtype(), target);
  31145. }
  31146. // optional bool canBeDeleted = 4;
  31147. if (cached_has_bits & 0x00000008u) {
  31148. target = stream->EnsureSpace(target);
  31149. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  31150. 4, this->_internal_canbedeleted(), target);
  31151. }
  31152. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  31153. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  31154. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  31155. }
  31156. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VBItemInfo)
  31157. return target;
  31158. }
  31159. ::size_t VBItemInfo::ByteSizeLong() const {
  31160. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VBItemInfo)
  31161. ::size_t total_size = 0;
  31162. ::uint32_t cached_has_bits = 0;
  31163. // Prevent compiler warnings about cached_has_bits being unused
  31164. (void) cached_has_bits;
  31165. cached_has_bits = _impl_._has_bits_[0];
  31166. if (cached_has_bits & 0x0000000fu) {
  31167. // optional string imageFilePath = 1;
  31168. if (cached_has_bits & 0x00000001u) {
  31169. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  31170. this->_internal_imagefilepath());
  31171. }
  31172. // optional string imageName = 2;
  31173. if (cached_has_bits & 0x00000002u) {
  31174. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  31175. this->_internal_imagename());
  31176. }
  31177. // optional int32 vbType = 3;
  31178. if (cached_has_bits & 0x00000004u) {
  31179. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  31180. this->_internal_vbtype());
  31181. }
  31182. // optional bool canBeDeleted = 4;
  31183. if (cached_has_bits & 0x00000008u) {
  31184. total_size += 2;
  31185. }
  31186. }
  31187. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  31188. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  31189. }
  31190. int cached_size = ::_pbi::ToCachedSize(total_size);
  31191. SetCachedSize(cached_size);
  31192. return total_size;
  31193. }
  31194. void VBItemInfo::CheckTypeAndMergeFrom(
  31195. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  31196. MergeFrom(*::_pbi::DownCast<const VBItemInfo*>(
  31197. &from));
  31198. }
  31199. void VBItemInfo::MergeFrom(const VBItemInfo& from) {
  31200. VBItemInfo* const _this = this;
  31201. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VBItemInfo)
  31202. ABSL_DCHECK_NE(&from, _this);
  31203. ::uint32_t cached_has_bits = 0;
  31204. (void) cached_has_bits;
  31205. cached_has_bits = from._impl_._has_bits_[0];
  31206. if (cached_has_bits & 0x0000000fu) {
  31207. if (cached_has_bits & 0x00000001u) {
  31208. _this->_internal_set_imagefilepath(from._internal_imagefilepath());
  31209. }
  31210. if (cached_has_bits & 0x00000002u) {
  31211. _this->_internal_set_imagename(from._internal_imagename());
  31212. }
  31213. if (cached_has_bits & 0x00000004u) {
  31214. _this->_impl_.vbtype_ = from._impl_.vbtype_;
  31215. }
  31216. if (cached_has_bits & 0x00000008u) {
  31217. _this->_impl_.canbedeleted_ = from._impl_.canbedeleted_;
  31218. }
  31219. _this->_impl_._has_bits_[0] |= cached_has_bits;
  31220. }
  31221. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  31222. }
  31223. void VBItemInfo::CopyFrom(const VBItemInfo& from) {
  31224. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VBItemInfo)
  31225. if (&from == this) return;
  31226. Clear();
  31227. MergeFrom(from);
  31228. }
  31229. bool VBItemInfo::IsInitialized() const {
  31230. return true;
  31231. }
  31232. void VBItemInfo::InternalSwap(VBItemInfo* other) {
  31233. using std::swap;
  31234. auto* lhs_arena = GetArenaForAllocation();
  31235. auto* rhs_arena = other->GetArenaForAllocation();
  31236. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  31237. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  31238. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.imagefilepath_, lhs_arena,
  31239. &other->_impl_.imagefilepath_, rhs_arena);
  31240. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.imagename_, lhs_arena,
  31241. &other->_impl_.imagename_, rhs_arena);
  31242. ::PROTOBUF_NAMESPACE_ID::internal::memswap<
  31243. PROTOBUF_FIELD_OFFSET(VBItemInfo, _impl_.canbedeleted_)
  31244. + sizeof(VBItemInfo::_impl_.canbedeleted_)
  31245. - PROTOBUF_FIELD_OFFSET(VBItemInfo, _impl_.vbtype_)>(
  31246. reinterpret_cast<char*>(&_impl_.vbtype_),
  31247. reinterpret_cast<char*>(&other->_impl_.vbtype_));
  31248. }
  31249. std::string VBItemInfo::GetTypeName() const {
  31250. return "com.electron.zoomvideo.sdk.proto.VBItemInfo";
  31251. }
  31252. // ===================================================================
  31253. class VBItemHandleList::_Internal {
  31254. public:
  31255. };
  31256. VBItemHandleList::VBItemHandleList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  31257. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  31258. SharedCtor(arena);
  31259. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
  31260. }
  31261. VBItemHandleList::VBItemHandleList(const VBItemHandleList& from)
  31262. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  31263. VBItemHandleList* const _this = this; (void)_this;
  31264. new (&_impl_) Impl_{
  31265. decltype(_impl_.vbitemhandle_) { from._impl_.vbitemhandle_ }
  31266. , /*decltype(_impl_._cached_size_)*/{}};
  31267. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  31268. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
  31269. }
  31270. inline void VBItemHandleList::SharedCtor(::_pb::Arena* arena) {
  31271. (void)arena;
  31272. new (&_impl_) Impl_{
  31273. decltype(_impl_.vbitemhandle_) { arena }
  31274. , /*decltype(_impl_._cached_size_)*/{}
  31275. };
  31276. }
  31277. VBItemHandleList::~VBItemHandleList() {
  31278. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
  31279. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  31280. (void)arena;
  31281. return;
  31282. }
  31283. SharedDtor();
  31284. }
  31285. inline void VBItemHandleList::SharedDtor() {
  31286. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  31287. _impl_.vbitemhandle_.~RepeatedField();
  31288. }
  31289. void VBItemHandleList::SetCachedSize(int size) const {
  31290. _impl_._cached_size_.Set(size);
  31291. }
  31292. void VBItemHandleList::Clear() {
  31293. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
  31294. ::uint32_t cached_has_bits = 0;
  31295. // Prevent compiler warnings about cached_has_bits being unused
  31296. (void) cached_has_bits;
  31297. _impl_.vbitemhandle_.Clear();
  31298. _internal_metadata_.Clear<std::string>();
  31299. }
  31300. const char* VBItemHandleList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  31301. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  31302. while (!ctx->Done(&ptr)) {
  31303. ::uint32_t tag;
  31304. ptr = ::_pbi::ReadTag(ptr, &tag);
  31305. switch (tag >> 3) {
  31306. // repeated int64 vbItemHandle = 1;
  31307. case 1:
  31308. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  31309. ptr -= 1;
  31310. do {
  31311. ptr += 1;
  31312. _internal_add_vbitemhandle(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr));
  31313. CHK_(ptr);
  31314. if (!ctx->DataAvailable(ptr)) break;
  31315. } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<8>(ptr));
  31316. } else if (static_cast<::uint8_t>(tag) == 10) {
  31317. ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt64Parser(_internal_mutable_vbitemhandle(), ptr, ctx);
  31318. CHK_(ptr);
  31319. } else {
  31320. goto handle_unusual;
  31321. }
  31322. continue;
  31323. default:
  31324. goto handle_unusual;
  31325. } // switch
  31326. handle_unusual:
  31327. if ((tag == 0) || ((tag & 7) == 4)) {
  31328. CHK_(ptr);
  31329. ctx->SetLastTag(tag);
  31330. goto message_done;
  31331. }
  31332. ptr = UnknownFieldParse(
  31333. tag,
  31334. _internal_metadata_.mutable_unknown_fields<std::string>(),
  31335. ptr, ctx);
  31336. CHK_(ptr != nullptr);
  31337. } // while
  31338. message_done:
  31339. return ptr;
  31340. failure:
  31341. ptr = nullptr;
  31342. goto message_done;
  31343. #undef CHK_
  31344. }
  31345. ::uint8_t* VBItemHandleList::_InternalSerialize(
  31346. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  31347. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
  31348. ::uint32_t cached_has_bits = 0;
  31349. (void) cached_has_bits;
  31350. // repeated int64 vbItemHandle = 1;
  31351. for (int i = 0, n = this->_internal_vbitemhandle_size(); i < n; ++i) {
  31352. target = stream->EnsureSpace(target);
  31353. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  31354. 1, this->_internal_vbitemhandle(i), target);
  31355. }
  31356. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  31357. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  31358. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  31359. }
  31360. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
  31361. return target;
  31362. }
  31363. ::size_t VBItemHandleList::ByteSizeLong() const {
  31364. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
  31365. ::size_t total_size = 0;
  31366. ::uint32_t cached_has_bits = 0;
  31367. // Prevent compiler warnings about cached_has_bits being unused
  31368. (void) cached_has_bits;
  31369. // repeated int64 vbItemHandle = 1;
  31370. {
  31371. std::size_t data_size = ::_pbi::WireFormatLite::Int64Size(this->_impl_.vbitemhandle_)
  31372. ;
  31373. std::size_t tag_size = std::size_t{1} *
  31374. ::_pbi::FromIntSize(this->_internal_vbitemhandle_size());
  31375. ;
  31376. total_size += tag_size + data_size;
  31377. }
  31378. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  31379. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  31380. }
  31381. int cached_size = ::_pbi::ToCachedSize(total_size);
  31382. SetCachedSize(cached_size);
  31383. return total_size;
  31384. }
  31385. void VBItemHandleList::CheckTypeAndMergeFrom(
  31386. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  31387. MergeFrom(*::_pbi::DownCast<const VBItemHandleList*>(
  31388. &from));
  31389. }
  31390. void VBItemHandleList::MergeFrom(const VBItemHandleList& from) {
  31391. VBItemHandleList* const _this = this;
  31392. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
  31393. ABSL_DCHECK_NE(&from, _this);
  31394. ::uint32_t cached_has_bits = 0;
  31395. (void) cached_has_bits;
  31396. _this->_impl_.vbitemhandle_.MergeFrom(from._impl_.vbitemhandle_);
  31397. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  31398. }
  31399. void VBItemHandleList::CopyFrom(const VBItemHandleList& from) {
  31400. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
  31401. if (&from == this) return;
  31402. Clear();
  31403. MergeFrom(from);
  31404. }
  31405. bool VBItemHandleList::IsInitialized() const {
  31406. return true;
  31407. }
  31408. void VBItemHandleList::InternalSwap(VBItemHandleList* other) {
  31409. using std::swap;
  31410. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  31411. _impl_.vbitemhandle_.InternalSwap(&other->_impl_.vbitemhandle_);
  31412. }
  31413. std::string VBItemHandleList::GetTypeName() const {
  31414. return "com.electron.zoomvideo.sdk.proto.VBItemHandleList";
  31415. }
  31416. // ===================================================================
  31417. class AddVirtualBackgroundItemParams::_Internal {
  31418. public:
  31419. using HasBits = decltype(std::declval<AddVirtualBackgroundItemParams>()._impl_._has_bits_);
  31420. static constexpr ::int32_t kHasBitsOffset =
  31421. 8 * PROTOBUF_FIELD_OFFSET(AddVirtualBackgroundItemParams, _impl_._has_bits_);
  31422. static void set_has_imagepath(HasBits* has_bits) {
  31423. (*has_bits)[0] |= 1u;
  31424. }
  31425. };
  31426. AddVirtualBackgroundItemParams::AddVirtualBackgroundItemParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  31427. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  31428. SharedCtor(arena);
  31429. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
  31430. }
  31431. AddVirtualBackgroundItemParams::AddVirtualBackgroundItemParams(const AddVirtualBackgroundItemParams& from)
  31432. : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
  31433. AddVirtualBackgroundItemParams* const _this = this; (void)_this;
  31434. new (&_impl_) Impl_{
  31435. decltype(_impl_._has_bits_){from._impl_._has_bits_}
  31436. , /*decltype(_impl_._cached_size_)*/{}
  31437. , decltype(_impl_.imagepath_) {}
  31438. };
  31439. _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  31440. _impl_.imagepath_.InitDefault();
  31441. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  31442. _impl_.imagepath_.Set("", GetArenaForAllocation());
  31443. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  31444. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  31445. _this->_impl_.imagepath_.Set(from._internal_imagepath(), _this->GetArenaForAllocation());
  31446. }
  31447. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
  31448. }
  31449. inline void AddVirtualBackgroundItemParams::SharedCtor(::_pb::Arena* arena) {
  31450. (void)arena;
  31451. new (&_impl_) Impl_{
  31452. decltype(_impl_._has_bits_){}
  31453. , /*decltype(_impl_._cached_size_)*/{}
  31454. , decltype(_impl_.imagepath_) {}
  31455. };
  31456. _impl_.imagepath_.InitDefault();
  31457. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  31458. _impl_.imagepath_.Set("", GetArenaForAllocation());
  31459. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  31460. }
  31461. AddVirtualBackgroundItemParams::~AddVirtualBackgroundItemParams() {
  31462. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
  31463. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  31464. (void)arena;
  31465. return;
  31466. }
  31467. SharedDtor();
  31468. }
  31469. inline void AddVirtualBackgroundItemParams::SharedDtor() {
  31470. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  31471. _impl_.imagepath_.Destroy();
  31472. }
  31473. void AddVirtualBackgroundItemParams::SetCachedSize(int size) const {
  31474. _impl_._cached_size_.Set(size);
  31475. }
  31476. void AddVirtualBackgroundItemParams::Clear() {
  31477. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
  31478. ::uint32_t cached_has_bits = 0;
  31479. // Prevent compiler warnings about cached_has_bits being unused
  31480. (void) cached_has_bits;
  31481. cached_has_bits = _impl_._has_bits_[0];
  31482. if (cached_has_bits & 0x00000001u) {
  31483. _impl_.imagepath_.ClearNonDefaultToEmpty();
  31484. }
  31485. _impl_._has_bits_.Clear();
  31486. _internal_metadata_.Clear<std::string>();
  31487. }
  31488. const char* AddVirtualBackgroundItemParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  31489. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  31490. _Internal::HasBits has_bits{};
  31491. while (!ctx->Done(&ptr)) {
  31492. ::uint32_t tag;
  31493. ptr = ::_pbi::ReadTag(ptr, &tag);
  31494. switch (tag >> 3) {
  31495. // optional string imagePath = 1;
  31496. case 1:
  31497. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  31498. auto str = _internal_mutable_imagepath();
  31499. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  31500. CHK_(ptr);
  31501. } else {
  31502. goto handle_unusual;
  31503. }
  31504. continue;
  31505. default:
  31506. goto handle_unusual;
  31507. } // switch
  31508. handle_unusual:
  31509. if ((tag == 0) || ((tag & 7) == 4)) {
  31510. CHK_(ptr);
  31511. ctx->SetLastTag(tag);
  31512. goto message_done;
  31513. }
  31514. ptr = UnknownFieldParse(
  31515. tag,
  31516. _internal_metadata_.mutable_unknown_fields<std::string>(),
  31517. ptr, ctx);
  31518. CHK_(ptr != nullptr);
  31519. } // while
  31520. message_done:
  31521. _impl_._has_bits_.Or(has_bits);
  31522. return ptr;
  31523. failure:
  31524. ptr = nullptr;
  31525. goto message_done;
  31526. #undef CHK_
  31527. }
  31528. ::uint8_t* AddVirtualBackgroundItemParams::_InternalSerialize(
  31529. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  31530. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
  31531. ::uint32_t cached_has_bits = 0;
  31532. (void) cached_has_bits;
  31533. cached_has_bits = _impl_._has_bits_[0];
  31534. // optional string imagePath = 1;
  31535. if (cached_has_bits & 0x00000001u) {
  31536. const std::string& _s = this->_internal_imagepath();
  31537. target = stream->WriteStringMaybeAliased(1, _s, target);
  31538. }
  31539. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  31540. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  31541. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  31542. }
  31543. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
  31544. return target;
  31545. }
  31546. ::size_t AddVirtualBackgroundItemParams::ByteSizeLong() const {
  31547. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
  31548. ::size_t total_size = 0;
  31549. ::uint32_t cached_has_bits = 0;
  31550. // Prevent compiler warnings about cached_has_bits being unused
  31551. (void) cached_has_bits;
  31552. // optional string imagePath = 1;
  31553. cached_has_bits = _impl_._has_bits_[0];
  31554. if (cached_has_bits & 0x00000001u) {
  31555. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  31556. this->_internal_imagepath());
  31557. }
  31558. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  31559. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  31560. }
  31561. int cached_size = ::_pbi::ToCachedSize(total_size);
  31562. SetCachedSize(cached_size);
  31563. return total_size;
  31564. }
  31565. void AddVirtualBackgroundItemParams::CheckTypeAndMergeFrom(
  31566. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  31567. MergeFrom(*::_pbi::DownCast<const AddVirtualBackgroundItemParams*>(
  31568. &from));
  31569. }
  31570. void AddVirtualBackgroundItemParams::MergeFrom(const AddVirtualBackgroundItemParams& from) {
  31571. AddVirtualBackgroundItemParams* const _this = this;
  31572. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
  31573. ABSL_DCHECK_NE(&from, _this);
  31574. ::uint32_t cached_has_bits = 0;
  31575. (void) cached_has_bits;
  31576. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  31577. _this->_internal_set_imagepath(from._internal_imagepath());
  31578. }
  31579. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  31580. }
  31581. void AddVirtualBackgroundItemParams::CopyFrom(const AddVirtualBackgroundItemParams& from) {
  31582. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
  31583. if (&from == this) return;
  31584. Clear();
  31585. MergeFrom(from);
  31586. }
  31587. bool AddVirtualBackgroundItemParams::IsInitialized() const {
  31588. return true;
  31589. }
  31590. void AddVirtualBackgroundItemParams::InternalSwap(AddVirtualBackgroundItemParams* other) {
  31591. using std::swap;
  31592. auto* lhs_arena = GetArenaForAllocation();
  31593. auto* rhs_arena = other->GetArenaForAllocation();
  31594. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  31595. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  31596. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.imagepath_, lhs_arena,
  31597. &other->_impl_.imagepath_, rhs_arena);
  31598. }
  31599. std::string AddVirtualBackgroundItemParams::GetTypeName() const {
  31600. return "com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams";
  31601. }
  31602. // ===================================================================
  31603. class RemoveVirtualBackgroundItemParams::_Internal {
  31604. public:
  31605. using HasBits = decltype(std::declval<RemoveVirtualBackgroundItemParams>()._impl_._has_bits_);
  31606. static constexpr ::int32_t kHasBitsOffset =
  31607. 8 * PROTOBUF_FIELD_OFFSET(RemoveVirtualBackgroundItemParams, _impl_._has_bits_);
  31608. static void set_has_vbitemhandle(HasBits* has_bits) {
  31609. (*has_bits)[0] |= 1u;
  31610. }
  31611. };
  31612. RemoveVirtualBackgroundItemParams::RemoveVirtualBackgroundItemParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  31613. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  31614. SharedCtor(arena);
  31615. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
  31616. }
  31617. RemoveVirtualBackgroundItemParams::RemoveVirtualBackgroundItemParams(const RemoveVirtualBackgroundItemParams& from)
  31618. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  31619. _internal_metadata_.MergeFrom<std::string>(
  31620. from._internal_metadata_);
  31621. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
  31622. }
  31623. inline void RemoveVirtualBackgroundItemParams::SharedCtor(::_pb::Arena* arena) {
  31624. (void)arena;
  31625. new (&_impl_) Impl_{
  31626. decltype(_impl_._has_bits_){}
  31627. , /*decltype(_impl_._cached_size_)*/{}
  31628. , decltype(_impl_.vbitemhandle_) { ::int64_t{0} }
  31629. };
  31630. }
  31631. RemoveVirtualBackgroundItemParams::~RemoveVirtualBackgroundItemParams() {
  31632. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
  31633. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  31634. (void)arena;
  31635. return;
  31636. }
  31637. SharedDtor();
  31638. }
  31639. inline void RemoveVirtualBackgroundItemParams::SharedDtor() {
  31640. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  31641. }
  31642. void RemoveVirtualBackgroundItemParams::SetCachedSize(int size) const {
  31643. _impl_._cached_size_.Set(size);
  31644. }
  31645. void RemoveVirtualBackgroundItemParams::Clear() {
  31646. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
  31647. ::uint32_t cached_has_bits = 0;
  31648. // Prevent compiler warnings about cached_has_bits being unused
  31649. (void) cached_has_bits;
  31650. _impl_.vbitemhandle_ = ::int64_t{0};
  31651. _impl_._has_bits_.Clear();
  31652. _internal_metadata_.Clear<std::string>();
  31653. }
  31654. const char* RemoveVirtualBackgroundItemParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  31655. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  31656. _Internal::HasBits has_bits{};
  31657. while (!ctx->Done(&ptr)) {
  31658. ::uint32_t tag;
  31659. ptr = ::_pbi::ReadTag(ptr, &tag);
  31660. switch (tag >> 3) {
  31661. // optional int64 vbItemHandle = 1;
  31662. case 1:
  31663. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  31664. _Internal::set_has_vbitemhandle(&has_bits);
  31665. _impl_.vbitemhandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  31666. CHK_(ptr);
  31667. } else {
  31668. goto handle_unusual;
  31669. }
  31670. continue;
  31671. default:
  31672. goto handle_unusual;
  31673. } // switch
  31674. handle_unusual:
  31675. if ((tag == 0) || ((tag & 7) == 4)) {
  31676. CHK_(ptr);
  31677. ctx->SetLastTag(tag);
  31678. goto message_done;
  31679. }
  31680. ptr = UnknownFieldParse(
  31681. tag,
  31682. _internal_metadata_.mutable_unknown_fields<std::string>(),
  31683. ptr, ctx);
  31684. CHK_(ptr != nullptr);
  31685. } // while
  31686. message_done:
  31687. _impl_._has_bits_.Or(has_bits);
  31688. return ptr;
  31689. failure:
  31690. ptr = nullptr;
  31691. goto message_done;
  31692. #undef CHK_
  31693. }
  31694. ::uint8_t* RemoveVirtualBackgroundItemParams::_InternalSerialize(
  31695. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  31696. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
  31697. ::uint32_t cached_has_bits = 0;
  31698. (void) cached_has_bits;
  31699. cached_has_bits = _impl_._has_bits_[0];
  31700. // optional int64 vbItemHandle = 1;
  31701. if (cached_has_bits & 0x00000001u) {
  31702. target = stream->EnsureSpace(target);
  31703. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  31704. 1, this->_internal_vbitemhandle(), target);
  31705. }
  31706. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  31707. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  31708. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  31709. }
  31710. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
  31711. return target;
  31712. }
  31713. ::size_t RemoveVirtualBackgroundItemParams::ByteSizeLong() const {
  31714. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
  31715. ::size_t total_size = 0;
  31716. ::uint32_t cached_has_bits = 0;
  31717. // Prevent compiler warnings about cached_has_bits being unused
  31718. (void) cached_has_bits;
  31719. // optional int64 vbItemHandle = 1;
  31720. cached_has_bits = _impl_._has_bits_[0];
  31721. if (cached_has_bits & 0x00000001u) {
  31722. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  31723. this->_internal_vbitemhandle());
  31724. }
  31725. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  31726. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  31727. }
  31728. int cached_size = ::_pbi::ToCachedSize(total_size);
  31729. SetCachedSize(cached_size);
  31730. return total_size;
  31731. }
  31732. void RemoveVirtualBackgroundItemParams::CheckTypeAndMergeFrom(
  31733. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  31734. MergeFrom(*::_pbi::DownCast<const RemoveVirtualBackgroundItemParams*>(
  31735. &from));
  31736. }
  31737. void RemoveVirtualBackgroundItemParams::MergeFrom(const RemoveVirtualBackgroundItemParams& from) {
  31738. RemoveVirtualBackgroundItemParams* const _this = this;
  31739. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
  31740. ABSL_DCHECK_NE(&from, _this);
  31741. ::uint32_t cached_has_bits = 0;
  31742. (void) cached_has_bits;
  31743. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  31744. _this->_internal_set_vbitemhandle(from._internal_vbitemhandle());
  31745. }
  31746. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  31747. }
  31748. void RemoveVirtualBackgroundItemParams::CopyFrom(const RemoveVirtualBackgroundItemParams& from) {
  31749. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
  31750. if (&from == this) return;
  31751. Clear();
  31752. MergeFrom(from);
  31753. }
  31754. bool RemoveVirtualBackgroundItemParams::IsInitialized() const {
  31755. return true;
  31756. }
  31757. void RemoveVirtualBackgroundItemParams::InternalSwap(RemoveVirtualBackgroundItemParams* other) {
  31758. using std::swap;
  31759. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  31760. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  31761. swap(_impl_.vbitemhandle_, other->_impl_.vbitemhandle_);
  31762. }
  31763. std::string RemoveVirtualBackgroundItemParams::GetTypeName() const {
  31764. return "com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams";
  31765. }
  31766. // ===================================================================
  31767. class SetVirtualBackgroundItemParams::_Internal {
  31768. public:
  31769. using HasBits = decltype(std::declval<SetVirtualBackgroundItemParams>()._impl_._has_bits_);
  31770. static constexpr ::int32_t kHasBitsOffset =
  31771. 8 * PROTOBUF_FIELD_OFFSET(SetVirtualBackgroundItemParams, _impl_._has_bits_);
  31772. static void set_has_vbitemhandle(HasBits* has_bits) {
  31773. (*has_bits)[0] |= 1u;
  31774. }
  31775. };
  31776. SetVirtualBackgroundItemParams::SetVirtualBackgroundItemParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  31777. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  31778. SharedCtor(arena);
  31779. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
  31780. }
  31781. SetVirtualBackgroundItemParams::SetVirtualBackgroundItemParams(const SetVirtualBackgroundItemParams& from)
  31782. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  31783. _internal_metadata_.MergeFrom<std::string>(
  31784. from._internal_metadata_);
  31785. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
  31786. }
  31787. inline void SetVirtualBackgroundItemParams::SharedCtor(::_pb::Arena* arena) {
  31788. (void)arena;
  31789. new (&_impl_) Impl_{
  31790. decltype(_impl_._has_bits_){}
  31791. , /*decltype(_impl_._cached_size_)*/{}
  31792. , decltype(_impl_.vbitemhandle_) { ::int64_t{0} }
  31793. };
  31794. }
  31795. SetVirtualBackgroundItemParams::~SetVirtualBackgroundItemParams() {
  31796. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
  31797. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  31798. (void)arena;
  31799. return;
  31800. }
  31801. SharedDtor();
  31802. }
  31803. inline void SetVirtualBackgroundItemParams::SharedDtor() {
  31804. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  31805. }
  31806. void SetVirtualBackgroundItemParams::SetCachedSize(int size) const {
  31807. _impl_._cached_size_.Set(size);
  31808. }
  31809. void SetVirtualBackgroundItemParams::Clear() {
  31810. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
  31811. ::uint32_t cached_has_bits = 0;
  31812. // Prevent compiler warnings about cached_has_bits being unused
  31813. (void) cached_has_bits;
  31814. _impl_.vbitemhandle_ = ::int64_t{0};
  31815. _impl_._has_bits_.Clear();
  31816. _internal_metadata_.Clear<std::string>();
  31817. }
  31818. const char* SetVirtualBackgroundItemParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  31819. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  31820. _Internal::HasBits has_bits{};
  31821. while (!ctx->Done(&ptr)) {
  31822. ::uint32_t tag;
  31823. ptr = ::_pbi::ReadTag(ptr, &tag);
  31824. switch (tag >> 3) {
  31825. // optional int64 vbItemHandle = 1;
  31826. case 1:
  31827. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  31828. _Internal::set_has_vbitemhandle(&has_bits);
  31829. _impl_.vbitemhandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  31830. CHK_(ptr);
  31831. } else {
  31832. goto handle_unusual;
  31833. }
  31834. continue;
  31835. default:
  31836. goto handle_unusual;
  31837. } // switch
  31838. handle_unusual:
  31839. if ((tag == 0) || ((tag & 7) == 4)) {
  31840. CHK_(ptr);
  31841. ctx->SetLastTag(tag);
  31842. goto message_done;
  31843. }
  31844. ptr = UnknownFieldParse(
  31845. tag,
  31846. _internal_metadata_.mutable_unknown_fields<std::string>(),
  31847. ptr, ctx);
  31848. CHK_(ptr != nullptr);
  31849. } // while
  31850. message_done:
  31851. _impl_._has_bits_.Or(has_bits);
  31852. return ptr;
  31853. failure:
  31854. ptr = nullptr;
  31855. goto message_done;
  31856. #undef CHK_
  31857. }
  31858. ::uint8_t* SetVirtualBackgroundItemParams::_InternalSerialize(
  31859. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  31860. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
  31861. ::uint32_t cached_has_bits = 0;
  31862. (void) cached_has_bits;
  31863. cached_has_bits = _impl_._has_bits_[0];
  31864. // optional int64 vbItemHandle = 1;
  31865. if (cached_has_bits & 0x00000001u) {
  31866. target = stream->EnsureSpace(target);
  31867. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  31868. 1, this->_internal_vbitemhandle(), target);
  31869. }
  31870. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  31871. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  31872. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  31873. }
  31874. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
  31875. return target;
  31876. }
  31877. ::size_t SetVirtualBackgroundItemParams::ByteSizeLong() const {
  31878. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
  31879. ::size_t total_size = 0;
  31880. ::uint32_t cached_has_bits = 0;
  31881. // Prevent compiler warnings about cached_has_bits being unused
  31882. (void) cached_has_bits;
  31883. // optional int64 vbItemHandle = 1;
  31884. cached_has_bits = _impl_._has_bits_[0];
  31885. if (cached_has_bits & 0x00000001u) {
  31886. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  31887. this->_internal_vbitemhandle());
  31888. }
  31889. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  31890. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  31891. }
  31892. int cached_size = ::_pbi::ToCachedSize(total_size);
  31893. SetCachedSize(cached_size);
  31894. return total_size;
  31895. }
  31896. void SetVirtualBackgroundItemParams::CheckTypeAndMergeFrom(
  31897. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  31898. MergeFrom(*::_pbi::DownCast<const SetVirtualBackgroundItemParams*>(
  31899. &from));
  31900. }
  31901. void SetVirtualBackgroundItemParams::MergeFrom(const SetVirtualBackgroundItemParams& from) {
  31902. SetVirtualBackgroundItemParams* const _this = this;
  31903. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
  31904. ABSL_DCHECK_NE(&from, _this);
  31905. ::uint32_t cached_has_bits = 0;
  31906. (void) cached_has_bits;
  31907. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  31908. _this->_internal_set_vbitemhandle(from._internal_vbitemhandle());
  31909. }
  31910. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  31911. }
  31912. void SetVirtualBackgroundItemParams::CopyFrom(const SetVirtualBackgroundItemParams& from) {
  31913. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
  31914. if (&from == this) return;
  31915. Clear();
  31916. MergeFrom(from);
  31917. }
  31918. bool SetVirtualBackgroundItemParams::IsInitialized() const {
  31919. return true;
  31920. }
  31921. void SetVirtualBackgroundItemParams::InternalSwap(SetVirtualBackgroundItemParams* other) {
  31922. using std::swap;
  31923. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  31924. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  31925. swap(_impl_.vbitemhandle_, other->_impl_.vbitemhandle_);
  31926. }
  31927. std::string SetVirtualBackgroundItemParams::GetTypeName() const {
  31928. return "com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams";
  31929. }
  31930. // ===================================================================
  31931. class GetVirtualBackgroundItemInfoParams::_Internal {
  31932. public:
  31933. using HasBits = decltype(std::declval<GetVirtualBackgroundItemInfoParams>()._impl_._has_bits_);
  31934. static constexpr ::int32_t kHasBitsOffset =
  31935. 8 * PROTOBUF_FIELD_OFFSET(GetVirtualBackgroundItemInfoParams, _impl_._has_bits_);
  31936. static void set_has_vbitemhandle(HasBits* has_bits) {
  31937. (*has_bits)[0] |= 1u;
  31938. }
  31939. };
  31940. GetVirtualBackgroundItemInfoParams::GetVirtualBackgroundItemInfoParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  31941. : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
  31942. SharedCtor(arena);
  31943. // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
  31944. }
  31945. GetVirtualBackgroundItemInfoParams::GetVirtualBackgroundItemInfoParams(const GetVirtualBackgroundItemInfoParams& from)
  31946. : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
  31947. _internal_metadata_.MergeFrom<std::string>(
  31948. from._internal_metadata_);
  31949. // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
  31950. }
  31951. inline void GetVirtualBackgroundItemInfoParams::SharedCtor(::_pb::Arena* arena) {
  31952. (void)arena;
  31953. new (&_impl_) Impl_{
  31954. decltype(_impl_._has_bits_){}
  31955. , /*decltype(_impl_._cached_size_)*/{}
  31956. , decltype(_impl_.vbitemhandle_) { ::int64_t{0} }
  31957. };
  31958. }
  31959. GetVirtualBackgroundItemInfoParams::~GetVirtualBackgroundItemInfoParams() {
  31960. // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
  31961. if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
  31962. (void)arena;
  31963. return;
  31964. }
  31965. SharedDtor();
  31966. }
  31967. inline void GetVirtualBackgroundItemInfoParams::SharedDtor() {
  31968. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  31969. }
  31970. void GetVirtualBackgroundItemInfoParams::SetCachedSize(int size) const {
  31971. _impl_._cached_size_.Set(size);
  31972. }
  31973. void GetVirtualBackgroundItemInfoParams::Clear() {
  31974. // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
  31975. ::uint32_t cached_has_bits = 0;
  31976. // Prevent compiler warnings about cached_has_bits being unused
  31977. (void) cached_has_bits;
  31978. _impl_.vbitemhandle_ = ::int64_t{0};
  31979. _impl_._has_bits_.Clear();
  31980. _internal_metadata_.Clear<std::string>();
  31981. }
  31982. const char* GetVirtualBackgroundItemInfoParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  31983. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  31984. _Internal::HasBits has_bits{};
  31985. while (!ctx->Done(&ptr)) {
  31986. ::uint32_t tag;
  31987. ptr = ::_pbi::ReadTag(ptr, &tag);
  31988. switch (tag >> 3) {
  31989. // optional int64 vbItemHandle = 1;
  31990. case 1:
  31991. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  31992. _Internal::set_has_vbitemhandle(&has_bits);
  31993. _impl_.vbitemhandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  31994. CHK_(ptr);
  31995. } else {
  31996. goto handle_unusual;
  31997. }
  31998. continue;
  31999. default:
  32000. goto handle_unusual;
  32001. } // switch
  32002. handle_unusual:
  32003. if ((tag == 0) || ((tag & 7) == 4)) {
  32004. CHK_(ptr);
  32005. ctx->SetLastTag(tag);
  32006. goto message_done;
  32007. }
  32008. ptr = UnknownFieldParse(
  32009. tag,
  32010. _internal_metadata_.mutable_unknown_fields<std::string>(),
  32011. ptr, ctx);
  32012. CHK_(ptr != nullptr);
  32013. } // while
  32014. message_done:
  32015. _impl_._has_bits_.Or(has_bits);
  32016. return ptr;
  32017. failure:
  32018. ptr = nullptr;
  32019. goto message_done;
  32020. #undef CHK_
  32021. }
  32022. ::uint8_t* GetVirtualBackgroundItemInfoParams::_InternalSerialize(
  32023. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  32024. // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
  32025. ::uint32_t cached_has_bits = 0;
  32026. (void) cached_has_bits;
  32027. cached_has_bits = _impl_._has_bits_[0];
  32028. // optional int64 vbItemHandle = 1;
  32029. if (cached_has_bits & 0x00000001u) {
  32030. target = stream->EnsureSpace(target);
  32031. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  32032. 1, this->_internal_vbitemhandle(), target);
  32033. }
  32034. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  32035. target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
  32036. static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
  32037. }
  32038. // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
  32039. return target;
  32040. }
  32041. ::size_t GetVirtualBackgroundItemInfoParams::ByteSizeLong() const {
  32042. // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
  32043. ::size_t total_size = 0;
  32044. ::uint32_t cached_has_bits = 0;
  32045. // Prevent compiler warnings about cached_has_bits being unused
  32046. (void) cached_has_bits;
  32047. // optional int64 vbItemHandle = 1;
  32048. cached_has_bits = _impl_._has_bits_[0];
  32049. if (cached_has_bits & 0x00000001u) {
  32050. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  32051. this->_internal_vbitemhandle());
  32052. }
  32053. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  32054. total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
  32055. }
  32056. int cached_size = ::_pbi::ToCachedSize(total_size);
  32057. SetCachedSize(cached_size);
  32058. return total_size;
  32059. }
  32060. void GetVirtualBackgroundItemInfoParams::CheckTypeAndMergeFrom(
  32061. const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
  32062. MergeFrom(*::_pbi::DownCast<const GetVirtualBackgroundItemInfoParams*>(
  32063. &from));
  32064. }
  32065. void GetVirtualBackgroundItemInfoParams::MergeFrom(const GetVirtualBackgroundItemInfoParams& from) {
  32066. GetVirtualBackgroundItemInfoParams* const _this = this;
  32067. // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
  32068. ABSL_DCHECK_NE(&from, _this);
  32069. ::uint32_t cached_has_bits = 0;
  32070. (void) cached_has_bits;
  32071. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  32072. _this->_internal_set_vbitemhandle(from._internal_vbitemhandle());
  32073. }
  32074. _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
  32075. }
  32076. void GetVirtualBackgroundItemInfoParams::CopyFrom(const GetVirtualBackgroundItemInfoParams& from) {
  32077. // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
  32078. if (&from == this) return;
  32079. Clear();
  32080. MergeFrom(from);
  32081. }
  32082. bool GetVirtualBackgroundItemInfoParams::IsInitialized() const {
  32083. return true;
  32084. }
  32085. void GetVirtualBackgroundItemInfoParams::InternalSwap(GetVirtualBackgroundItemInfoParams* other) {
  32086. using std::swap;
  32087. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  32088. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  32089. swap(_impl_.vbitemhandle_, other->_impl_.vbitemhandle_);
  32090. }
  32091. std::string GetVirtualBackgroundItemInfoParams::GetTypeName() const {
  32092. return "com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams";
  32093. }
  32094. // @@protoc_insertion_point(namespace_scope)
  32095. } // namespace proto
  32096. } // namespace sdk
  32097. } // namespace zoomvideo
  32098. } // namespace electron
  32099. } // namespace com
  32100. PROTOBUF_NAMESPACE_OPEN
  32101. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VideoSDKUser*
  32102. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VideoSDKUser >(Arena* arena) {
  32103. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VideoSDKUser >(arena);
  32104. }
  32105. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::UserList*
  32106. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::UserList >(Arena* arena) {
  32107. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::UserList >(arena);
  32108. }
  32109. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionAudioStatisticInfo*
  32110. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionAudioStatisticInfo >(Arena* arena) {
  32111. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionAudioStatisticInfo >(arena);
  32112. }
  32113. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionAudioStatisticInfoList*
  32114. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionAudioStatisticInfoList >(Arena* arena) {
  32115. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionAudioStatisticInfoList >(arena);
  32116. }
  32117. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionASVStatisticInfo*
  32118. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionASVStatisticInfo >(Arena* arena) {
  32119. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionASVStatisticInfo >(arena);
  32120. }
  32121. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionASVStatisticInfoList*
  32122. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionASVStatisticInfoList >(Arena* arena) {
  32123. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionASVStatisticInfoList >(arena);
  32124. }
  32125. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SDKVideoCapability*
  32126. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SDKVideoCapability >(Arena* arena) {
  32127. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SDKVideoCapability >(arena);
  32128. }
  32129. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SDKVideoCapabilityList*
  32130. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SDKVideoCapabilityList >(Arena* arena) {
  32131. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SDKVideoCapabilityList >(arena);
  32132. }
  32133. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LTTLanguage*
  32134. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LTTLanguage >(Arena* arena) {
  32135. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LTTLanguage >(arena);
  32136. }
  32137. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onErrorParams*
  32138. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onErrorParams >(Arena* arena) {
  32139. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onErrorParams >(arena);
  32140. }
  32141. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserJoinParams*
  32142. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserJoinParams >(Arena* arena) {
  32143. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserJoinParams >(arena);
  32144. }
  32145. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserLeaveParams*
  32146. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserLeaveParams >(Arena* arena) {
  32147. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserLeaveParams >(arena);
  32148. }
  32149. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserVideoStatusChangedParams*
  32150. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserVideoStatusChangedParams >(Arena* arena) {
  32151. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserVideoStatusChangedParams >(arena);
  32152. }
  32153. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserAudioStatusChangedParams*
  32154. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserAudioStatusChangedParams >(Arena* arena) {
  32155. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserAudioStatusChangedParams >(arena);
  32156. }
  32157. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserShareStatusChangedParams*
  32158. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserShareStatusChangedParams >(Arena* arena) {
  32159. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserShareStatusChangedParams >(arena);
  32160. }
  32161. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveStreamStatusChangedParams*
  32162. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveStreamStatusChangedParams >(Arena* arena) {
  32163. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveStreamStatusChangedParams >(arena);
  32164. }
  32165. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserHostChangedParams*
  32166. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserHostChangedParams >(Arena* arena) {
  32167. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserHostChangedParams >(arena);
  32168. }
  32169. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserNameChangedParams*
  32170. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserNameChangedParams >(Arena* arena) {
  32171. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserNameChangedParams >(arena);
  32172. }
  32173. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserManagerChangedParams*
  32174. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserManagerChangedParams >(Arena* arena) {
  32175. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserManagerChangedParams >(arena);
  32176. }
  32177. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserActiveAudioChangedParams*
  32178. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserActiveAudioChangedParams >(Arena* arena) {
  32179. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserActiveAudioChangedParams >(arena);
  32180. }
  32181. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatNewMessageNotifyParams*
  32182. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatNewMessageNotifyParams >(Arena* arena) {
  32183. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatNewMessageNotifyParams >(arena);
  32184. }
  32185. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatMsgDeleteNotificationParams*
  32186. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatMsgDeleteNotificationParams >(Arena* arena) {
  32187. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatMsgDeleteNotificationParams >(arena);
  32188. }
  32189. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onVideoSourceInitializeParams*
  32190. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onVideoSourceInitializeParams >(Arena* arena) {
  32191. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onVideoSourceInitializeParams >(arena);
  32192. }
  32193. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onPropertyChangeParams*
  32194. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onPropertyChangeParams >(Arena* arena) {
  32195. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onPropertyChangeParams >(arena);
  32196. }
  32197. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onRawDataStatusChangedParams*
  32198. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onRawDataStatusChangedParams >(Arena* arena) {
  32199. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onRawDataStatusChangedParams >(arena);
  32200. }
  32201. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandReceivedParams*
  32202. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandReceivedParams >(Arena* arena) {
  32203. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandReceivedParams >(arena);
  32204. }
  32205. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandChannelConnectResultParams*
  32206. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandChannelConnectResultParams >(Arena* arena) {
  32207. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandChannelConnectResultParams >(arena);
  32208. }
  32209. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onInviteByPhoneStatusParams*
  32210. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onInviteByPhoneStatusParams >(Arena* arena) {
  32211. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onInviteByPhoneStatusParams >(arena);
  32212. }
  32213. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCloudRecordingStatusParams*
  32214. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCloudRecordingStatusParams >(Arena* arena) {
  32215. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCloudRecordingStatusParams >(arena);
  32216. }
  32217. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestResultParams*
  32218. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestResultParams >(Arena* arena) {
  32219. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestResultParams >(arena);
  32220. }
  32221. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestReceivedParams*
  32222. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestReceivedParams >(Arena* arena) {
  32223. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestReceivedParams >(arena);
  32224. }
  32225. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onHostAskUnmuteParams*
  32226. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onHostAskUnmuteParams >(Arena* arena) {
  32227. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onHostAskUnmuteParams >(arena);
  32228. }
  32229. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMultiCameraStreamStatusChangedParams*
  32230. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMultiCameraStreamStatusChangedParams >(Arena* arena) {
  32231. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMultiCameraStreamStatusChangedParams >(arena);
  32232. }
  32233. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMicSpeakerVolumeChangedParams*
  32234. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMicSpeakerVolumeChangedParams >(Arena* arena) {
  32235. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMicSpeakerVolumeChangedParams >(arena);
  32236. }
  32237. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onAudioDeviceStatusChangedParams*
  32238. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onAudioDeviceStatusChangedParams >(Arena* arena) {
  32239. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onAudioDeviceStatusChangedParams >(arena);
  32240. }
  32241. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onTestMicStatusChangedParams*
  32242. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onTestMicStatusChangedParams >(Arena* arena) {
  32243. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onTestMicStatusChangedParams >(arena);
  32244. }
  32245. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onSelectedAudioDeviceChangedParams*
  32246. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onSelectedAudioDeviceChangedParams >(Arena* arena) {
  32247. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onSelectedAudioDeviceChangedParams >(arena);
  32248. }
  32249. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionStatusParams*
  32250. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionStatusParams >(Arena* arena) {
  32251. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionStatusParams >(arena);
  32252. }
  32253. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgReceivedParams*
  32254. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgReceivedParams >(Arena* arena) {
  32255. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgReceivedParams >(arena);
  32256. }
  32257. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgErrorParams*
  32258. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgErrorParams >(Arena* arena) {
  32259. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgErrorParams >(arena);
  32260. }
  32261. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_liveTranscriptionMsgInfoParams*
  32262. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_liveTranscriptionMsgInfoParams >(Arena* arena) {
  32263. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_liveTranscriptionMsgInfoParams >(arena);
  32264. }
  32265. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody*
  32266. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody >(Arena* arena) {
  32267. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody >(arena);
  32268. }
  32269. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CreateVideoSDKObjParam*
  32270. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CreateVideoSDKObjParam >(Arena* arena) {
  32271. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CreateVideoSDKObjParam >(arena);
  32272. }
  32273. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VideoSDKInitParams*
  32274. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VideoSDKInitParams >(Arena* arena) {
  32275. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VideoSDKInitParams >(arena);
  32276. }
  32277. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionContext*
  32278. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionContext >(Arena* arena) {
  32279. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionContext >(arena);
  32280. }
  32281. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LeaveSessionParams*
  32282. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LeaveSessionParams >(Arena* arena) {
  32283. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LeaveSessionParams >(arena);
  32284. }
  32285. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SessionPasswordParams*
  32286. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SessionPasswordParams >(Arena* arena) {
  32287. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SessionPasswordParams >(arena);
  32288. }
  32289. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::MuteAudioParams*
  32290. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::MuteAudioParams >(Arena* arena) {
  32291. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::MuteAudioParams >(arena);
  32292. }
  32293. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::UnMuteAudioParams*
  32294. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::UnMuteAudioParams >(Arena* arena) {
  32295. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::UnMuteAudioParams >(arena);
  32296. }
  32297. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetSpeakerParams*
  32298. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetSpeakerParams >(Arena* arena) {
  32299. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetSpeakerParams >(arena);
  32300. }
  32301. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SelectSpeakerParams*
  32302. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SelectSpeakerParams >(Arena* arena) {
  32303. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SelectSpeakerParams >(arena);
  32304. }
  32305. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SelectMicParams*
  32306. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SelectMicParams >(Arena* arena) {
  32307. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SelectMicParams >(arena);
  32308. }
  32309. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SendChatToUserParams*
  32310. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SendChatToUserParams >(Arena* arena) {
  32311. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SendChatToUserParams >(arena);
  32312. }
  32313. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SendChatToAllParams*
  32314. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SendChatToAllParams >(Arena* arena) {
  32315. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SendChatToAllParams >(arena);
  32316. }
  32317. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::StartLiveStreamParams*
  32318. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::StartLiveStreamParams >(Arena* arena) {
  32319. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::StartLiveStreamParams >(arena);
  32320. }
  32321. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::StartShareViewParams*
  32322. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::StartShareViewParams >(Arena* arena) {
  32323. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::StartShareViewParams >(arena);
  32324. }
  32325. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::StartShareScreenParams*
  32326. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::StartShareScreenParams >(Arena* arena) {
  32327. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::StartShareScreenParams >(arena);
  32328. }
  32329. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LockShareParams*
  32330. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LockShareParams >(Arena* arena) {
  32331. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LockShareParams >(arena);
  32332. }
  32333. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::EnableShareDeviceAudioParams*
  32334. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::EnableShareDeviceAudioParams >(Arena* arena) {
  32335. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::EnableShareDeviceAudioParams >(arena);
  32336. }
  32337. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::EnableOptimizeForSharedVideoParams*
  32338. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::EnableOptimizeForSharedVideoParams >(Arena* arena) {
  32339. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::EnableOptimizeForSharedVideoParams >(arena);
  32340. }
  32341. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::StartShare2ndCameraParams*
  32342. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::StartShare2ndCameraParams >(Arena* arena) {
  32343. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::StartShare2ndCameraParams >(arena);
  32344. }
  32345. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SubscribeMyShareCameraParams*
  32346. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SubscribeMyShareCameraParams >(Arena* arena) {
  32347. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SubscribeMyShareCameraParams >(arena);
  32348. }
  32349. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetRemoteUsersParams*
  32350. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetRemoteUsersParams >(Arena* arena) {
  32351. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetRemoteUsersParams >(arena);
  32352. }
  32353. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetMyInfoParams*
  32354. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetMyInfoParams >(Arena* arena) {
  32355. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetMyInfoParams >(arena);
  32356. }
  32357. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::ChangeNameParams*
  32358. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::ChangeNameParams >(Arena* arena) {
  32359. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::ChangeNameParams >(arena);
  32360. }
  32361. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::MakeHostParams*
  32362. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::MakeHostParams >(Arena* arena) {
  32363. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::MakeHostParams >(arena);
  32364. }
  32365. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::MakeManagerParams*
  32366. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::MakeManagerParams >(Arena* arena) {
  32367. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::MakeManagerParams >(arena);
  32368. }
  32369. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RevokeManagerParams*
  32370. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RevokeManagerParams >(Arena* arena) {
  32371. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RevokeManagerParams >(arena);
  32372. }
  32373. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RemoveUserParams*
  32374. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RemoveUserParams >(Arena* arena) {
  32375. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RemoveUserParams >(arena);
  32376. }
  32377. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RotateMyVideoParams*
  32378. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RotateMyVideoParams >(Arena* arena) {
  32379. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RotateMyVideoParams >(arena);
  32380. }
  32381. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SelectCameraParams*
  32382. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SelectCameraParams >(Arena* arena) {
  32383. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SelectCameraParams >(arena);
  32384. }
  32385. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CreateRenderParams*
  32386. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CreateRenderParams >(Arena* arena) {
  32387. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CreateRenderParams >(arena);
  32388. }
  32389. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::DestroyRendererParams*
  32390. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::DestroyRendererParams >(Arena* arena) {
  32391. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::DestroyRendererParams >(arena);
  32392. }
  32393. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SubscribeParams*
  32394. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SubscribeParams >(Arena* arena) {
  32395. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SubscribeParams >(arena);
  32396. }
  32397. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::UnSubscribeParams*
  32398. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::UnSubscribeParams >(Arena* arena) {
  32399. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::UnSubscribeParams >(arena);
  32400. }
  32401. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SubscribeToSharedComputerAudioParams*
  32402. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SubscribeToSharedComputerAudioParams >(Arena* arena) {
  32403. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SubscribeToSharedComputerAudioParams >(arena);
  32404. }
  32405. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::UnsubscribeToSharedComputerAudioParams*
  32406. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::UnsubscribeToSharedComputerAudioParams >(Arena* arena) {
  32407. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::UnsubscribeToSharedComputerAudioParams >(arena);
  32408. }
  32409. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SubscribeMultiCameraStreamParams*
  32410. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SubscribeMultiCameraStreamParams >(Arena* arena) {
  32411. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SubscribeMultiCameraStreamParams >(arena);
  32412. }
  32413. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::UnSubscribeMultiCameraStreamParams*
  32414. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::UnSubscribeMultiCameraStreamParams >(Arena* arena) {
  32415. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::UnSubscribeMultiCameraStreamParams >(arena);
  32416. }
  32417. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetRawDataResolutionParams*
  32418. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetRawDataResolutionParams >(Arena* arena) {
  32419. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetRawDataResolutionParams >(arena);
  32420. }
  32421. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetResolutionParams*
  32422. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetResolutionParams >(Arena* arena) {
  32423. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetResolutionParams >(arena);
  32424. }
  32425. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetRawDataTypeParams*
  32426. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetRawDataTypeParams >(Arena* arena) {
  32427. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetRawDataTypeParams >(arena);
  32428. }
  32429. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::sendVideoFrameParams*
  32430. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::sendVideoFrameParams >(Arena* arena) {
  32431. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::sendVideoFrameParams >(arena);
  32432. }
  32433. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CameraInfos*
  32434. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CameraInfos >(Arena* arena) {
  32435. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CameraInfos >(arena);
  32436. }
  32437. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetCameraList*
  32438. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetCameraList >(Arena* arena) {
  32439. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetCameraList >(arena);
  32440. }
  32441. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::MultiCameraStreamInfos*
  32442. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::MultiCameraStreamInfos >(Arena* arena) {
  32443. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::MultiCameraStreamInfos >(arena);
  32444. }
  32445. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::MultiCameraStreamList*
  32446. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::MultiCameraStreamList >(Arena* arena) {
  32447. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::MultiCameraStreamList >(arena);
  32448. }
  32449. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetMultiCameraStreamList*
  32450. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetMultiCameraStreamList >(Arena* arena) {
  32451. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetMultiCameraStreamList >(arena);
  32452. }
  32453. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::MicInfos*
  32454. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::MicInfos >(Arena* arena) {
  32455. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::MicInfos >(arena);
  32456. }
  32457. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetMicList*
  32458. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetMicList >(Arena* arena) {
  32459. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetMicList >(arena);
  32460. }
  32461. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SpeakerInfos*
  32462. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SpeakerInfos >(Arena* arena) {
  32463. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SpeakerInfos >(arena);
  32464. }
  32465. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetSpeakerList*
  32466. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetSpeakerList >(Arena* arena) {
  32467. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetSpeakerList >(arena);
  32468. }
  32469. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SendCommandParams*
  32470. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SendCommandParams >(Arena* arena) {
  32471. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SendCommandParams >(arena);
  32472. }
  32473. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::PhoneSupportCountryInfos*
  32474. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::PhoneSupportCountryInfos >(Arena* arena) {
  32475. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::PhoneSupportCountryInfos >(arena);
  32476. }
  32477. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetPhoneSupportCountryList*
  32478. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetPhoneSupportCountryList >(Arena* arena) {
  32479. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetPhoneSupportCountryList >(arena);
  32480. }
  32481. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::InviteByPhoneParams*
  32482. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::InviteByPhoneParams >(Arena* arena) {
  32483. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::InviteByPhoneParams >(arena);
  32484. }
  32485. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnLeftParams*
  32486. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnLeftParams >(Arena* arena) {
  32487. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnLeftParams >(arena);
  32488. }
  32489. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnRightParams*
  32490. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnRightParams >(Arena* arena) {
  32491. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnRightParams >(arena);
  32492. }
  32493. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnUpParams*
  32494. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnUpParams >(Arena* arena) {
  32495. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnUpParams >(arena);
  32496. }
  32497. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnDownParams*
  32498. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnDownParams >(Arena* arena) {
  32499. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnDownParams >(arena);
  32500. }
  32501. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlZoomInParams*
  32502. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlZoomInParams >(Arena* arena) {
  32503. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlZoomInParams >(arena);
  32504. }
  32505. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlZoomOutParams*
  32506. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlZoomOutParams >(Arena* arena) {
  32507. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlZoomOutParams >(arena);
  32508. }
  32509. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RequestControlRemoteCameraParams*
  32510. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RequestControlRemoteCameraParams >(Arena* arena) {
  32511. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RequestControlRemoteCameraParams >(arena);
  32512. }
  32513. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GiveUpControlRemoteCameraParams*
  32514. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GiveUpControlRemoteCameraParams >(Arena* arena) {
  32515. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GiveUpControlRemoteCameraParams >(arena);
  32516. }
  32517. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnLeftParams*
  32518. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnLeftParams >(Arena* arena) {
  32519. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnLeftParams >(arena);
  32520. }
  32521. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnRightParams*
  32522. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnRightParams >(Arena* arena) {
  32523. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnRightParams >(arena);
  32524. }
  32525. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnUpParams*
  32526. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnUpParams >(Arena* arena) {
  32527. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnUpParams >(arena);
  32528. }
  32529. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnDownParams*
  32530. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnDownParams >(Arena* arena) {
  32531. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnDownParams >(arena);
  32532. }
  32533. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlZoomInParams*
  32534. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlZoomInParams >(Arena* arena) {
  32535. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlZoomInParams >(arena);
  32536. }
  32537. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlZoomOutParams*
  32538. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlZoomOutParams >(Arena* arena) {
  32539. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlZoomOutParams >(arena);
  32540. }
  32541. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetVideoQualityPreferenceParams*
  32542. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetVideoQualityPreferenceParams >(Arena* arena) {
  32543. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetVideoQualityPreferenceParams >(arena);
  32544. }
  32545. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetSuppressBackgroundNoiseLevelParams*
  32546. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetSuppressBackgroundNoiseLevelParams >(Arena* arena) {
  32547. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetSuppressBackgroundNoiseLevelParams >(arena);
  32548. }
  32549. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetEchoCancellationLevelParams*
  32550. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetEchoCancellationLevelParams >(Arena* arena) {
  32551. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetEchoCancellationLevelParams >(arena);
  32552. }
  32553. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::EnableMicOriginalInputParams*
  32554. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::EnableMicOriginalInputParams >(Arena* arena) {
  32555. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::EnableMicOriginalInputParams >(arena);
  32556. }
  32557. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::EnableHighFidelityMusicModeParams*
  32558. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::EnableHighFidelityMusicModeParams >(Arena* arena) {
  32559. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::EnableHighFidelityMusicModeParams >(arena);
  32560. }
  32561. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::EnableEchoCancellationParams*
  32562. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::EnableEchoCancellationParams >(Arena* arena) {
  32563. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::EnableEchoCancellationParams >(arena);
  32564. }
  32565. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::EnableStereoAudioParams*
  32566. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::EnableStereoAudioParams >(Arena* arena) {
  32567. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::EnableStereoAudioParams >(arena);
  32568. }
  32569. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::StartMicTestRecordingParams*
  32570. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::StartMicTestRecordingParams >(Arena* arena) {
  32571. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::StartMicTestRecordingParams >(arena);
  32572. }
  32573. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::StartSpeakerTestParams*
  32574. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::StartSpeakerTestParams >(Arena* arena) {
  32575. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::StartSpeakerTestParams >(arena);
  32576. }
  32577. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetTimerIntervalParams*
  32578. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetTimerIntervalParams >(Arena* arena) {
  32579. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetTimerIntervalParams >(arena);
  32580. }
  32581. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::EnableMultiStreamVideoParams*
  32582. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::EnableMultiStreamVideoParams >(Arena* arena) {
  32583. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::EnableMultiStreamVideoParams >(arena);
  32584. }
  32585. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::DisableMultiStreamVideoParams*
  32586. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::DisableMultiStreamVideoParams >(Arena* arena) {
  32587. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::DisableMultiStreamVideoParams >(arena);
  32588. }
  32589. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::StartVideoPreviewParams*
  32590. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::StartVideoPreviewParams >(Arena* arena) {
  32591. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::StartVideoPreviewParams >(arena);
  32592. }
  32593. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::StopVideoPreviewParams*
  32594. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::StopVideoPreviewParams >(Arena* arena) {
  32595. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::StopVideoPreviewParams >(arena);
  32596. }
  32597. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetSpokenLanguageParams*
  32598. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetSpokenLanguageParams >(Arena* arena) {
  32599. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetSpokenLanguageParams >(arena);
  32600. }
  32601. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LTTLanguagesList*
  32602. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LTTLanguagesList >(Arena* arena) {
  32603. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LTTLanguagesList >(arena);
  32604. }
  32605. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetTranslationLanguageParams*
  32606. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetTranslationLanguageParams >(Arena* arena) {
  32607. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetTranslationLanguageParams >(arena);
  32608. }
  32609. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CanChatMessageBeDeletedParams*
  32610. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CanChatMessageBeDeletedParams >(Arena* arena) {
  32611. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CanChatMessageBeDeletedParams >(arena);
  32612. }
  32613. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::DeleteChatMessageParams*
  32614. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::DeleteChatMessageParams >(Arena* arena) {
  32615. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::DeleteChatMessageParams >(arena);
  32616. }
  32617. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VBItemInfo*
  32618. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VBItemInfo >(Arena* arena) {
  32619. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VBItemInfo >(arena);
  32620. }
  32621. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VBItemHandleList*
  32622. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VBItemHandleList >(Arena* arena) {
  32623. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VBItemHandleList >(arena);
  32624. }
  32625. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::AddVirtualBackgroundItemParams*
  32626. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::AddVirtualBackgroundItemParams >(Arena* arena) {
  32627. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::AddVirtualBackgroundItemParams >(arena);
  32628. }
  32629. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RemoveVirtualBackgroundItemParams*
  32630. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RemoveVirtualBackgroundItemParams >(Arena* arena) {
  32631. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RemoveVirtualBackgroundItemParams >(arena);
  32632. }
  32633. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetVirtualBackgroundItemParams*
  32634. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetVirtualBackgroundItemParams >(Arena* arena) {
  32635. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetVirtualBackgroundItemParams >(arena);
  32636. }
  32637. template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetVirtualBackgroundItemInfoParams*
  32638. Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetVirtualBackgroundItemInfoParams >(Arena* arena) {
  32639. return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetVirtualBackgroundItemInfoParams >(arena);
  32640. }
  32641. PROTOBUF_NAMESPACE_CLOSE
  32642. // @@protoc_insertion_point(global_scope)
  32643. #include "google/protobuf/port_undef.inc"