| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: electron_zoomvideosdk.proto
- #include "electron_zoomvideosdk.pb.h"
- #include <algorithm>
- #include "google/protobuf/io/coded_stream.h"
- #include "google/protobuf/extension_set.h"
- #include "google/protobuf/wire_format_lite.h"
- #include "google/protobuf/io/zero_copy_stream_impl_lite.h"
- // @@protoc_insertion_point(includes)
- // Must be included last.
- #include "google/protobuf/port_def.inc"
- PROTOBUF_PRAGMA_INIT_SEG
- namespace _pb = ::PROTOBUF_NAMESPACE_ID;
- namespace _pbi = ::PROTOBUF_NAMESPACE_ID::internal;
- namespace com {
- namespace electron {
- namespace zoomvideo {
- namespace sdk {
- namespace proto {
- PROTOBUF_CONSTEXPR VideoSDKUser::VideoSDKUser(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.custom_identity_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.username_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.userid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.p_user_)*/ ::int64_t{0}
- , /*decltype(_impl_.audiotype_)*/ 0
- , /*decltype(_impl_.ishasvideodevice_)*/ false
- , /*decltype(_impl_.isvideoon_)*/ false
- , /*decltype(_impl_.isaudiomuted_)*/ false
- , /*decltype(_impl_.isaudiotalking_)*/ false
- , /*decltype(_impl_.sharestatus_)*/ 0
- , /*decltype(_impl_.ishost_)*/ false
- , /*decltype(_impl_.ismanager_)*/ false
- , /*decltype(_impl_.videostatisticinfo_width_)*/ 0
- , /*decltype(_impl_.videostatisticinfo_height_)*/ 0
- , /*decltype(_impl_.videostatisticinfo_fps_)*/ 0
- , /*decltype(_impl_.videostatisticinfo_bpf_)*/ 0
- , /*decltype(_impl_.sharestatisticinfo_width_)*/ 0
- , /*decltype(_impl_.sharestatisticinfo_height_)*/ 0
- , /*decltype(_impl_.sharestatisticinfo_fps_)*/ 0
- , /*decltype(_impl_.sharestatisticinfo_bpf_)*/ 0
- } {}
- struct VideoSDKUserDefaultTypeInternal {
- PROTOBUF_CONSTEXPR VideoSDKUserDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~VideoSDKUserDefaultTypeInternal() {}
- union {
- VideoSDKUser _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoSDKUserDefaultTypeInternal _VideoSDKUser_default_instance_;
- PROTOBUF_CONSTEXPR UserList::UserList(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.user_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
- struct UserListDefaultTypeInternal {
- PROTOBUF_CONSTEXPR UserListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~UserListDefaultTypeInternal() {}
- union {
- UserList _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UserListDefaultTypeInternal _UserList_default_instance_;
- PROTOBUF_CONSTEXPR VideoSDKSessionAudioStatisticInfo::VideoSDKSessionAudioStatisticInfo(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.frequency_)*/ ::int64_t{0}
- , /*decltype(_impl_.latency_)*/ ::int64_t{0}
- , /*decltype(_impl_.jitter_)*/ ::int64_t{0}
- , /*decltype(_impl_.packetlossavg_)*/ 0
- , /*decltype(_impl_.packetlossmax_)*/ 0
- } {}
- struct VideoSDKSessionAudioStatisticInfoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR VideoSDKSessionAudioStatisticInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~VideoSDKSessionAudioStatisticInfoDefaultTypeInternal() {}
- union {
- VideoSDKSessionAudioStatisticInfo _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoSDKSessionAudioStatisticInfoDefaultTypeInternal _VideoSDKSessionAudioStatisticInfo_default_instance_;
- PROTOBUF_CONSTEXPR VideoSDKSessionAudioStatisticInfoList::VideoSDKSessionAudioStatisticInfoList(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.audiostatisticinfo_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
- struct VideoSDKSessionAudioStatisticInfoListDefaultTypeInternal {
- PROTOBUF_CONSTEXPR VideoSDKSessionAudioStatisticInfoListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~VideoSDKSessionAudioStatisticInfoListDefaultTypeInternal() {}
- union {
- VideoSDKSessionAudioStatisticInfoList _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoSDKSessionAudioStatisticInfoListDefaultTypeInternal _VideoSDKSessionAudioStatisticInfoList_default_instance_;
- PROTOBUF_CONSTEXPR VideoSDKSessionASVStatisticInfo::VideoSDKSessionASVStatisticInfo(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.frame_width_)*/ ::int64_t{0}
- , /*decltype(_impl_.frame_height_)*/ ::int64_t{0}
- , /*decltype(_impl_.fps_)*/ ::int64_t{0}
- , /*decltype(_impl_.latency_)*/ ::int64_t{0}
- , /*decltype(_impl_.jitter_)*/ ::int64_t{0}
- , /*decltype(_impl_.packetlossavg_)*/ 0
- , /*decltype(_impl_.packetlossmax_)*/ 0
- } {}
- struct VideoSDKSessionASVStatisticInfoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR VideoSDKSessionASVStatisticInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~VideoSDKSessionASVStatisticInfoDefaultTypeInternal() {}
- union {
- VideoSDKSessionASVStatisticInfo _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoSDKSessionASVStatisticInfoDefaultTypeInternal _VideoSDKSessionASVStatisticInfo_default_instance_;
- PROTOBUF_CONSTEXPR VideoSDKSessionASVStatisticInfoList::VideoSDKSessionASVStatisticInfoList(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.asvstatisticinfo_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
- struct VideoSDKSessionASVStatisticInfoListDefaultTypeInternal {
- PROTOBUF_CONSTEXPR VideoSDKSessionASVStatisticInfoListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~VideoSDKSessionASVStatisticInfoListDefaultTypeInternal() {}
- union {
- VideoSDKSessionASVStatisticInfoList _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoSDKSessionASVStatisticInfoListDefaultTypeInternal _VideoSDKSessionASVStatisticInfoList_default_instance_;
- PROTOBUF_CONSTEXPR SDKVideoCapability::SDKVideoCapability(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.iseffective_)*/ false
- , /*decltype(_impl_.width_)*/ 0
- , /*decltype(_impl_.height_)*/ 0
- , /*decltype(_impl_.frame_)*/ 0
- } {}
- struct SDKVideoCapabilityDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SDKVideoCapabilityDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SDKVideoCapabilityDefaultTypeInternal() {}
- union {
- SDKVideoCapability _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SDKVideoCapabilityDefaultTypeInternal _SDKVideoCapability_default_instance_;
- PROTOBUF_CONSTEXPR SDKVideoCapabilityList::SDKVideoCapabilityList(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.videocapability_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
- struct SDKVideoCapabilityListDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SDKVideoCapabilityListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SDKVideoCapabilityListDefaultTypeInternal() {}
- union {
- SDKVideoCapabilityList _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SDKVideoCapabilityListDefaultTypeInternal _SDKVideoCapabilityList_default_instance_;
- PROTOBUF_CONSTEXPR LTTLanguage::LTTLanguage(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.lttlanguagename_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.lttlanguageid_)*/ 0
- } {}
- struct LTTLanguageDefaultTypeInternal {
- PROTOBUF_CONSTEXPR LTTLanguageDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~LTTLanguageDefaultTypeInternal() {}
- union {
- LTTLanguage _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LTTLanguageDefaultTypeInternal _LTTLanguage_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onErrorParams::CallbackBody_onErrorParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.errorcode_)*/ 0
- , /*decltype(_impl_.detailerrorcode_)*/ 0
- } {}
- struct CallbackBody_onErrorParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onErrorParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onErrorParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onErrorParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onErrorParamsDefaultTypeInternal _CallbackBody_onErrorParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onUserJoinParams::CallbackBody_onUserJoinParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_userlist_)*/nullptr} {}
- struct CallbackBody_onUserJoinParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onUserJoinParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onUserJoinParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onUserJoinParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserJoinParamsDefaultTypeInternal _CallbackBody_onUserJoinParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onUserLeaveParams::CallbackBody_onUserLeaveParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_userlist_)*/nullptr} {}
- struct CallbackBody_onUserLeaveParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onUserLeaveParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onUserLeaveParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onUserLeaveParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserLeaveParamsDefaultTypeInternal _CallbackBody_onUserLeaveParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onUserVideoStatusChangedParams::CallbackBody_onUserVideoStatusChangedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_userlist_)*/nullptr} {}
- struct CallbackBody_onUserVideoStatusChangedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onUserVideoStatusChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onUserVideoStatusChangedParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onUserVideoStatusChangedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserVideoStatusChangedParamsDefaultTypeInternal _CallbackBody_onUserVideoStatusChangedParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onUserAudioStatusChangedParams::CallbackBody_onUserAudioStatusChangedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_userlist_)*/nullptr} {}
- struct CallbackBody_onUserAudioStatusChangedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onUserAudioStatusChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onUserAudioStatusChangedParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onUserAudioStatusChangedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserAudioStatusChangedParamsDefaultTypeInternal _CallbackBody_onUserAudioStatusChangedParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onUserShareStatusChangedParams::CallbackBody_onUserShareStatusChangedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr
- , /*decltype(_impl_.status_)*/ 0
- , /*decltype(_impl_.type_)*/ 0
- } {}
- struct CallbackBody_onUserShareStatusChangedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onUserShareStatusChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onUserShareStatusChangedParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onUserShareStatusChangedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserShareStatusChangedParamsDefaultTypeInternal _CallbackBody_onUserShareStatusChangedParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onLiveStreamStatusChangedParams::CallbackBody_onLiveStreamStatusChangedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.status_)*/ 0
- } {}
- struct CallbackBody_onLiveStreamStatusChangedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onLiveStreamStatusChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onLiveStreamStatusChangedParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onLiveStreamStatusChangedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onLiveStreamStatusChangedParamsDefaultTypeInternal _CallbackBody_onLiveStreamStatusChangedParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onUserHostChangedParams::CallbackBody_onUserHostChangedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr} {}
- struct CallbackBody_onUserHostChangedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onUserHostChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onUserHostChangedParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onUserHostChangedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserHostChangedParamsDefaultTypeInternal _CallbackBody_onUserHostChangedParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onUserNameChangedParams::CallbackBody_onUserNameChangedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr} {}
- struct CallbackBody_onUserNameChangedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onUserNameChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onUserNameChangedParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onUserNameChangedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserNameChangedParamsDefaultTypeInternal _CallbackBody_onUserNameChangedParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onUserManagerChangedParams::CallbackBody_onUserManagerChangedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr} {}
- struct CallbackBody_onUserManagerChangedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onUserManagerChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onUserManagerChangedParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onUserManagerChangedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserManagerChangedParamsDefaultTypeInternal _CallbackBody_onUserManagerChangedParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onUserActiveAudioChangedParams::CallbackBody_onUserActiveAudioChangedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_userlist_)*/nullptr} {}
- struct CallbackBody_onUserActiveAudioChangedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onUserActiveAudioChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onUserActiveAudioChangedParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onUserActiveAudioChangedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onUserActiveAudioChangedParamsDefaultTypeInternal _CallbackBody_onUserActiveAudioChangedParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onChatNewMessageNotifyParams::CallbackBody_onChatNewMessageNotifyParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.sendername_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.receivername_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.messagecontent_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.messageid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.psender_)*/ ::int64_t{0}
- , /*decltype(_impl_.preceiver_)*/ ::int64_t{0}
- , /*decltype(_impl_.timestamp_)*/ ::int64_t{0}
- , /*decltype(_impl_.ischattoall_)*/ false
- , /*decltype(_impl_.isselfsend_)*/ false
- } {}
- struct CallbackBody_onChatNewMessageNotifyParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onChatNewMessageNotifyParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onChatNewMessageNotifyParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onChatNewMessageNotifyParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onChatNewMessageNotifyParamsDefaultTypeInternal _CallbackBody_onChatNewMessageNotifyParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onChatMsgDeleteNotificationParams::CallbackBody_onChatMsgDeleteNotificationParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.messageid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.deleteby_)*/ 0
- } {}
- struct CallbackBody_onChatMsgDeleteNotificationParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onChatMsgDeleteNotificationParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onChatMsgDeleteNotificationParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onChatMsgDeleteNotificationParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onChatMsgDeleteNotificationParamsDefaultTypeInternal _CallbackBody_onChatMsgDeleteNotificationParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onVideoSourceInitializeParams::CallbackBody_onVideoSourceInitializeParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.videocapabilitylist_)*/nullptr} {}
- struct CallbackBody_onVideoSourceInitializeParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onVideoSourceInitializeParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onVideoSourceInitializeParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onVideoSourceInitializeParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onVideoSourceInitializeParamsDefaultTypeInternal _CallbackBody_onVideoSourceInitializeParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onPropertyChangeParams::CallbackBody_onPropertyChangeParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.videocapability_)*/nullptr} {}
- struct CallbackBody_onPropertyChangeParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onPropertyChangeParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onPropertyChangeParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onPropertyChangeParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onPropertyChangeParamsDefaultTypeInternal _CallbackBody_onPropertyChangeParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onRawDataStatusChangedParams::CallbackBody_onRawDataStatusChangedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.recv_handle_)*/ ::int64_t{0}
- , /*decltype(_impl_.status_)*/ 0
- } {}
- struct CallbackBody_onRawDataStatusChangedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onRawDataStatusChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onRawDataStatusChangedParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onRawDataStatusChangedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onRawDataStatusChangedParamsDefaultTypeInternal _CallbackBody_onRawDataStatusChangedParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onCommandReceivedParams::CallbackBody_onCommandReceivedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.strcmd_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.psender_)*/nullptr} {}
- struct CallbackBody_onCommandReceivedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onCommandReceivedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onCommandReceivedParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onCommandReceivedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onCommandReceivedParamsDefaultTypeInternal _CallbackBody_onCommandReceivedParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onCommandChannelConnectResultParams::CallbackBody_onCommandChannelConnectResultParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.issuccess_)*/ false
- } {}
- struct CallbackBody_onCommandChannelConnectResultParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onCommandChannelConnectResultParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onCommandChannelConnectResultParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onCommandChannelConnectResultParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onCommandChannelConnectResultParamsDefaultTypeInternal _CallbackBody_onCommandChannelConnectResultParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onInviteByPhoneStatusParams::CallbackBody_onInviteByPhoneStatusParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.status_)*/ 0
- , /*decltype(_impl_.reason_)*/ 0
- } {}
- struct CallbackBody_onInviteByPhoneStatusParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onInviteByPhoneStatusParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onInviteByPhoneStatusParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onInviteByPhoneStatusParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onInviteByPhoneStatusParamsDefaultTypeInternal _CallbackBody_onInviteByPhoneStatusParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onCloudRecordingStatusParams::CallbackBody_onCloudRecordingStatusParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.status_)*/ 0
- } {}
- struct CallbackBody_onCloudRecordingStatusParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onCloudRecordingStatusParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onCloudRecordingStatusParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onCloudRecordingStatusParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onCloudRecordingStatusParamsDefaultTypeInternal _CallbackBody_onCloudRecordingStatusParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onCameraControlRequestResultParams::CallbackBody_onCameraControlRequestResultParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.puser_)*/nullptr
- , /*decltype(_impl_.isapproved_)*/ false
- } {}
- struct CallbackBody_onCameraControlRequestResultParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onCameraControlRequestResultParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onCameraControlRequestResultParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onCameraControlRequestResultParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onCameraControlRequestResultParamsDefaultTypeInternal _CallbackBody_onCameraControlRequestResultParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onCameraControlRequestReceivedParams::CallbackBody_onCameraControlRequestReceivedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.puser_)*/nullptr
- , /*decltype(_impl_.requesttype_)*/ 0
- } {}
- struct CallbackBody_onCameraControlRequestReceivedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onCameraControlRequestReceivedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onCameraControlRequestReceivedParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onCameraControlRequestReceivedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onCameraControlRequestReceivedParamsDefaultTypeInternal _CallbackBody_onCameraControlRequestReceivedParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onHostAskUnmuteParams::CallbackBody_onHostAskUnmuteParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._cached_size_)*/{}} {}
- struct CallbackBody_onHostAskUnmuteParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onHostAskUnmuteParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onHostAskUnmuteParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onHostAskUnmuteParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onHostAskUnmuteParamsDefaultTypeInternal _CallbackBody_onHostAskUnmuteParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onMultiCameraStreamStatusChangedParams::CallbackBody_onMultiCameraStreamStatusChangedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr
- , /*decltype(_impl_.camerastreamid_)*/ ::int64_t{0}
- , /*decltype(_impl_.status_)*/ 0
- } {}
- struct CallbackBody_onMultiCameraStreamStatusChangedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onMultiCameraStreamStatusChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onMultiCameraStreamStatusChangedParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onMultiCameraStreamStatusChangedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onMultiCameraStreamStatusChangedParamsDefaultTypeInternal _CallbackBody_onMultiCameraStreamStatusChangedParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onMicSpeakerVolumeChangedParams::CallbackBody_onMicSpeakerVolumeChangedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.micvolume_)*/ 0u
- , /*decltype(_impl_.speakervolume_)*/ 0u
- } {}
- struct CallbackBody_onMicSpeakerVolumeChangedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onMicSpeakerVolumeChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onMicSpeakerVolumeChangedParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onMicSpeakerVolumeChangedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onMicSpeakerVolumeChangedParamsDefaultTypeInternal _CallbackBody_onMicSpeakerVolumeChangedParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onAudioDeviceStatusChangedParams::CallbackBody_onAudioDeviceStatusChangedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.type_)*/ 0
- , /*decltype(_impl_.status_)*/ 0
- } {}
- struct CallbackBody_onAudioDeviceStatusChangedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onAudioDeviceStatusChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onAudioDeviceStatusChangedParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onAudioDeviceStatusChangedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onAudioDeviceStatusChangedParamsDefaultTypeInternal _CallbackBody_onAudioDeviceStatusChangedParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onTestMicStatusChangedParams::CallbackBody_onTestMicStatusChangedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.status_)*/ 0
- } {}
- struct CallbackBody_onTestMicStatusChangedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onTestMicStatusChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onTestMicStatusChangedParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onTestMicStatusChangedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onTestMicStatusChangedParamsDefaultTypeInternal _CallbackBody_onTestMicStatusChangedParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onSelectedAudioDeviceChangedParams::CallbackBody_onSelectedAudioDeviceChangedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._cached_size_)*/{}} {}
- struct CallbackBody_onSelectedAudioDeviceChangedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onSelectedAudioDeviceChangedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onSelectedAudioDeviceChangedParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onSelectedAudioDeviceChangedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onSelectedAudioDeviceChangedParamsDefaultTypeInternal _CallbackBody_onSelectedAudioDeviceChangedParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onLiveTranscriptionStatusParams::CallbackBody_onLiveTranscriptionStatusParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.status_)*/ 0
- } {}
- struct CallbackBody_onLiveTranscriptionStatusParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onLiveTranscriptionStatusParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onLiveTranscriptionStatusParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onLiveTranscriptionStatusParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onLiveTranscriptionStatusParamsDefaultTypeInternal _CallbackBody_onLiveTranscriptionStatusParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onLiveTranscriptionMsgReceivedParams::CallbackBody_onLiveTranscriptionMsgReceivedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.ltmsg_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.user_)*/nullptr
- , /*decltype(_impl_.type_)*/ 0
- } {}
- struct CallbackBody_onLiveTranscriptionMsgReceivedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onLiveTranscriptionMsgReceivedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onLiveTranscriptionMsgReceivedParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onLiveTranscriptionMsgReceivedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onLiveTranscriptionMsgReceivedParamsDefaultTypeInternal _CallbackBody_onLiveTranscriptionMsgReceivedParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_onLiveTranscriptionMsgErrorParams::CallbackBody_onLiveTranscriptionMsgErrorParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.spokenlanguage_)*/nullptr
- , /*decltype(_impl_.transcriptlanguage_)*/nullptr} {}
- struct CallbackBody_onLiveTranscriptionMsgErrorParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_onLiveTranscriptionMsgErrorParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_onLiveTranscriptionMsgErrorParamsDefaultTypeInternal() {}
- union {
- CallbackBody_onLiveTranscriptionMsgErrorParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_onLiveTranscriptionMsgErrorParamsDefaultTypeInternal _CallbackBody_onLiveTranscriptionMsgErrorParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody_liveTranscriptionMsgInfoParams::CallbackBody_liveTranscriptionMsgInfoParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.messageid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.messagecontent_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.speakername_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.speakerid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.timestamp_)*/ ::int64_t{0}
- , /*decltype(_impl_.messagetype_)*/ 0
- } {}
- struct CallbackBody_liveTranscriptionMsgInfoParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBody_liveTranscriptionMsgInfoParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBody_liveTranscriptionMsgInfoParamsDefaultTypeInternal() {}
- union {
- CallbackBody_liveTranscriptionMsgInfoParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBody_liveTranscriptionMsgInfoParamsDefaultTypeInternal _CallbackBody_liveTranscriptionMsgInfoParams_default_instance_;
- PROTOBUF_CONSTEXPR CallbackBody::CallbackBody(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.onerrorparam_)*/nullptr
- , /*decltype(_impl_.onuserjoinparam_)*/nullptr
- , /*decltype(_impl_.onuserleaveparam_)*/nullptr
- , /*decltype(_impl_.onuservideostatuschangedparam_)*/nullptr
- , /*decltype(_impl_.onuseraudiostatuschangedparam_)*/nullptr
- , /*decltype(_impl_.onusersharestatuschangedparam_)*/nullptr
- , /*decltype(_impl_.onlivestreamstatuschangedparam_)*/nullptr
- , /*decltype(_impl_.onuserhostchangedparam_)*/nullptr
- , /*decltype(_impl_.onuseractiveaudiochangedparam_)*/nullptr
- , /*decltype(_impl_.onchatnewmessagenotifyparam_)*/nullptr
- , /*decltype(_impl_.onvideosourceinitializeparam_)*/nullptr
- , /*decltype(_impl_.onpropertychangeparam_)*/nullptr
- , /*decltype(_impl_.onrawdatastatuschangedparam_)*/nullptr
- , /*decltype(_impl_.onusermanagerchangedparam_)*/nullptr
- , /*decltype(_impl_.onusernamechangedparam_)*/nullptr
- , /*decltype(_impl_.oncommandreceivedparam_)*/nullptr
- , /*decltype(_impl_.oncloudrecordingstatusparam_)*/nullptr
- , /*decltype(_impl_.oncameracontrolrequestresultparam_)*/nullptr
- , /*decltype(_impl_.oncameracontrolrequestreceivedparam_)*/nullptr
- , /*decltype(_impl_.oncommandchannelconnectresultparam_)*/nullptr
- , /*decltype(_impl_.onhostaskunmuteparam_)*/nullptr
- , /*decltype(_impl_.oninvitebyphonestatusparam_)*/nullptr
- , /*decltype(_impl_.onmulticamerastreamstatuschangedparam_)*/nullptr
- , /*decltype(_impl_.onmicspeakervolumechangedparam_)*/nullptr
- , /*decltype(_impl_.onaudiodevicestatuschangedparam_)*/nullptr
- , /*decltype(_impl_.ontestmicstatuschangedparam_)*/nullptr
- , /*decltype(_impl_.onselectedaudiodevicechangedparam_)*/nullptr
- , /*decltype(_impl_.onlivetranscriptionstatusparam_)*/nullptr
- , /*decltype(_impl_.onlivetranscriptionmsgreceivedparam_)*/nullptr
- , /*decltype(_impl_.onlivetranscriptionmsgerrorparam_)*/nullptr
- , /*decltype(_impl_.onchatmsgdeletenotificationparam_)*/nullptr
- , /*decltype(_impl_.livetranscriptionmsginfoparam_)*/nullptr
- , /*decltype(_impl_.msgtype_)*/ 0
- } {}
- struct CallbackBodyDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CallbackBodyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CallbackBodyDefaultTypeInternal() {}
- union {
- CallbackBody _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackBodyDefaultTypeInternal _CallbackBody_default_instance_;
- PROTOBUF_CONSTEXPR CreateVideoSDKObjParam::CreateVideoSDKObjParam(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.path_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- } {}
- struct CreateVideoSDKObjParamDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CreateVideoSDKObjParamDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CreateVideoSDKObjParamDefaultTypeInternal() {}
- union {
- CreateVideoSDKObjParam _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateVideoSDKObjParamDefaultTypeInternal _CreateVideoSDKObjParam_default_instance_;
- PROTOBUF_CONSTEXPR VideoSDKInitParams::VideoSDKInitParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.domain_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.logfileprefix_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.speakertestfilepath_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.enablelog_)*/ false
- , /*decltype(_impl_.audiorawdatamemorymode_)*/ 0
- , /*decltype(_impl_.zn_videorawdatamemorymode_)*/ 0
- , /*decltype(_impl_.zn_sharerawdatamemorymode_)*/ 0
- } {}
- struct VideoSDKInitParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR VideoSDKInitParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~VideoSDKInitParamsDefaultTypeInternal() {}
- union {
- VideoSDKInitParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoSDKInitParamsDefaultTypeInternal _VideoSDKInitParams_default_instance_;
- PROTOBUF_CONSTEXPR VideoSDKSessionContext::VideoSDKSessionContext(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.sessionname_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.sessionpassword_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.token_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.username_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.localvideoon_)*/ false
- , /*decltype(_impl_.connect_)*/ false
- , /*decltype(_impl_.mute_)*/ false
- , /*decltype(_impl_.preprocessor_)*/ false
- , /*decltype(_impl_.externalvideosource_)*/ false
- , /*decltype(_impl_.sessionidletimeoutmins_)*/ 0u
- } {}
- struct VideoSDKSessionContextDefaultTypeInternal {
- PROTOBUF_CONSTEXPR VideoSDKSessionContextDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~VideoSDKSessionContextDefaultTypeInternal() {}
- union {
- VideoSDKSessionContext _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoSDKSessionContextDefaultTypeInternal _VideoSDKSessionContext_default_instance_;
- PROTOBUF_CONSTEXPR LeaveSessionParams::LeaveSessionParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_bend_)*/ false
- } {}
- struct LeaveSessionParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR LeaveSessionParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~LeaveSessionParamsDefaultTypeInternal() {}
- union {
- LeaveSessionParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LeaveSessionParamsDefaultTypeInternal _LeaveSessionParams_default_instance_;
- PROTOBUF_CONSTEXPR SessionPasswordParams::SessionPasswordParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_password_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- } {}
- struct SessionPasswordParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SessionPasswordParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SessionPasswordParamsDefaultTypeInternal() {}
- union {
- SessionPasswordParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SessionPasswordParamsDefaultTypeInternal _SessionPasswordParams_default_instance_;
- PROTOBUF_CONSTEXPR MuteAudioParams::MuteAudioParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr} {}
- struct MuteAudioParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR MuteAudioParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~MuteAudioParamsDefaultTypeInternal() {}
- union {
- MuteAudioParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MuteAudioParamsDefaultTypeInternal _MuteAudioParams_default_instance_;
- PROTOBUF_CONSTEXPR UnMuteAudioParams::UnMuteAudioParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr} {}
- struct UnMuteAudioParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR UnMuteAudioParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~UnMuteAudioParamsDefaultTypeInternal() {}
- union {
- UnMuteAudioParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnMuteAudioParamsDefaultTypeInternal _UnMuteAudioParams_default_instance_;
- PROTOBUF_CONSTEXPR SetSpeakerParams::SetSpeakerParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_speaker_)*/ false
- } {}
- struct SetSpeakerParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SetSpeakerParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SetSpeakerParamsDefaultTypeInternal() {}
- union {
- SetSpeakerParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetSpeakerParamsDefaultTypeInternal _SetSpeakerParams_default_instance_;
- PROTOBUF_CONSTEXPR SelectSpeakerParams::SelectSpeakerParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_deviceid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.zn_devicename_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- } {}
- struct SelectSpeakerParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SelectSpeakerParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SelectSpeakerParamsDefaultTypeInternal() {}
- union {
- SelectSpeakerParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SelectSpeakerParamsDefaultTypeInternal _SelectSpeakerParams_default_instance_;
- PROTOBUF_CONSTEXPR SelectMicParams::SelectMicParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_deviceid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.zn_devicename_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- } {}
- struct SelectMicParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SelectMicParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SelectMicParamsDefaultTypeInternal() {}
- union {
- SelectMicParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SelectMicParamsDefaultTypeInternal _SelectMicParams_default_instance_;
- PROTOBUF_CONSTEXPR SendChatToUserParams::SendChatToUserParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_msgcontent_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.user_)*/nullptr} {}
- struct SendChatToUserParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SendChatToUserParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SendChatToUserParamsDefaultTypeInternal() {}
- union {
- SendChatToUserParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SendChatToUserParamsDefaultTypeInternal _SendChatToUserParams_default_instance_;
- PROTOBUF_CONSTEXPR SendChatToAllParams::SendChatToAllParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_msgcontent_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- } {}
- struct SendChatToAllParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SendChatToAllParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SendChatToAllParamsDefaultTypeInternal() {}
- union {
- SendChatToAllParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SendChatToAllParamsDefaultTypeInternal _SendChatToAllParams_default_instance_;
- PROTOBUF_CONSTEXPR StartLiveStreamParams::StartLiveStreamParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_streamurl_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.zn_key_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.zn_broadcasturl_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- } {}
- struct StartLiveStreamParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR StartLiveStreamParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~StartLiveStreamParamsDefaultTypeInternal() {}
- union {
- StartLiveStreamParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartLiveStreamParamsDefaultTypeInternal _StartLiveStreamParams_default_instance_;
- PROTOBUF_CONSTEXPR StartShareViewParams::StartShareViewParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_handle_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.iswithdeviceaudio_)*/ false
- , /*decltype(_impl_.isoptimizeforsharedvideo_)*/ false
- } {}
- struct StartShareViewParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR StartShareViewParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~StartShareViewParamsDefaultTypeInternal() {}
- union {
- StartShareViewParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartShareViewParamsDefaultTypeInternal _StartShareViewParams_default_instance_;
- PROTOBUF_CONSTEXPR StartShareScreenParams::StartShareScreenParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_monitorid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.iswithdeviceaudio_)*/ false
- , /*decltype(_impl_.isoptimizeforsharedvideo_)*/ false
- } {}
- struct StartShareScreenParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR StartShareScreenParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~StartShareScreenParamsDefaultTypeInternal() {}
- union {
- StartShareScreenParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartShareScreenParamsDefaultTypeInternal _StartShareScreenParams_default_instance_;
- PROTOBUF_CONSTEXPR LockShareParams::LockShareParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_block_)*/ false
- } {}
- struct LockShareParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR LockShareParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~LockShareParamsDefaultTypeInternal() {}
- union {
- LockShareParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LockShareParamsDefaultTypeInternal _LockShareParams_default_instance_;
- PROTOBUF_CONSTEXPR EnableShareDeviceAudioParams::EnableShareDeviceAudioParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.enable_)*/ false
- } {}
- struct EnableShareDeviceAudioParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR EnableShareDeviceAudioParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~EnableShareDeviceAudioParamsDefaultTypeInternal() {}
- union {
- EnableShareDeviceAudioParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnableShareDeviceAudioParamsDefaultTypeInternal _EnableShareDeviceAudioParams_default_instance_;
- PROTOBUF_CONSTEXPR EnableOptimizeForSharedVideoParams::EnableOptimizeForSharedVideoParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.enable_)*/ false
- } {}
- struct EnableOptimizeForSharedVideoParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR EnableOptimizeForSharedVideoParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~EnableOptimizeForSharedVideoParamsDefaultTypeInternal() {}
- union {
- EnableOptimizeForSharedVideoParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnableOptimizeForSharedVideoParamsDefaultTypeInternal _EnableOptimizeForSharedVideoParams_default_instance_;
- PROTOBUF_CONSTEXPR StartShare2ndCameraParams::StartShare2ndCameraParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_cameraid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- } {}
- struct StartShare2ndCameraParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR StartShare2ndCameraParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~StartShare2ndCameraParamsDefaultTypeInternal() {}
- union {
- StartShare2ndCameraParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartShare2ndCameraParamsDefaultTypeInternal _StartShare2ndCameraParams_default_instance_;
- PROTOBUF_CONSTEXPR SubscribeMyShareCameraParams::SubscribeMyShareCameraParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
- } {}
- struct SubscribeMyShareCameraParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SubscribeMyShareCameraParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SubscribeMyShareCameraParamsDefaultTypeInternal() {}
- union {
- SubscribeMyShareCameraParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeMyShareCameraParamsDefaultTypeInternal _SubscribeMyShareCameraParams_default_instance_;
- PROTOBUF_CONSTEXPR GetRemoteUsersParams::GetRemoteUsersParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_options_)*/ ::int64_t{0}
- } {}
- struct GetRemoteUsersParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR GetRemoteUsersParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~GetRemoteUsersParamsDefaultTypeInternal() {}
- union {
- GetRemoteUsersParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRemoteUsersParamsDefaultTypeInternal _GetRemoteUsersParams_default_instance_;
- PROTOBUF_CONSTEXPR GetMyInfoParams::GetMyInfoParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_options_)*/ ::int64_t{0}
- } {}
- struct GetMyInfoParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR GetMyInfoParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~GetMyInfoParamsDefaultTypeInternal() {}
- union {
- GetMyInfoParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetMyInfoParamsDefaultTypeInternal _GetMyInfoParams_default_instance_;
- PROTOBUF_CONSTEXPR ChangeNameParams::ChangeNameParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_name_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.user_)*/nullptr} {}
- struct ChangeNameParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR ChangeNameParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~ChangeNameParamsDefaultTypeInternal() {}
- union {
- ChangeNameParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ChangeNameParamsDefaultTypeInternal _ChangeNameParams_default_instance_;
- PROTOBUF_CONSTEXPR MakeHostParams::MakeHostParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_name_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.user_)*/nullptr} {}
- struct MakeHostParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR MakeHostParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~MakeHostParamsDefaultTypeInternal() {}
- union {
- MakeHostParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MakeHostParamsDefaultTypeInternal _MakeHostParams_default_instance_;
- PROTOBUF_CONSTEXPR MakeManagerParams::MakeManagerParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr} {}
- struct MakeManagerParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR MakeManagerParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~MakeManagerParamsDefaultTypeInternal() {}
- union {
- MakeManagerParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MakeManagerParamsDefaultTypeInternal _MakeManagerParams_default_instance_;
- PROTOBUF_CONSTEXPR RevokeManagerParams::RevokeManagerParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr} {}
- struct RevokeManagerParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR RevokeManagerParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~RevokeManagerParamsDefaultTypeInternal() {}
- union {
- RevokeManagerParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RevokeManagerParamsDefaultTypeInternal _RevokeManagerParams_default_instance_;
- PROTOBUF_CONSTEXPR RemoveUserParams::RemoveUserParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr} {}
- struct RemoveUserParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR RemoveUserParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~RemoveUserParamsDefaultTypeInternal() {}
- union {
- RemoveUserParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoveUserParamsDefaultTypeInternal _RemoveUserParams_default_instance_;
- PROTOBUF_CONSTEXPR RotateMyVideoParams::RotateMyVideoParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_rotation_)*/ 0
- } {}
- struct RotateMyVideoParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR RotateMyVideoParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~RotateMyVideoParamsDefaultTypeInternal() {}
- union {
- RotateMyVideoParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RotateMyVideoParamsDefaultTypeInternal _RotateMyVideoParams_default_instance_;
- PROTOBUF_CONSTEXPR SelectCameraParams::SelectCameraParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_deviceid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- } {}
- struct SelectCameraParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SelectCameraParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SelectCameraParamsDefaultTypeInternal() {}
- union {
- SelectCameraParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SelectCameraParamsDefaultTypeInternal _SelectCameraParams_default_instance_;
- PROTOBUF_CONSTEXPR CreateRenderParams::CreateRenderParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
- } {}
- struct CreateRenderParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CreateRenderParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CreateRenderParamsDefaultTypeInternal() {}
- union {
- CreateRenderParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateRenderParamsDefaultTypeInternal _CreateRenderParams_default_instance_;
- PROTOBUF_CONSTEXPR DestroyRendererParams::DestroyRendererParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
- } {}
- struct DestroyRendererParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DestroyRendererParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~DestroyRendererParamsDefaultTypeInternal() {}
- union {
- DestroyRendererParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DestroyRendererParamsDefaultTypeInternal _DestroyRendererParams_default_instance_;
- PROTOBUF_CONSTEXPR SubscribeParams::SubscribeParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_user_)*/nullptr
- , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
- , /*decltype(_impl_.zn_type_)*/ 0
- , /*decltype(_impl_.zn_resolution_)*/ 0
- } {}
- struct SubscribeParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SubscribeParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SubscribeParamsDefaultTypeInternal() {}
- union {
- SubscribeParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeParamsDefaultTypeInternal _SubscribeParams_default_instance_;
- PROTOBUF_CONSTEXPR UnSubscribeParams::UnSubscribeParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_user_)*/nullptr
- , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
- , /*decltype(_impl_.zn_type_)*/ 0
- } {}
- struct UnSubscribeParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR UnSubscribeParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~UnSubscribeParamsDefaultTypeInternal() {}
- union {
- UnSubscribeParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnSubscribeParamsDefaultTypeInternal _UnSubscribeParams_default_instance_;
- PROTOBUF_CONSTEXPR SubscribeToSharedComputerAudioParams::SubscribeToSharedComputerAudioParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_user_)*/nullptr} {}
- struct SubscribeToSharedComputerAudioParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SubscribeToSharedComputerAudioParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SubscribeToSharedComputerAudioParamsDefaultTypeInternal() {}
- union {
- SubscribeToSharedComputerAudioParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeToSharedComputerAudioParamsDefaultTypeInternal _SubscribeToSharedComputerAudioParams_default_instance_;
- PROTOBUF_CONSTEXPR UnsubscribeToSharedComputerAudioParams::UnsubscribeToSharedComputerAudioParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_user_)*/nullptr} {}
- struct UnsubscribeToSharedComputerAudioParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR UnsubscribeToSharedComputerAudioParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~UnsubscribeToSharedComputerAudioParamsDefaultTypeInternal() {}
- union {
- UnsubscribeToSharedComputerAudioParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnsubscribeToSharedComputerAudioParamsDefaultTypeInternal _UnsubscribeToSharedComputerAudioParams_default_instance_;
- PROTOBUF_CONSTEXPR SubscribeMultiCameraStreamParams::SubscribeMultiCameraStreamParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_user_)*/nullptr
- , /*decltype(_impl_.camerastreamid_)*/ ::int64_t{0}
- , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
- , /*decltype(_impl_.zn_resolution_)*/ 0
- } {}
- struct SubscribeMultiCameraStreamParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SubscribeMultiCameraStreamParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SubscribeMultiCameraStreamParamsDefaultTypeInternal() {}
- union {
- SubscribeMultiCameraStreamParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeMultiCameraStreamParamsDefaultTypeInternal _SubscribeMultiCameraStreamParams_default_instance_;
- PROTOBUF_CONSTEXPR UnSubscribeMultiCameraStreamParams::UnSubscribeMultiCameraStreamParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_user_)*/nullptr
- , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
- , /*decltype(_impl_.camerastreamid_)*/ ::int64_t{0}
- } {}
- struct UnSubscribeMultiCameraStreamParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR UnSubscribeMultiCameraStreamParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~UnSubscribeMultiCameraStreamParamsDefaultTypeInternal() {}
- union {
- UnSubscribeMultiCameraStreamParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnSubscribeMultiCameraStreamParamsDefaultTypeInternal _UnSubscribeMultiCameraStreamParams_default_instance_;
- PROTOBUF_CONSTEXPR SetRawDataResolutionParams::SetRawDataResolutionParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
- , /*decltype(_impl_.zn_resolution_)*/ 0
- } {}
- struct SetRawDataResolutionParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SetRawDataResolutionParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SetRawDataResolutionParamsDefaultTypeInternal() {}
- union {
- SetRawDataResolutionParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetRawDataResolutionParamsDefaultTypeInternal _SetRawDataResolutionParams_default_instance_;
- PROTOBUF_CONSTEXPR GetResolutionParams::GetResolutionParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
- } {}
- struct GetResolutionParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR GetResolutionParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~GetResolutionParamsDefaultTypeInternal() {}
- union {
- GetResolutionParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetResolutionParamsDefaultTypeInternal _GetResolutionParams_default_instance_;
- PROTOBUF_CONSTEXPR GetRawDataTypeParams::GetRawDataTypeParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
- } {}
- struct GetRawDataTypeParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR GetRawDataTypeParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~GetRawDataTypeParamsDefaultTypeInternal() {}
- union {
- GetRawDataTypeParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRawDataTypeParamsDefaultTypeInternal _GetRawDataTypeParams_default_instance_;
- PROTOBUF_CONSTEXPR sendVideoFrameParams::sendVideoFrameParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.framebuffer_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.width_)*/ 0
- , /*decltype(_impl_.height_)*/ 0
- , /*decltype(_impl_.framelength_)*/ 0
- , /*decltype(_impl_.rotaion_)*/ 0
- } {}
- struct sendVideoFrameParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR sendVideoFrameParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~sendVideoFrameParamsDefaultTypeInternal() {}
- union {
- sendVideoFrameParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 sendVideoFrameParamsDefaultTypeInternal _sendVideoFrameParams_default_instance_;
- PROTOBUF_CONSTEXPR CameraInfos::CameraInfos(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.deviceid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.devicename_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.isselecteddevice_)*/ false
- , /*decltype(_impl_.isselectedasmulticamera_)*/ false
- , /*decltype(_impl_.isrunningasmulticamera_)*/ false
- } {}
- struct CameraInfosDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CameraInfosDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CameraInfosDefaultTypeInternal() {}
- union {
- CameraInfos _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CameraInfosDefaultTypeInternal _CameraInfos_default_instance_;
- PROTOBUF_CONSTEXPR GetCameraList::GetCameraList(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.camerainfo_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
- struct GetCameraListDefaultTypeInternal {
- PROTOBUF_CONSTEXPR GetCameraListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~GetCameraListDefaultTypeInternal() {}
- union {
- GetCameraList _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetCameraListDefaultTypeInternal _GetCameraList_default_instance_;
- PROTOBUF_CONSTEXPR MultiCameraStreamInfos::MultiCameraStreamInfos(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.camerastreamid_)*/ ::int64_t{0}
- } {}
- struct MultiCameraStreamInfosDefaultTypeInternal {
- PROTOBUF_CONSTEXPR MultiCameraStreamInfosDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~MultiCameraStreamInfosDefaultTypeInternal() {}
- union {
- MultiCameraStreamInfos _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MultiCameraStreamInfosDefaultTypeInternal _MultiCameraStreamInfos_default_instance_;
- PROTOBUF_CONSTEXPR MultiCameraStreamList::MultiCameraStreamList(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.camerastreaminfo_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
- struct MultiCameraStreamListDefaultTypeInternal {
- PROTOBUF_CONSTEXPR MultiCameraStreamListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~MultiCameraStreamListDefaultTypeInternal() {}
- union {
- MultiCameraStreamList _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MultiCameraStreamListDefaultTypeInternal _MultiCameraStreamList_default_instance_;
- PROTOBUF_CONSTEXPR GetMultiCameraStreamList::GetMultiCameraStreamList(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr} {}
- struct GetMultiCameraStreamListDefaultTypeInternal {
- PROTOBUF_CONSTEXPR GetMultiCameraStreamListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~GetMultiCameraStreamListDefaultTypeInternal() {}
- union {
- GetMultiCameraStreamList _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetMultiCameraStreamListDefaultTypeInternal _GetMultiCameraStreamList_default_instance_;
- PROTOBUF_CONSTEXPR MicInfos::MicInfos(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.deviceid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.devicename_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.isselecteddevice_)*/ false
- } {}
- struct MicInfosDefaultTypeInternal {
- PROTOBUF_CONSTEXPR MicInfosDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~MicInfosDefaultTypeInternal() {}
- union {
- MicInfos _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MicInfosDefaultTypeInternal _MicInfos_default_instance_;
- PROTOBUF_CONSTEXPR GetMicList::GetMicList(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.micinfo_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
- struct GetMicListDefaultTypeInternal {
- PROTOBUF_CONSTEXPR GetMicListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~GetMicListDefaultTypeInternal() {}
- union {
- GetMicList _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetMicListDefaultTypeInternal _GetMicList_default_instance_;
- PROTOBUF_CONSTEXPR SpeakerInfos::SpeakerInfos(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.deviceid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.devicename_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.isselecteddevice_)*/ false
- } {}
- struct SpeakerInfosDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SpeakerInfosDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SpeakerInfosDefaultTypeInternal() {}
- union {
- SpeakerInfos _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SpeakerInfosDefaultTypeInternal _SpeakerInfos_default_instance_;
- PROTOBUF_CONSTEXPR GetSpeakerList::GetSpeakerList(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.speakerinfo_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
- struct GetSpeakerListDefaultTypeInternal {
- PROTOBUF_CONSTEXPR GetSpeakerListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~GetSpeakerListDefaultTypeInternal() {}
- union {
- GetSpeakerList _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetSpeakerListDefaultTypeInternal _GetSpeakerList_default_instance_;
- PROTOBUF_CONSTEXPR SendCommandParams::SendCommandParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.strcmd_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.user_)*/nullptr} {}
- struct SendCommandParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SendCommandParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SendCommandParamsDefaultTypeInternal() {}
- union {
- SendCommandParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SendCommandParamsDefaultTypeInternal _SendCommandParams_default_instance_;
- PROTOBUF_CONSTEXPR PhoneSupportCountryInfos::PhoneSupportCountryInfos(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.countryid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.countryname_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.countrycode_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- } {}
- struct PhoneSupportCountryInfosDefaultTypeInternal {
- PROTOBUF_CONSTEXPR PhoneSupportCountryInfosDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~PhoneSupportCountryInfosDefaultTypeInternal() {}
- union {
- PhoneSupportCountryInfos _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PhoneSupportCountryInfosDefaultTypeInternal _PhoneSupportCountryInfos_default_instance_;
- PROTOBUF_CONSTEXPR GetPhoneSupportCountryList::GetPhoneSupportCountryList(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.phonesupportcountryinfo_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
- struct GetPhoneSupportCountryListDefaultTypeInternal {
- PROTOBUF_CONSTEXPR GetPhoneSupportCountryListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~GetPhoneSupportCountryListDefaultTypeInternal() {}
- union {
- GetPhoneSupportCountryList _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetPhoneSupportCountryListDefaultTypeInternal _GetPhoneSupportCountryList_default_instance_;
- PROTOBUF_CONSTEXPR InviteByPhoneParams::InviteByPhoneParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.countrycode_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.phonenumber_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.name_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- } {}
- struct InviteByPhoneParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR InviteByPhoneParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~InviteByPhoneParamsDefaultTypeInternal() {}
- union {
- InviteByPhoneParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InviteByPhoneParamsDefaultTypeInternal _InviteByPhoneParams_default_instance_;
- PROTOBUF_CONSTEXPR LocalCameraCtrlTurnLeftParams::LocalCameraCtrlTurnLeftParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.range_)*/ 0u
- } {}
- struct LocalCameraCtrlTurnLeftParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR LocalCameraCtrlTurnLeftParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~LocalCameraCtrlTurnLeftParamsDefaultTypeInternal() {}
- union {
- LocalCameraCtrlTurnLeftParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalCameraCtrlTurnLeftParamsDefaultTypeInternal _LocalCameraCtrlTurnLeftParams_default_instance_;
- PROTOBUF_CONSTEXPR LocalCameraCtrlTurnRightParams::LocalCameraCtrlTurnRightParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.range_)*/ 0u
- } {}
- struct LocalCameraCtrlTurnRightParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR LocalCameraCtrlTurnRightParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~LocalCameraCtrlTurnRightParamsDefaultTypeInternal() {}
- union {
- LocalCameraCtrlTurnRightParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalCameraCtrlTurnRightParamsDefaultTypeInternal _LocalCameraCtrlTurnRightParams_default_instance_;
- PROTOBUF_CONSTEXPR LocalCameraCtrlTurnUpParams::LocalCameraCtrlTurnUpParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.range_)*/ 0u
- } {}
- struct LocalCameraCtrlTurnUpParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR LocalCameraCtrlTurnUpParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~LocalCameraCtrlTurnUpParamsDefaultTypeInternal() {}
- union {
- LocalCameraCtrlTurnUpParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalCameraCtrlTurnUpParamsDefaultTypeInternal _LocalCameraCtrlTurnUpParams_default_instance_;
- PROTOBUF_CONSTEXPR LocalCameraCtrlTurnDownParams::LocalCameraCtrlTurnDownParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.range_)*/ 0u
- } {}
- struct LocalCameraCtrlTurnDownParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR LocalCameraCtrlTurnDownParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~LocalCameraCtrlTurnDownParamsDefaultTypeInternal() {}
- union {
- LocalCameraCtrlTurnDownParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalCameraCtrlTurnDownParamsDefaultTypeInternal _LocalCameraCtrlTurnDownParams_default_instance_;
- PROTOBUF_CONSTEXPR LocalCameraCtrlZoomInParams::LocalCameraCtrlZoomInParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.range_)*/ 0u
- } {}
- struct LocalCameraCtrlZoomInParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR LocalCameraCtrlZoomInParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~LocalCameraCtrlZoomInParamsDefaultTypeInternal() {}
- union {
- LocalCameraCtrlZoomInParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalCameraCtrlZoomInParamsDefaultTypeInternal _LocalCameraCtrlZoomInParams_default_instance_;
- PROTOBUF_CONSTEXPR LocalCameraCtrlZoomOutParams::LocalCameraCtrlZoomOutParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.range_)*/ 0u
- } {}
- struct LocalCameraCtrlZoomOutParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR LocalCameraCtrlZoomOutParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~LocalCameraCtrlZoomOutParamsDefaultTypeInternal() {}
- union {
- LocalCameraCtrlZoomOutParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LocalCameraCtrlZoomOutParamsDefaultTypeInternal _LocalCameraCtrlZoomOutParams_default_instance_;
- PROTOBUF_CONSTEXPR RequestControlRemoteCameraParams::RequestControlRemoteCameraParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr} {}
- struct RequestControlRemoteCameraParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR RequestControlRemoteCameraParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~RequestControlRemoteCameraParamsDefaultTypeInternal() {}
- union {
- RequestControlRemoteCameraParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RequestControlRemoteCameraParamsDefaultTypeInternal _RequestControlRemoteCameraParams_default_instance_;
- PROTOBUF_CONSTEXPR GiveUpControlRemoteCameraParams::GiveUpControlRemoteCameraParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr} {}
- struct GiveUpControlRemoteCameraParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR GiveUpControlRemoteCameraParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~GiveUpControlRemoteCameraParamsDefaultTypeInternal() {}
- union {
- GiveUpControlRemoteCameraParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GiveUpControlRemoteCameraParamsDefaultTypeInternal _GiveUpControlRemoteCameraParams_default_instance_;
- PROTOBUF_CONSTEXPR RemoteCameraCtrlTurnLeftParams::RemoteCameraCtrlTurnLeftParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr
- , /*decltype(_impl_.range_)*/ 0u
- } {}
- struct RemoteCameraCtrlTurnLeftParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR RemoteCameraCtrlTurnLeftParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~RemoteCameraCtrlTurnLeftParamsDefaultTypeInternal() {}
- union {
- RemoteCameraCtrlTurnLeftParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteCameraCtrlTurnLeftParamsDefaultTypeInternal _RemoteCameraCtrlTurnLeftParams_default_instance_;
- PROTOBUF_CONSTEXPR RemoteCameraCtrlTurnRightParams::RemoteCameraCtrlTurnRightParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr
- , /*decltype(_impl_.range_)*/ 0u
- } {}
- struct RemoteCameraCtrlTurnRightParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR RemoteCameraCtrlTurnRightParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~RemoteCameraCtrlTurnRightParamsDefaultTypeInternal() {}
- union {
- RemoteCameraCtrlTurnRightParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteCameraCtrlTurnRightParamsDefaultTypeInternal _RemoteCameraCtrlTurnRightParams_default_instance_;
- PROTOBUF_CONSTEXPR RemoteCameraCtrlTurnUpParams::RemoteCameraCtrlTurnUpParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr
- , /*decltype(_impl_.range_)*/ 0u
- } {}
- struct RemoteCameraCtrlTurnUpParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR RemoteCameraCtrlTurnUpParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~RemoteCameraCtrlTurnUpParamsDefaultTypeInternal() {}
- union {
- RemoteCameraCtrlTurnUpParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteCameraCtrlTurnUpParamsDefaultTypeInternal _RemoteCameraCtrlTurnUpParams_default_instance_;
- PROTOBUF_CONSTEXPR RemoteCameraCtrlTurnDownParams::RemoteCameraCtrlTurnDownParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr
- , /*decltype(_impl_.range_)*/ 0u
- } {}
- struct RemoteCameraCtrlTurnDownParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR RemoteCameraCtrlTurnDownParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~RemoteCameraCtrlTurnDownParamsDefaultTypeInternal() {}
- union {
- RemoteCameraCtrlTurnDownParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteCameraCtrlTurnDownParamsDefaultTypeInternal _RemoteCameraCtrlTurnDownParams_default_instance_;
- PROTOBUF_CONSTEXPR RemoteCameraCtrlZoomInParams::RemoteCameraCtrlZoomInParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr
- , /*decltype(_impl_.range_)*/ 0u
- } {}
- struct RemoteCameraCtrlZoomInParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR RemoteCameraCtrlZoomInParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~RemoteCameraCtrlZoomInParamsDefaultTypeInternal() {}
- union {
- RemoteCameraCtrlZoomInParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteCameraCtrlZoomInParamsDefaultTypeInternal _RemoteCameraCtrlZoomInParams_default_instance_;
- PROTOBUF_CONSTEXPR RemoteCameraCtrlZoomOutParams::RemoteCameraCtrlZoomOutParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.user_)*/nullptr
- , /*decltype(_impl_.range_)*/ 0u
- } {}
- struct RemoteCameraCtrlZoomOutParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR RemoteCameraCtrlZoomOutParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~RemoteCameraCtrlZoomOutParamsDefaultTypeInternal() {}
- union {
- RemoteCameraCtrlZoomOutParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteCameraCtrlZoomOutParamsDefaultTypeInternal _RemoteCameraCtrlZoomOutParams_default_instance_;
- PROTOBUF_CONSTEXPR SetVideoQualityPreferenceParams::SetVideoQualityPreferenceParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.mode_)*/ 0
- , /*decltype(_impl_.minimum_frame_rate_)*/ 0u
- , /*decltype(_impl_.maximum_frame_rate_)*/ 0u
- } {}
- struct SetVideoQualityPreferenceParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SetVideoQualityPreferenceParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SetVideoQualityPreferenceParamsDefaultTypeInternal() {}
- union {
- SetVideoQualityPreferenceParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetVideoQualityPreferenceParamsDefaultTypeInternal _SetVideoQualityPreferenceParams_default_instance_;
- PROTOBUF_CONSTEXPR SetSuppressBackgroundNoiseLevelParams::SetSuppressBackgroundNoiseLevelParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.level_)*/ 0
- } {}
- struct SetSuppressBackgroundNoiseLevelParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SetSuppressBackgroundNoiseLevelParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SetSuppressBackgroundNoiseLevelParamsDefaultTypeInternal() {}
- union {
- SetSuppressBackgroundNoiseLevelParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetSuppressBackgroundNoiseLevelParamsDefaultTypeInternal _SetSuppressBackgroundNoiseLevelParams_default_instance_;
- PROTOBUF_CONSTEXPR SetEchoCancellationLevelParams::SetEchoCancellationLevelParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.level_)*/ 0
- } {}
- struct SetEchoCancellationLevelParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SetEchoCancellationLevelParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SetEchoCancellationLevelParamsDefaultTypeInternal() {}
- union {
- SetEchoCancellationLevelParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetEchoCancellationLevelParamsDefaultTypeInternal _SetEchoCancellationLevelParams_default_instance_;
- PROTOBUF_CONSTEXPR EnableMicOriginalInputParams::EnableMicOriginalInputParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.benable_)*/ false
- } {}
- struct EnableMicOriginalInputParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR EnableMicOriginalInputParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~EnableMicOriginalInputParamsDefaultTypeInternal() {}
- union {
- EnableMicOriginalInputParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnableMicOriginalInputParamsDefaultTypeInternal _EnableMicOriginalInputParams_default_instance_;
- PROTOBUF_CONSTEXPR EnableHighFidelityMusicModeParams::EnableHighFidelityMusicModeParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.benable_)*/ false
- } {}
- struct EnableHighFidelityMusicModeParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR EnableHighFidelityMusicModeParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~EnableHighFidelityMusicModeParamsDefaultTypeInternal() {}
- union {
- EnableHighFidelityMusicModeParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnableHighFidelityMusicModeParamsDefaultTypeInternal _EnableHighFidelityMusicModeParams_default_instance_;
- PROTOBUF_CONSTEXPR EnableEchoCancellationParams::EnableEchoCancellationParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.benable_)*/ false
- } {}
- struct EnableEchoCancellationParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR EnableEchoCancellationParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~EnableEchoCancellationParamsDefaultTypeInternal() {}
- union {
- EnableEchoCancellationParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnableEchoCancellationParamsDefaultTypeInternal _EnableEchoCancellationParams_default_instance_;
- PROTOBUF_CONSTEXPR EnableStereoAudioParams::EnableStereoAudioParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.benable_)*/ false
- } {}
- struct EnableStereoAudioParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR EnableStereoAudioParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~EnableStereoAudioParamsDefaultTypeInternal() {}
- union {
- EnableStereoAudioParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnableStereoAudioParamsDefaultTypeInternal _EnableStereoAudioParams_default_instance_;
- PROTOBUF_CONSTEXPR StartMicTestRecordingParams::StartMicTestRecordingParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.deviceid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- } {}
- struct StartMicTestRecordingParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR StartMicTestRecordingParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~StartMicTestRecordingParamsDefaultTypeInternal() {}
- union {
- StartMicTestRecordingParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartMicTestRecordingParamsDefaultTypeInternal _StartMicTestRecordingParams_default_instance_;
- PROTOBUF_CONSTEXPR StartSpeakerTestParams::StartSpeakerTestParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.deviceid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- } {}
- struct StartSpeakerTestParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR StartSpeakerTestParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~StartSpeakerTestParamsDefaultTypeInternal() {}
- union {
- StartSpeakerTestParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartSpeakerTestParamsDefaultTypeInternal _StartSpeakerTestParams_default_instance_;
- PROTOBUF_CONSTEXPR SetTimerIntervalParams::SetTimerIntervalParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.timerinterval_)*/ 0u
- } {}
- struct SetTimerIntervalParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SetTimerIntervalParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SetTimerIntervalParamsDefaultTypeInternal() {}
- union {
- SetTimerIntervalParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetTimerIntervalParamsDefaultTypeInternal _SetTimerIntervalParams_default_instance_;
- PROTOBUF_CONSTEXPR EnableMultiStreamVideoParams::EnableMultiStreamVideoParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.deviceid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- } {}
- struct EnableMultiStreamVideoParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR EnableMultiStreamVideoParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~EnableMultiStreamVideoParamsDefaultTypeInternal() {}
- union {
- EnableMultiStreamVideoParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EnableMultiStreamVideoParamsDefaultTypeInternal _EnableMultiStreamVideoParams_default_instance_;
- PROTOBUF_CONSTEXPR DisableMultiStreamVideoParams::DisableMultiStreamVideoParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.deviceid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- } {}
- struct DisableMultiStreamVideoParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DisableMultiStreamVideoParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~DisableMultiStreamVideoParamsDefaultTypeInternal() {}
- union {
- DisableMultiStreamVideoParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DisableMultiStreamVideoParamsDefaultTypeInternal _DisableMultiStreamVideoParams_default_instance_;
- PROTOBUF_CONSTEXPR StartVideoPreviewParams::StartVideoPreviewParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.cameradeviceid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
- } {}
- struct StartVideoPreviewParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR StartVideoPreviewParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~StartVideoPreviewParamsDefaultTypeInternal() {}
- union {
- StartVideoPreviewParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartVideoPreviewParamsDefaultTypeInternal _StartVideoPreviewParams_default_instance_;
- PROTOBUF_CONSTEXPR StopVideoPreviewParams::StopVideoPreviewParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.zn_recv_handle_)*/ ::int64_t{0}
- } {}
- struct StopVideoPreviewParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR StopVideoPreviewParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~StopVideoPreviewParamsDefaultTypeInternal() {}
- union {
- StopVideoPreviewParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StopVideoPreviewParamsDefaultTypeInternal _StopVideoPreviewParams_default_instance_;
- PROTOBUF_CONSTEXPR SetSpokenLanguageParams::SetSpokenLanguageParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.languageid_)*/ 0
- } {}
- struct SetSpokenLanguageParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SetSpokenLanguageParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SetSpokenLanguageParamsDefaultTypeInternal() {}
- union {
- SetSpokenLanguageParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetSpokenLanguageParamsDefaultTypeInternal _SetSpokenLanguageParams_default_instance_;
- PROTOBUF_CONSTEXPR LTTLanguagesList::LTTLanguagesList(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.lttlanguageinfo_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}} {}
- struct LTTLanguagesListDefaultTypeInternal {
- PROTOBUF_CONSTEXPR LTTLanguagesListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~LTTLanguagesListDefaultTypeInternal() {}
- union {
- LTTLanguagesList _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LTTLanguagesListDefaultTypeInternal _LTTLanguagesList_default_instance_;
- PROTOBUF_CONSTEXPR SetTranslationLanguageParams::SetTranslationLanguageParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.languageid_)*/ 0
- } {}
- struct SetTranslationLanguageParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SetTranslationLanguageParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SetTranslationLanguageParamsDefaultTypeInternal() {}
- union {
- SetTranslationLanguageParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetTranslationLanguageParamsDefaultTypeInternal _SetTranslationLanguageParams_default_instance_;
- PROTOBUF_CONSTEXPR CanChatMessageBeDeletedParams::CanChatMessageBeDeletedParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.messageid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- } {}
- struct CanChatMessageBeDeletedParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR CanChatMessageBeDeletedParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~CanChatMessageBeDeletedParamsDefaultTypeInternal() {}
- union {
- CanChatMessageBeDeletedParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CanChatMessageBeDeletedParamsDefaultTypeInternal _CanChatMessageBeDeletedParams_default_instance_;
- PROTOBUF_CONSTEXPR DeleteChatMessageParams::DeleteChatMessageParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.messageid_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- } {}
- struct DeleteChatMessageParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR DeleteChatMessageParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~DeleteChatMessageParamsDefaultTypeInternal() {}
- union {
- DeleteChatMessageParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeleteChatMessageParamsDefaultTypeInternal _DeleteChatMessageParams_default_instance_;
- PROTOBUF_CONSTEXPR VBItemInfo::VBItemInfo(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.imagefilepath_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.imagename_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- , /*decltype(_impl_.vbtype_)*/ 0
- , /*decltype(_impl_.canbedeleted_)*/ false
- } {}
- struct VBItemInfoDefaultTypeInternal {
- PROTOBUF_CONSTEXPR VBItemInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~VBItemInfoDefaultTypeInternal() {}
- union {
- VBItemInfo _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VBItemInfoDefaultTypeInternal _VBItemInfo_default_instance_;
- PROTOBUF_CONSTEXPR VBItemHandleList::VBItemHandleList(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_.vbitemhandle_)*/ {}
- , /*decltype(_impl_._cached_size_)*/{}} {}
- struct VBItemHandleListDefaultTypeInternal {
- PROTOBUF_CONSTEXPR VBItemHandleListDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~VBItemHandleListDefaultTypeInternal() {}
- union {
- VBItemHandleList _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VBItemHandleListDefaultTypeInternal _VBItemHandleList_default_instance_;
- PROTOBUF_CONSTEXPR AddVirtualBackgroundItemParams::AddVirtualBackgroundItemParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.imagepath_)*/ {
- &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
- }
- } {}
- struct AddVirtualBackgroundItemParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR AddVirtualBackgroundItemParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~AddVirtualBackgroundItemParamsDefaultTypeInternal() {}
- union {
- AddVirtualBackgroundItemParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AddVirtualBackgroundItemParamsDefaultTypeInternal _AddVirtualBackgroundItemParams_default_instance_;
- PROTOBUF_CONSTEXPR RemoveVirtualBackgroundItemParams::RemoveVirtualBackgroundItemParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.vbitemhandle_)*/ ::int64_t{0}
- } {}
- struct RemoveVirtualBackgroundItemParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR RemoveVirtualBackgroundItemParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~RemoveVirtualBackgroundItemParamsDefaultTypeInternal() {}
- union {
- RemoveVirtualBackgroundItemParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoveVirtualBackgroundItemParamsDefaultTypeInternal _RemoveVirtualBackgroundItemParams_default_instance_;
- PROTOBUF_CONSTEXPR SetVirtualBackgroundItemParams::SetVirtualBackgroundItemParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.vbitemhandle_)*/ ::int64_t{0}
- } {}
- struct SetVirtualBackgroundItemParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR SetVirtualBackgroundItemParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~SetVirtualBackgroundItemParamsDefaultTypeInternal() {}
- union {
- SetVirtualBackgroundItemParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetVirtualBackgroundItemParamsDefaultTypeInternal _SetVirtualBackgroundItemParams_default_instance_;
- PROTOBUF_CONSTEXPR GetVirtualBackgroundItemInfoParams::GetVirtualBackgroundItemInfoParams(
- ::_pbi::ConstantInitialized): _impl_{
- /*decltype(_impl_._has_bits_)*/{}
- , /*decltype(_impl_._cached_size_)*/{}
- , /*decltype(_impl_.vbitemhandle_)*/ ::int64_t{0}
- } {}
- struct GetVirtualBackgroundItemInfoParamsDefaultTypeInternal {
- PROTOBUF_CONSTEXPR GetVirtualBackgroundItemInfoParamsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~GetVirtualBackgroundItemInfoParamsDefaultTypeInternal() {}
- union {
- GetVirtualBackgroundItemInfoParams _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetVirtualBackgroundItemInfoParamsDefaultTypeInternal _GetVirtualBackgroundItemInfoParams_default_instance_;
- } // namespace proto
- } // namespace sdk
- } // namespace zoomvideo
- } // namespace electron
- } // namespace com
- namespace com {
- namespace electron {
- namespace zoomvideo {
- namespace sdk {
- namespace proto {
- // ===================================================================
- class VideoSDKUser::_Internal {
- public:
- using HasBits = decltype(std::declval<VideoSDKUser>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(VideoSDKUser, _impl_._has_bits_);
- static void set_has_p_user(HasBits* has_bits) {
- (*has_bits)[0] |= 8u;
- }
- static void set_has_custom_identity(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_username(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_ishasvideodevice(HasBits* has_bits) {
- (*has_bits)[0] |= 32u;
- }
- static void set_has_isvideoon(HasBits* has_bits) {
- (*has_bits)[0] |= 64u;
- }
- static void set_has_audiotype(HasBits* has_bits) {
- (*has_bits)[0] |= 16u;
- }
- static void set_has_isaudiomuted(HasBits* has_bits) {
- (*has_bits)[0] |= 128u;
- }
- static void set_has_isaudiotalking(HasBits* has_bits) {
- (*has_bits)[0] |= 256u;
- }
- static void set_has_sharestatus(HasBits* has_bits) {
- (*has_bits)[0] |= 512u;
- }
- static void set_has_ishost(HasBits* has_bits) {
- (*has_bits)[0] |= 1024u;
- }
- static void set_has_ismanager(HasBits* has_bits) {
- (*has_bits)[0] |= 2048u;
- }
- static void set_has_videostatisticinfo_width(HasBits* has_bits) {
- (*has_bits)[0] |= 4096u;
- }
- static void set_has_videostatisticinfo_height(HasBits* has_bits) {
- (*has_bits)[0] |= 8192u;
- }
- static void set_has_videostatisticinfo_fps(HasBits* has_bits) {
- (*has_bits)[0] |= 16384u;
- }
- static void set_has_videostatisticinfo_bpf(HasBits* has_bits) {
- (*has_bits)[0] |= 32768u;
- }
- static void set_has_sharestatisticinfo_width(HasBits* has_bits) {
- (*has_bits)[0] |= 65536u;
- }
- static void set_has_sharestatisticinfo_height(HasBits* has_bits) {
- (*has_bits)[0] |= 131072u;
- }
- static void set_has_sharestatisticinfo_fps(HasBits* has_bits) {
- (*has_bits)[0] |= 262144u;
- }
- static void set_has_sharestatisticinfo_bpf(HasBits* has_bits) {
- (*has_bits)[0] |= 524288u;
- }
- static void set_has_userid(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- };
- VideoSDKUser::VideoSDKUser(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
- }
- VideoSDKUser::VideoSDKUser(const VideoSDKUser& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- VideoSDKUser* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.custom_identity_) {}
- , decltype(_impl_.username_) {}
- , decltype(_impl_.userid_) {}
- , decltype(_impl_.p_user_) {}
- , decltype(_impl_.audiotype_) {}
- , decltype(_impl_.ishasvideodevice_) {}
- , decltype(_impl_.isvideoon_) {}
- , decltype(_impl_.isaudiomuted_) {}
- , decltype(_impl_.isaudiotalking_) {}
- , decltype(_impl_.sharestatus_) {}
- , decltype(_impl_.ishost_) {}
- , decltype(_impl_.ismanager_) {}
- , decltype(_impl_.videostatisticinfo_width_) {}
- , decltype(_impl_.videostatisticinfo_height_) {}
- , decltype(_impl_.videostatisticinfo_fps_) {}
- , decltype(_impl_.videostatisticinfo_bpf_) {}
- , decltype(_impl_.sharestatisticinfo_width_) {}
- , decltype(_impl_.sharestatisticinfo_height_) {}
- , decltype(_impl_.sharestatisticinfo_fps_) {}
- , decltype(_impl_.sharestatisticinfo_bpf_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.custom_identity_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.custom_identity_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.custom_identity_.Set(from._internal_custom_identity(), _this->GetArenaForAllocation());
- }
- _impl_.username_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.username_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.username_.Set(from._internal_username(), _this->GetArenaForAllocation());
- }
- _impl_.userid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.userid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
- _this->_impl_.userid_.Set(from._internal_userid(), _this->GetArenaForAllocation());
- }
- ::memcpy(&_impl_.p_user_, &from._impl_.p_user_,
- static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.sharestatisticinfo_bpf_) -
- reinterpret_cast<char*>(&_impl_.p_user_)) + sizeof(_impl_.sharestatisticinfo_bpf_));
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
- }
- inline void VideoSDKUser::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.custom_identity_) {}
- , decltype(_impl_.username_) {}
- , decltype(_impl_.userid_) {}
- , decltype(_impl_.p_user_) { ::int64_t{0} }
- , decltype(_impl_.audiotype_) { 0 }
- , decltype(_impl_.ishasvideodevice_) { false }
- , decltype(_impl_.isvideoon_) { false }
- , decltype(_impl_.isaudiomuted_) { false }
- , decltype(_impl_.isaudiotalking_) { false }
- , decltype(_impl_.sharestatus_) { 0 }
- , decltype(_impl_.ishost_) { false }
- , decltype(_impl_.ismanager_) { false }
- , decltype(_impl_.videostatisticinfo_width_) { 0 }
- , decltype(_impl_.videostatisticinfo_height_) { 0 }
- , decltype(_impl_.videostatisticinfo_fps_) { 0 }
- , decltype(_impl_.videostatisticinfo_bpf_) { 0 }
- , decltype(_impl_.sharestatisticinfo_width_) { 0 }
- , decltype(_impl_.sharestatisticinfo_height_) { 0 }
- , decltype(_impl_.sharestatisticinfo_fps_) { 0 }
- , decltype(_impl_.sharestatisticinfo_bpf_) { 0 }
- };
- _impl_.custom_identity_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.custom_identity_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.username_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.username_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.userid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.userid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- VideoSDKUser::~VideoSDKUser() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void VideoSDKUser::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.custom_identity_.Destroy();
- _impl_.username_.Destroy();
- _impl_.userid_.Destroy();
- }
- void VideoSDKUser::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void VideoSDKUser::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.custom_identity_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- _impl_.username_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000004u) {
- _impl_.userid_.ClearNonDefaultToEmpty();
- }
- }
- if (cached_has_bits & 0x000000f8u) {
- ::memset(&_impl_.p_user_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.isaudiomuted_) -
- reinterpret_cast<char*>(&_impl_.p_user_)) + sizeof(_impl_.isaudiomuted_));
- }
- if (cached_has_bits & 0x0000ff00u) {
- ::memset(&_impl_.isaudiotalking_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.videostatisticinfo_bpf_) -
- reinterpret_cast<char*>(&_impl_.isaudiotalking_)) + sizeof(_impl_.videostatisticinfo_bpf_));
- }
- if (cached_has_bits & 0x000f0000u) {
- ::memset(&_impl_.sharestatisticinfo_width_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.sharestatisticinfo_bpf_) -
- reinterpret_cast<char*>(&_impl_.sharestatisticinfo_width_)) + sizeof(_impl_.sharestatisticinfo_bpf_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* VideoSDKUser::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 p_user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_p_user(&has_bits);
- _impl_.p_user_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string custom_identity = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_custom_identity();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string username = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
- auto str = _internal_mutable_username();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isHasVideoDevice = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
- _Internal::set_has_ishasvideodevice(&has_bits);
- _impl_.ishasvideodevice_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isVideoOn = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
- _Internal::set_has_isvideoon(&has_bits);
- _impl_.isvideoon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 audioType = 6;
- case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
- _Internal::set_has_audiotype(&has_bits);
- _impl_.audiotype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isAudioMuted = 7;
- case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
- _Internal::set_has_isaudiomuted(&has_bits);
- _impl_.isaudiomuted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isAudioTalking = 8;
- case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
- _Internal::set_has_isaudiotalking(&has_bits);
- _impl_.isaudiotalking_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 ShareStatus = 9;
- case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
- _Internal::set_has_sharestatus(&has_bits);
- _impl_.sharestatus_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isHost = 10;
- case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
- _Internal::set_has_ishost(&has_bits);
- _impl_.ishost_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isManager = 11;
- case 11:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 88)) {
- _Internal::set_has_ismanager(&has_bits);
- _impl_.ismanager_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 VideoStatisticInfo_width = 12;
- case 12:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 96)) {
- _Internal::set_has_videostatisticinfo_width(&has_bits);
- _impl_.videostatisticinfo_width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 VideoStatisticInfo_height = 13;
- case 13:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 104)) {
- _Internal::set_has_videostatisticinfo_height(&has_bits);
- _impl_.videostatisticinfo_height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 VideoStatisticInfo_fps = 14;
- case 14:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 112)) {
- _Internal::set_has_videostatisticinfo_fps(&has_bits);
- _impl_.videostatisticinfo_fps_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 VideoStatisticInfo_bpf = 15;
- case 15:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 120)) {
- _Internal::set_has_videostatisticinfo_bpf(&has_bits);
- _impl_.videostatisticinfo_bpf_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 ShareStatisticInfo_width = 16;
- case 16:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 128)) {
- _Internal::set_has_sharestatisticinfo_width(&has_bits);
- _impl_.sharestatisticinfo_width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 ShareStatisticInfo_height = 17;
- case 17:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 136)) {
- _Internal::set_has_sharestatisticinfo_height(&has_bits);
- _impl_.sharestatisticinfo_height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 ShareStatisticInfo_fps = 18;
- case 18:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 144)) {
- _Internal::set_has_sharestatisticinfo_fps(&has_bits);
- _impl_.sharestatisticinfo_fps_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 ShareStatisticInfo_bpf = 19;
- case 19:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 152)) {
- _Internal::set_has_sharestatisticinfo_bpf(&has_bits);
- _impl_.sharestatisticinfo_bpf_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string userid = 20;
- case 20:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 162)) {
- auto str = _internal_mutable_userid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* VideoSDKUser::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 p_user = 1;
- if (cached_has_bits & 0x00000008u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_p_user(), target);
- }
- // optional string custom_identity = 2;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_custom_identity();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- // optional string username = 3;
- if (cached_has_bits & 0x00000002u) {
- const std::string& _s = this->_internal_username();
- target = stream->WriteStringMaybeAliased(3, _s, target);
- }
- // optional bool isHasVideoDevice = 4;
- if (cached_has_bits & 0x00000020u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 4, this->_internal_ishasvideodevice(), target);
- }
- // optional bool isVideoOn = 5;
- if (cached_has_bits & 0x00000040u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 5, this->_internal_isvideoon(), target);
- }
- // optional int32 audioType = 6;
- if (cached_has_bits & 0x00000010u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 6, this->_internal_audiotype(), target);
- }
- // optional bool isAudioMuted = 7;
- if (cached_has_bits & 0x00000080u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 7, this->_internal_isaudiomuted(), target);
- }
- // optional bool isAudioTalking = 8;
- if (cached_has_bits & 0x00000100u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 8, this->_internal_isaudiotalking(), target);
- }
- // optional int32 ShareStatus = 9;
- if (cached_has_bits & 0x00000200u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 9, this->_internal_sharestatus(), target);
- }
- // optional bool isHost = 10;
- if (cached_has_bits & 0x00000400u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 10, this->_internal_ishost(), target);
- }
- // optional bool isManager = 11;
- if (cached_has_bits & 0x00000800u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 11, this->_internal_ismanager(), target);
- }
- // optional int32 VideoStatisticInfo_width = 12;
- if (cached_has_bits & 0x00001000u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 12, this->_internal_videostatisticinfo_width(), target);
- }
- // optional int32 VideoStatisticInfo_height = 13;
- if (cached_has_bits & 0x00002000u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 13, this->_internal_videostatisticinfo_height(), target);
- }
- // optional int32 VideoStatisticInfo_fps = 14;
- if (cached_has_bits & 0x00004000u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 14, this->_internal_videostatisticinfo_fps(), target);
- }
- // optional int32 VideoStatisticInfo_bpf = 15;
- if (cached_has_bits & 0x00008000u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 15, this->_internal_videostatisticinfo_bpf(), target);
- }
- // optional int32 ShareStatisticInfo_width = 16;
- if (cached_has_bits & 0x00010000u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 16, this->_internal_sharestatisticinfo_width(), target);
- }
- // optional int32 ShareStatisticInfo_height = 17;
- if (cached_has_bits & 0x00020000u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 17, this->_internal_sharestatisticinfo_height(), target);
- }
- // optional int32 ShareStatisticInfo_fps = 18;
- if (cached_has_bits & 0x00040000u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 18, this->_internal_sharestatisticinfo_fps(), target);
- }
- // optional int32 ShareStatisticInfo_bpf = 19;
- if (cached_has_bits & 0x00080000u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 19, this->_internal_sharestatisticinfo_bpf(), target);
- }
- // optional string userid = 20;
- if (cached_has_bits & 0x00000004u) {
- const std::string& _s = this->_internal_userid();
- target = stream->WriteStringMaybeAliased(20, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
- return target;
- }
- ::size_t VideoSDKUser::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x000000ffu) {
- // optional string custom_identity = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_custom_identity());
- }
- // optional string username = 3;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_username());
- }
- // optional string userid = 20;
- if (cached_has_bits & 0x00000004u) {
- total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_userid());
- }
- // optional int64 p_user = 1;
- if (cached_has_bits & 0x00000008u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_p_user());
- }
- // optional int32 audioType = 6;
- if (cached_has_bits & 0x00000010u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_audiotype());
- }
- // optional bool isHasVideoDevice = 4;
- if (cached_has_bits & 0x00000020u) {
- total_size += 2;
- }
- // optional bool isVideoOn = 5;
- if (cached_has_bits & 0x00000040u) {
- total_size += 2;
- }
- // optional bool isAudioMuted = 7;
- if (cached_has_bits & 0x00000080u) {
- total_size += 2;
- }
- }
- if (cached_has_bits & 0x0000ff00u) {
- // optional bool isAudioTalking = 8;
- if (cached_has_bits & 0x00000100u) {
- total_size += 2;
- }
- // optional int32 ShareStatus = 9;
- if (cached_has_bits & 0x00000200u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_sharestatus());
- }
- // optional bool isHost = 10;
- if (cached_has_bits & 0x00000400u) {
- total_size += 2;
- }
- // optional bool isManager = 11;
- if (cached_has_bits & 0x00000800u) {
- total_size += 2;
- }
- // optional int32 VideoStatisticInfo_width = 12;
- if (cached_has_bits & 0x00001000u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_videostatisticinfo_width());
- }
- // optional int32 VideoStatisticInfo_height = 13;
- if (cached_has_bits & 0x00002000u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_videostatisticinfo_height());
- }
- // optional int32 VideoStatisticInfo_fps = 14;
- if (cached_has_bits & 0x00004000u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_videostatisticinfo_fps());
- }
- // optional int32 VideoStatisticInfo_bpf = 15;
- if (cached_has_bits & 0x00008000u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_videostatisticinfo_bpf());
- }
- }
- if (cached_has_bits & 0x000f0000u) {
- // optional int32 ShareStatisticInfo_width = 16;
- if (cached_has_bits & 0x00010000u) {
- total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
- this->_internal_sharestatisticinfo_width());
- }
- // optional int32 ShareStatisticInfo_height = 17;
- if (cached_has_bits & 0x00020000u) {
- total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
- this->_internal_sharestatisticinfo_height());
- }
- // optional int32 ShareStatisticInfo_fps = 18;
- if (cached_has_bits & 0x00040000u) {
- total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
- this->_internal_sharestatisticinfo_fps());
- }
- // optional int32 ShareStatisticInfo_bpf = 19;
- if (cached_has_bits & 0x00080000u) {
- total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
- this->_internal_sharestatisticinfo_bpf());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void VideoSDKUser::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const VideoSDKUser*>(
- &from));
- }
- void VideoSDKUser::MergeFrom(const VideoSDKUser& from) {
- VideoSDKUser* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x000000ffu) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_custom_identity(from._internal_custom_identity());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_set_username(from._internal_username());
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_internal_set_userid(from._internal_userid());
- }
- if (cached_has_bits & 0x00000008u) {
- _this->_impl_.p_user_ = from._impl_.p_user_;
- }
- if (cached_has_bits & 0x00000010u) {
- _this->_impl_.audiotype_ = from._impl_.audiotype_;
- }
- if (cached_has_bits & 0x00000020u) {
- _this->_impl_.ishasvideodevice_ = from._impl_.ishasvideodevice_;
- }
- if (cached_has_bits & 0x00000040u) {
- _this->_impl_.isvideoon_ = from._impl_.isvideoon_;
- }
- if (cached_has_bits & 0x00000080u) {
- _this->_impl_.isaudiomuted_ = from._impl_.isaudiomuted_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- if (cached_has_bits & 0x0000ff00u) {
- if (cached_has_bits & 0x00000100u) {
- _this->_impl_.isaudiotalking_ = from._impl_.isaudiotalking_;
- }
- if (cached_has_bits & 0x00000200u) {
- _this->_impl_.sharestatus_ = from._impl_.sharestatus_;
- }
- if (cached_has_bits & 0x00000400u) {
- _this->_impl_.ishost_ = from._impl_.ishost_;
- }
- if (cached_has_bits & 0x00000800u) {
- _this->_impl_.ismanager_ = from._impl_.ismanager_;
- }
- if (cached_has_bits & 0x00001000u) {
- _this->_impl_.videostatisticinfo_width_ = from._impl_.videostatisticinfo_width_;
- }
- if (cached_has_bits & 0x00002000u) {
- _this->_impl_.videostatisticinfo_height_ = from._impl_.videostatisticinfo_height_;
- }
- if (cached_has_bits & 0x00004000u) {
- _this->_impl_.videostatisticinfo_fps_ = from._impl_.videostatisticinfo_fps_;
- }
- if (cached_has_bits & 0x00008000u) {
- _this->_impl_.videostatisticinfo_bpf_ = from._impl_.videostatisticinfo_bpf_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- if (cached_has_bits & 0x000f0000u) {
- if (cached_has_bits & 0x00010000u) {
- _this->_impl_.sharestatisticinfo_width_ = from._impl_.sharestatisticinfo_width_;
- }
- if (cached_has_bits & 0x00020000u) {
- _this->_impl_.sharestatisticinfo_height_ = from._impl_.sharestatisticinfo_height_;
- }
- if (cached_has_bits & 0x00040000u) {
- _this->_impl_.sharestatisticinfo_fps_ = from._impl_.sharestatisticinfo_fps_;
- }
- if (cached_has_bits & 0x00080000u) {
- _this->_impl_.sharestatisticinfo_bpf_ = from._impl_.sharestatisticinfo_bpf_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void VideoSDKUser::CopyFrom(const VideoSDKUser& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKUser)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool VideoSDKUser::IsInitialized() const {
- return true;
- }
- void VideoSDKUser::InternalSwap(VideoSDKUser* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.custom_identity_, lhs_arena,
- &other->_impl_.custom_identity_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.username_, lhs_arena,
- &other->_impl_.username_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.userid_, lhs_arena,
- &other->_impl_.userid_, rhs_arena);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(VideoSDKUser, _impl_.sharestatisticinfo_bpf_)
- + sizeof(VideoSDKUser::_impl_.sharestatisticinfo_bpf_)
- - PROTOBUF_FIELD_OFFSET(VideoSDKUser, _impl_.p_user_)>(
- reinterpret_cast<char*>(&_impl_.p_user_),
- reinterpret_cast<char*>(&other->_impl_.p_user_));
- }
- std::string VideoSDKUser::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.VideoSDKUser";
- }
- // ===================================================================
- class UserList::_Internal {
- public:
- };
- UserList::UserList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.UserList)
- }
- UserList::UserList(const UserList& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- UserList* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.user_){from._impl_.user_}
- , /*decltype(_impl_._cached_size_)*/{}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.UserList)
- }
- inline void UserList::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.user_){arena}
- , /*decltype(_impl_._cached_size_)*/{}
- };
- }
- UserList::~UserList() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.UserList)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void UserList::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.user_.~RepeatedPtrField();
- }
- void UserList::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void UserList::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.UserList)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.user_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* UserList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr -= 1;
- do {
- ptr += 1;
- ptr = ctx->ParseMessage(_internal_add_user(), ptr);
- CHK_(ptr);
- if (!ctx->DataAvailable(ptr)) break;
- } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* UserList::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.UserList)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- for (unsigned i = 0,
- n = static_cast<unsigned>(this->_internal_user_size()); i < n; i++) {
- const auto& repfield = this->_internal_user(i);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.UserList)
- return target;
- }
- ::size_t UserList::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.UserList)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- total_size += 1UL * this->_internal_user_size();
- for (const auto& msg : this->_impl_.user_) {
- total_size +=
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void UserList::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const UserList*>(
- &from));
- }
- void UserList::MergeFrom(const UserList& from) {
- UserList* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.UserList)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- _this->_impl_.user_.MergeFrom(from._impl_.user_);
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void UserList::CopyFrom(const UserList& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.UserList)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool UserList::IsInitialized() const {
- return true;
- }
- void UserList::InternalSwap(UserList* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- _impl_.user_.InternalSwap(&other->_impl_.user_);
- }
- std::string UserList::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.UserList";
- }
- // ===================================================================
- class VideoSDKSessionAudioStatisticInfo::_Internal {
- public:
- using HasBits = decltype(std::declval<VideoSDKSessionAudioStatisticInfo>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(VideoSDKSessionAudioStatisticInfo, _impl_._has_bits_);
- static void set_has_frequency(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_latency(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_jitter(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- static void set_has_packetlossavg(HasBits* has_bits) {
- (*has_bits)[0] |= 8u;
- }
- static void set_has_packetlossmax(HasBits* has_bits) {
- (*has_bits)[0] |= 16u;
- }
- };
- VideoSDKSessionAudioStatisticInfo::VideoSDKSessionAudioStatisticInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
- }
- VideoSDKSessionAudioStatisticInfo::VideoSDKSessionAudioStatisticInfo(const VideoSDKSessionAudioStatisticInfo& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
- }
- inline void VideoSDKSessionAudioStatisticInfo::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.frequency_) { ::int64_t{0} }
- , decltype(_impl_.latency_) { ::int64_t{0} }
- , decltype(_impl_.jitter_) { ::int64_t{0} }
- , decltype(_impl_.packetlossavg_) { 0 }
- , decltype(_impl_.packetlossmax_) { 0 }
- };
- }
- VideoSDKSessionAudioStatisticInfo::~VideoSDKSessionAudioStatisticInfo() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void VideoSDKSessionAudioStatisticInfo::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void VideoSDKSessionAudioStatisticInfo::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void VideoSDKSessionAudioStatisticInfo::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x0000001fu) {
- ::memset(&_impl_.frequency_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.packetlossmax_) -
- reinterpret_cast<char*>(&_impl_.frequency_)) + sizeof(_impl_.packetlossmax_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* VideoSDKSessionAudioStatisticInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 frequency = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_frequency(&has_bits);
- _impl_.frequency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int64 latency = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_latency(&has_bits);
- _impl_.latency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int64 Jitter = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_jitter(&has_bits);
- _impl_.jitter_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional float packetLossAvg = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 37)) {
- _Internal::set_has_packetlossavg(&has_bits);
- _impl_.packetlossavg_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
- ptr += sizeof(float);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional float packetLossMax = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 45)) {
- _Internal::set_has_packetlossmax(&has_bits);
- _impl_.packetlossmax_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
- ptr += sizeof(float);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* VideoSDKSessionAudioStatisticInfo::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 frequency = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_frequency(), target);
- }
- // optional int64 latency = 2;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 2, this->_internal_latency(), target);
- }
- // optional int64 Jitter = 3;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 3, this->_internal_jitter(), target);
- }
- // optional float packetLossAvg = 4;
- if (cached_has_bits & 0x00000008u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteFloatToArray(
- 4, this->_internal_packetlossavg(), target);
- }
- // optional float packetLossMax = 5;
- if (cached_has_bits & 0x00000010u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteFloatToArray(
- 5, this->_internal_packetlossmax(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
- return target;
- }
- ::size_t VideoSDKSessionAudioStatisticInfo::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x0000001fu) {
- // optional int64 frequency = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_frequency());
- }
- // optional int64 latency = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_latency());
- }
- // optional int64 Jitter = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_jitter());
- }
- // optional float packetLossAvg = 4;
- if (cached_has_bits & 0x00000008u) {
- total_size += 5;
- }
- // optional float packetLossMax = 5;
- if (cached_has_bits & 0x00000010u) {
- total_size += 5;
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void VideoSDKSessionAudioStatisticInfo::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const VideoSDKSessionAudioStatisticInfo*>(
- &from));
- }
- void VideoSDKSessionAudioStatisticInfo::MergeFrom(const VideoSDKSessionAudioStatisticInfo& from) {
- VideoSDKSessionAudioStatisticInfo* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x0000001fu) {
- if (cached_has_bits & 0x00000001u) {
- _this->_impl_.frequency_ = from._impl_.frequency_;
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.latency_ = from._impl_.latency_;
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.jitter_ = from._impl_.jitter_;
- }
- if (cached_has_bits & 0x00000008u) {
- _this->_impl_.packetlossavg_ = from._impl_.packetlossavg_;
- }
- if (cached_has_bits & 0x00000010u) {
- _this->_impl_.packetlossmax_ = from._impl_.packetlossmax_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void VideoSDKSessionAudioStatisticInfo::CopyFrom(const VideoSDKSessionAudioStatisticInfo& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool VideoSDKSessionAudioStatisticInfo::IsInitialized() const {
- return true;
- }
- void VideoSDKSessionAudioStatisticInfo::InternalSwap(VideoSDKSessionAudioStatisticInfo* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(VideoSDKSessionAudioStatisticInfo, _impl_.packetlossmax_)
- + sizeof(VideoSDKSessionAudioStatisticInfo::_impl_.packetlossmax_)
- - PROTOBUF_FIELD_OFFSET(VideoSDKSessionAudioStatisticInfo, _impl_.frequency_)>(
- reinterpret_cast<char*>(&_impl_.frequency_),
- reinterpret_cast<char*>(&other->_impl_.frequency_));
- }
- std::string VideoSDKSessionAudioStatisticInfo::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo";
- }
- // ===================================================================
- class VideoSDKSessionAudioStatisticInfoList::_Internal {
- public:
- };
- VideoSDKSessionAudioStatisticInfoList::VideoSDKSessionAudioStatisticInfoList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
- }
- VideoSDKSessionAudioStatisticInfoList::VideoSDKSessionAudioStatisticInfoList(const VideoSDKSessionAudioStatisticInfoList& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- VideoSDKSessionAudioStatisticInfoList* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.audiostatisticinfo_){from._impl_.audiostatisticinfo_}
- , /*decltype(_impl_._cached_size_)*/{}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
- }
- inline void VideoSDKSessionAudioStatisticInfoList::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.audiostatisticinfo_){arena}
- , /*decltype(_impl_._cached_size_)*/{}
- };
- }
- VideoSDKSessionAudioStatisticInfoList::~VideoSDKSessionAudioStatisticInfoList() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void VideoSDKSessionAudioStatisticInfoList::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.audiostatisticinfo_.~RepeatedPtrField();
- }
- void VideoSDKSessionAudioStatisticInfoList::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void VideoSDKSessionAudioStatisticInfoList::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.audiostatisticinfo_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* VideoSDKSessionAudioStatisticInfoList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo audioStatisticInfo = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr -= 1;
- do {
- ptr += 1;
- ptr = ctx->ParseMessage(_internal_add_audiostatisticinfo(), ptr);
- CHK_(ptr);
- if (!ctx->DataAvailable(ptr)) break;
- } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* VideoSDKSessionAudioStatisticInfoList::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo audioStatisticInfo = 1;
- for (unsigned i = 0,
- n = static_cast<unsigned>(this->_internal_audiostatisticinfo_size()); i < n; i++) {
- const auto& repfield = this->_internal_audiostatisticinfo(i);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
- return target;
- }
- ::size_t VideoSDKSessionAudioStatisticInfoList::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfo audioStatisticInfo = 1;
- total_size += 1UL * this->_internal_audiostatisticinfo_size();
- for (const auto& msg : this->_impl_.audiostatisticinfo_) {
- total_size +=
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void VideoSDKSessionAudioStatisticInfoList::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const VideoSDKSessionAudioStatisticInfoList*>(
- &from));
- }
- void VideoSDKSessionAudioStatisticInfoList::MergeFrom(const VideoSDKSessionAudioStatisticInfoList& from) {
- VideoSDKSessionAudioStatisticInfoList* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- _this->_impl_.audiostatisticinfo_.MergeFrom(from._impl_.audiostatisticinfo_);
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void VideoSDKSessionAudioStatisticInfoList::CopyFrom(const VideoSDKSessionAudioStatisticInfoList& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool VideoSDKSessionAudioStatisticInfoList::IsInitialized() const {
- return true;
- }
- void VideoSDKSessionAudioStatisticInfoList::InternalSwap(VideoSDKSessionAudioStatisticInfoList* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- _impl_.audiostatisticinfo_.InternalSwap(&other->_impl_.audiostatisticinfo_);
- }
- std::string VideoSDKSessionAudioStatisticInfoList::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.VideoSDKSessionAudioStatisticInfoList";
- }
- // ===================================================================
- class VideoSDKSessionASVStatisticInfo::_Internal {
- public:
- using HasBits = decltype(std::declval<VideoSDKSessionASVStatisticInfo>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(VideoSDKSessionASVStatisticInfo, _impl_._has_bits_);
- static void set_has_frame_width(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_frame_height(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_fps(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- static void set_has_latency(HasBits* has_bits) {
- (*has_bits)[0] |= 8u;
- }
- static void set_has_jitter(HasBits* has_bits) {
- (*has_bits)[0] |= 16u;
- }
- static void set_has_packetlossavg(HasBits* has_bits) {
- (*has_bits)[0] |= 32u;
- }
- static void set_has_packetlossmax(HasBits* has_bits) {
- (*has_bits)[0] |= 64u;
- }
- };
- VideoSDKSessionASVStatisticInfo::VideoSDKSessionASVStatisticInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
- }
- VideoSDKSessionASVStatisticInfo::VideoSDKSessionASVStatisticInfo(const VideoSDKSessionASVStatisticInfo& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
- }
- inline void VideoSDKSessionASVStatisticInfo::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.frame_width_) { ::int64_t{0} }
- , decltype(_impl_.frame_height_) { ::int64_t{0} }
- , decltype(_impl_.fps_) { ::int64_t{0} }
- , decltype(_impl_.latency_) { ::int64_t{0} }
- , decltype(_impl_.jitter_) { ::int64_t{0} }
- , decltype(_impl_.packetlossavg_) { 0 }
- , decltype(_impl_.packetlossmax_) { 0 }
- };
- }
- VideoSDKSessionASVStatisticInfo::~VideoSDKSessionASVStatisticInfo() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void VideoSDKSessionASVStatisticInfo::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void VideoSDKSessionASVStatisticInfo::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void VideoSDKSessionASVStatisticInfo::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x0000007fu) {
- ::memset(&_impl_.frame_width_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.packetlossmax_) -
- reinterpret_cast<char*>(&_impl_.frame_width_)) + sizeof(_impl_.packetlossmax_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* VideoSDKSessionASVStatisticInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 frame_width = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_frame_width(&has_bits);
- _impl_.frame_width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int64 frame_height = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_frame_height(&has_bits);
- _impl_.frame_height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int64 fps = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_fps(&has_bits);
- _impl_.fps_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int64 latency = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
- _Internal::set_has_latency(&has_bits);
- _impl_.latency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int64 Jitter = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
- _Internal::set_has_jitter(&has_bits);
- _impl_.jitter_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional float packetLossAvg = 6;
- case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 53)) {
- _Internal::set_has_packetlossavg(&has_bits);
- _impl_.packetlossavg_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
- ptr += sizeof(float);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional float packetLossMax = 7;
- case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 61)) {
- _Internal::set_has_packetlossmax(&has_bits);
- _impl_.packetlossmax_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
- ptr += sizeof(float);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* VideoSDKSessionASVStatisticInfo::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 frame_width = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_frame_width(), target);
- }
- // optional int64 frame_height = 2;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 2, this->_internal_frame_height(), target);
- }
- // optional int64 fps = 3;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 3, this->_internal_fps(), target);
- }
- // optional int64 latency = 4;
- if (cached_has_bits & 0x00000008u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 4, this->_internal_latency(), target);
- }
- // optional int64 Jitter = 5;
- if (cached_has_bits & 0x00000010u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 5, this->_internal_jitter(), target);
- }
- // optional float packetLossAvg = 6;
- if (cached_has_bits & 0x00000020u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteFloatToArray(
- 6, this->_internal_packetlossavg(), target);
- }
- // optional float packetLossMax = 7;
- if (cached_has_bits & 0x00000040u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteFloatToArray(
- 7, this->_internal_packetlossmax(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
- return target;
- }
- ::size_t VideoSDKSessionASVStatisticInfo::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x0000007fu) {
- // optional int64 frame_width = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_frame_width());
- }
- // optional int64 frame_height = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_frame_height());
- }
- // optional int64 fps = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_fps());
- }
- // optional int64 latency = 4;
- if (cached_has_bits & 0x00000008u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_latency());
- }
- // optional int64 Jitter = 5;
- if (cached_has_bits & 0x00000010u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_jitter());
- }
- // optional float packetLossAvg = 6;
- if (cached_has_bits & 0x00000020u) {
- total_size += 5;
- }
- // optional float packetLossMax = 7;
- if (cached_has_bits & 0x00000040u) {
- total_size += 5;
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void VideoSDKSessionASVStatisticInfo::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const VideoSDKSessionASVStatisticInfo*>(
- &from));
- }
- void VideoSDKSessionASVStatisticInfo::MergeFrom(const VideoSDKSessionASVStatisticInfo& from) {
- VideoSDKSessionASVStatisticInfo* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x0000007fu) {
- if (cached_has_bits & 0x00000001u) {
- _this->_impl_.frame_width_ = from._impl_.frame_width_;
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.frame_height_ = from._impl_.frame_height_;
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.fps_ = from._impl_.fps_;
- }
- if (cached_has_bits & 0x00000008u) {
- _this->_impl_.latency_ = from._impl_.latency_;
- }
- if (cached_has_bits & 0x00000010u) {
- _this->_impl_.jitter_ = from._impl_.jitter_;
- }
- if (cached_has_bits & 0x00000020u) {
- _this->_impl_.packetlossavg_ = from._impl_.packetlossavg_;
- }
- if (cached_has_bits & 0x00000040u) {
- _this->_impl_.packetlossmax_ = from._impl_.packetlossmax_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void VideoSDKSessionASVStatisticInfo::CopyFrom(const VideoSDKSessionASVStatisticInfo& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool VideoSDKSessionASVStatisticInfo::IsInitialized() const {
- return true;
- }
- void VideoSDKSessionASVStatisticInfo::InternalSwap(VideoSDKSessionASVStatisticInfo* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(VideoSDKSessionASVStatisticInfo, _impl_.packetlossmax_)
- + sizeof(VideoSDKSessionASVStatisticInfo::_impl_.packetlossmax_)
- - PROTOBUF_FIELD_OFFSET(VideoSDKSessionASVStatisticInfo, _impl_.frame_width_)>(
- reinterpret_cast<char*>(&_impl_.frame_width_),
- reinterpret_cast<char*>(&other->_impl_.frame_width_));
- }
- std::string VideoSDKSessionASVStatisticInfo::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo";
- }
- // ===================================================================
- class VideoSDKSessionASVStatisticInfoList::_Internal {
- public:
- };
- VideoSDKSessionASVStatisticInfoList::VideoSDKSessionASVStatisticInfoList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
- }
- VideoSDKSessionASVStatisticInfoList::VideoSDKSessionASVStatisticInfoList(const VideoSDKSessionASVStatisticInfoList& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- VideoSDKSessionASVStatisticInfoList* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.asvstatisticinfo_){from._impl_.asvstatisticinfo_}
- , /*decltype(_impl_._cached_size_)*/{}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
- }
- inline void VideoSDKSessionASVStatisticInfoList::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.asvstatisticinfo_){arena}
- , /*decltype(_impl_._cached_size_)*/{}
- };
- }
- VideoSDKSessionASVStatisticInfoList::~VideoSDKSessionASVStatisticInfoList() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void VideoSDKSessionASVStatisticInfoList::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.asvstatisticinfo_.~RepeatedPtrField();
- }
- void VideoSDKSessionASVStatisticInfoList::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void VideoSDKSessionASVStatisticInfoList::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.asvstatisticinfo_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* VideoSDKSessionASVStatisticInfoList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo ASVStatisticInfo = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr -= 1;
- do {
- ptr += 1;
- ptr = ctx->ParseMessage(_internal_add_asvstatisticinfo(), ptr);
- CHK_(ptr);
- if (!ctx->DataAvailable(ptr)) break;
- } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* VideoSDKSessionASVStatisticInfoList::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo ASVStatisticInfo = 1;
- for (unsigned i = 0,
- n = static_cast<unsigned>(this->_internal_asvstatisticinfo_size()); i < n; i++) {
- const auto& repfield = this->_internal_asvstatisticinfo(i);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
- return target;
- }
- ::size_t VideoSDKSessionASVStatisticInfoList::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfo ASVStatisticInfo = 1;
- total_size += 1UL * this->_internal_asvstatisticinfo_size();
- for (const auto& msg : this->_impl_.asvstatisticinfo_) {
- total_size +=
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void VideoSDKSessionASVStatisticInfoList::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const VideoSDKSessionASVStatisticInfoList*>(
- &from));
- }
- void VideoSDKSessionASVStatisticInfoList::MergeFrom(const VideoSDKSessionASVStatisticInfoList& from) {
- VideoSDKSessionASVStatisticInfoList* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- _this->_impl_.asvstatisticinfo_.MergeFrom(from._impl_.asvstatisticinfo_);
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void VideoSDKSessionASVStatisticInfoList::CopyFrom(const VideoSDKSessionASVStatisticInfoList& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool VideoSDKSessionASVStatisticInfoList::IsInitialized() const {
- return true;
- }
- void VideoSDKSessionASVStatisticInfoList::InternalSwap(VideoSDKSessionASVStatisticInfoList* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- _impl_.asvstatisticinfo_.InternalSwap(&other->_impl_.asvstatisticinfo_);
- }
- std::string VideoSDKSessionASVStatisticInfoList::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.VideoSDKSessionASVStatisticInfoList";
- }
- // ===================================================================
- class SDKVideoCapability::_Internal {
- public:
- using HasBits = decltype(std::declval<SDKVideoCapability>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SDKVideoCapability, _impl_._has_bits_);
- static void set_has_iseffective(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_width(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_height(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- static void set_has_frame(HasBits* has_bits) {
- (*has_bits)[0] |= 8u;
- }
- };
- SDKVideoCapability::SDKVideoCapability(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
- }
- SDKVideoCapability::SDKVideoCapability(const SDKVideoCapability& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
- }
- inline void SDKVideoCapability::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.iseffective_) { false }
- , decltype(_impl_.width_) { 0 }
- , decltype(_impl_.height_) { 0 }
- , decltype(_impl_.frame_) { 0 }
- };
- }
- SDKVideoCapability::~SDKVideoCapability() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SDKVideoCapability::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void SDKVideoCapability::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SDKVideoCapability::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x0000000fu) {
- ::memset(&_impl_.iseffective_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.frame_) -
- reinterpret_cast<char*>(&_impl_.iseffective_)) + sizeof(_impl_.frame_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SDKVideoCapability::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional bool isEffective = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_iseffective(&has_bits);
- _impl_.iseffective_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 width = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_width(&has_bits);
- _impl_.width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 height = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_height(&has_bits);
- _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 frame = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
- _Internal::set_has_frame(&has_bits);
- _impl_.frame_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SDKVideoCapability::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional bool isEffective = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 1, this->_internal_iseffective(), target);
- }
- // optional int32 width = 2;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 2, this->_internal_width(), target);
- }
- // optional int32 height = 3;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 3, this->_internal_height(), target);
- }
- // optional int32 frame = 4;
- if (cached_has_bits & 0x00000008u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 4, this->_internal_frame(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
- return target;
- }
- ::size_t SDKVideoCapability::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x0000000fu) {
- // optional bool isEffective = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 2;
- }
- // optional int32 width = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_width());
- }
- // optional int32 height = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_height());
- }
- // optional int32 frame = 4;
- if (cached_has_bits & 0x00000008u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_frame());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SDKVideoCapability::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SDKVideoCapability*>(
- &from));
- }
- void SDKVideoCapability::MergeFrom(const SDKVideoCapability& from) {
- SDKVideoCapability* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x0000000fu) {
- if (cached_has_bits & 0x00000001u) {
- _this->_impl_.iseffective_ = from._impl_.iseffective_;
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.width_ = from._impl_.width_;
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.height_ = from._impl_.height_;
- }
- if (cached_has_bits & 0x00000008u) {
- _this->_impl_.frame_ = from._impl_.frame_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SDKVideoCapability::CopyFrom(const SDKVideoCapability& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapability)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SDKVideoCapability::IsInitialized() const {
- return true;
- }
- void SDKVideoCapability::InternalSwap(SDKVideoCapability* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(SDKVideoCapability, _impl_.frame_)
- + sizeof(SDKVideoCapability::_impl_.frame_)
- - PROTOBUF_FIELD_OFFSET(SDKVideoCapability, _impl_.iseffective_)>(
- reinterpret_cast<char*>(&_impl_.iseffective_),
- reinterpret_cast<char*>(&other->_impl_.iseffective_));
- }
- std::string SDKVideoCapability::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SDKVideoCapability";
- }
- // ===================================================================
- class SDKVideoCapabilityList::_Internal {
- public:
- };
- SDKVideoCapabilityList::SDKVideoCapabilityList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
- }
- SDKVideoCapabilityList::SDKVideoCapabilityList(const SDKVideoCapabilityList& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- SDKVideoCapabilityList* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.videocapability_){from._impl_.videocapability_}
- , /*decltype(_impl_._cached_size_)*/{}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
- }
- inline void SDKVideoCapabilityList::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.videocapability_){arena}
- , /*decltype(_impl_._cached_size_)*/{}
- };
- }
- SDKVideoCapabilityList::~SDKVideoCapabilityList() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SDKVideoCapabilityList::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.videocapability_.~RepeatedPtrField();
- }
- void SDKVideoCapabilityList::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SDKVideoCapabilityList::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.videocapability_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SDKVideoCapabilityList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // repeated .com.electron.zoomvideo.sdk.proto.SDKVideoCapability VideoCapability = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr -= 1;
- do {
- ptr += 1;
- ptr = ctx->ParseMessage(_internal_add_videocapability(), ptr);
- CHK_(ptr);
- if (!ctx->DataAvailable(ptr)) break;
- } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SDKVideoCapabilityList::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.SDKVideoCapability VideoCapability = 1;
- for (unsigned i = 0,
- n = static_cast<unsigned>(this->_internal_videocapability_size()); i < n; i++) {
- const auto& repfield = this->_internal_videocapability(i);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
- return target;
- }
- ::size_t SDKVideoCapabilityList::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.SDKVideoCapability VideoCapability = 1;
- total_size += 1UL * this->_internal_videocapability_size();
- for (const auto& msg : this->_impl_.videocapability_) {
- total_size +=
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SDKVideoCapabilityList::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SDKVideoCapabilityList*>(
- &from));
- }
- void SDKVideoCapabilityList::MergeFrom(const SDKVideoCapabilityList& from) {
- SDKVideoCapabilityList* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- _this->_impl_.videocapability_.MergeFrom(from._impl_.videocapability_);
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SDKVideoCapabilityList::CopyFrom(const SDKVideoCapabilityList& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SDKVideoCapabilityList::IsInitialized() const {
- return true;
- }
- void SDKVideoCapabilityList::InternalSwap(SDKVideoCapabilityList* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- _impl_.videocapability_.InternalSwap(&other->_impl_.videocapability_);
- }
- std::string SDKVideoCapabilityList::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList";
- }
- // ===================================================================
- class LTTLanguage::_Internal {
- public:
- using HasBits = decltype(std::declval<LTTLanguage>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(LTTLanguage, _impl_._has_bits_);
- static void set_has_lttlanguageid(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_lttlanguagename(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- LTTLanguage::LTTLanguage(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LTTLanguage)
- }
- LTTLanguage::LTTLanguage(const LTTLanguage& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- LTTLanguage* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.lttlanguagename_) {}
- , decltype(_impl_.lttlanguageid_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.lttlanguagename_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.lttlanguagename_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.lttlanguagename_.Set(from._internal_lttlanguagename(), _this->GetArenaForAllocation());
- }
- _this->_impl_.lttlanguageid_ = from._impl_.lttlanguageid_;
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LTTLanguage)
- }
- inline void LTTLanguage::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.lttlanguagename_) {}
- , decltype(_impl_.lttlanguageid_) { 0 }
- };
- _impl_.lttlanguagename_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.lttlanguagename_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- LTTLanguage::~LTTLanguage() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LTTLanguage)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void LTTLanguage::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.lttlanguagename_.Destroy();
- }
- void LTTLanguage::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void LTTLanguage::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LTTLanguage)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.lttlanguagename_.ClearNonDefaultToEmpty();
- }
- _impl_.lttlanguageid_ = 0;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* LTTLanguage::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int32 lttLanguageID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_lttlanguageid(&has_bits);
- _impl_.lttlanguageid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string lttLanguageName = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_lttlanguagename();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* LTTLanguage::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LTTLanguage)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int32 lttLanguageID = 1;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 1, this->_internal_lttlanguageid(), target);
- }
- // optional string lttLanguageName = 2;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_lttlanguagename();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LTTLanguage)
- return target;
- }
- ::size_t LTTLanguage::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LTTLanguage)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional string lttLanguageName = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_lttlanguagename());
- }
- // optional int32 lttLanguageID = 1;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_lttlanguageid());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void LTTLanguage::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const LTTLanguage*>(
- &from));
- }
- void LTTLanguage::MergeFrom(const LTTLanguage& from) {
- LTTLanguage* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LTTLanguage)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_lttlanguagename(from._internal_lttlanguagename());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.lttlanguageid_ = from._impl_.lttlanguageid_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void LTTLanguage::CopyFrom(const LTTLanguage& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LTTLanguage)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool LTTLanguage::IsInitialized() const {
- return true;
- }
- void LTTLanguage::InternalSwap(LTTLanguage* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.lttlanguagename_, lhs_arena,
- &other->_impl_.lttlanguagename_, rhs_arena);
- swap(_impl_.lttlanguageid_, other->_impl_.lttlanguageid_);
- }
- std::string LTTLanguage::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.LTTLanguage";
- }
- // ===================================================================
- class CallbackBody_onErrorParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onErrorParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onErrorParams, _impl_._has_bits_);
- static void set_has_errorcode(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_detailerrorcode(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- };
- CallbackBody_onErrorParams::CallbackBody_onErrorParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
- }
- CallbackBody_onErrorParams::CallbackBody_onErrorParams(const CallbackBody_onErrorParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
- }
- inline void CallbackBody_onErrorParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.errorcode_) { 0 }
- , decltype(_impl_.detailerrorcode_) { 0 }
- };
- }
- CallbackBody_onErrorParams::~CallbackBody_onErrorParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onErrorParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void CallbackBody_onErrorParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onErrorParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- ::memset(&_impl_.errorcode_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.detailerrorcode_) -
- reinterpret_cast<char*>(&_impl_.errorcode_)) + sizeof(_impl_.detailerrorcode_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onErrorParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int32 errorCode = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_errorcode(&has_bits);
- _impl_.errorcode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 detailErrorCode = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_detailerrorcode(&has_bits);
- _impl_.detailerrorcode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onErrorParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int32 errorCode = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 1, this->_internal_errorcode(), target);
- }
- // optional int32 detailErrorCode = 2;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 2, this->_internal_detailerrorcode(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
- return target;
- }
- ::size_t CallbackBody_onErrorParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional int32 errorCode = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_errorcode());
- }
- // optional int32 detailErrorCode = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_detailerrorcode());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onErrorParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onErrorParams*>(
- &from));
- }
- void CallbackBody_onErrorParams::MergeFrom(const CallbackBody_onErrorParams& from) {
- CallbackBody_onErrorParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_impl_.errorcode_ = from._impl_.errorcode_;
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.detailerrorcode_ = from._impl_.detailerrorcode_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onErrorParams::CopyFrom(const CallbackBody_onErrorParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onErrorParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onErrorParams::InternalSwap(CallbackBody_onErrorParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(CallbackBody_onErrorParams, _impl_.detailerrorcode_)
- + sizeof(CallbackBody_onErrorParams::_impl_.detailerrorcode_)
- - PROTOBUF_FIELD_OFFSET(CallbackBody_onErrorParams, _impl_.errorcode_)>(
- reinterpret_cast<char*>(&_impl_.errorcode_),
- reinterpret_cast<char*>(&other->_impl_.errorcode_));
- }
- std::string CallbackBody_onErrorParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams";
- }
- // ===================================================================
- class CallbackBody_onUserJoinParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onUserJoinParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserJoinParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::UserList& zn_userlist(const CallbackBody_onUserJoinParams* msg);
- static void set_has_zn_userlist(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::UserList&
- CallbackBody_onUserJoinParams::_Internal::zn_userlist(const CallbackBody_onUserJoinParams* msg) {
- return *msg->_impl_.zn_userlist_;
- }
- CallbackBody_onUserJoinParams::CallbackBody_onUserJoinParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
- }
- CallbackBody_onUserJoinParams::CallbackBody_onUserJoinParams(const CallbackBody_onUserJoinParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onUserJoinParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_userlist_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_userlist_ = new ::com::electron::zoomvideo::sdk::proto::UserList(*from._impl_.zn_userlist_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
- }
- inline void CallbackBody_onUserJoinParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_userlist_){nullptr}
- };
- }
- CallbackBody_onUserJoinParams::~CallbackBody_onUserJoinParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onUserJoinParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.zn_userlist_;
- }
- void CallbackBody_onUserJoinParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onUserJoinParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.zn_userlist_ != nullptr);
- _impl_.zn_userlist_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onUserJoinParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_zn_userlist(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onUserJoinParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::zn_userlist(this),
- _Internal::zn_userlist(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
- return target;
- }
- ::size_t CallbackBody_onUserJoinParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.zn_userlist_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onUserJoinParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserJoinParams*>(
- &from));
- }
- void CallbackBody_onUserJoinParams::MergeFrom(const CallbackBody_onUserJoinParams& from) {
- CallbackBody_onUserJoinParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_zn_userlist()->::com::electron::zoomvideo::sdk::proto::UserList::MergeFrom(
- from._internal_zn_userlist());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onUserJoinParams::CopyFrom(const CallbackBody_onUserJoinParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onUserJoinParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onUserJoinParams::InternalSwap(CallbackBody_onUserJoinParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_userlist_, other->_impl_.zn_userlist_);
- }
- std::string CallbackBody_onUserJoinParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams";
- }
- // ===================================================================
- class CallbackBody_onUserLeaveParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onUserLeaveParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserLeaveParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::UserList& zn_userlist(const CallbackBody_onUserLeaveParams* msg);
- static void set_has_zn_userlist(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::UserList&
- CallbackBody_onUserLeaveParams::_Internal::zn_userlist(const CallbackBody_onUserLeaveParams* msg) {
- return *msg->_impl_.zn_userlist_;
- }
- CallbackBody_onUserLeaveParams::CallbackBody_onUserLeaveParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
- }
- CallbackBody_onUserLeaveParams::CallbackBody_onUserLeaveParams(const CallbackBody_onUserLeaveParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onUserLeaveParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_userlist_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_userlist_ = new ::com::electron::zoomvideo::sdk::proto::UserList(*from._impl_.zn_userlist_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
- }
- inline void CallbackBody_onUserLeaveParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_userlist_){nullptr}
- };
- }
- CallbackBody_onUserLeaveParams::~CallbackBody_onUserLeaveParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onUserLeaveParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.zn_userlist_;
- }
- void CallbackBody_onUserLeaveParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onUserLeaveParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.zn_userlist_ != nullptr);
- _impl_.zn_userlist_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onUserLeaveParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_zn_userlist(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onUserLeaveParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::zn_userlist(this),
- _Internal::zn_userlist(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
- return target;
- }
- ::size_t CallbackBody_onUserLeaveParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.zn_userlist_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onUserLeaveParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserLeaveParams*>(
- &from));
- }
- void CallbackBody_onUserLeaveParams::MergeFrom(const CallbackBody_onUserLeaveParams& from) {
- CallbackBody_onUserLeaveParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_zn_userlist()->::com::electron::zoomvideo::sdk::proto::UserList::MergeFrom(
- from._internal_zn_userlist());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onUserLeaveParams::CopyFrom(const CallbackBody_onUserLeaveParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onUserLeaveParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onUserLeaveParams::InternalSwap(CallbackBody_onUserLeaveParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_userlist_, other->_impl_.zn_userlist_);
- }
- std::string CallbackBody_onUserLeaveParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams";
- }
- // ===================================================================
- class CallbackBody_onUserVideoStatusChangedParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onUserVideoStatusChangedParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserVideoStatusChangedParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::UserList& zn_userlist(const CallbackBody_onUserVideoStatusChangedParams* msg);
- static void set_has_zn_userlist(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::UserList&
- CallbackBody_onUserVideoStatusChangedParams::_Internal::zn_userlist(const CallbackBody_onUserVideoStatusChangedParams* msg) {
- return *msg->_impl_.zn_userlist_;
- }
- CallbackBody_onUserVideoStatusChangedParams::CallbackBody_onUserVideoStatusChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
- }
- CallbackBody_onUserVideoStatusChangedParams::CallbackBody_onUserVideoStatusChangedParams(const CallbackBody_onUserVideoStatusChangedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onUserVideoStatusChangedParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_userlist_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_userlist_ = new ::com::electron::zoomvideo::sdk::proto::UserList(*from._impl_.zn_userlist_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
- }
- inline void CallbackBody_onUserVideoStatusChangedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_userlist_){nullptr}
- };
- }
- CallbackBody_onUserVideoStatusChangedParams::~CallbackBody_onUserVideoStatusChangedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onUserVideoStatusChangedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.zn_userlist_;
- }
- void CallbackBody_onUserVideoStatusChangedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onUserVideoStatusChangedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.zn_userlist_ != nullptr);
- _impl_.zn_userlist_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onUserVideoStatusChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_zn_userlist(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onUserVideoStatusChangedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::zn_userlist(this),
- _Internal::zn_userlist(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
- return target;
- }
- ::size_t CallbackBody_onUserVideoStatusChangedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.zn_userlist_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onUserVideoStatusChangedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserVideoStatusChangedParams*>(
- &from));
- }
- void CallbackBody_onUserVideoStatusChangedParams::MergeFrom(const CallbackBody_onUserVideoStatusChangedParams& from) {
- CallbackBody_onUserVideoStatusChangedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_zn_userlist()->::com::electron::zoomvideo::sdk::proto::UserList::MergeFrom(
- from._internal_zn_userlist());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onUserVideoStatusChangedParams::CopyFrom(const CallbackBody_onUserVideoStatusChangedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onUserVideoStatusChangedParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onUserVideoStatusChangedParams::InternalSwap(CallbackBody_onUserVideoStatusChangedParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_userlist_, other->_impl_.zn_userlist_);
- }
- std::string CallbackBody_onUserVideoStatusChangedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams";
- }
- // ===================================================================
- class CallbackBody_onUserAudioStatusChangedParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onUserAudioStatusChangedParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserAudioStatusChangedParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::UserList& zn_userlist(const CallbackBody_onUserAudioStatusChangedParams* msg);
- static void set_has_zn_userlist(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::UserList&
- CallbackBody_onUserAudioStatusChangedParams::_Internal::zn_userlist(const CallbackBody_onUserAudioStatusChangedParams* msg) {
- return *msg->_impl_.zn_userlist_;
- }
- CallbackBody_onUserAudioStatusChangedParams::CallbackBody_onUserAudioStatusChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
- }
- CallbackBody_onUserAudioStatusChangedParams::CallbackBody_onUserAudioStatusChangedParams(const CallbackBody_onUserAudioStatusChangedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onUserAudioStatusChangedParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_userlist_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_userlist_ = new ::com::electron::zoomvideo::sdk::proto::UserList(*from._impl_.zn_userlist_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
- }
- inline void CallbackBody_onUserAudioStatusChangedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_userlist_){nullptr}
- };
- }
- CallbackBody_onUserAudioStatusChangedParams::~CallbackBody_onUserAudioStatusChangedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onUserAudioStatusChangedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.zn_userlist_;
- }
- void CallbackBody_onUserAudioStatusChangedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onUserAudioStatusChangedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.zn_userlist_ != nullptr);
- _impl_.zn_userlist_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onUserAudioStatusChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_zn_userlist(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onUserAudioStatusChangedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::zn_userlist(this),
- _Internal::zn_userlist(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
- return target;
- }
- ::size_t CallbackBody_onUserAudioStatusChangedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.zn_userlist_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onUserAudioStatusChangedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserAudioStatusChangedParams*>(
- &from));
- }
- void CallbackBody_onUserAudioStatusChangedParams::MergeFrom(const CallbackBody_onUserAudioStatusChangedParams& from) {
- CallbackBody_onUserAudioStatusChangedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_zn_userlist()->::com::electron::zoomvideo::sdk::proto::UserList::MergeFrom(
- from._internal_zn_userlist());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onUserAudioStatusChangedParams::CopyFrom(const CallbackBody_onUserAudioStatusChangedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onUserAudioStatusChangedParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onUserAudioStatusChangedParams::InternalSwap(CallbackBody_onUserAudioStatusChangedParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_userlist_, other->_impl_.zn_userlist_);
- }
- std::string CallbackBody_onUserAudioStatusChangedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams";
- }
- // ===================================================================
- class CallbackBody_onUserShareStatusChangedParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onUserShareStatusChangedParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserShareStatusChangedParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const CallbackBody_onUserShareStatusChangedParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_status(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_type(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- CallbackBody_onUserShareStatusChangedParams::_Internal::user(const CallbackBody_onUserShareStatusChangedParams* msg) {
- return *msg->_impl_.user_;
- }
- CallbackBody_onUserShareStatusChangedParams::CallbackBody_onUserShareStatusChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
- }
- CallbackBody_onUserShareStatusChangedParams::CallbackBody_onUserShareStatusChangedParams(const CallbackBody_onUserShareStatusChangedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onUserShareStatusChangedParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.status_) {}
- , decltype(_impl_.type_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- ::memcpy(&_impl_.status_, &from._impl_.status_,
- static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.type_) -
- reinterpret_cast<char*>(&_impl_.status_)) + sizeof(_impl_.type_));
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
- }
- inline void CallbackBody_onUserShareStatusChangedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.status_) { 0 }
- , decltype(_impl_.type_) { 0 }
- };
- }
- CallbackBody_onUserShareStatusChangedParams::~CallbackBody_onUserShareStatusChangedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onUserShareStatusChangedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void CallbackBody_onUserShareStatusChangedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onUserShareStatusChangedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- if (cached_has_bits & 0x00000006u) {
- ::memset(&_impl_.status_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.type_) -
- reinterpret_cast<char*>(&_impl_.status_)) + sizeof(_impl_.type_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onUserShareStatusChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 status = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_status(&has_bits);
- _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 type = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_type(&has_bits);
- _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onUserShareStatusChangedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- // optional int32 status = 2;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 2, this->_internal_status(), target);
- }
- // optional int32 type = 3;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 3, this->_internal_type(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
- return target;
- }
- ::size_t CallbackBody_onUserShareStatusChangedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- // optional int32 status = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_status());
- }
- // optional int32 type = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_type());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onUserShareStatusChangedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserShareStatusChangedParams*>(
- &from));
- }
- void CallbackBody_onUserShareStatusChangedParams::MergeFrom(const CallbackBody_onUserShareStatusChangedParams& from) {
- CallbackBody_onUserShareStatusChangedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.status_ = from._impl_.status_;
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.type_ = from._impl_.type_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onUserShareStatusChangedParams::CopyFrom(const CallbackBody_onUserShareStatusChangedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onUserShareStatusChangedParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onUserShareStatusChangedParams::InternalSwap(CallbackBody_onUserShareStatusChangedParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(CallbackBody_onUserShareStatusChangedParams, _impl_.type_)
- + sizeof(CallbackBody_onUserShareStatusChangedParams::_impl_.type_)
- - PROTOBUF_FIELD_OFFSET(CallbackBody_onUserShareStatusChangedParams, _impl_.user_)>(
- reinterpret_cast<char*>(&_impl_.user_),
- reinterpret_cast<char*>(&other->_impl_.user_));
- }
- std::string CallbackBody_onUserShareStatusChangedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams";
- }
- // ===================================================================
- class CallbackBody_onLiveStreamStatusChangedParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onLiveStreamStatusChangedParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onLiveStreamStatusChangedParams, _impl_._has_bits_);
- static void set_has_status(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- CallbackBody_onLiveStreamStatusChangedParams::CallbackBody_onLiveStreamStatusChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
- }
- CallbackBody_onLiveStreamStatusChangedParams::CallbackBody_onLiveStreamStatusChangedParams(const CallbackBody_onLiveStreamStatusChangedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
- }
- inline void CallbackBody_onLiveStreamStatusChangedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.status_) { 0 }
- };
- }
- CallbackBody_onLiveStreamStatusChangedParams::~CallbackBody_onLiveStreamStatusChangedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onLiveStreamStatusChangedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void CallbackBody_onLiveStreamStatusChangedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onLiveStreamStatusChangedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.status_ = 0;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onLiveStreamStatusChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int32 status = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_status(&has_bits);
- _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onLiveStreamStatusChangedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int32 status = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 1, this->_internal_status(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
- return target;
- }
- ::size_t CallbackBody_onLiveStreamStatusChangedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int32 status = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_status());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onLiveStreamStatusChangedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onLiveStreamStatusChangedParams*>(
- &from));
- }
- void CallbackBody_onLiveStreamStatusChangedParams::MergeFrom(const CallbackBody_onLiveStreamStatusChangedParams& from) {
- CallbackBody_onLiveStreamStatusChangedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_status(from._internal_status());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onLiveStreamStatusChangedParams::CopyFrom(const CallbackBody_onLiveStreamStatusChangedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onLiveStreamStatusChangedParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onLiveStreamStatusChangedParams::InternalSwap(CallbackBody_onLiveStreamStatusChangedParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.status_, other->_impl_.status_);
- }
- std::string CallbackBody_onLiveStreamStatusChangedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams";
- }
- // ===================================================================
- class CallbackBody_onUserHostChangedParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onUserHostChangedParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserHostChangedParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const CallbackBody_onUserHostChangedParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- CallbackBody_onUserHostChangedParams::_Internal::user(const CallbackBody_onUserHostChangedParams* msg) {
- return *msg->_impl_.user_;
- }
- CallbackBody_onUserHostChangedParams::CallbackBody_onUserHostChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
- }
- CallbackBody_onUserHostChangedParams::CallbackBody_onUserHostChangedParams(const CallbackBody_onUserHostChangedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onUserHostChangedParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
- }
- inline void CallbackBody_onUserHostChangedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- };
- }
- CallbackBody_onUserHostChangedParams::~CallbackBody_onUserHostChangedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onUserHostChangedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void CallbackBody_onUserHostChangedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onUserHostChangedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onUserHostChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onUserHostChangedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
- return target;
- }
- ::size_t CallbackBody_onUserHostChangedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onUserHostChangedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserHostChangedParams*>(
- &from));
- }
- void CallbackBody_onUserHostChangedParams::MergeFrom(const CallbackBody_onUserHostChangedParams& from) {
- CallbackBody_onUserHostChangedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onUserHostChangedParams::CopyFrom(const CallbackBody_onUserHostChangedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onUserHostChangedParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onUserHostChangedParams::InternalSwap(CallbackBody_onUserHostChangedParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.user_, other->_impl_.user_);
- }
- std::string CallbackBody_onUserHostChangedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams";
- }
- // ===================================================================
- class CallbackBody_onUserNameChangedParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onUserNameChangedParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserNameChangedParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const CallbackBody_onUserNameChangedParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- CallbackBody_onUserNameChangedParams::_Internal::user(const CallbackBody_onUserNameChangedParams* msg) {
- return *msg->_impl_.user_;
- }
- CallbackBody_onUserNameChangedParams::CallbackBody_onUserNameChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
- }
- CallbackBody_onUserNameChangedParams::CallbackBody_onUserNameChangedParams(const CallbackBody_onUserNameChangedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onUserNameChangedParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
- }
- inline void CallbackBody_onUserNameChangedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- };
- }
- CallbackBody_onUserNameChangedParams::~CallbackBody_onUserNameChangedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onUserNameChangedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void CallbackBody_onUserNameChangedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onUserNameChangedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onUserNameChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onUserNameChangedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
- return target;
- }
- ::size_t CallbackBody_onUserNameChangedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onUserNameChangedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserNameChangedParams*>(
- &from));
- }
- void CallbackBody_onUserNameChangedParams::MergeFrom(const CallbackBody_onUserNameChangedParams& from) {
- CallbackBody_onUserNameChangedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onUserNameChangedParams::CopyFrom(const CallbackBody_onUserNameChangedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onUserNameChangedParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onUserNameChangedParams::InternalSwap(CallbackBody_onUserNameChangedParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.user_, other->_impl_.user_);
- }
- std::string CallbackBody_onUserNameChangedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams";
- }
- // ===================================================================
- class CallbackBody_onUserManagerChangedParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onUserManagerChangedParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserManagerChangedParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const CallbackBody_onUserManagerChangedParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- CallbackBody_onUserManagerChangedParams::_Internal::user(const CallbackBody_onUserManagerChangedParams* msg) {
- return *msg->_impl_.user_;
- }
- CallbackBody_onUserManagerChangedParams::CallbackBody_onUserManagerChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
- }
- CallbackBody_onUserManagerChangedParams::CallbackBody_onUserManagerChangedParams(const CallbackBody_onUserManagerChangedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onUserManagerChangedParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
- }
- inline void CallbackBody_onUserManagerChangedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- };
- }
- CallbackBody_onUserManagerChangedParams::~CallbackBody_onUserManagerChangedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onUserManagerChangedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void CallbackBody_onUserManagerChangedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onUserManagerChangedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onUserManagerChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onUserManagerChangedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
- return target;
- }
- ::size_t CallbackBody_onUserManagerChangedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onUserManagerChangedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserManagerChangedParams*>(
- &from));
- }
- void CallbackBody_onUserManagerChangedParams::MergeFrom(const CallbackBody_onUserManagerChangedParams& from) {
- CallbackBody_onUserManagerChangedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onUserManagerChangedParams::CopyFrom(const CallbackBody_onUserManagerChangedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onUserManagerChangedParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onUserManagerChangedParams::InternalSwap(CallbackBody_onUserManagerChangedParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.user_, other->_impl_.user_);
- }
- std::string CallbackBody_onUserManagerChangedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams";
- }
- // ===================================================================
- class CallbackBody_onUserActiveAudioChangedParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onUserActiveAudioChangedParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onUserActiveAudioChangedParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::UserList& zn_userlist(const CallbackBody_onUserActiveAudioChangedParams* msg);
- static void set_has_zn_userlist(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::UserList&
- CallbackBody_onUserActiveAudioChangedParams::_Internal::zn_userlist(const CallbackBody_onUserActiveAudioChangedParams* msg) {
- return *msg->_impl_.zn_userlist_;
- }
- CallbackBody_onUserActiveAudioChangedParams::CallbackBody_onUserActiveAudioChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
- }
- CallbackBody_onUserActiveAudioChangedParams::CallbackBody_onUserActiveAudioChangedParams(const CallbackBody_onUserActiveAudioChangedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onUserActiveAudioChangedParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_userlist_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_userlist_ = new ::com::electron::zoomvideo::sdk::proto::UserList(*from._impl_.zn_userlist_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
- }
- inline void CallbackBody_onUserActiveAudioChangedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_userlist_){nullptr}
- };
- }
- CallbackBody_onUserActiveAudioChangedParams::~CallbackBody_onUserActiveAudioChangedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onUserActiveAudioChangedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.zn_userlist_;
- }
- void CallbackBody_onUserActiveAudioChangedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onUserActiveAudioChangedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.zn_userlist_ != nullptr);
- _impl_.zn_userlist_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onUserActiveAudioChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_zn_userlist(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onUserActiveAudioChangedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::zn_userlist(this),
- _Internal::zn_userlist(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
- return target;
- }
- ::size_t CallbackBody_onUserActiveAudioChangedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.UserList zn_userList = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.zn_userlist_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onUserActiveAudioChangedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onUserActiveAudioChangedParams*>(
- &from));
- }
- void CallbackBody_onUserActiveAudioChangedParams::MergeFrom(const CallbackBody_onUserActiveAudioChangedParams& from) {
- CallbackBody_onUserActiveAudioChangedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_zn_userlist()->::com::electron::zoomvideo::sdk::proto::UserList::MergeFrom(
- from._internal_zn_userlist());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onUserActiveAudioChangedParams::CopyFrom(const CallbackBody_onUserActiveAudioChangedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onUserActiveAudioChangedParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onUserActiveAudioChangedParams::InternalSwap(CallbackBody_onUserActiveAudioChangedParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_userlist_, other->_impl_.zn_userlist_);
- }
- std::string CallbackBody_onUserActiveAudioChangedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams";
- }
- // ===================================================================
- class CallbackBody_onChatNewMessageNotifyParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onChatNewMessageNotifyParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onChatNewMessageNotifyParams, _impl_._has_bits_);
- static void set_has_psender(HasBits* has_bits) {
- (*has_bits)[0] |= 16u;
- }
- static void set_has_sendername(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_preceiver(HasBits* has_bits) {
- (*has_bits)[0] |= 32u;
- }
- static void set_has_receivername(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_messagecontent(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- static void set_has_timestamp(HasBits* has_bits) {
- (*has_bits)[0] |= 64u;
- }
- static void set_has_ischattoall(HasBits* has_bits) {
- (*has_bits)[0] |= 128u;
- }
- static void set_has_isselfsend(HasBits* has_bits) {
- (*has_bits)[0] |= 256u;
- }
- static void set_has_messageid(HasBits* has_bits) {
- (*has_bits)[0] |= 8u;
- }
- };
- CallbackBody_onChatNewMessageNotifyParams::CallbackBody_onChatNewMessageNotifyParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
- }
- CallbackBody_onChatNewMessageNotifyParams::CallbackBody_onChatNewMessageNotifyParams(const CallbackBody_onChatNewMessageNotifyParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onChatNewMessageNotifyParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.sendername_) {}
- , decltype(_impl_.receivername_) {}
- , decltype(_impl_.messagecontent_) {}
- , decltype(_impl_.messageid_) {}
- , decltype(_impl_.psender_) {}
- , decltype(_impl_.preceiver_) {}
- , decltype(_impl_.timestamp_) {}
- , decltype(_impl_.ischattoall_) {}
- , decltype(_impl_.isselfsend_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.sendername_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.sendername_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.sendername_.Set(from._internal_sendername(), _this->GetArenaForAllocation());
- }
- _impl_.receivername_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.receivername_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.receivername_.Set(from._internal_receivername(), _this->GetArenaForAllocation());
- }
- _impl_.messagecontent_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.messagecontent_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
- _this->_impl_.messagecontent_.Set(from._internal_messagecontent(), _this->GetArenaForAllocation());
- }
- _impl_.messageid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.messageid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000008u) != 0) {
- _this->_impl_.messageid_.Set(from._internal_messageid(), _this->GetArenaForAllocation());
- }
- ::memcpy(&_impl_.psender_, &from._impl_.psender_,
- static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.isselfsend_) -
- reinterpret_cast<char*>(&_impl_.psender_)) + sizeof(_impl_.isselfsend_));
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
- }
- inline void CallbackBody_onChatNewMessageNotifyParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.sendername_) {}
- , decltype(_impl_.receivername_) {}
- , decltype(_impl_.messagecontent_) {}
- , decltype(_impl_.messageid_) {}
- , decltype(_impl_.psender_) { ::int64_t{0} }
- , decltype(_impl_.preceiver_) { ::int64_t{0} }
- , decltype(_impl_.timestamp_) { ::int64_t{0} }
- , decltype(_impl_.ischattoall_) { false }
- , decltype(_impl_.isselfsend_) { false }
- };
- _impl_.sendername_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.sendername_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.receivername_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.receivername_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.messagecontent_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.messagecontent_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.messageid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.messageid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- CallbackBody_onChatNewMessageNotifyParams::~CallbackBody_onChatNewMessageNotifyParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onChatNewMessageNotifyParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.sendername_.Destroy();
- _impl_.receivername_.Destroy();
- _impl_.messagecontent_.Destroy();
- _impl_.messageid_.Destroy();
- }
- void CallbackBody_onChatNewMessageNotifyParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onChatNewMessageNotifyParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x0000000fu) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.sendername_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- _impl_.receivername_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000004u) {
- _impl_.messagecontent_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000008u) {
- _impl_.messageid_.ClearNonDefaultToEmpty();
- }
- }
- if (cached_has_bits & 0x000000f0u) {
- ::memset(&_impl_.psender_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.ischattoall_) -
- reinterpret_cast<char*>(&_impl_.psender_)) + sizeof(_impl_.ischattoall_));
- }
- _impl_.isselfsend_ = false;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onChatNewMessageNotifyParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 pSender = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_psender(&has_bits);
- _impl_.psender_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string senderName = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_sendername();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int64 pReceiver = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_preceiver(&has_bits);
- _impl_.preceiver_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string receiverName = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
- auto str = _internal_mutable_receivername();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string messageContent = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) {
- auto str = _internal_mutable_messagecontent();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int64 timeStamp = 6;
- case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
- _Internal::set_has_timestamp(&has_bits);
- _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isChatToAll = 7;
- case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
- _Internal::set_has_ischattoall(&has_bits);
- _impl_.ischattoall_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isSelfSend = 8;
- case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
- _Internal::set_has_isselfsend(&has_bits);
- _impl_.isselfsend_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string messageID = 9;
- case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) {
- auto str = _internal_mutable_messageid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onChatNewMessageNotifyParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 pSender = 1;
- if (cached_has_bits & 0x00000010u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_psender(), target);
- }
- // optional string senderName = 2;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_sendername();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- // optional int64 pReceiver = 3;
- if (cached_has_bits & 0x00000020u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 3, this->_internal_preceiver(), target);
- }
- // optional string receiverName = 4;
- if (cached_has_bits & 0x00000002u) {
- const std::string& _s = this->_internal_receivername();
- target = stream->WriteStringMaybeAliased(4, _s, target);
- }
- // optional string messageContent = 5;
- if (cached_has_bits & 0x00000004u) {
- const std::string& _s = this->_internal_messagecontent();
- target = stream->WriteStringMaybeAliased(5, _s, target);
- }
- // optional int64 timeStamp = 6;
- if (cached_has_bits & 0x00000040u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 6, this->_internal_timestamp(), target);
- }
- // optional bool isChatToAll = 7;
- if (cached_has_bits & 0x00000080u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 7, this->_internal_ischattoall(), target);
- }
- // optional bool isSelfSend = 8;
- if (cached_has_bits & 0x00000100u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 8, this->_internal_isselfsend(), target);
- }
- // optional string messageID = 9;
- if (cached_has_bits & 0x00000008u) {
- const std::string& _s = this->_internal_messageid();
- target = stream->WriteStringMaybeAliased(9, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
- return target;
- }
- ::size_t CallbackBody_onChatNewMessageNotifyParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x000000ffu) {
- // optional string senderName = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_sendername());
- }
- // optional string receiverName = 4;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_receivername());
- }
- // optional string messageContent = 5;
- if (cached_has_bits & 0x00000004u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_messagecontent());
- }
- // optional string messageID = 9;
- if (cached_has_bits & 0x00000008u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_messageid());
- }
- // optional int64 pSender = 1;
- if (cached_has_bits & 0x00000010u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_psender());
- }
- // optional int64 pReceiver = 3;
- if (cached_has_bits & 0x00000020u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_preceiver());
- }
- // optional int64 timeStamp = 6;
- if (cached_has_bits & 0x00000040u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_timestamp());
- }
- // optional bool isChatToAll = 7;
- if (cached_has_bits & 0x00000080u) {
- total_size += 2;
- }
- }
- // optional bool isSelfSend = 8;
- if (cached_has_bits & 0x00000100u) {
- total_size += 2;
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onChatNewMessageNotifyParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onChatNewMessageNotifyParams*>(
- &from));
- }
- void CallbackBody_onChatNewMessageNotifyParams::MergeFrom(const CallbackBody_onChatNewMessageNotifyParams& from) {
- CallbackBody_onChatNewMessageNotifyParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x000000ffu) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_sendername(from._internal_sendername());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_set_receivername(from._internal_receivername());
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_internal_set_messagecontent(from._internal_messagecontent());
- }
- if (cached_has_bits & 0x00000008u) {
- _this->_internal_set_messageid(from._internal_messageid());
- }
- if (cached_has_bits & 0x00000010u) {
- _this->_impl_.psender_ = from._impl_.psender_;
- }
- if (cached_has_bits & 0x00000020u) {
- _this->_impl_.preceiver_ = from._impl_.preceiver_;
- }
- if (cached_has_bits & 0x00000040u) {
- _this->_impl_.timestamp_ = from._impl_.timestamp_;
- }
- if (cached_has_bits & 0x00000080u) {
- _this->_impl_.ischattoall_ = from._impl_.ischattoall_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- if (cached_has_bits & 0x00000100u) {
- _this->_internal_set_isselfsend(from._internal_isselfsend());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onChatNewMessageNotifyParams::CopyFrom(const CallbackBody_onChatNewMessageNotifyParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onChatNewMessageNotifyParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onChatNewMessageNotifyParams::InternalSwap(CallbackBody_onChatNewMessageNotifyParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.sendername_, lhs_arena,
- &other->_impl_.sendername_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.receivername_, lhs_arena,
- &other->_impl_.receivername_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.messagecontent_, lhs_arena,
- &other->_impl_.messagecontent_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.messageid_, lhs_arena,
- &other->_impl_.messageid_, rhs_arena);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(CallbackBody_onChatNewMessageNotifyParams, _impl_.isselfsend_)
- + sizeof(CallbackBody_onChatNewMessageNotifyParams::_impl_.isselfsend_)
- - PROTOBUF_FIELD_OFFSET(CallbackBody_onChatNewMessageNotifyParams, _impl_.psender_)>(
- reinterpret_cast<char*>(&_impl_.psender_),
- reinterpret_cast<char*>(&other->_impl_.psender_));
- }
- std::string CallbackBody_onChatNewMessageNotifyParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams";
- }
- // ===================================================================
- class CallbackBody_onChatMsgDeleteNotificationParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onChatMsgDeleteNotificationParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onChatMsgDeleteNotificationParams, _impl_._has_bits_);
- static void set_has_messageid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_deleteby(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- };
- CallbackBody_onChatMsgDeleteNotificationParams::CallbackBody_onChatMsgDeleteNotificationParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
- }
- CallbackBody_onChatMsgDeleteNotificationParams::CallbackBody_onChatMsgDeleteNotificationParams(const CallbackBody_onChatMsgDeleteNotificationParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onChatMsgDeleteNotificationParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.messageid_) {}
- , decltype(_impl_.deleteby_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.messageid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.messageid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.messageid_.Set(from._internal_messageid(), _this->GetArenaForAllocation());
- }
- _this->_impl_.deleteby_ = from._impl_.deleteby_;
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
- }
- inline void CallbackBody_onChatMsgDeleteNotificationParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.messageid_) {}
- , decltype(_impl_.deleteby_) { 0 }
- };
- _impl_.messageid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.messageid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- CallbackBody_onChatMsgDeleteNotificationParams::~CallbackBody_onChatMsgDeleteNotificationParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onChatMsgDeleteNotificationParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.messageid_.Destroy();
- }
- void CallbackBody_onChatMsgDeleteNotificationParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onChatMsgDeleteNotificationParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.messageid_.ClearNonDefaultToEmpty();
- }
- _impl_.deleteby_ = 0;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onChatMsgDeleteNotificationParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string messageID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_messageid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 deleteBy = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_deleteby(&has_bits);
- _impl_.deleteby_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onChatMsgDeleteNotificationParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string messageID = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_messageid();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional int32 deleteBy = 2;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 2, this->_internal_deleteby(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
- return target;
- }
- ::size_t CallbackBody_onChatMsgDeleteNotificationParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional string messageID = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_messageid());
- }
- // optional int32 deleteBy = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_deleteby());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onChatMsgDeleteNotificationParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onChatMsgDeleteNotificationParams*>(
- &from));
- }
- void CallbackBody_onChatMsgDeleteNotificationParams::MergeFrom(const CallbackBody_onChatMsgDeleteNotificationParams& from) {
- CallbackBody_onChatMsgDeleteNotificationParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_messageid(from._internal_messageid());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.deleteby_ = from._impl_.deleteby_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onChatMsgDeleteNotificationParams::CopyFrom(const CallbackBody_onChatMsgDeleteNotificationParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onChatMsgDeleteNotificationParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onChatMsgDeleteNotificationParams::InternalSwap(CallbackBody_onChatMsgDeleteNotificationParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.messageid_, lhs_arena,
- &other->_impl_.messageid_, rhs_arena);
- swap(_impl_.deleteby_, other->_impl_.deleteby_);
- }
- std::string CallbackBody_onChatMsgDeleteNotificationParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams";
- }
- // ===================================================================
- class CallbackBody_onVideoSourceInitializeParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onVideoSourceInitializeParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onVideoSourceInitializeParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::SDKVideoCapabilityList& videocapabilitylist(const CallbackBody_onVideoSourceInitializeParams* msg);
- static void set_has_videocapabilitylist(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::SDKVideoCapabilityList&
- CallbackBody_onVideoSourceInitializeParams::_Internal::videocapabilitylist(const CallbackBody_onVideoSourceInitializeParams* msg) {
- return *msg->_impl_.videocapabilitylist_;
- }
- CallbackBody_onVideoSourceInitializeParams::CallbackBody_onVideoSourceInitializeParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
- }
- CallbackBody_onVideoSourceInitializeParams::CallbackBody_onVideoSourceInitializeParams(const CallbackBody_onVideoSourceInitializeParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onVideoSourceInitializeParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.videocapabilitylist_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.videocapabilitylist_ = new ::com::electron::zoomvideo::sdk::proto::SDKVideoCapabilityList(*from._impl_.videocapabilitylist_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
- }
- inline void CallbackBody_onVideoSourceInitializeParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.videocapabilitylist_){nullptr}
- };
- }
- CallbackBody_onVideoSourceInitializeParams::~CallbackBody_onVideoSourceInitializeParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onVideoSourceInitializeParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.videocapabilitylist_;
- }
- void CallbackBody_onVideoSourceInitializeParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onVideoSourceInitializeParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.videocapabilitylist_ != nullptr);
- _impl_.videocapabilitylist_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onVideoSourceInitializeParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList VideoCapabilityList = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_videocapabilitylist(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onVideoSourceInitializeParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList VideoCapabilityList = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::videocapabilitylist(this),
- _Internal::videocapabilitylist(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
- return target;
- }
- ::size_t CallbackBody_onVideoSourceInitializeParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.SDKVideoCapabilityList VideoCapabilityList = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.videocapabilitylist_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onVideoSourceInitializeParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onVideoSourceInitializeParams*>(
- &from));
- }
- void CallbackBody_onVideoSourceInitializeParams::MergeFrom(const CallbackBody_onVideoSourceInitializeParams& from) {
- CallbackBody_onVideoSourceInitializeParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_videocapabilitylist()->::com::electron::zoomvideo::sdk::proto::SDKVideoCapabilityList::MergeFrom(
- from._internal_videocapabilitylist());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onVideoSourceInitializeParams::CopyFrom(const CallbackBody_onVideoSourceInitializeParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onVideoSourceInitializeParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onVideoSourceInitializeParams::InternalSwap(CallbackBody_onVideoSourceInitializeParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.videocapabilitylist_, other->_impl_.videocapabilitylist_);
- }
- std::string CallbackBody_onVideoSourceInitializeParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams";
- }
- // ===================================================================
- class CallbackBody_onPropertyChangeParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onPropertyChangeParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onPropertyChangeParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::SDKVideoCapability& videocapability(const CallbackBody_onPropertyChangeParams* msg);
- static void set_has_videocapability(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::SDKVideoCapability&
- CallbackBody_onPropertyChangeParams::_Internal::videocapability(const CallbackBody_onPropertyChangeParams* msg) {
- return *msg->_impl_.videocapability_;
- }
- CallbackBody_onPropertyChangeParams::CallbackBody_onPropertyChangeParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
- }
- CallbackBody_onPropertyChangeParams::CallbackBody_onPropertyChangeParams(const CallbackBody_onPropertyChangeParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onPropertyChangeParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.videocapability_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.videocapability_ = new ::com::electron::zoomvideo::sdk::proto::SDKVideoCapability(*from._impl_.videocapability_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
- }
- inline void CallbackBody_onPropertyChangeParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.videocapability_){nullptr}
- };
- }
- CallbackBody_onPropertyChangeParams::~CallbackBody_onPropertyChangeParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onPropertyChangeParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.videocapability_;
- }
- void CallbackBody_onPropertyChangeParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onPropertyChangeParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.videocapability_ != nullptr);
- _impl_.videocapability_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onPropertyChangeParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.SDKVideoCapability VideoCapability = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_videocapability(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onPropertyChangeParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.SDKVideoCapability VideoCapability = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::videocapability(this),
- _Internal::videocapability(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
- return target;
- }
- ::size_t CallbackBody_onPropertyChangeParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.SDKVideoCapability VideoCapability = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.videocapability_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onPropertyChangeParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onPropertyChangeParams*>(
- &from));
- }
- void CallbackBody_onPropertyChangeParams::MergeFrom(const CallbackBody_onPropertyChangeParams& from) {
- CallbackBody_onPropertyChangeParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_videocapability()->::com::electron::zoomvideo::sdk::proto::SDKVideoCapability::MergeFrom(
- from._internal_videocapability());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onPropertyChangeParams::CopyFrom(const CallbackBody_onPropertyChangeParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onPropertyChangeParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onPropertyChangeParams::InternalSwap(CallbackBody_onPropertyChangeParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.videocapability_, other->_impl_.videocapability_);
- }
- std::string CallbackBody_onPropertyChangeParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams";
- }
- // ===================================================================
- class CallbackBody_onRawDataStatusChangedParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onRawDataStatusChangedParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onRawDataStatusChangedParams, _impl_._has_bits_);
- static void set_has_recv_handle(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_status(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- };
- CallbackBody_onRawDataStatusChangedParams::CallbackBody_onRawDataStatusChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
- }
- CallbackBody_onRawDataStatusChangedParams::CallbackBody_onRawDataStatusChangedParams(const CallbackBody_onRawDataStatusChangedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
- }
- inline void CallbackBody_onRawDataStatusChangedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.recv_handle_) { ::int64_t{0} }
- , decltype(_impl_.status_) { 0 }
- };
- }
- CallbackBody_onRawDataStatusChangedParams::~CallbackBody_onRawDataStatusChangedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onRawDataStatusChangedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void CallbackBody_onRawDataStatusChangedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onRawDataStatusChangedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- ::memset(&_impl_.recv_handle_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.status_) -
- reinterpret_cast<char*>(&_impl_.recv_handle_)) + sizeof(_impl_.status_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onRawDataStatusChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 recv_handle = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_recv_handle(&has_bits);
- _impl_.recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 status = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_status(&has_bits);
- _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onRawDataStatusChangedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 recv_handle = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_recv_handle(), target);
- }
- // optional int32 status = 2;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 2, this->_internal_status(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
- return target;
- }
- ::size_t CallbackBody_onRawDataStatusChangedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional int64 recv_handle = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_recv_handle());
- }
- // optional int32 status = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_status());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onRawDataStatusChangedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onRawDataStatusChangedParams*>(
- &from));
- }
- void CallbackBody_onRawDataStatusChangedParams::MergeFrom(const CallbackBody_onRawDataStatusChangedParams& from) {
- CallbackBody_onRawDataStatusChangedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_impl_.recv_handle_ = from._impl_.recv_handle_;
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.status_ = from._impl_.status_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onRawDataStatusChangedParams::CopyFrom(const CallbackBody_onRawDataStatusChangedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onRawDataStatusChangedParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onRawDataStatusChangedParams::InternalSwap(CallbackBody_onRawDataStatusChangedParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(CallbackBody_onRawDataStatusChangedParams, _impl_.status_)
- + sizeof(CallbackBody_onRawDataStatusChangedParams::_impl_.status_)
- - PROTOBUF_FIELD_OFFSET(CallbackBody_onRawDataStatusChangedParams, _impl_.recv_handle_)>(
- reinterpret_cast<char*>(&_impl_.recv_handle_),
- reinterpret_cast<char*>(&other->_impl_.recv_handle_));
- }
- std::string CallbackBody_onRawDataStatusChangedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams";
- }
- // ===================================================================
- class CallbackBody_onCommandReceivedParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onCommandReceivedParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onCommandReceivedParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& psender(const CallbackBody_onCommandReceivedParams* msg);
- static void set_has_psender(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_strcmd(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- CallbackBody_onCommandReceivedParams::_Internal::psender(const CallbackBody_onCommandReceivedParams* msg) {
- return *msg->_impl_.psender_;
- }
- CallbackBody_onCommandReceivedParams::CallbackBody_onCommandReceivedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
- }
- CallbackBody_onCommandReceivedParams::CallbackBody_onCommandReceivedParams(const CallbackBody_onCommandReceivedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onCommandReceivedParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.strcmd_) {}
- , decltype(_impl_.psender_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.strcmd_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.strcmd_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.strcmd_.Set(from._internal_strcmd(), _this->GetArenaForAllocation());
- }
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.psender_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.psender_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
- }
- inline void CallbackBody_onCommandReceivedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.strcmd_) {}
- , decltype(_impl_.psender_){nullptr}
- };
- _impl_.strcmd_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.strcmd_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- CallbackBody_onCommandReceivedParams::~CallbackBody_onCommandReceivedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onCommandReceivedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.strcmd_.Destroy();
- if (this != internal_default_instance()) delete _impl_.psender_;
- }
- void CallbackBody_onCommandReceivedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onCommandReceivedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.strcmd_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- ABSL_DCHECK(_impl_.psender_ != nullptr);
- _impl_.psender_->Clear();
- }
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onCommandReceivedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pSender = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_psender(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string strCmd = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_strcmd();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onCommandReceivedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pSender = 1;
- if (cached_has_bits & 0x00000002u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::psender(this),
- _Internal::psender(this).GetCachedSize(), target, stream);
- }
- // optional string strCmd = 2;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_strcmd();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
- return target;
- }
- ::size_t CallbackBody_onCommandReceivedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional string strCmd = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_strcmd());
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pSender = 1;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.psender_);
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onCommandReceivedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onCommandReceivedParams*>(
- &from));
- }
- void CallbackBody_onCommandReceivedParams::MergeFrom(const CallbackBody_onCommandReceivedParams& from) {
- CallbackBody_onCommandReceivedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_strcmd(from._internal_strcmd());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_mutable_psender()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_psender());
- }
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onCommandReceivedParams::CopyFrom(const CallbackBody_onCommandReceivedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onCommandReceivedParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onCommandReceivedParams::InternalSwap(CallbackBody_onCommandReceivedParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.strcmd_, lhs_arena,
- &other->_impl_.strcmd_, rhs_arena);
- swap(_impl_.psender_, other->_impl_.psender_);
- }
- std::string CallbackBody_onCommandReceivedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams";
- }
- // ===================================================================
- class CallbackBody_onCommandChannelConnectResultParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onCommandChannelConnectResultParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onCommandChannelConnectResultParams, _impl_._has_bits_);
- static void set_has_issuccess(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- CallbackBody_onCommandChannelConnectResultParams::CallbackBody_onCommandChannelConnectResultParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
- }
- CallbackBody_onCommandChannelConnectResultParams::CallbackBody_onCommandChannelConnectResultParams(const CallbackBody_onCommandChannelConnectResultParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
- }
- inline void CallbackBody_onCommandChannelConnectResultParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.issuccess_) { false }
- };
- }
- CallbackBody_onCommandChannelConnectResultParams::~CallbackBody_onCommandChannelConnectResultParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onCommandChannelConnectResultParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void CallbackBody_onCommandChannelConnectResultParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onCommandChannelConnectResultParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.issuccess_ = false;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onCommandChannelConnectResultParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional bool isSuccess = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_issuccess(&has_bits);
- _impl_.issuccess_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onCommandChannelConnectResultParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional bool isSuccess = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 1, this->_internal_issuccess(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
- return target;
- }
- ::size_t CallbackBody_onCommandChannelConnectResultParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional bool isSuccess = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 2;
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onCommandChannelConnectResultParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onCommandChannelConnectResultParams*>(
- &from));
- }
- void CallbackBody_onCommandChannelConnectResultParams::MergeFrom(const CallbackBody_onCommandChannelConnectResultParams& from) {
- CallbackBody_onCommandChannelConnectResultParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_issuccess(from._internal_issuccess());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onCommandChannelConnectResultParams::CopyFrom(const CallbackBody_onCommandChannelConnectResultParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onCommandChannelConnectResultParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onCommandChannelConnectResultParams::InternalSwap(CallbackBody_onCommandChannelConnectResultParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.issuccess_, other->_impl_.issuccess_);
- }
- std::string CallbackBody_onCommandChannelConnectResultParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams";
- }
- // ===================================================================
- class CallbackBody_onInviteByPhoneStatusParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onInviteByPhoneStatusParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onInviteByPhoneStatusParams, _impl_._has_bits_);
- static void set_has_status(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_reason(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- };
- CallbackBody_onInviteByPhoneStatusParams::CallbackBody_onInviteByPhoneStatusParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
- }
- CallbackBody_onInviteByPhoneStatusParams::CallbackBody_onInviteByPhoneStatusParams(const CallbackBody_onInviteByPhoneStatusParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
- }
- inline void CallbackBody_onInviteByPhoneStatusParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.status_) { 0 }
- , decltype(_impl_.reason_) { 0 }
- };
- }
- CallbackBody_onInviteByPhoneStatusParams::~CallbackBody_onInviteByPhoneStatusParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onInviteByPhoneStatusParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void CallbackBody_onInviteByPhoneStatusParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onInviteByPhoneStatusParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- ::memset(&_impl_.status_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.reason_) -
- reinterpret_cast<char*>(&_impl_.status_)) + sizeof(_impl_.reason_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onInviteByPhoneStatusParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int32 status = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_status(&has_bits);
- _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 reason = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_reason(&has_bits);
- _impl_.reason_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onInviteByPhoneStatusParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int32 status = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 1, this->_internal_status(), target);
- }
- // optional int32 reason = 2;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 2, this->_internal_reason(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
- return target;
- }
- ::size_t CallbackBody_onInviteByPhoneStatusParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional int32 status = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_status());
- }
- // optional int32 reason = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_reason());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onInviteByPhoneStatusParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onInviteByPhoneStatusParams*>(
- &from));
- }
- void CallbackBody_onInviteByPhoneStatusParams::MergeFrom(const CallbackBody_onInviteByPhoneStatusParams& from) {
- CallbackBody_onInviteByPhoneStatusParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_impl_.status_ = from._impl_.status_;
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.reason_ = from._impl_.reason_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onInviteByPhoneStatusParams::CopyFrom(const CallbackBody_onInviteByPhoneStatusParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onInviteByPhoneStatusParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onInviteByPhoneStatusParams::InternalSwap(CallbackBody_onInviteByPhoneStatusParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(CallbackBody_onInviteByPhoneStatusParams, _impl_.reason_)
- + sizeof(CallbackBody_onInviteByPhoneStatusParams::_impl_.reason_)
- - PROTOBUF_FIELD_OFFSET(CallbackBody_onInviteByPhoneStatusParams, _impl_.status_)>(
- reinterpret_cast<char*>(&_impl_.status_),
- reinterpret_cast<char*>(&other->_impl_.status_));
- }
- std::string CallbackBody_onInviteByPhoneStatusParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams";
- }
- // ===================================================================
- class CallbackBody_onCloudRecordingStatusParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onCloudRecordingStatusParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onCloudRecordingStatusParams, _impl_._has_bits_);
- static void set_has_status(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- CallbackBody_onCloudRecordingStatusParams::CallbackBody_onCloudRecordingStatusParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
- }
- CallbackBody_onCloudRecordingStatusParams::CallbackBody_onCloudRecordingStatusParams(const CallbackBody_onCloudRecordingStatusParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
- }
- inline void CallbackBody_onCloudRecordingStatusParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.status_) { 0 }
- };
- }
- CallbackBody_onCloudRecordingStatusParams::~CallbackBody_onCloudRecordingStatusParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onCloudRecordingStatusParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void CallbackBody_onCloudRecordingStatusParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onCloudRecordingStatusParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.status_ = 0;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onCloudRecordingStatusParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int32 status = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_status(&has_bits);
- _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onCloudRecordingStatusParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int32 status = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 1, this->_internal_status(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
- return target;
- }
- ::size_t CallbackBody_onCloudRecordingStatusParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int32 status = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_status());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onCloudRecordingStatusParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onCloudRecordingStatusParams*>(
- &from));
- }
- void CallbackBody_onCloudRecordingStatusParams::MergeFrom(const CallbackBody_onCloudRecordingStatusParams& from) {
- CallbackBody_onCloudRecordingStatusParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_status(from._internal_status());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onCloudRecordingStatusParams::CopyFrom(const CallbackBody_onCloudRecordingStatusParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onCloudRecordingStatusParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onCloudRecordingStatusParams::InternalSwap(CallbackBody_onCloudRecordingStatusParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.status_, other->_impl_.status_);
- }
- std::string CallbackBody_onCloudRecordingStatusParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams";
- }
- // ===================================================================
- class CallbackBody_onCameraControlRequestResultParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onCameraControlRequestResultParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onCameraControlRequestResultParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& puser(const CallbackBody_onCameraControlRequestResultParams* msg);
- static void set_has_puser(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_isapproved(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- CallbackBody_onCameraControlRequestResultParams::_Internal::puser(const CallbackBody_onCameraControlRequestResultParams* msg) {
- return *msg->_impl_.puser_;
- }
- CallbackBody_onCameraControlRequestResultParams::CallbackBody_onCameraControlRequestResultParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
- }
- CallbackBody_onCameraControlRequestResultParams::CallbackBody_onCameraControlRequestResultParams(const CallbackBody_onCameraControlRequestResultParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onCameraControlRequestResultParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.puser_){nullptr}
- , decltype(_impl_.isapproved_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.puser_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.puser_);
- }
- _this->_impl_.isapproved_ = from._impl_.isapproved_;
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
- }
- inline void CallbackBody_onCameraControlRequestResultParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.puser_){nullptr}
- , decltype(_impl_.isapproved_) { false }
- };
- }
- CallbackBody_onCameraControlRequestResultParams::~CallbackBody_onCameraControlRequestResultParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onCameraControlRequestResultParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.puser_;
- }
- void CallbackBody_onCameraControlRequestResultParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onCameraControlRequestResultParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.puser_ != nullptr);
- _impl_.puser_->Clear();
- }
- _impl_.isapproved_ = false;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onCameraControlRequestResultParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pUser = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_puser(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isApproved = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_isapproved(&has_bits);
- _impl_.isapproved_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onCameraControlRequestResultParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pUser = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::puser(this),
- _Internal::puser(this).GetCachedSize(), target, stream);
- }
- // optional bool isApproved = 2;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 2, this->_internal_isapproved(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
- return target;
- }
- ::size_t CallbackBody_onCameraControlRequestResultParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pUser = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.puser_);
- }
- // optional bool isApproved = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 2;
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onCameraControlRequestResultParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onCameraControlRequestResultParams*>(
- &from));
- }
- void CallbackBody_onCameraControlRequestResultParams::MergeFrom(const CallbackBody_onCameraControlRequestResultParams& from) {
- CallbackBody_onCameraControlRequestResultParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_mutable_puser()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_puser());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.isapproved_ = from._impl_.isapproved_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onCameraControlRequestResultParams::CopyFrom(const CallbackBody_onCameraControlRequestResultParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onCameraControlRequestResultParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onCameraControlRequestResultParams::InternalSwap(CallbackBody_onCameraControlRequestResultParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(CallbackBody_onCameraControlRequestResultParams, _impl_.isapproved_)
- + sizeof(CallbackBody_onCameraControlRequestResultParams::_impl_.isapproved_)
- - PROTOBUF_FIELD_OFFSET(CallbackBody_onCameraControlRequestResultParams, _impl_.puser_)>(
- reinterpret_cast<char*>(&_impl_.puser_),
- reinterpret_cast<char*>(&other->_impl_.puser_));
- }
- std::string CallbackBody_onCameraControlRequestResultParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams";
- }
- // ===================================================================
- class CallbackBody_onCameraControlRequestReceivedParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onCameraControlRequestReceivedParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onCameraControlRequestReceivedParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& puser(const CallbackBody_onCameraControlRequestReceivedParams* msg);
- static void set_has_puser(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_requesttype(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- CallbackBody_onCameraControlRequestReceivedParams::_Internal::puser(const CallbackBody_onCameraControlRequestReceivedParams* msg) {
- return *msg->_impl_.puser_;
- }
- CallbackBody_onCameraControlRequestReceivedParams::CallbackBody_onCameraControlRequestReceivedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
- }
- CallbackBody_onCameraControlRequestReceivedParams::CallbackBody_onCameraControlRequestReceivedParams(const CallbackBody_onCameraControlRequestReceivedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onCameraControlRequestReceivedParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.puser_){nullptr}
- , decltype(_impl_.requesttype_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.puser_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.puser_);
- }
- _this->_impl_.requesttype_ = from._impl_.requesttype_;
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
- }
- inline void CallbackBody_onCameraControlRequestReceivedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.puser_){nullptr}
- , decltype(_impl_.requesttype_) { 0 }
- };
- }
- CallbackBody_onCameraControlRequestReceivedParams::~CallbackBody_onCameraControlRequestReceivedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onCameraControlRequestReceivedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.puser_;
- }
- void CallbackBody_onCameraControlRequestReceivedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onCameraControlRequestReceivedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.puser_ != nullptr);
- _impl_.puser_->Clear();
- }
- _impl_.requesttype_ = 0;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onCameraControlRequestReceivedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pUser = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_puser(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 requestType = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_requesttype(&has_bits);
- _impl_.requesttype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onCameraControlRequestReceivedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pUser = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::puser(this),
- _Internal::puser(this).GetCachedSize(), target, stream);
- }
- // optional int32 requestType = 2;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 2, this->_internal_requesttype(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
- return target;
- }
- ::size_t CallbackBody_onCameraControlRequestReceivedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser pUser = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.puser_);
- }
- // optional int32 requestType = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_requesttype());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onCameraControlRequestReceivedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onCameraControlRequestReceivedParams*>(
- &from));
- }
- void CallbackBody_onCameraControlRequestReceivedParams::MergeFrom(const CallbackBody_onCameraControlRequestReceivedParams& from) {
- CallbackBody_onCameraControlRequestReceivedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_mutable_puser()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_puser());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.requesttype_ = from._impl_.requesttype_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onCameraControlRequestReceivedParams::CopyFrom(const CallbackBody_onCameraControlRequestReceivedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onCameraControlRequestReceivedParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onCameraControlRequestReceivedParams::InternalSwap(CallbackBody_onCameraControlRequestReceivedParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(CallbackBody_onCameraControlRequestReceivedParams, _impl_.requesttype_)
- + sizeof(CallbackBody_onCameraControlRequestReceivedParams::_impl_.requesttype_)
- - PROTOBUF_FIELD_OFFSET(CallbackBody_onCameraControlRequestReceivedParams, _impl_.puser_)>(
- reinterpret_cast<char*>(&_impl_.puser_),
- reinterpret_cast<char*>(&other->_impl_.puser_));
- }
- std::string CallbackBody_onCameraControlRequestReceivedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams";
- }
- // ===================================================================
- class CallbackBody_onHostAskUnmuteParams::_Internal {
- public:
- };
- CallbackBody_onHostAskUnmuteParams::CallbackBody_onHostAskUnmuteParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
- }
- CallbackBody_onHostAskUnmuteParams::CallbackBody_onHostAskUnmuteParams(const CallbackBody_onHostAskUnmuteParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
- }
- inline void CallbackBody_onHostAskUnmuteParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- /*decltype(_impl_._cached_size_)*/{}
- };
- }
- CallbackBody_onHostAskUnmuteParams::~CallbackBody_onHostAskUnmuteParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onHostAskUnmuteParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void CallbackBody_onHostAskUnmuteParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onHostAskUnmuteParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onHostAskUnmuteParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onHostAskUnmuteParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
- return target;
- }
- ::size_t CallbackBody_onHostAskUnmuteParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onHostAskUnmuteParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onHostAskUnmuteParams*>(
- &from));
- }
- void CallbackBody_onHostAskUnmuteParams::MergeFrom(const CallbackBody_onHostAskUnmuteParams& from) {
- CallbackBody_onHostAskUnmuteParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onHostAskUnmuteParams::CopyFrom(const CallbackBody_onHostAskUnmuteParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onHostAskUnmuteParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onHostAskUnmuteParams::InternalSwap(CallbackBody_onHostAskUnmuteParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- }
- std::string CallbackBody_onHostAskUnmuteParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams";
- }
- // ===================================================================
- class CallbackBody_onMultiCameraStreamStatusChangedParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onMultiCameraStreamStatusChangedParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onMultiCameraStreamStatusChangedParams, _impl_._has_bits_);
- static void set_has_status(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const CallbackBody_onMultiCameraStreamStatusChangedParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_camerastreamid(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- CallbackBody_onMultiCameraStreamStatusChangedParams::_Internal::user(const CallbackBody_onMultiCameraStreamStatusChangedParams* msg) {
- return *msg->_impl_.user_;
- }
- CallbackBody_onMultiCameraStreamStatusChangedParams::CallbackBody_onMultiCameraStreamStatusChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
- }
- CallbackBody_onMultiCameraStreamStatusChangedParams::CallbackBody_onMultiCameraStreamStatusChangedParams(const CallbackBody_onMultiCameraStreamStatusChangedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onMultiCameraStreamStatusChangedParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.camerastreamid_) {}
- , decltype(_impl_.status_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- ::memcpy(&_impl_.camerastreamid_, &from._impl_.camerastreamid_,
- static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.status_) -
- reinterpret_cast<char*>(&_impl_.camerastreamid_)) + sizeof(_impl_.status_));
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
- }
- inline void CallbackBody_onMultiCameraStreamStatusChangedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.camerastreamid_) { ::int64_t{0} }
- , decltype(_impl_.status_) { 0 }
- };
- }
- CallbackBody_onMultiCameraStreamStatusChangedParams::~CallbackBody_onMultiCameraStreamStatusChangedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onMultiCameraStreamStatusChangedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void CallbackBody_onMultiCameraStreamStatusChangedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onMultiCameraStreamStatusChangedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- if (cached_has_bits & 0x00000006u) {
- ::memset(&_impl_.camerastreamid_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.status_) -
- reinterpret_cast<char*>(&_impl_.camerastreamid_)) + sizeof(_impl_.status_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onMultiCameraStreamStatusChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int32 status = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_status(&has_bits);
- _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int64 cameraStreamID = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_camerastreamid(&has_bits);
- _impl_.camerastreamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onMultiCameraStreamStatusChangedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int32 status = 1;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 1, this->_internal_status(), target);
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- // optional int64 cameraStreamID = 3;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 3, this->_internal_camerastreamid(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
- return target;
- }
- ::size_t CallbackBody_onMultiCameraStreamStatusChangedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- // optional int64 cameraStreamID = 3;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_camerastreamid());
- }
- // optional int32 status = 1;
- if (cached_has_bits & 0x00000004u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_status());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onMultiCameraStreamStatusChangedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onMultiCameraStreamStatusChangedParams*>(
- &from));
- }
- void CallbackBody_onMultiCameraStreamStatusChangedParams::MergeFrom(const CallbackBody_onMultiCameraStreamStatusChangedParams& from) {
- CallbackBody_onMultiCameraStreamStatusChangedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.camerastreamid_ = from._impl_.camerastreamid_;
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.status_ = from._impl_.status_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onMultiCameraStreamStatusChangedParams::CopyFrom(const CallbackBody_onMultiCameraStreamStatusChangedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onMultiCameraStreamStatusChangedParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onMultiCameraStreamStatusChangedParams::InternalSwap(CallbackBody_onMultiCameraStreamStatusChangedParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(CallbackBody_onMultiCameraStreamStatusChangedParams, _impl_.status_)
- + sizeof(CallbackBody_onMultiCameraStreamStatusChangedParams::_impl_.status_)
- - PROTOBUF_FIELD_OFFSET(CallbackBody_onMultiCameraStreamStatusChangedParams, _impl_.user_)>(
- reinterpret_cast<char*>(&_impl_.user_),
- reinterpret_cast<char*>(&other->_impl_.user_));
- }
- std::string CallbackBody_onMultiCameraStreamStatusChangedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams";
- }
- // ===================================================================
- class CallbackBody_onMicSpeakerVolumeChangedParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onMicSpeakerVolumeChangedParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onMicSpeakerVolumeChangedParams, _impl_._has_bits_);
- static void set_has_micvolume(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_speakervolume(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- };
- CallbackBody_onMicSpeakerVolumeChangedParams::CallbackBody_onMicSpeakerVolumeChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
- }
- CallbackBody_onMicSpeakerVolumeChangedParams::CallbackBody_onMicSpeakerVolumeChangedParams(const CallbackBody_onMicSpeakerVolumeChangedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
- }
- inline void CallbackBody_onMicSpeakerVolumeChangedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.micvolume_) { 0u }
- , decltype(_impl_.speakervolume_) { 0u }
- };
- }
- CallbackBody_onMicSpeakerVolumeChangedParams::~CallbackBody_onMicSpeakerVolumeChangedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onMicSpeakerVolumeChangedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void CallbackBody_onMicSpeakerVolumeChangedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onMicSpeakerVolumeChangedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- ::memset(&_impl_.micvolume_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.speakervolume_) -
- reinterpret_cast<char*>(&_impl_.micvolume_)) + sizeof(_impl_.speakervolume_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onMicSpeakerVolumeChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional uint32 MicVolume = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_micvolume(&has_bits);
- _impl_.micvolume_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional uint32 SpeakerVolume = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_speakervolume(&has_bits);
- _impl_.speakervolume_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onMicSpeakerVolumeChangedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional uint32 MicVolume = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 1, this->_internal_micvolume(), target);
- }
- // optional uint32 SpeakerVolume = 2;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 2, this->_internal_speakervolume(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
- return target;
- }
- ::size_t CallbackBody_onMicSpeakerVolumeChangedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional uint32 MicVolume = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_micvolume());
- }
- // optional uint32 SpeakerVolume = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_speakervolume());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onMicSpeakerVolumeChangedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onMicSpeakerVolumeChangedParams*>(
- &from));
- }
- void CallbackBody_onMicSpeakerVolumeChangedParams::MergeFrom(const CallbackBody_onMicSpeakerVolumeChangedParams& from) {
- CallbackBody_onMicSpeakerVolumeChangedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_impl_.micvolume_ = from._impl_.micvolume_;
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.speakervolume_ = from._impl_.speakervolume_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onMicSpeakerVolumeChangedParams::CopyFrom(const CallbackBody_onMicSpeakerVolumeChangedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onMicSpeakerVolumeChangedParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onMicSpeakerVolumeChangedParams::InternalSwap(CallbackBody_onMicSpeakerVolumeChangedParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(CallbackBody_onMicSpeakerVolumeChangedParams, _impl_.speakervolume_)
- + sizeof(CallbackBody_onMicSpeakerVolumeChangedParams::_impl_.speakervolume_)
- - PROTOBUF_FIELD_OFFSET(CallbackBody_onMicSpeakerVolumeChangedParams, _impl_.micvolume_)>(
- reinterpret_cast<char*>(&_impl_.micvolume_),
- reinterpret_cast<char*>(&other->_impl_.micvolume_));
- }
- std::string CallbackBody_onMicSpeakerVolumeChangedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams";
- }
- // ===================================================================
- class CallbackBody_onAudioDeviceStatusChangedParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onAudioDeviceStatusChangedParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onAudioDeviceStatusChangedParams, _impl_._has_bits_);
- static void set_has_type(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_status(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- };
- CallbackBody_onAudioDeviceStatusChangedParams::CallbackBody_onAudioDeviceStatusChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
- }
- CallbackBody_onAudioDeviceStatusChangedParams::CallbackBody_onAudioDeviceStatusChangedParams(const CallbackBody_onAudioDeviceStatusChangedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
- }
- inline void CallbackBody_onAudioDeviceStatusChangedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.type_) { 0 }
- , decltype(_impl_.status_) { 0 }
- };
- }
- CallbackBody_onAudioDeviceStatusChangedParams::~CallbackBody_onAudioDeviceStatusChangedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onAudioDeviceStatusChangedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void CallbackBody_onAudioDeviceStatusChangedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onAudioDeviceStatusChangedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- ::memset(&_impl_.type_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.status_) -
- reinterpret_cast<char*>(&_impl_.type_)) + sizeof(_impl_.status_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onAudioDeviceStatusChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int32 type = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_type(&has_bits);
- _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 status = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_status(&has_bits);
- _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onAudioDeviceStatusChangedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int32 type = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 1, this->_internal_type(), target);
- }
- // optional int32 status = 2;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 2, this->_internal_status(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
- return target;
- }
- ::size_t CallbackBody_onAudioDeviceStatusChangedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional int32 type = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_type());
- }
- // optional int32 status = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_status());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onAudioDeviceStatusChangedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onAudioDeviceStatusChangedParams*>(
- &from));
- }
- void CallbackBody_onAudioDeviceStatusChangedParams::MergeFrom(const CallbackBody_onAudioDeviceStatusChangedParams& from) {
- CallbackBody_onAudioDeviceStatusChangedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_impl_.type_ = from._impl_.type_;
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.status_ = from._impl_.status_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onAudioDeviceStatusChangedParams::CopyFrom(const CallbackBody_onAudioDeviceStatusChangedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onAudioDeviceStatusChangedParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onAudioDeviceStatusChangedParams::InternalSwap(CallbackBody_onAudioDeviceStatusChangedParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(CallbackBody_onAudioDeviceStatusChangedParams, _impl_.status_)
- + sizeof(CallbackBody_onAudioDeviceStatusChangedParams::_impl_.status_)
- - PROTOBUF_FIELD_OFFSET(CallbackBody_onAudioDeviceStatusChangedParams, _impl_.type_)>(
- reinterpret_cast<char*>(&_impl_.type_),
- reinterpret_cast<char*>(&other->_impl_.type_));
- }
- std::string CallbackBody_onAudioDeviceStatusChangedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams";
- }
- // ===================================================================
- class CallbackBody_onTestMicStatusChangedParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onTestMicStatusChangedParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onTestMicStatusChangedParams, _impl_._has_bits_);
- static void set_has_status(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- CallbackBody_onTestMicStatusChangedParams::CallbackBody_onTestMicStatusChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
- }
- CallbackBody_onTestMicStatusChangedParams::CallbackBody_onTestMicStatusChangedParams(const CallbackBody_onTestMicStatusChangedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
- }
- inline void CallbackBody_onTestMicStatusChangedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.status_) { 0 }
- };
- }
- CallbackBody_onTestMicStatusChangedParams::~CallbackBody_onTestMicStatusChangedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onTestMicStatusChangedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void CallbackBody_onTestMicStatusChangedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onTestMicStatusChangedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.status_ = 0;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onTestMicStatusChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int32 status = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_status(&has_bits);
- _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onTestMicStatusChangedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int32 status = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 1, this->_internal_status(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
- return target;
- }
- ::size_t CallbackBody_onTestMicStatusChangedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int32 status = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_status());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onTestMicStatusChangedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onTestMicStatusChangedParams*>(
- &from));
- }
- void CallbackBody_onTestMicStatusChangedParams::MergeFrom(const CallbackBody_onTestMicStatusChangedParams& from) {
- CallbackBody_onTestMicStatusChangedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_status(from._internal_status());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onTestMicStatusChangedParams::CopyFrom(const CallbackBody_onTestMicStatusChangedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onTestMicStatusChangedParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onTestMicStatusChangedParams::InternalSwap(CallbackBody_onTestMicStatusChangedParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.status_, other->_impl_.status_);
- }
- std::string CallbackBody_onTestMicStatusChangedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams";
- }
- // ===================================================================
- class CallbackBody_onSelectedAudioDeviceChangedParams::_Internal {
- public:
- };
- CallbackBody_onSelectedAudioDeviceChangedParams::CallbackBody_onSelectedAudioDeviceChangedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
- }
- CallbackBody_onSelectedAudioDeviceChangedParams::CallbackBody_onSelectedAudioDeviceChangedParams(const CallbackBody_onSelectedAudioDeviceChangedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
- }
- inline void CallbackBody_onSelectedAudioDeviceChangedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- /*decltype(_impl_._cached_size_)*/{}
- };
- }
- CallbackBody_onSelectedAudioDeviceChangedParams::~CallbackBody_onSelectedAudioDeviceChangedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onSelectedAudioDeviceChangedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void CallbackBody_onSelectedAudioDeviceChangedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onSelectedAudioDeviceChangedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onSelectedAudioDeviceChangedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onSelectedAudioDeviceChangedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
- return target;
- }
- ::size_t CallbackBody_onSelectedAudioDeviceChangedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onSelectedAudioDeviceChangedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onSelectedAudioDeviceChangedParams*>(
- &from));
- }
- void CallbackBody_onSelectedAudioDeviceChangedParams::MergeFrom(const CallbackBody_onSelectedAudioDeviceChangedParams& from) {
- CallbackBody_onSelectedAudioDeviceChangedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onSelectedAudioDeviceChangedParams::CopyFrom(const CallbackBody_onSelectedAudioDeviceChangedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onSelectedAudioDeviceChangedParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onSelectedAudioDeviceChangedParams::InternalSwap(CallbackBody_onSelectedAudioDeviceChangedParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- }
- std::string CallbackBody_onSelectedAudioDeviceChangedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams";
- }
- // ===================================================================
- class CallbackBody_onLiveTranscriptionStatusParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onLiveTranscriptionStatusParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onLiveTranscriptionStatusParams, _impl_._has_bits_);
- static void set_has_status(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- CallbackBody_onLiveTranscriptionStatusParams::CallbackBody_onLiveTranscriptionStatusParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
- }
- CallbackBody_onLiveTranscriptionStatusParams::CallbackBody_onLiveTranscriptionStatusParams(const CallbackBody_onLiveTranscriptionStatusParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
- }
- inline void CallbackBody_onLiveTranscriptionStatusParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.status_) { 0 }
- };
- }
- CallbackBody_onLiveTranscriptionStatusParams::~CallbackBody_onLiveTranscriptionStatusParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onLiveTranscriptionStatusParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void CallbackBody_onLiveTranscriptionStatusParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onLiveTranscriptionStatusParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.status_ = 0;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onLiveTranscriptionStatusParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int32 status = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_status(&has_bits);
- _impl_.status_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onLiveTranscriptionStatusParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int32 status = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 1, this->_internal_status(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
- return target;
- }
- ::size_t CallbackBody_onLiveTranscriptionStatusParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int32 status = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_status());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onLiveTranscriptionStatusParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onLiveTranscriptionStatusParams*>(
- &from));
- }
- void CallbackBody_onLiveTranscriptionStatusParams::MergeFrom(const CallbackBody_onLiveTranscriptionStatusParams& from) {
- CallbackBody_onLiveTranscriptionStatusParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_status(from._internal_status());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onLiveTranscriptionStatusParams::CopyFrom(const CallbackBody_onLiveTranscriptionStatusParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onLiveTranscriptionStatusParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onLiveTranscriptionStatusParams::InternalSwap(CallbackBody_onLiveTranscriptionStatusParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.status_, other->_impl_.status_);
- }
- std::string CallbackBody_onLiveTranscriptionStatusParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams";
- }
- // ===================================================================
- class CallbackBody_onLiveTranscriptionMsgReceivedParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onLiveTranscriptionMsgReceivedParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onLiveTranscriptionMsgReceivedParams, _impl_._has_bits_);
- static void set_has_ltmsg(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const CallbackBody_onLiveTranscriptionMsgReceivedParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_type(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- CallbackBody_onLiveTranscriptionMsgReceivedParams::_Internal::user(const CallbackBody_onLiveTranscriptionMsgReceivedParams* msg) {
- return *msg->_impl_.user_;
- }
- CallbackBody_onLiveTranscriptionMsgReceivedParams::CallbackBody_onLiveTranscriptionMsgReceivedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
- }
- CallbackBody_onLiveTranscriptionMsgReceivedParams::CallbackBody_onLiveTranscriptionMsgReceivedParams(const CallbackBody_onLiveTranscriptionMsgReceivedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onLiveTranscriptionMsgReceivedParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.ltmsg_) {}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.type_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.ltmsg_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.ltmsg_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.ltmsg_.Set(from._internal_ltmsg(), _this->GetArenaForAllocation());
- }
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- _this->_impl_.type_ = from._impl_.type_;
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
- }
- inline void CallbackBody_onLiveTranscriptionMsgReceivedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.ltmsg_) {}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.type_) { 0 }
- };
- _impl_.ltmsg_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.ltmsg_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- CallbackBody_onLiveTranscriptionMsgReceivedParams::~CallbackBody_onLiveTranscriptionMsgReceivedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onLiveTranscriptionMsgReceivedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.ltmsg_.Destroy();
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void CallbackBody_onLiveTranscriptionMsgReceivedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onLiveTranscriptionMsgReceivedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.ltmsg_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- }
- _impl_.type_ = 0;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onLiveTranscriptionMsgReceivedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string ltMsg = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_ltmsg();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 type = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_type(&has_bits);
- _impl_.type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onLiveTranscriptionMsgReceivedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string ltMsg = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_ltmsg();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000002u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- // optional int32 type = 3;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 3, this->_internal_type(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
- return target;
- }
- ::size_t CallbackBody_onLiveTranscriptionMsgReceivedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- // optional string ltMsg = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_ltmsg());
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- // optional int32 type = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_type());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onLiveTranscriptionMsgReceivedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onLiveTranscriptionMsgReceivedParams*>(
- &from));
- }
- void CallbackBody_onLiveTranscriptionMsgReceivedParams::MergeFrom(const CallbackBody_onLiveTranscriptionMsgReceivedParams& from) {
- CallbackBody_onLiveTranscriptionMsgReceivedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_ltmsg(from._internal_ltmsg());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.type_ = from._impl_.type_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onLiveTranscriptionMsgReceivedParams::CopyFrom(const CallbackBody_onLiveTranscriptionMsgReceivedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onLiveTranscriptionMsgReceivedParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onLiveTranscriptionMsgReceivedParams::InternalSwap(CallbackBody_onLiveTranscriptionMsgReceivedParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.ltmsg_, lhs_arena,
- &other->_impl_.ltmsg_, rhs_arena);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(CallbackBody_onLiveTranscriptionMsgReceivedParams, _impl_.type_)
- + sizeof(CallbackBody_onLiveTranscriptionMsgReceivedParams::_impl_.type_)
- - PROTOBUF_FIELD_OFFSET(CallbackBody_onLiveTranscriptionMsgReceivedParams, _impl_.user_)>(
- reinterpret_cast<char*>(&_impl_.user_),
- reinterpret_cast<char*>(&other->_impl_.user_));
- }
- std::string CallbackBody_onLiveTranscriptionMsgReceivedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams";
- }
- // ===================================================================
- class CallbackBody_onLiveTranscriptionMsgErrorParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_onLiveTranscriptionMsgErrorParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_onLiveTranscriptionMsgErrorParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::LTTLanguage& spokenlanguage(const CallbackBody_onLiveTranscriptionMsgErrorParams* msg);
- static void set_has_spokenlanguage(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::LTTLanguage& transcriptlanguage(const CallbackBody_onLiveTranscriptionMsgErrorParams* msg);
- static void set_has_transcriptlanguage(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::LTTLanguage&
- CallbackBody_onLiveTranscriptionMsgErrorParams::_Internal::spokenlanguage(const CallbackBody_onLiveTranscriptionMsgErrorParams* msg) {
- return *msg->_impl_.spokenlanguage_;
- }
- const ::com::electron::zoomvideo::sdk::proto::LTTLanguage&
- CallbackBody_onLiveTranscriptionMsgErrorParams::_Internal::transcriptlanguage(const CallbackBody_onLiveTranscriptionMsgErrorParams* msg) {
- return *msg->_impl_.transcriptlanguage_;
- }
- CallbackBody_onLiveTranscriptionMsgErrorParams::CallbackBody_onLiveTranscriptionMsgErrorParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
- }
- CallbackBody_onLiveTranscriptionMsgErrorParams::CallbackBody_onLiveTranscriptionMsgErrorParams(const CallbackBody_onLiveTranscriptionMsgErrorParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_onLiveTranscriptionMsgErrorParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.spokenlanguage_){nullptr}
- , decltype(_impl_.transcriptlanguage_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.spokenlanguage_ = new ::com::electron::zoomvideo::sdk::proto::LTTLanguage(*from._impl_.spokenlanguage_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.transcriptlanguage_ = new ::com::electron::zoomvideo::sdk::proto::LTTLanguage(*from._impl_.transcriptlanguage_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
- }
- inline void CallbackBody_onLiveTranscriptionMsgErrorParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.spokenlanguage_){nullptr}
- , decltype(_impl_.transcriptlanguage_){nullptr}
- };
- }
- CallbackBody_onLiveTranscriptionMsgErrorParams::~CallbackBody_onLiveTranscriptionMsgErrorParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_onLiveTranscriptionMsgErrorParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.spokenlanguage_;
- if (this != internal_default_instance()) delete _impl_.transcriptlanguage_;
- }
- void CallbackBody_onLiveTranscriptionMsgErrorParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_onLiveTranscriptionMsgErrorParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.spokenlanguage_ != nullptr);
- _impl_.spokenlanguage_->Clear();
- }
- if (cached_has_bits & 0x00000002u) {
- ABSL_DCHECK(_impl_.transcriptlanguage_ != nullptr);
- _impl_.transcriptlanguage_->Clear();
- }
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_onLiveTranscriptionMsgErrorParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.LTTLanguage spokenLanguage = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_spokenlanguage(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.LTTLanguage transcriptLanguage = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- ptr = ctx->ParseMessage(_internal_mutable_transcriptlanguage(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_onLiveTranscriptionMsgErrorParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.LTTLanguage spokenLanguage = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::spokenlanguage(this),
- _Internal::spokenlanguage(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.LTTLanguage transcriptLanguage = 2;
- if (cached_has_bits & 0x00000002u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, _Internal::transcriptlanguage(this),
- _Internal::transcriptlanguage(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
- return target;
- }
- ::size_t CallbackBody_onLiveTranscriptionMsgErrorParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional .com.electron.zoomvideo.sdk.proto.LTTLanguage spokenLanguage = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.spokenlanguage_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.LTTLanguage transcriptLanguage = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.transcriptlanguage_);
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_onLiveTranscriptionMsgErrorParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_onLiveTranscriptionMsgErrorParams*>(
- &from));
- }
- void CallbackBody_onLiveTranscriptionMsgErrorParams::MergeFrom(const CallbackBody_onLiveTranscriptionMsgErrorParams& from) {
- CallbackBody_onLiveTranscriptionMsgErrorParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_mutable_spokenlanguage()->::com::electron::zoomvideo::sdk::proto::LTTLanguage::MergeFrom(
- from._internal_spokenlanguage());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_mutable_transcriptlanguage()->::com::electron::zoomvideo::sdk::proto::LTTLanguage::MergeFrom(
- from._internal_transcriptlanguage());
- }
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_onLiveTranscriptionMsgErrorParams::CopyFrom(const CallbackBody_onLiveTranscriptionMsgErrorParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_onLiveTranscriptionMsgErrorParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_onLiveTranscriptionMsgErrorParams::InternalSwap(CallbackBody_onLiveTranscriptionMsgErrorParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(CallbackBody_onLiveTranscriptionMsgErrorParams, _impl_.transcriptlanguage_)
- + sizeof(CallbackBody_onLiveTranscriptionMsgErrorParams::_impl_.transcriptlanguage_)
- - PROTOBUF_FIELD_OFFSET(CallbackBody_onLiveTranscriptionMsgErrorParams, _impl_.spokenlanguage_)>(
- reinterpret_cast<char*>(&_impl_.spokenlanguage_),
- reinterpret_cast<char*>(&other->_impl_.spokenlanguage_));
- }
- std::string CallbackBody_onLiveTranscriptionMsgErrorParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams";
- }
- // ===================================================================
- class CallbackBody_liveTranscriptionMsgInfoParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody_liveTranscriptionMsgInfoParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody_liveTranscriptionMsgInfoParams, _impl_._has_bits_);
- static void set_has_timestamp(HasBits* has_bits) {
- (*has_bits)[0] |= 16u;
- }
- static void set_has_messageid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_messagecontent(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_speakername(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- static void set_has_speakerid(HasBits* has_bits) {
- (*has_bits)[0] |= 8u;
- }
- static void set_has_messagetype(HasBits* has_bits) {
- (*has_bits)[0] |= 32u;
- }
- };
- CallbackBody_liveTranscriptionMsgInfoParams::CallbackBody_liveTranscriptionMsgInfoParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
- }
- CallbackBody_liveTranscriptionMsgInfoParams::CallbackBody_liveTranscriptionMsgInfoParams(const CallbackBody_liveTranscriptionMsgInfoParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody_liveTranscriptionMsgInfoParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.messageid_) {}
- , decltype(_impl_.messagecontent_) {}
- , decltype(_impl_.speakername_) {}
- , decltype(_impl_.speakerid_) {}
- , decltype(_impl_.timestamp_) {}
- , decltype(_impl_.messagetype_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.messageid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.messageid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.messageid_.Set(from._internal_messageid(), _this->GetArenaForAllocation());
- }
- _impl_.messagecontent_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.messagecontent_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.messagecontent_.Set(from._internal_messagecontent(), _this->GetArenaForAllocation());
- }
- _impl_.speakername_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.speakername_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
- _this->_impl_.speakername_.Set(from._internal_speakername(), _this->GetArenaForAllocation());
- }
- _impl_.speakerid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.speakerid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000008u) != 0) {
- _this->_impl_.speakerid_.Set(from._internal_speakerid(), _this->GetArenaForAllocation());
- }
- ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_,
- static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.messagetype_) -
- reinterpret_cast<char*>(&_impl_.timestamp_)) + sizeof(_impl_.messagetype_));
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
- }
- inline void CallbackBody_liveTranscriptionMsgInfoParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.messageid_) {}
- , decltype(_impl_.messagecontent_) {}
- , decltype(_impl_.speakername_) {}
- , decltype(_impl_.speakerid_) {}
- , decltype(_impl_.timestamp_) { ::int64_t{0} }
- , decltype(_impl_.messagetype_) { 0 }
- };
- _impl_.messageid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.messageid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.messagecontent_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.messagecontent_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.speakername_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.speakername_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.speakerid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.speakerid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- CallbackBody_liveTranscriptionMsgInfoParams::~CallbackBody_liveTranscriptionMsgInfoParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody_liveTranscriptionMsgInfoParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.messageid_.Destroy();
- _impl_.messagecontent_.Destroy();
- _impl_.speakername_.Destroy();
- _impl_.speakerid_.Destroy();
- }
- void CallbackBody_liveTranscriptionMsgInfoParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody_liveTranscriptionMsgInfoParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x0000000fu) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.messageid_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- _impl_.messagecontent_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000004u) {
- _impl_.speakername_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000008u) {
- _impl_.speakerid_.ClearNonDefaultToEmpty();
- }
- }
- if (cached_has_bits & 0x00000030u) {
- ::memset(&_impl_.timestamp_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.messagetype_) -
- reinterpret_cast<char*>(&_impl_.timestamp_)) + sizeof(_impl_.messagetype_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody_liveTranscriptionMsgInfoParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 timeStamp = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_timestamp(&has_bits);
- _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string messageID = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_messageid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string messageContent = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
- auto str = _internal_mutable_messagecontent();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string speakerName = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
- auto str = _internal_mutable_speakername();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string speakerID = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) {
- auto str = _internal_mutable_speakerid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 messageType = 6;
- case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
- _Internal::set_has_messagetype(&has_bits);
- _impl_.messagetype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody_liveTranscriptionMsgInfoParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 timeStamp = 1;
- if (cached_has_bits & 0x00000010u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_timestamp(), target);
- }
- // optional string messageID = 2;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_messageid();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- // optional string messageContent = 3;
- if (cached_has_bits & 0x00000002u) {
- const std::string& _s = this->_internal_messagecontent();
- target = stream->WriteStringMaybeAliased(3, _s, target);
- }
- // optional string speakerName = 4;
- if (cached_has_bits & 0x00000004u) {
- const std::string& _s = this->_internal_speakername();
- target = stream->WriteStringMaybeAliased(4, _s, target);
- }
- // optional string speakerID = 5;
- if (cached_has_bits & 0x00000008u) {
- const std::string& _s = this->_internal_speakerid();
- target = stream->WriteStringMaybeAliased(5, _s, target);
- }
- // optional int32 messageType = 6;
- if (cached_has_bits & 0x00000020u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 6, this->_internal_messagetype(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
- return target;
- }
- ::size_t CallbackBody_liveTranscriptionMsgInfoParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x0000003fu) {
- // optional string messageID = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_messageid());
- }
- // optional string messageContent = 3;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_messagecontent());
- }
- // optional string speakerName = 4;
- if (cached_has_bits & 0x00000004u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_speakername());
- }
- // optional string speakerID = 5;
- if (cached_has_bits & 0x00000008u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_speakerid());
- }
- // optional int64 timeStamp = 1;
- if (cached_has_bits & 0x00000010u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_timestamp());
- }
- // optional int32 messageType = 6;
- if (cached_has_bits & 0x00000020u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_messagetype());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody_liveTranscriptionMsgInfoParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody_liveTranscriptionMsgInfoParams*>(
- &from));
- }
- void CallbackBody_liveTranscriptionMsgInfoParams::MergeFrom(const CallbackBody_liveTranscriptionMsgInfoParams& from) {
- CallbackBody_liveTranscriptionMsgInfoParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x0000003fu) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_messageid(from._internal_messageid());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_set_messagecontent(from._internal_messagecontent());
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_internal_set_speakername(from._internal_speakername());
- }
- if (cached_has_bits & 0x00000008u) {
- _this->_internal_set_speakerid(from._internal_speakerid());
- }
- if (cached_has_bits & 0x00000010u) {
- _this->_impl_.timestamp_ = from._impl_.timestamp_;
- }
- if (cached_has_bits & 0x00000020u) {
- _this->_impl_.messagetype_ = from._impl_.messagetype_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody_liveTranscriptionMsgInfoParams::CopyFrom(const CallbackBody_liveTranscriptionMsgInfoParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody_liveTranscriptionMsgInfoParams::IsInitialized() const {
- return true;
- }
- void CallbackBody_liveTranscriptionMsgInfoParams::InternalSwap(CallbackBody_liveTranscriptionMsgInfoParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.messageid_, lhs_arena,
- &other->_impl_.messageid_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.messagecontent_, lhs_arena,
- &other->_impl_.messagecontent_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.speakername_, lhs_arena,
- &other->_impl_.speakername_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.speakerid_, lhs_arena,
- &other->_impl_.speakerid_, rhs_arena);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(CallbackBody_liveTranscriptionMsgInfoParams, _impl_.messagetype_)
- + sizeof(CallbackBody_liveTranscriptionMsgInfoParams::_impl_.messagetype_)
- - PROTOBUF_FIELD_OFFSET(CallbackBody_liveTranscriptionMsgInfoParams, _impl_.timestamp_)>(
- reinterpret_cast<char*>(&_impl_.timestamp_),
- reinterpret_cast<char*>(&other->_impl_.timestamp_));
- }
- std::string CallbackBody_liveTranscriptionMsgInfoParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams";
- }
- // ===================================================================
- class CallbackBody::_Internal {
- public:
- using HasBits = decltype(std::declval<CallbackBody>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CallbackBody, _impl_._has_bits_);
- static void set_has_msgtype(HasBits* has_bits) {
- (*has_bits)[1] |= 1u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onErrorParams& onerrorparam(const CallbackBody* msg);
- static void set_has_onerrorparam(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserJoinParams& onuserjoinparam(const CallbackBody* msg);
- static void set_has_onuserjoinparam(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserLeaveParams& onuserleaveparam(const CallbackBody* msg);
- static void set_has_onuserleaveparam(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserVideoStatusChangedParams& onuservideostatuschangedparam(const CallbackBody* msg);
- static void set_has_onuservideostatuschangedparam(HasBits* has_bits) {
- (*has_bits)[0] |= 8u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserAudioStatusChangedParams& onuseraudiostatuschangedparam(const CallbackBody* msg);
- static void set_has_onuseraudiostatuschangedparam(HasBits* has_bits) {
- (*has_bits)[0] |= 16u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserShareStatusChangedParams& onusersharestatuschangedparam(const CallbackBody* msg);
- static void set_has_onusersharestatuschangedparam(HasBits* has_bits) {
- (*has_bits)[0] |= 32u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveStreamStatusChangedParams& onlivestreamstatuschangedparam(const CallbackBody* msg);
- static void set_has_onlivestreamstatuschangedparam(HasBits* has_bits) {
- (*has_bits)[0] |= 64u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserHostChangedParams& onuserhostchangedparam(const CallbackBody* msg);
- static void set_has_onuserhostchangedparam(HasBits* has_bits) {
- (*has_bits)[0] |= 128u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserActiveAudioChangedParams& onuseractiveaudiochangedparam(const CallbackBody* msg);
- static void set_has_onuseractiveaudiochangedparam(HasBits* has_bits) {
- (*has_bits)[0] |= 256u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatNewMessageNotifyParams& onchatnewmessagenotifyparam(const CallbackBody* msg);
- static void set_has_onchatnewmessagenotifyparam(HasBits* has_bits) {
- (*has_bits)[0] |= 512u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onVideoSourceInitializeParams& onvideosourceinitializeparam(const CallbackBody* msg);
- static void set_has_onvideosourceinitializeparam(HasBits* has_bits) {
- (*has_bits)[0] |= 1024u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onPropertyChangeParams& onpropertychangeparam(const CallbackBody* msg);
- static void set_has_onpropertychangeparam(HasBits* has_bits) {
- (*has_bits)[0] |= 2048u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onRawDataStatusChangedParams& onrawdatastatuschangedparam(const CallbackBody* msg);
- static void set_has_onrawdatastatuschangedparam(HasBits* has_bits) {
- (*has_bits)[0] |= 4096u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserManagerChangedParams& onusermanagerchangedparam(const CallbackBody* msg);
- static void set_has_onusermanagerchangedparam(HasBits* has_bits) {
- (*has_bits)[0] |= 8192u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserNameChangedParams& onusernamechangedparam(const CallbackBody* msg);
- static void set_has_onusernamechangedparam(HasBits* has_bits) {
- (*has_bits)[0] |= 16384u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandReceivedParams& oncommandreceivedparam(const CallbackBody* msg);
- static void set_has_oncommandreceivedparam(HasBits* has_bits) {
- (*has_bits)[0] |= 32768u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCloudRecordingStatusParams& oncloudrecordingstatusparam(const CallbackBody* msg);
- static void set_has_oncloudrecordingstatusparam(HasBits* has_bits) {
- (*has_bits)[0] |= 65536u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestResultParams& oncameracontrolrequestresultparam(const CallbackBody* msg);
- static void set_has_oncameracontrolrequestresultparam(HasBits* has_bits) {
- (*has_bits)[0] |= 131072u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestReceivedParams& oncameracontrolrequestreceivedparam(const CallbackBody* msg);
- static void set_has_oncameracontrolrequestreceivedparam(HasBits* has_bits) {
- (*has_bits)[0] |= 262144u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandChannelConnectResultParams& oncommandchannelconnectresultparam(const CallbackBody* msg);
- static void set_has_oncommandchannelconnectresultparam(HasBits* has_bits) {
- (*has_bits)[0] |= 524288u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onHostAskUnmuteParams& onhostaskunmuteparam(const CallbackBody* msg);
- static void set_has_onhostaskunmuteparam(HasBits* has_bits) {
- (*has_bits)[0] |= 1048576u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onInviteByPhoneStatusParams& oninvitebyphonestatusparam(const CallbackBody* msg);
- static void set_has_oninvitebyphonestatusparam(HasBits* has_bits) {
- (*has_bits)[0] |= 2097152u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMultiCameraStreamStatusChangedParams& onmulticamerastreamstatuschangedparam(const CallbackBody* msg);
- static void set_has_onmulticamerastreamstatuschangedparam(HasBits* has_bits) {
- (*has_bits)[0] |= 4194304u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMicSpeakerVolumeChangedParams& onmicspeakervolumechangedparam(const CallbackBody* msg);
- static void set_has_onmicspeakervolumechangedparam(HasBits* has_bits) {
- (*has_bits)[0] |= 8388608u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onAudioDeviceStatusChangedParams& onaudiodevicestatuschangedparam(const CallbackBody* msg);
- static void set_has_onaudiodevicestatuschangedparam(HasBits* has_bits) {
- (*has_bits)[0] |= 16777216u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onTestMicStatusChangedParams& ontestmicstatuschangedparam(const CallbackBody* msg);
- static void set_has_ontestmicstatuschangedparam(HasBits* has_bits) {
- (*has_bits)[0] |= 33554432u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onSelectedAudioDeviceChangedParams& onselectedaudiodevicechangedparam(const CallbackBody* msg);
- static void set_has_onselectedaudiodevicechangedparam(HasBits* has_bits) {
- (*has_bits)[0] |= 67108864u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionStatusParams& onlivetranscriptionstatusparam(const CallbackBody* msg);
- static void set_has_onlivetranscriptionstatusparam(HasBits* has_bits) {
- (*has_bits)[0] |= 134217728u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgReceivedParams& onlivetranscriptionmsgreceivedparam(const CallbackBody* msg);
- static void set_has_onlivetranscriptionmsgreceivedparam(HasBits* has_bits) {
- (*has_bits)[0] |= 268435456u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgErrorParams& onlivetranscriptionmsgerrorparam(const CallbackBody* msg);
- static void set_has_onlivetranscriptionmsgerrorparam(HasBits* has_bits) {
- (*has_bits)[0] |= 536870912u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatMsgDeleteNotificationParams& onchatmsgdeletenotificationparam(const CallbackBody* msg);
- static void set_has_onchatmsgdeletenotificationparam(HasBits* has_bits) {
- (*has_bits)[0] |= 1073741824u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::CallbackBody_liveTranscriptionMsgInfoParams& livetranscriptionmsginfoparam(const CallbackBody* msg);
- static void set_has_livetranscriptionmsginfoparam(HasBits* has_bits) {
- (*has_bits)[0] |= 2147483648u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onErrorParams&
- CallbackBody::_Internal::onerrorparam(const CallbackBody* msg) {
- return *msg->_impl_.onerrorparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserJoinParams&
- CallbackBody::_Internal::onuserjoinparam(const CallbackBody* msg) {
- return *msg->_impl_.onuserjoinparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserLeaveParams&
- CallbackBody::_Internal::onuserleaveparam(const CallbackBody* msg) {
- return *msg->_impl_.onuserleaveparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserVideoStatusChangedParams&
- CallbackBody::_Internal::onuservideostatuschangedparam(const CallbackBody* msg) {
- return *msg->_impl_.onuservideostatuschangedparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserAudioStatusChangedParams&
- CallbackBody::_Internal::onuseraudiostatuschangedparam(const CallbackBody* msg) {
- return *msg->_impl_.onuseraudiostatuschangedparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserShareStatusChangedParams&
- CallbackBody::_Internal::onusersharestatuschangedparam(const CallbackBody* msg) {
- return *msg->_impl_.onusersharestatuschangedparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveStreamStatusChangedParams&
- CallbackBody::_Internal::onlivestreamstatuschangedparam(const CallbackBody* msg) {
- return *msg->_impl_.onlivestreamstatuschangedparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserHostChangedParams&
- CallbackBody::_Internal::onuserhostchangedparam(const CallbackBody* msg) {
- return *msg->_impl_.onuserhostchangedparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserActiveAudioChangedParams&
- CallbackBody::_Internal::onuseractiveaudiochangedparam(const CallbackBody* msg) {
- return *msg->_impl_.onuseractiveaudiochangedparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatNewMessageNotifyParams&
- CallbackBody::_Internal::onchatnewmessagenotifyparam(const CallbackBody* msg) {
- return *msg->_impl_.onchatnewmessagenotifyparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onVideoSourceInitializeParams&
- CallbackBody::_Internal::onvideosourceinitializeparam(const CallbackBody* msg) {
- return *msg->_impl_.onvideosourceinitializeparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onPropertyChangeParams&
- CallbackBody::_Internal::onpropertychangeparam(const CallbackBody* msg) {
- return *msg->_impl_.onpropertychangeparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onRawDataStatusChangedParams&
- CallbackBody::_Internal::onrawdatastatuschangedparam(const CallbackBody* msg) {
- return *msg->_impl_.onrawdatastatuschangedparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserManagerChangedParams&
- CallbackBody::_Internal::onusermanagerchangedparam(const CallbackBody* msg) {
- return *msg->_impl_.onusermanagerchangedparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserNameChangedParams&
- CallbackBody::_Internal::onusernamechangedparam(const CallbackBody* msg) {
- return *msg->_impl_.onusernamechangedparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandReceivedParams&
- CallbackBody::_Internal::oncommandreceivedparam(const CallbackBody* msg) {
- return *msg->_impl_.oncommandreceivedparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCloudRecordingStatusParams&
- CallbackBody::_Internal::oncloudrecordingstatusparam(const CallbackBody* msg) {
- return *msg->_impl_.oncloudrecordingstatusparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestResultParams&
- CallbackBody::_Internal::oncameracontrolrequestresultparam(const CallbackBody* msg) {
- return *msg->_impl_.oncameracontrolrequestresultparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestReceivedParams&
- CallbackBody::_Internal::oncameracontrolrequestreceivedparam(const CallbackBody* msg) {
- return *msg->_impl_.oncameracontrolrequestreceivedparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandChannelConnectResultParams&
- CallbackBody::_Internal::oncommandchannelconnectresultparam(const CallbackBody* msg) {
- return *msg->_impl_.oncommandchannelconnectresultparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onHostAskUnmuteParams&
- CallbackBody::_Internal::onhostaskunmuteparam(const CallbackBody* msg) {
- return *msg->_impl_.onhostaskunmuteparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onInviteByPhoneStatusParams&
- CallbackBody::_Internal::oninvitebyphonestatusparam(const CallbackBody* msg) {
- return *msg->_impl_.oninvitebyphonestatusparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMultiCameraStreamStatusChangedParams&
- CallbackBody::_Internal::onmulticamerastreamstatuschangedparam(const CallbackBody* msg) {
- return *msg->_impl_.onmulticamerastreamstatuschangedparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMicSpeakerVolumeChangedParams&
- CallbackBody::_Internal::onmicspeakervolumechangedparam(const CallbackBody* msg) {
- return *msg->_impl_.onmicspeakervolumechangedparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onAudioDeviceStatusChangedParams&
- CallbackBody::_Internal::onaudiodevicestatuschangedparam(const CallbackBody* msg) {
- return *msg->_impl_.onaudiodevicestatuschangedparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onTestMicStatusChangedParams&
- CallbackBody::_Internal::ontestmicstatuschangedparam(const CallbackBody* msg) {
- return *msg->_impl_.ontestmicstatuschangedparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onSelectedAudioDeviceChangedParams&
- CallbackBody::_Internal::onselectedaudiodevicechangedparam(const CallbackBody* msg) {
- return *msg->_impl_.onselectedaudiodevicechangedparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionStatusParams&
- CallbackBody::_Internal::onlivetranscriptionstatusparam(const CallbackBody* msg) {
- return *msg->_impl_.onlivetranscriptionstatusparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgReceivedParams&
- CallbackBody::_Internal::onlivetranscriptionmsgreceivedparam(const CallbackBody* msg) {
- return *msg->_impl_.onlivetranscriptionmsgreceivedparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgErrorParams&
- CallbackBody::_Internal::onlivetranscriptionmsgerrorparam(const CallbackBody* msg) {
- return *msg->_impl_.onlivetranscriptionmsgerrorparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatMsgDeleteNotificationParams&
- CallbackBody::_Internal::onchatmsgdeletenotificationparam(const CallbackBody* msg) {
- return *msg->_impl_.onchatmsgdeletenotificationparam_;
- }
- const ::com::electron::zoomvideo::sdk::proto::CallbackBody_liveTranscriptionMsgInfoParams&
- CallbackBody::_Internal::livetranscriptionmsginfoparam(const CallbackBody* msg) {
- return *msg->_impl_.livetranscriptionmsginfoparam_;
- }
- CallbackBody::CallbackBody(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody)
- }
- CallbackBody::CallbackBody(const CallbackBody& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CallbackBody* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.onerrorparam_){nullptr}
- , decltype(_impl_.onuserjoinparam_){nullptr}
- , decltype(_impl_.onuserleaveparam_){nullptr}
- , decltype(_impl_.onuservideostatuschangedparam_){nullptr}
- , decltype(_impl_.onuseraudiostatuschangedparam_){nullptr}
- , decltype(_impl_.onusersharestatuschangedparam_){nullptr}
- , decltype(_impl_.onlivestreamstatuschangedparam_){nullptr}
- , decltype(_impl_.onuserhostchangedparam_){nullptr}
- , decltype(_impl_.onuseractiveaudiochangedparam_){nullptr}
- , decltype(_impl_.onchatnewmessagenotifyparam_){nullptr}
- , decltype(_impl_.onvideosourceinitializeparam_){nullptr}
- , decltype(_impl_.onpropertychangeparam_){nullptr}
- , decltype(_impl_.onrawdatastatuschangedparam_){nullptr}
- , decltype(_impl_.onusermanagerchangedparam_){nullptr}
- , decltype(_impl_.onusernamechangedparam_){nullptr}
- , decltype(_impl_.oncommandreceivedparam_){nullptr}
- , decltype(_impl_.oncloudrecordingstatusparam_){nullptr}
- , decltype(_impl_.oncameracontrolrequestresultparam_){nullptr}
- , decltype(_impl_.oncameracontrolrequestreceivedparam_){nullptr}
- , decltype(_impl_.oncommandchannelconnectresultparam_){nullptr}
- , decltype(_impl_.onhostaskunmuteparam_){nullptr}
- , decltype(_impl_.oninvitebyphonestatusparam_){nullptr}
- , decltype(_impl_.onmulticamerastreamstatuschangedparam_){nullptr}
- , decltype(_impl_.onmicspeakervolumechangedparam_){nullptr}
- , decltype(_impl_.onaudiodevicestatuschangedparam_){nullptr}
- , decltype(_impl_.ontestmicstatuschangedparam_){nullptr}
- , decltype(_impl_.onselectedaudiodevicechangedparam_){nullptr}
- , decltype(_impl_.onlivetranscriptionstatusparam_){nullptr}
- , decltype(_impl_.onlivetranscriptionmsgreceivedparam_){nullptr}
- , decltype(_impl_.onlivetranscriptionmsgerrorparam_){nullptr}
- , decltype(_impl_.onchatmsgdeletenotificationparam_){nullptr}
- , decltype(_impl_.livetranscriptionmsginfoparam_){nullptr}
- , decltype(_impl_.msgtype_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.onerrorparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onErrorParams(*from._impl_.onerrorparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.onuserjoinparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserJoinParams(*from._impl_.onuserjoinparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
- _this->_impl_.onuserleaveparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserLeaveParams(*from._impl_.onuserleaveparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000008u) != 0) {
- _this->_impl_.onuservideostatuschangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserVideoStatusChangedParams(*from._impl_.onuservideostatuschangedparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000010u) != 0) {
- _this->_impl_.onuseraudiostatuschangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserAudioStatusChangedParams(*from._impl_.onuseraudiostatuschangedparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000020u) != 0) {
- _this->_impl_.onusersharestatuschangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserShareStatusChangedParams(*from._impl_.onusersharestatuschangedparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000040u) != 0) {
- _this->_impl_.onlivestreamstatuschangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveStreamStatusChangedParams(*from._impl_.onlivestreamstatuschangedparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000080u) != 0) {
- _this->_impl_.onuserhostchangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserHostChangedParams(*from._impl_.onuserhostchangedparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000100u) != 0) {
- _this->_impl_.onuseractiveaudiochangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserActiveAudioChangedParams(*from._impl_.onuseractiveaudiochangedparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000200u) != 0) {
- _this->_impl_.onchatnewmessagenotifyparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatNewMessageNotifyParams(*from._impl_.onchatnewmessagenotifyparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000400u) != 0) {
- _this->_impl_.onvideosourceinitializeparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onVideoSourceInitializeParams(*from._impl_.onvideosourceinitializeparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00000800u) != 0) {
- _this->_impl_.onpropertychangeparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onPropertyChangeParams(*from._impl_.onpropertychangeparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00001000u) != 0) {
- _this->_impl_.onrawdatastatuschangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onRawDataStatusChangedParams(*from._impl_.onrawdatastatuschangedparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00002000u) != 0) {
- _this->_impl_.onusermanagerchangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserManagerChangedParams(*from._impl_.onusermanagerchangedparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00004000u) != 0) {
- _this->_impl_.onusernamechangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserNameChangedParams(*from._impl_.onusernamechangedparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00008000u) != 0) {
- _this->_impl_.oncommandreceivedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandReceivedParams(*from._impl_.oncommandreceivedparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00010000u) != 0) {
- _this->_impl_.oncloudrecordingstatusparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCloudRecordingStatusParams(*from._impl_.oncloudrecordingstatusparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00020000u) != 0) {
- _this->_impl_.oncameracontrolrequestresultparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestResultParams(*from._impl_.oncameracontrolrequestresultparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00040000u) != 0) {
- _this->_impl_.oncameracontrolrequestreceivedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestReceivedParams(*from._impl_.oncameracontrolrequestreceivedparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00080000u) != 0) {
- _this->_impl_.oncommandchannelconnectresultparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandChannelConnectResultParams(*from._impl_.oncommandchannelconnectresultparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00100000u) != 0) {
- _this->_impl_.onhostaskunmuteparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onHostAskUnmuteParams(*from._impl_.onhostaskunmuteparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00200000u) != 0) {
- _this->_impl_.oninvitebyphonestatusparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onInviteByPhoneStatusParams(*from._impl_.oninvitebyphonestatusparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00400000u) != 0) {
- _this->_impl_.onmulticamerastreamstatuschangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMultiCameraStreamStatusChangedParams(*from._impl_.onmulticamerastreamstatuschangedparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x00800000u) != 0) {
- _this->_impl_.onmicspeakervolumechangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMicSpeakerVolumeChangedParams(*from._impl_.onmicspeakervolumechangedparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x01000000u) != 0) {
- _this->_impl_.onaudiodevicestatuschangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onAudioDeviceStatusChangedParams(*from._impl_.onaudiodevicestatuschangedparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x02000000u) != 0) {
- _this->_impl_.ontestmicstatuschangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onTestMicStatusChangedParams(*from._impl_.ontestmicstatuschangedparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x04000000u) != 0) {
- _this->_impl_.onselectedaudiodevicechangedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onSelectedAudioDeviceChangedParams(*from._impl_.onselectedaudiodevicechangedparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x08000000u) != 0) {
- _this->_impl_.onlivetranscriptionstatusparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionStatusParams(*from._impl_.onlivetranscriptionstatusparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x10000000u) != 0) {
- _this->_impl_.onlivetranscriptionmsgreceivedparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgReceivedParams(*from._impl_.onlivetranscriptionmsgreceivedparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x20000000u) != 0) {
- _this->_impl_.onlivetranscriptionmsgerrorparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgErrorParams(*from._impl_.onlivetranscriptionmsgerrorparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x40000000u) != 0) {
- _this->_impl_.onchatmsgdeletenotificationparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatMsgDeleteNotificationParams(*from._impl_.onchatmsgdeletenotificationparam_);
- }
- if ((from._impl_._has_bits_[0] & 0x80000000u) != 0) {
- _this->_impl_.livetranscriptionmsginfoparam_ = new ::com::electron::zoomvideo::sdk::proto::CallbackBody_liveTranscriptionMsgInfoParams(*from._impl_.livetranscriptionmsginfoparam_);
- }
- _this->_impl_.msgtype_ = from._impl_.msgtype_;
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CallbackBody)
- }
- inline void CallbackBody::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.onerrorparam_){nullptr}
- , decltype(_impl_.onuserjoinparam_){nullptr}
- , decltype(_impl_.onuserleaveparam_){nullptr}
- , decltype(_impl_.onuservideostatuschangedparam_){nullptr}
- , decltype(_impl_.onuseraudiostatuschangedparam_){nullptr}
- , decltype(_impl_.onusersharestatuschangedparam_){nullptr}
- , decltype(_impl_.onlivestreamstatuschangedparam_){nullptr}
- , decltype(_impl_.onuserhostchangedparam_){nullptr}
- , decltype(_impl_.onuseractiveaudiochangedparam_){nullptr}
- , decltype(_impl_.onchatnewmessagenotifyparam_){nullptr}
- , decltype(_impl_.onvideosourceinitializeparam_){nullptr}
- , decltype(_impl_.onpropertychangeparam_){nullptr}
- , decltype(_impl_.onrawdatastatuschangedparam_){nullptr}
- , decltype(_impl_.onusermanagerchangedparam_){nullptr}
- , decltype(_impl_.onusernamechangedparam_){nullptr}
- , decltype(_impl_.oncommandreceivedparam_){nullptr}
- , decltype(_impl_.oncloudrecordingstatusparam_){nullptr}
- , decltype(_impl_.oncameracontrolrequestresultparam_){nullptr}
- , decltype(_impl_.oncameracontrolrequestreceivedparam_){nullptr}
- , decltype(_impl_.oncommandchannelconnectresultparam_){nullptr}
- , decltype(_impl_.onhostaskunmuteparam_){nullptr}
- , decltype(_impl_.oninvitebyphonestatusparam_){nullptr}
- , decltype(_impl_.onmulticamerastreamstatuschangedparam_){nullptr}
- , decltype(_impl_.onmicspeakervolumechangedparam_){nullptr}
- , decltype(_impl_.onaudiodevicestatuschangedparam_){nullptr}
- , decltype(_impl_.ontestmicstatuschangedparam_){nullptr}
- , decltype(_impl_.onselectedaudiodevicechangedparam_){nullptr}
- , decltype(_impl_.onlivetranscriptionstatusparam_){nullptr}
- , decltype(_impl_.onlivetranscriptionmsgreceivedparam_){nullptr}
- , decltype(_impl_.onlivetranscriptionmsgerrorparam_){nullptr}
- , decltype(_impl_.onchatmsgdeletenotificationparam_){nullptr}
- , decltype(_impl_.livetranscriptionmsginfoparam_){nullptr}
- , decltype(_impl_.msgtype_) { 0 }
- };
- }
- CallbackBody::~CallbackBody() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CallbackBody)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CallbackBody::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.onerrorparam_;
- if (this != internal_default_instance()) delete _impl_.onuserjoinparam_;
- if (this != internal_default_instance()) delete _impl_.onuserleaveparam_;
- if (this != internal_default_instance()) delete _impl_.onuservideostatuschangedparam_;
- if (this != internal_default_instance()) delete _impl_.onuseraudiostatuschangedparam_;
- if (this != internal_default_instance()) delete _impl_.onusersharestatuschangedparam_;
- if (this != internal_default_instance()) delete _impl_.onlivestreamstatuschangedparam_;
- if (this != internal_default_instance()) delete _impl_.onuserhostchangedparam_;
- if (this != internal_default_instance()) delete _impl_.onuseractiveaudiochangedparam_;
- if (this != internal_default_instance()) delete _impl_.onchatnewmessagenotifyparam_;
- if (this != internal_default_instance()) delete _impl_.onvideosourceinitializeparam_;
- if (this != internal_default_instance()) delete _impl_.onpropertychangeparam_;
- if (this != internal_default_instance()) delete _impl_.onrawdatastatuschangedparam_;
- if (this != internal_default_instance()) delete _impl_.onusermanagerchangedparam_;
- if (this != internal_default_instance()) delete _impl_.onusernamechangedparam_;
- if (this != internal_default_instance()) delete _impl_.oncommandreceivedparam_;
- if (this != internal_default_instance()) delete _impl_.oncloudrecordingstatusparam_;
- if (this != internal_default_instance()) delete _impl_.oncameracontrolrequestresultparam_;
- if (this != internal_default_instance()) delete _impl_.oncameracontrolrequestreceivedparam_;
- if (this != internal_default_instance()) delete _impl_.oncommandchannelconnectresultparam_;
- if (this != internal_default_instance()) delete _impl_.onhostaskunmuteparam_;
- if (this != internal_default_instance()) delete _impl_.oninvitebyphonestatusparam_;
- if (this != internal_default_instance()) delete _impl_.onmulticamerastreamstatuschangedparam_;
- if (this != internal_default_instance()) delete _impl_.onmicspeakervolumechangedparam_;
- if (this != internal_default_instance()) delete _impl_.onaudiodevicestatuschangedparam_;
- if (this != internal_default_instance()) delete _impl_.ontestmicstatuschangedparam_;
- if (this != internal_default_instance()) delete _impl_.onselectedaudiodevicechangedparam_;
- if (this != internal_default_instance()) delete _impl_.onlivetranscriptionstatusparam_;
- if (this != internal_default_instance()) delete _impl_.onlivetranscriptionmsgreceivedparam_;
- if (this != internal_default_instance()) delete _impl_.onlivetranscriptionmsgerrorparam_;
- if (this != internal_default_instance()) delete _impl_.onchatmsgdeletenotificationparam_;
- if (this != internal_default_instance()) delete _impl_.livetranscriptionmsginfoparam_;
- }
- void CallbackBody::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CallbackBody::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CallbackBody)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x000000ffu) {
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.onerrorparam_ != nullptr);
- _impl_.onerrorparam_->Clear();
- }
- if (cached_has_bits & 0x00000002u) {
- ABSL_DCHECK(_impl_.onuserjoinparam_ != nullptr);
- _impl_.onuserjoinparam_->Clear();
- }
- if (cached_has_bits & 0x00000004u) {
- ABSL_DCHECK(_impl_.onuserleaveparam_ != nullptr);
- _impl_.onuserleaveparam_->Clear();
- }
- if (cached_has_bits & 0x00000008u) {
- ABSL_DCHECK(_impl_.onuservideostatuschangedparam_ != nullptr);
- _impl_.onuservideostatuschangedparam_->Clear();
- }
- if (cached_has_bits & 0x00000010u) {
- ABSL_DCHECK(_impl_.onuseraudiostatuschangedparam_ != nullptr);
- _impl_.onuseraudiostatuschangedparam_->Clear();
- }
- if (cached_has_bits & 0x00000020u) {
- ABSL_DCHECK(_impl_.onusersharestatuschangedparam_ != nullptr);
- _impl_.onusersharestatuschangedparam_->Clear();
- }
- if (cached_has_bits & 0x00000040u) {
- ABSL_DCHECK(_impl_.onlivestreamstatuschangedparam_ != nullptr);
- _impl_.onlivestreamstatuschangedparam_->Clear();
- }
- if (cached_has_bits & 0x00000080u) {
- ABSL_DCHECK(_impl_.onuserhostchangedparam_ != nullptr);
- _impl_.onuserhostchangedparam_->Clear();
- }
- }
- if (cached_has_bits & 0x0000ff00u) {
- if (cached_has_bits & 0x00000100u) {
- ABSL_DCHECK(_impl_.onuseractiveaudiochangedparam_ != nullptr);
- _impl_.onuseractiveaudiochangedparam_->Clear();
- }
- if (cached_has_bits & 0x00000200u) {
- ABSL_DCHECK(_impl_.onchatnewmessagenotifyparam_ != nullptr);
- _impl_.onchatnewmessagenotifyparam_->Clear();
- }
- if (cached_has_bits & 0x00000400u) {
- ABSL_DCHECK(_impl_.onvideosourceinitializeparam_ != nullptr);
- _impl_.onvideosourceinitializeparam_->Clear();
- }
- if (cached_has_bits & 0x00000800u) {
- ABSL_DCHECK(_impl_.onpropertychangeparam_ != nullptr);
- _impl_.onpropertychangeparam_->Clear();
- }
- if (cached_has_bits & 0x00001000u) {
- ABSL_DCHECK(_impl_.onrawdatastatuschangedparam_ != nullptr);
- _impl_.onrawdatastatuschangedparam_->Clear();
- }
- if (cached_has_bits & 0x00002000u) {
- ABSL_DCHECK(_impl_.onusermanagerchangedparam_ != nullptr);
- _impl_.onusermanagerchangedparam_->Clear();
- }
- if (cached_has_bits & 0x00004000u) {
- ABSL_DCHECK(_impl_.onusernamechangedparam_ != nullptr);
- _impl_.onusernamechangedparam_->Clear();
- }
- if (cached_has_bits & 0x00008000u) {
- ABSL_DCHECK(_impl_.oncommandreceivedparam_ != nullptr);
- _impl_.oncommandreceivedparam_->Clear();
- }
- }
- if (cached_has_bits & 0x00ff0000u) {
- if (cached_has_bits & 0x00010000u) {
- ABSL_DCHECK(_impl_.oncloudrecordingstatusparam_ != nullptr);
- _impl_.oncloudrecordingstatusparam_->Clear();
- }
- if (cached_has_bits & 0x00020000u) {
- ABSL_DCHECK(_impl_.oncameracontrolrequestresultparam_ != nullptr);
- _impl_.oncameracontrolrequestresultparam_->Clear();
- }
- if (cached_has_bits & 0x00040000u) {
- ABSL_DCHECK(_impl_.oncameracontrolrequestreceivedparam_ != nullptr);
- _impl_.oncameracontrolrequestreceivedparam_->Clear();
- }
- if (cached_has_bits & 0x00080000u) {
- ABSL_DCHECK(_impl_.oncommandchannelconnectresultparam_ != nullptr);
- _impl_.oncommandchannelconnectresultparam_->Clear();
- }
- if (cached_has_bits & 0x00100000u) {
- ABSL_DCHECK(_impl_.onhostaskunmuteparam_ != nullptr);
- _impl_.onhostaskunmuteparam_->Clear();
- }
- if (cached_has_bits & 0x00200000u) {
- ABSL_DCHECK(_impl_.oninvitebyphonestatusparam_ != nullptr);
- _impl_.oninvitebyphonestatusparam_->Clear();
- }
- if (cached_has_bits & 0x00400000u) {
- ABSL_DCHECK(_impl_.onmulticamerastreamstatuschangedparam_ != nullptr);
- _impl_.onmulticamerastreamstatuschangedparam_->Clear();
- }
- if (cached_has_bits & 0x00800000u) {
- ABSL_DCHECK(_impl_.onmicspeakervolumechangedparam_ != nullptr);
- _impl_.onmicspeakervolumechangedparam_->Clear();
- }
- }
- if (cached_has_bits & 0xff000000u) {
- if (cached_has_bits & 0x01000000u) {
- ABSL_DCHECK(_impl_.onaudiodevicestatuschangedparam_ != nullptr);
- _impl_.onaudiodevicestatuschangedparam_->Clear();
- }
- if (cached_has_bits & 0x02000000u) {
- ABSL_DCHECK(_impl_.ontestmicstatuschangedparam_ != nullptr);
- _impl_.ontestmicstatuschangedparam_->Clear();
- }
- if (cached_has_bits & 0x04000000u) {
- ABSL_DCHECK(_impl_.onselectedaudiodevicechangedparam_ != nullptr);
- _impl_.onselectedaudiodevicechangedparam_->Clear();
- }
- if (cached_has_bits & 0x08000000u) {
- ABSL_DCHECK(_impl_.onlivetranscriptionstatusparam_ != nullptr);
- _impl_.onlivetranscriptionstatusparam_->Clear();
- }
- if (cached_has_bits & 0x10000000u) {
- ABSL_DCHECK(_impl_.onlivetranscriptionmsgreceivedparam_ != nullptr);
- _impl_.onlivetranscriptionmsgreceivedparam_->Clear();
- }
- if (cached_has_bits & 0x20000000u) {
- ABSL_DCHECK(_impl_.onlivetranscriptionmsgerrorparam_ != nullptr);
- _impl_.onlivetranscriptionmsgerrorparam_->Clear();
- }
- if (cached_has_bits & 0x40000000u) {
- ABSL_DCHECK(_impl_.onchatmsgdeletenotificationparam_ != nullptr);
- _impl_.onchatmsgdeletenotificationparam_->Clear();
- }
- if (cached_has_bits & 0x80000000u) {
- ABSL_DCHECK(_impl_.livetranscriptionmsginfoparam_ != nullptr);
- _impl_.livetranscriptionmsginfoparam_->Clear();
- }
- }
- _impl_.msgtype_ = 0;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CallbackBody::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int32 msgtype = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_msgtype(&_impl_._has_bits_);
- _impl_.msgtype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams onErrorParam = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- ptr = ctx->ParseMessage(_internal_mutable_onerrorparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams onUserJoinParam = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
- ptr = ctx->ParseMessage(_internal_mutable_onuserjoinparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams onUserLeaveParam = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
- ptr = ctx->ParseMessage(_internal_mutable_onuserleaveparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams onUserVideoStatusChangedParam = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) {
- ptr = ctx->ParseMessage(_internal_mutable_onuservideostatuschangedparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams onUserAudioStatusChangedParam = 6;
- case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) {
- ptr = ctx->ParseMessage(_internal_mutable_onuseraudiostatuschangedparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams onUserShareStatusChangedParam = 7;
- case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) {
- ptr = ctx->ParseMessage(_internal_mutable_onusersharestatuschangedparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams onLiveStreamStatusChangedParam = 8;
- case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 66)) {
- ptr = ctx->ParseMessage(_internal_mutable_onlivestreamstatuschangedparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams onUserHostChangedParam = 9;
- case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) {
- ptr = ctx->ParseMessage(_internal_mutable_onuserhostchangedparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams onUserActiveAudioChangedParam = 10;
- case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) {
- ptr = ctx->ParseMessage(_internal_mutable_onuseractiveaudiochangedparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams onChatNewMessageNotifyParam = 11;
- case 11:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) {
- ptr = ctx->ParseMessage(_internal_mutable_onchatnewmessagenotifyparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams onVideoSourceInitializeParam = 12;
- case 12:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 98)) {
- ptr = ctx->ParseMessage(_internal_mutable_onvideosourceinitializeparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams onPropertyChangeParam = 13;
- case 13:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 106)) {
- ptr = ctx->ParseMessage(_internal_mutable_onpropertychangeparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams onRawDataStatusChangedParam = 14;
- case 14:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 114)) {
- ptr = ctx->ParseMessage(_internal_mutable_onrawdatastatuschangedparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams onUserManagerChangedParam = 15;
- case 15:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 122)) {
- ptr = ctx->ParseMessage(_internal_mutable_onusermanagerchangedparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams onUserNameChangedParam = 16;
- case 16:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 130)) {
- ptr = ctx->ParseMessage(_internal_mutable_onusernamechangedparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams onCommandReceivedParam = 17;
- case 17:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 138)) {
- ptr = ctx->ParseMessage(_internal_mutable_oncommandreceivedparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams onCloudRecordingStatusParam = 18;
- case 18:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 146)) {
- ptr = ctx->ParseMessage(_internal_mutable_oncloudrecordingstatusparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams onCameraControlRequestResultParam = 19;
- case 19:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 154)) {
- ptr = ctx->ParseMessage(_internal_mutable_oncameracontrolrequestresultparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams onCameraControlRequestReceivedParam = 20;
- case 20:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 162)) {
- ptr = ctx->ParseMessage(_internal_mutable_oncameracontrolrequestreceivedparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams onCommandChannelConnectResultParam = 21;
- case 21:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 170)) {
- ptr = ctx->ParseMessage(_internal_mutable_oncommandchannelconnectresultparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams onHostAskUnmuteParam = 22;
- case 22:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 178)) {
- ptr = ctx->ParseMessage(_internal_mutable_onhostaskunmuteparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams onInviteByPhoneStatusParam = 23;
- case 23:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 186)) {
- ptr = ctx->ParseMessage(_internal_mutable_oninvitebyphonestatusparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams onMultiCameraStreamStatusChangedParam = 24;
- case 24:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 194)) {
- ptr = ctx->ParseMessage(_internal_mutable_onmulticamerastreamstatuschangedparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams onMicSpeakerVolumeChangedParam = 25;
- case 25:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 202)) {
- ptr = ctx->ParseMessage(_internal_mutable_onmicspeakervolumechangedparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams onAudioDeviceStatusChangedParam = 26;
- case 26:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 210)) {
- ptr = ctx->ParseMessage(_internal_mutable_onaudiodevicestatuschangedparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams onTestMicStatusChangedParam = 27;
- case 27:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 218)) {
- ptr = ctx->ParseMessage(_internal_mutable_ontestmicstatuschangedparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams onSelectedAudioDeviceChangedParam = 28;
- case 28:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 226)) {
- ptr = ctx->ParseMessage(_internal_mutable_onselectedaudiodevicechangedparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams onLiveTranscriptionStatusParam = 29;
- case 29:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 234)) {
- ptr = ctx->ParseMessage(_internal_mutable_onlivetranscriptionstatusparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams onLiveTranscriptionMsgReceivedParam = 30;
- case 30:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 242)) {
- ptr = ctx->ParseMessage(_internal_mutable_onlivetranscriptionmsgreceivedparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams onLiveTranscriptionMsgErrorParam = 31;
- case 31:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 250)) {
- ptr = ctx->ParseMessage(_internal_mutable_onlivetranscriptionmsgerrorparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams onChatMsgDeleteNotificationParam = 32;
- case 32:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 2)) {
- ptr = ctx->ParseMessage(_internal_mutable_onchatmsgdeletenotificationparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams liveTranscriptionMsgInfoParam = 33;
- case 33:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_livetranscriptionmsginfoparam(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CallbackBody::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CallbackBody)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[1];
- // optional int32 msgtype = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 1, this->_internal_msgtype(), target);
- }
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams onErrorParam = 2;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, _Internal::onerrorparam(this),
- _Internal::onerrorparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams onUserJoinParam = 3;
- if (cached_has_bits & 0x00000002u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(3, _Internal::onuserjoinparam(this),
- _Internal::onuserjoinparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams onUserLeaveParam = 4;
- if (cached_has_bits & 0x00000004u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(4, _Internal::onuserleaveparam(this),
- _Internal::onuserleaveparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams onUserVideoStatusChangedParam = 5;
- if (cached_has_bits & 0x00000008u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(5, _Internal::onuservideostatuschangedparam(this),
- _Internal::onuservideostatuschangedparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams onUserAudioStatusChangedParam = 6;
- if (cached_has_bits & 0x00000010u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(6, _Internal::onuseraudiostatuschangedparam(this),
- _Internal::onuseraudiostatuschangedparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams onUserShareStatusChangedParam = 7;
- if (cached_has_bits & 0x00000020u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(7, _Internal::onusersharestatuschangedparam(this),
- _Internal::onusersharestatuschangedparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams onLiveStreamStatusChangedParam = 8;
- if (cached_has_bits & 0x00000040u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(8, _Internal::onlivestreamstatuschangedparam(this),
- _Internal::onlivestreamstatuschangedparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams onUserHostChangedParam = 9;
- if (cached_has_bits & 0x00000080u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(9, _Internal::onuserhostchangedparam(this),
- _Internal::onuserhostchangedparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams onUserActiveAudioChangedParam = 10;
- if (cached_has_bits & 0x00000100u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(10, _Internal::onuseractiveaudiochangedparam(this),
- _Internal::onuseractiveaudiochangedparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams onChatNewMessageNotifyParam = 11;
- if (cached_has_bits & 0x00000200u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(11, _Internal::onchatnewmessagenotifyparam(this),
- _Internal::onchatnewmessagenotifyparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams onVideoSourceInitializeParam = 12;
- if (cached_has_bits & 0x00000400u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(12, _Internal::onvideosourceinitializeparam(this),
- _Internal::onvideosourceinitializeparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams onPropertyChangeParam = 13;
- if (cached_has_bits & 0x00000800u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(13, _Internal::onpropertychangeparam(this),
- _Internal::onpropertychangeparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams onRawDataStatusChangedParam = 14;
- if (cached_has_bits & 0x00001000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(14, _Internal::onrawdatastatuschangedparam(this),
- _Internal::onrawdatastatuschangedparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams onUserManagerChangedParam = 15;
- if (cached_has_bits & 0x00002000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(15, _Internal::onusermanagerchangedparam(this),
- _Internal::onusermanagerchangedparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams onUserNameChangedParam = 16;
- if (cached_has_bits & 0x00004000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(16, _Internal::onusernamechangedparam(this),
- _Internal::onusernamechangedparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams onCommandReceivedParam = 17;
- if (cached_has_bits & 0x00008000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(17, _Internal::oncommandreceivedparam(this),
- _Internal::oncommandreceivedparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams onCloudRecordingStatusParam = 18;
- if (cached_has_bits & 0x00010000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(18, _Internal::oncloudrecordingstatusparam(this),
- _Internal::oncloudrecordingstatusparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams onCameraControlRequestResultParam = 19;
- if (cached_has_bits & 0x00020000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(19, _Internal::oncameracontrolrequestresultparam(this),
- _Internal::oncameracontrolrequestresultparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams onCameraControlRequestReceivedParam = 20;
- if (cached_has_bits & 0x00040000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(20, _Internal::oncameracontrolrequestreceivedparam(this),
- _Internal::oncameracontrolrequestreceivedparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams onCommandChannelConnectResultParam = 21;
- if (cached_has_bits & 0x00080000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(21, _Internal::oncommandchannelconnectresultparam(this),
- _Internal::oncommandchannelconnectresultparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams onHostAskUnmuteParam = 22;
- if (cached_has_bits & 0x00100000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(22, _Internal::onhostaskunmuteparam(this),
- _Internal::onhostaskunmuteparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams onInviteByPhoneStatusParam = 23;
- if (cached_has_bits & 0x00200000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(23, _Internal::oninvitebyphonestatusparam(this),
- _Internal::oninvitebyphonestatusparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams onMultiCameraStreamStatusChangedParam = 24;
- if (cached_has_bits & 0x00400000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(24, _Internal::onmulticamerastreamstatuschangedparam(this),
- _Internal::onmulticamerastreamstatuschangedparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams onMicSpeakerVolumeChangedParam = 25;
- if (cached_has_bits & 0x00800000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(25, _Internal::onmicspeakervolumechangedparam(this),
- _Internal::onmicspeakervolumechangedparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams onAudioDeviceStatusChangedParam = 26;
- if (cached_has_bits & 0x01000000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(26, _Internal::onaudiodevicestatuschangedparam(this),
- _Internal::onaudiodevicestatuschangedparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams onTestMicStatusChangedParam = 27;
- if (cached_has_bits & 0x02000000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(27, _Internal::ontestmicstatuschangedparam(this),
- _Internal::ontestmicstatuschangedparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams onSelectedAudioDeviceChangedParam = 28;
- if (cached_has_bits & 0x04000000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(28, _Internal::onselectedaudiodevicechangedparam(this),
- _Internal::onselectedaudiodevicechangedparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams onLiveTranscriptionStatusParam = 29;
- if (cached_has_bits & 0x08000000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(29, _Internal::onlivetranscriptionstatusparam(this),
- _Internal::onlivetranscriptionstatusparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams onLiveTranscriptionMsgReceivedParam = 30;
- if (cached_has_bits & 0x10000000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(30, _Internal::onlivetranscriptionmsgreceivedparam(this),
- _Internal::onlivetranscriptionmsgreceivedparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams onLiveTranscriptionMsgErrorParam = 31;
- if (cached_has_bits & 0x20000000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(31, _Internal::onlivetranscriptionmsgerrorparam(this),
- _Internal::onlivetranscriptionmsgerrorparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams onChatMsgDeleteNotificationParam = 32;
- if (cached_has_bits & 0x40000000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(32, _Internal::onchatmsgdeletenotificationparam(this),
- _Internal::onchatmsgdeletenotificationparam(this).GetCachedSize(), target, stream);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams liveTranscriptionMsgInfoParam = 33;
- if (cached_has_bits & 0x80000000u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(33, _Internal::livetranscriptionmsginfoparam(this),
- _Internal::livetranscriptionmsginfoparam(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CallbackBody)
- return target;
- }
- ::size_t CallbackBody::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CallbackBody)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x000000ffu) {
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onErrorParams onErrorParam = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onerrorparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserJoinParams onUserJoinParam = 3;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onuserjoinparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserLeaveParams onUserLeaveParam = 4;
- if (cached_has_bits & 0x00000004u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onuserleaveparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserVideoStatusChangedParams onUserVideoStatusChangedParam = 5;
- if (cached_has_bits & 0x00000008u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onuservideostatuschangedparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserAudioStatusChangedParams onUserAudioStatusChangedParam = 6;
- if (cached_has_bits & 0x00000010u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onuseraudiostatuschangedparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserShareStatusChangedParams onUserShareStatusChangedParam = 7;
- if (cached_has_bits & 0x00000020u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onusersharestatuschangedparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveStreamStatusChangedParams onLiveStreamStatusChangedParam = 8;
- if (cached_has_bits & 0x00000040u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onlivestreamstatuschangedparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserHostChangedParams onUserHostChangedParam = 9;
- if (cached_has_bits & 0x00000080u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onuserhostchangedparam_);
- }
- }
- if (cached_has_bits & 0x0000ff00u) {
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserActiveAudioChangedParams onUserActiveAudioChangedParam = 10;
- if (cached_has_bits & 0x00000100u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onuseractiveaudiochangedparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onChatNewMessageNotifyParams onChatNewMessageNotifyParam = 11;
- if (cached_has_bits & 0x00000200u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onchatnewmessagenotifyparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onVideoSourceInitializeParams onVideoSourceInitializeParam = 12;
- if (cached_has_bits & 0x00000400u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onvideosourceinitializeparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onPropertyChangeParams onPropertyChangeParam = 13;
- if (cached_has_bits & 0x00000800u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onpropertychangeparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onRawDataStatusChangedParams onRawDataStatusChangedParam = 14;
- if (cached_has_bits & 0x00001000u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onrawdatastatuschangedparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserManagerChangedParams onUserManagerChangedParam = 15;
- if (cached_has_bits & 0x00002000u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onusermanagerchangedparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onUserNameChangedParams onUserNameChangedParam = 16;
- if (cached_has_bits & 0x00004000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onusernamechangedparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandReceivedParams onCommandReceivedParam = 17;
- if (cached_has_bits & 0x00008000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.oncommandreceivedparam_);
- }
- }
- if (cached_has_bits & 0x00ff0000u) {
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCloudRecordingStatusParams onCloudRecordingStatusParam = 18;
- if (cached_has_bits & 0x00010000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.oncloudrecordingstatusparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestResultParams onCameraControlRequestResultParam = 19;
- if (cached_has_bits & 0x00020000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.oncameracontrolrequestresultparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCameraControlRequestReceivedParams onCameraControlRequestReceivedParam = 20;
- if (cached_has_bits & 0x00040000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.oncameracontrolrequestreceivedparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onCommandChannelConnectResultParams onCommandChannelConnectResultParam = 21;
- if (cached_has_bits & 0x00080000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.oncommandchannelconnectresultparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onHostAskUnmuteParams onHostAskUnmuteParam = 22;
- if (cached_has_bits & 0x00100000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onhostaskunmuteparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onInviteByPhoneStatusParams onInviteByPhoneStatusParam = 23;
- if (cached_has_bits & 0x00200000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.oninvitebyphonestatusparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onMultiCameraStreamStatusChangedParams onMultiCameraStreamStatusChangedParam = 24;
- if (cached_has_bits & 0x00400000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onmulticamerastreamstatuschangedparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onMicSpeakerVolumeChangedParams onMicSpeakerVolumeChangedParam = 25;
- if (cached_has_bits & 0x00800000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onmicspeakervolumechangedparam_);
- }
- }
- if (cached_has_bits & 0xff000000u) {
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onAudioDeviceStatusChangedParams onAudioDeviceStatusChangedParam = 26;
- if (cached_has_bits & 0x01000000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onaudiodevicestatuschangedparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onTestMicStatusChangedParams onTestMicStatusChangedParam = 27;
- if (cached_has_bits & 0x02000000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.ontestmicstatuschangedparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onSelectedAudioDeviceChangedParams onSelectedAudioDeviceChangedParam = 28;
- if (cached_has_bits & 0x04000000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onselectedaudiodevicechangedparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionStatusParams onLiveTranscriptionStatusParam = 29;
- if (cached_has_bits & 0x08000000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onlivetranscriptionstatusparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgReceivedParams onLiveTranscriptionMsgReceivedParam = 30;
- if (cached_has_bits & 0x10000000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onlivetranscriptionmsgreceivedparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onLiveTranscriptionMsgErrorParams onLiveTranscriptionMsgErrorParam = 31;
- if (cached_has_bits & 0x20000000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onlivetranscriptionmsgerrorparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.onChatMsgDeleteNotificationParams onChatMsgDeleteNotificationParam = 32;
- if (cached_has_bits & 0x40000000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.onchatmsgdeletenotificationparam_);
- }
- // optional .com.electron.zoomvideo.sdk.proto.CallbackBody.liveTranscriptionMsgInfoParams liveTranscriptionMsgInfoParam = 33;
- if (cached_has_bits & 0x80000000u) {
- total_size += 2 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.livetranscriptionmsginfoparam_);
- }
- }
- // optional int32 msgtype = 1;
- cached_has_bits = _impl_._has_bits_[1];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_msgtype());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CallbackBody::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CallbackBody*>(
- &from));
- }
- void CallbackBody::MergeFrom(const CallbackBody& from) {
- CallbackBody* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x000000ffu) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_mutable_onerrorparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onErrorParams::MergeFrom(
- from._internal_onerrorparam());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_mutable_onuserjoinparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserJoinParams::MergeFrom(
- from._internal_onuserjoinparam());
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_internal_mutable_onuserleaveparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserLeaveParams::MergeFrom(
- from._internal_onuserleaveparam());
- }
- if (cached_has_bits & 0x00000008u) {
- _this->_internal_mutable_onuservideostatuschangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserVideoStatusChangedParams::MergeFrom(
- from._internal_onuservideostatuschangedparam());
- }
- if (cached_has_bits & 0x00000010u) {
- _this->_internal_mutable_onuseraudiostatuschangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserAudioStatusChangedParams::MergeFrom(
- from._internal_onuseraudiostatuschangedparam());
- }
- if (cached_has_bits & 0x00000020u) {
- _this->_internal_mutable_onusersharestatuschangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserShareStatusChangedParams::MergeFrom(
- from._internal_onusersharestatuschangedparam());
- }
- if (cached_has_bits & 0x00000040u) {
- _this->_internal_mutable_onlivestreamstatuschangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveStreamStatusChangedParams::MergeFrom(
- from._internal_onlivestreamstatuschangedparam());
- }
- if (cached_has_bits & 0x00000080u) {
- _this->_internal_mutable_onuserhostchangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserHostChangedParams::MergeFrom(
- from._internal_onuserhostchangedparam());
- }
- }
- if (cached_has_bits & 0x0000ff00u) {
- if (cached_has_bits & 0x00000100u) {
- _this->_internal_mutable_onuseractiveaudiochangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserActiveAudioChangedParams::MergeFrom(
- from._internal_onuseractiveaudiochangedparam());
- }
- if (cached_has_bits & 0x00000200u) {
- _this->_internal_mutable_onchatnewmessagenotifyparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatNewMessageNotifyParams::MergeFrom(
- from._internal_onchatnewmessagenotifyparam());
- }
- if (cached_has_bits & 0x00000400u) {
- _this->_internal_mutable_onvideosourceinitializeparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onVideoSourceInitializeParams::MergeFrom(
- from._internal_onvideosourceinitializeparam());
- }
- if (cached_has_bits & 0x00000800u) {
- _this->_internal_mutable_onpropertychangeparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onPropertyChangeParams::MergeFrom(
- from._internal_onpropertychangeparam());
- }
- if (cached_has_bits & 0x00001000u) {
- _this->_internal_mutable_onrawdatastatuschangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onRawDataStatusChangedParams::MergeFrom(
- from._internal_onrawdatastatuschangedparam());
- }
- if (cached_has_bits & 0x00002000u) {
- _this->_internal_mutable_onusermanagerchangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserManagerChangedParams::MergeFrom(
- from._internal_onusermanagerchangedparam());
- }
- if (cached_has_bits & 0x00004000u) {
- _this->_internal_mutable_onusernamechangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserNameChangedParams::MergeFrom(
- from._internal_onusernamechangedparam());
- }
- if (cached_has_bits & 0x00008000u) {
- _this->_internal_mutable_oncommandreceivedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandReceivedParams::MergeFrom(
- from._internal_oncommandreceivedparam());
- }
- }
- if (cached_has_bits & 0x00ff0000u) {
- if (cached_has_bits & 0x00010000u) {
- _this->_internal_mutable_oncloudrecordingstatusparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onCloudRecordingStatusParams::MergeFrom(
- from._internal_oncloudrecordingstatusparam());
- }
- if (cached_has_bits & 0x00020000u) {
- _this->_internal_mutable_oncameracontrolrequestresultparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestResultParams::MergeFrom(
- from._internal_oncameracontrolrequestresultparam());
- }
- if (cached_has_bits & 0x00040000u) {
- _this->_internal_mutable_oncameracontrolrequestreceivedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestReceivedParams::MergeFrom(
- from._internal_oncameracontrolrequestreceivedparam());
- }
- if (cached_has_bits & 0x00080000u) {
- _this->_internal_mutable_oncommandchannelconnectresultparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandChannelConnectResultParams::MergeFrom(
- from._internal_oncommandchannelconnectresultparam());
- }
- if (cached_has_bits & 0x00100000u) {
- _this->_internal_mutable_onhostaskunmuteparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onHostAskUnmuteParams::MergeFrom(
- from._internal_onhostaskunmuteparam());
- }
- if (cached_has_bits & 0x00200000u) {
- _this->_internal_mutable_oninvitebyphonestatusparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onInviteByPhoneStatusParams::MergeFrom(
- from._internal_oninvitebyphonestatusparam());
- }
- if (cached_has_bits & 0x00400000u) {
- _this->_internal_mutable_onmulticamerastreamstatuschangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onMultiCameraStreamStatusChangedParams::MergeFrom(
- from._internal_onmulticamerastreamstatuschangedparam());
- }
- if (cached_has_bits & 0x00800000u) {
- _this->_internal_mutable_onmicspeakervolumechangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onMicSpeakerVolumeChangedParams::MergeFrom(
- from._internal_onmicspeakervolumechangedparam());
- }
- }
- if (cached_has_bits & 0xff000000u) {
- if (cached_has_bits & 0x01000000u) {
- _this->_internal_mutable_onaudiodevicestatuschangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onAudioDeviceStatusChangedParams::MergeFrom(
- from._internal_onaudiodevicestatuschangedparam());
- }
- if (cached_has_bits & 0x02000000u) {
- _this->_internal_mutable_ontestmicstatuschangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onTestMicStatusChangedParams::MergeFrom(
- from._internal_ontestmicstatuschangedparam());
- }
- if (cached_has_bits & 0x04000000u) {
- _this->_internal_mutable_onselectedaudiodevicechangedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onSelectedAudioDeviceChangedParams::MergeFrom(
- from._internal_onselectedaudiodevicechangedparam());
- }
- if (cached_has_bits & 0x08000000u) {
- _this->_internal_mutable_onlivetranscriptionstatusparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionStatusParams::MergeFrom(
- from._internal_onlivetranscriptionstatusparam());
- }
- if (cached_has_bits & 0x10000000u) {
- _this->_internal_mutable_onlivetranscriptionmsgreceivedparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgReceivedParams::MergeFrom(
- from._internal_onlivetranscriptionmsgreceivedparam());
- }
- if (cached_has_bits & 0x20000000u) {
- _this->_internal_mutable_onlivetranscriptionmsgerrorparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgErrorParams::MergeFrom(
- from._internal_onlivetranscriptionmsgerrorparam());
- }
- if (cached_has_bits & 0x40000000u) {
- _this->_internal_mutable_onchatmsgdeletenotificationparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatMsgDeleteNotificationParams::MergeFrom(
- from._internal_onchatmsgdeletenotificationparam());
- }
- if (cached_has_bits & 0x80000000u) {
- _this->_internal_mutable_livetranscriptionmsginfoparam()->::com::electron::zoomvideo::sdk::proto::CallbackBody_liveTranscriptionMsgInfoParams::MergeFrom(
- from._internal_livetranscriptionmsginfoparam());
- }
- }
- if ((from._impl_._has_bits_[1] & 0x00000001u) != 0) {
- _this->_internal_set_msgtype(from._internal_msgtype());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CallbackBody::CopyFrom(const CallbackBody& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CallbackBody)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CallbackBody::IsInitialized() const {
- return true;
- }
- void CallbackBody::InternalSwap(CallbackBody* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_._has_bits_[1], other->_impl_._has_bits_[1]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(CallbackBody, _impl_.msgtype_)
- + sizeof(CallbackBody::_impl_.msgtype_)
- - PROTOBUF_FIELD_OFFSET(CallbackBody, _impl_.onerrorparam_)>(
- reinterpret_cast<char*>(&_impl_.onerrorparam_),
- reinterpret_cast<char*>(&other->_impl_.onerrorparam_));
- }
- std::string CallbackBody::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CallbackBody";
- }
- // ===================================================================
- class CreateVideoSDKObjParam::_Internal {
- public:
- using HasBits = decltype(std::declval<CreateVideoSDKObjParam>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CreateVideoSDKObjParam, _impl_._has_bits_);
- static void set_has_path(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- CreateVideoSDKObjParam::CreateVideoSDKObjParam(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
- }
- CreateVideoSDKObjParam::CreateVideoSDKObjParam(const CreateVideoSDKObjParam& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CreateVideoSDKObjParam* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.path_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.path_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.path_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.path_.Set(from._internal_path(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
- }
- inline void CreateVideoSDKObjParam::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.path_) {}
- };
- _impl_.path_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.path_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- CreateVideoSDKObjParam::~CreateVideoSDKObjParam() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CreateVideoSDKObjParam::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.path_.Destroy();
- }
- void CreateVideoSDKObjParam::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CreateVideoSDKObjParam::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.path_.ClearNonDefaultToEmpty();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CreateVideoSDKObjParam::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string path = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_path();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CreateVideoSDKObjParam::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string path = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_path();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
- return target;
- }
- ::size_t CreateVideoSDKObjParam::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional string path = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_path());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CreateVideoSDKObjParam::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CreateVideoSDKObjParam*>(
- &from));
- }
- void CreateVideoSDKObjParam::MergeFrom(const CreateVideoSDKObjParam& from) {
- CreateVideoSDKObjParam* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_path(from._internal_path());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CreateVideoSDKObjParam::CopyFrom(const CreateVideoSDKObjParam& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CreateVideoSDKObjParam::IsInitialized() const {
- return true;
- }
- void CreateVideoSDKObjParam::InternalSwap(CreateVideoSDKObjParam* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_, lhs_arena,
- &other->_impl_.path_, rhs_arena);
- }
- std::string CreateVideoSDKObjParam::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CreateVideoSDKObjParam";
- }
- // ===================================================================
- class VideoSDKInitParams::_Internal {
- public:
- using HasBits = decltype(std::declval<VideoSDKInitParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(VideoSDKInitParams, _impl_._has_bits_);
- static void set_has_domain(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_logfileprefix(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_enablelog(HasBits* has_bits) {
- (*has_bits)[0] |= 8u;
- }
- static void set_has_audiorawdatamemorymode(HasBits* has_bits) {
- (*has_bits)[0] |= 16u;
- }
- static void set_has_zn_videorawdatamemorymode(HasBits* has_bits) {
- (*has_bits)[0] |= 32u;
- }
- static void set_has_zn_sharerawdatamemorymode(HasBits* has_bits) {
- (*has_bits)[0] |= 64u;
- }
- static void set_has_speakertestfilepath(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- };
- VideoSDKInitParams::VideoSDKInitParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
- }
- VideoSDKInitParams::VideoSDKInitParams(const VideoSDKInitParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- VideoSDKInitParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.domain_) {}
- , decltype(_impl_.logfileprefix_) {}
- , decltype(_impl_.speakertestfilepath_) {}
- , decltype(_impl_.enablelog_) {}
- , decltype(_impl_.audiorawdatamemorymode_) {}
- , decltype(_impl_.zn_videorawdatamemorymode_) {}
- , decltype(_impl_.zn_sharerawdatamemorymode_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.domain_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.domain_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.domain_.Set(from._internal_domain(), _this->GetArenaForAllocation());
- }
- _impl_.logfileprefix_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.logfileprefix_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.logfileprefix_.Set(from._internal_logfileprefix(), _this->GetArenaForAllocation());
- }
- _impl_.speakertestfilepath_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.speakertestfilepath_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
- _this->_impl_.speakertestfilepath_.Set(from._internal_speakertestfilepath(), _this->GetArenaForAllocation());
- }
- ::memcpy(&_impl_.enablelog_, &from._impl_.enablelog_,
- static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.zn_sharerawdatamemorymode_) -
- reinterpret_cast<char*>(&_impl_.enablelog_)) + sizeof(_impl_.zn_sharerawdatamemorymode_));
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
- }
- inline void VideoSDKInitParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.domain_) {}
- , decltype(_impl_.logfileprefix_) {}
- , decltype(_impl_.speakertestfilepath_) {}
- , decltype(_impl_.enablelog_) { false }
- , decltype(_impl_.audiorawdatamemorymode_) { 0 }
- , decltype(_impl_.zn_videorawdatamemorymode_) { 0 }
- , decltype(_impl_.zn_sharerawdatamemorymode_) { 0 }
- };
- _impl_.domain_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.domain_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.logfileprefix_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.logfileprefix_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.speakertestfilepath_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.speakertestfilepath_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- VideoSDKInitParams::~VideoSDKInitParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void VideoSDKInitParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.domain_.Destroy();
- _impl_.logfileprefix_.Destroy();
- _impl_.speakertestfilepath_.Destroy();
- }
- void VideoSDKInitParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void VideoSDKInitParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.domain_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- _impl_.logfileprefix_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000004u) {
- _impl_.speakertestfilepath_.ClearNonDefaultToEmpty();
- }
- }
- if (cached_has_bits & 0x00000078u) {
- ::memset(&_impl_.enablelog_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.zn_sharerawdatamemorymode_) -
- reinterpret_cast<char*>(&_impl_.enablelog_)) + sizeof(_impl_.zn_sharerawdatamemorymode_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* VideoSDKInitParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string domain = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_domain();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string logFilePrefix = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_logfileprefix();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool enableLog = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_enablelog(&has_bits);
- _impl_.enablelog_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 audioRawDataMemoryMode = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
- _Internal::set_has_audiorawdatamemorymode(&has_bits);
- _impl_.audiorawdatamemorymode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 zn_videoRawDataMemoryMode = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
- _Internal::set_has_zn_videorawdatamemorymode(&has_bits);
- _impl_.zn_videorawdatamemorymode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 zn_shareRawDataMemoryMode = 6;
- case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
- _Internal::set_has_zn_sharerawdatamemorymode(&has_bits);
- _impl_.zn_sharerawdatamemorymode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string speakerTestFilePath = 7;
- case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) {
- auto str = _internal_mutable_speakertestfilepath();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* VideoSDKInitParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string domain = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_domain();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional string logFilePrefix = 2;
- if (cached_has_bits & 0x00000002u) {
- const std::string& _s = this->_internal_logfileprefix();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- // optional bool enableLog = 3;
- if (cached_has_bits & 0x00000008u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 3, this->_internal_enablelog(), target);
- }
- // optional int32 audioRawDataMemoryMode = 4;
- if (cached_has_bits & 0x00000010u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 4, this->_internal_audiorawdatamemorymode(), target);
- }
- // optional int32 zn_videoRawDataMemoryMode = 5;
- if (cached_has_bits & 0x00000020u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 5, this->_internal_zn_videorawdatamemorymode(), target);
- }
- // optional int32 zn_shareRawDataMemoryMode = 6;
- if (cached_has_bits & 0x00000040u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 6, this->_internal_zn_sharerawdatamemorymode(), target);
- }
- // optional string speakerTestFilePath = 7;
- if (cached_has_bits & 0x00000004u) {
- const std::string& _s = this->_internal_speakertestfilepath();
- target = stream->WriteStringMaybeAliased(7, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
- return target;
- }
- ::size_t VideoSDKInitParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x0000007fu) {
- // optional string domain = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_domain());
- }
- // optional string logFilePrefix = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_logfileprefix());
- }
- // optional string speakerTestFilePath = 7;
- if (cached_has_bits & 0x00000004u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_speakertestfilepath());
- }
- // optional bool enableLog = 3;
- if (cached_has_bits & 0x00000008u) {
- total_size += 2;
- }
- // optional int32 audioRawDataMemoryMode = 4;
- if (cached_has_bits & 0x00000010u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_audiorawdatamemorymode());
- }
- // optional int32 zn_videoRawDataMemoryMode = 5;
- if (cached_has_bits & 0x00000020u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_zn_videorawdatamemorymode());
- }
- // optional int32 zn_shareRawDataMemoryMode = 6;
- if (cached_has_bits & 0x00000040u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_zn_sharerawdatamemorymode());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void VideoSDKInitParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const VideoSDKInitParams*>(
- &from));
- }
- void VideoSDKInitParams::MergeFrom(const VideoSDKInitParams& from) {
- VideoSDKInitParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x0000007fu) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_domain(from._internal_domain());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_set_logfileprefix(from._internal_logfileprefix());
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_internal_set_speakertestfilepath(from._internal_speakertestfilepath());
- }
- if (cached_has_bits & 0x00000008u) {
- _this->_impl_.enablelog_ = from._impl_.enablelog_;
- }
- if (cached_has_bits & 0x00000010u) {
- _this->_impl_.audiorawdatamemorymode_ = from._impl_.audiorawdatamemorymode_;
- }
- if (cached_has_bits & 0x00000020u) {
- _this->_impl_.zn_videorawdatamemorymode_ = from._impl_.zn_videorawdatamemorymode_;
- }
- if (cached_has_bits & 0x00000040u) {
- _this->_impl_.zn_sharerawdatamemorymode_ = from._impl_.zn_sharerawdatamemorymode_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void VideoSDKInitParams::CopyFrom(const VideoSDKInitParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKInitParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool VideoSDKInitParams::IsInitialized() const {
- return true;
- }
- void VideoSDKInitParams::InternalSwap(VideoSDKInitParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.domain_, lhs_arena,
- &other->_impl_.domain_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.logfileprefix_, lhs_arena,
- &other->_impl_.logfileprefix_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.speakertestfilepath_, lhs_arena,
- &other->_impl_.speakertestfilepath_, rhs_arena);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(VideoSDKInitParams, _impl_.zn_sharerawdatamemorymode_)
- + sizeof(VideoSDKInitParams::_impl_.zn_sharerawdatamemorymode_)
- - PROTOBUF_FIELD_OFFSET(VideoSDKInitParams, _impl_.enablelog_)>(
- reinterpret_cast<char*>(&_impl_.enablelog_),
- reinterpret_cast<char*>(&other->_impl_.enablelog_));
- }
- std::string VideoSDKInitParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.VideoSDKInitParams";
- }
- // ===================================================================
- class VideoSDKSessionContext::_Internal {
- public:
- using HasBits = decltype(std::declval<VideoSDKSessionContext>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(VideoSDKSessionContext, _impl_._has_bits_);
- static void set_has_sessionname(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_sessionpassword(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_token(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- static void set_has_username(HasBits* has_bits) {
- (*has_bits)[0] |= 8u;
- }
- static void set_has_localvideoon(HasBits* has_bits) {
- (*has_bits)[0] |= 16u;
- }
- static void set_has_connect(HasBits* has_bits) {
- (*has_bits)[0] |= 32u;
- }
- static void set_has_mute(HasBits* has_bits) {
- (*has_bits)[0] |= 64u;
- }
- static void set_has_preprocessor(HasBits* has_bits) {
- (*has_bits)[0] |= 128u;
- }
- static void set_has_externalvideosource(HasBits* has_bits) {
- (*has_bits)[0] |= 256u;
- }
- static void set_has_sessionidletimeoutmins(HasBits* has_bits) {
- (*has_bits)[0] |= 512u;
- }
- };
- VideoSDKSessionContext::VideoSDKSessionContext(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
- }
- VideoSDKSessionContext::VideoSDKSessionContext(const VideoSDKSessionContext& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- VideoSDKSessionContext* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.sessionname_) {}
- , decltype(_impl_.sessionpassword_) {}
- , decltype(_impl_.token_) {}
- , decltype(_impl_.username_) {}
- , decltype(_impl_.localvideoon_) {}
- , decltype(_impl_.connect_) {}
- , decltype(_impl_.mute_) {}
- , decltype(_impl_.preprocessor_) {}
- , decltype(_impl_.externalvideosource_) {}
- , decltype(_impl_.sessionidletimeoutmins_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.sessionname_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.sessionname_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.sessionname_.Set(from._internal_sessionname(), _this->GetArenaForAllocation());
- }
- _impl_.sessionpassword_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.sessionpassword_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.sessionpassword_.Set(from._internal_sessionpassword(), _this->GetArenaForAllocation());
- }
- _impl_.token_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.token_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
- _this->_impl_.token_.Set(from._internal_token(), _this->GetArenaForAllocation());
- }
- _impl_.username_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.username_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000008u) != 0) {
- _this->_impl_.username_.Set(from._internal_username(), _this->GetArenaForAllocation());
- }
- ::memcpy(&_impl_.localvideoon_, &from._impl_.localvideoon_,
- static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.sessionidletimeoutmins_) -
- reinterpret_cast<char*>(&_impl_.localvideoon_)) + sizeof(_impl_.sessionidletimeoutmins_));
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
- }
- inline void VideoSDKSessionContext::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.sessionname_) {}
- , decltype(_impl_.sessionpassword_) {}
- , decltype(_impl_.token_) {}
- , decltype(_impl_.username_) {}
- , decltype(_impl_.localvideoon_) { false }
- , decltype(_impl_.connect_) { false }
- , decltype(_impl_.mute_) { false }
- , decltype(_impl_.preprocessor_) { false }
- , decltype(_impl_.externalvideosource_) { false }
- , decltype(_impl_.sessionidletimeoutmins_) { 0u }
- };
- _impl_.sessionname_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.sessionname_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.sessionpassword_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.sessionpassword_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.token_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.token_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.username_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.username_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- VideoSDKSessionContext::~VideoSDKSessionContext() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void VideoSDKSessionContext::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.sessionname_.Destroy();
- _impl_.sessionpassword_.Destroy();
- _impl_.token_.Destroy();
- _impl_.username_.Destroy();
- }
- void VideoSDKSessionContext::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void VideoSDKSessionContext::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x0000000fu) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.sessionname_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- _impl_.sessionpassword_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000004u) {
- _impl_.token_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000008u) {
- _impl_.username_.ClearNonDefaultToEmpty();
- }
- }
- if (cached_has_bits & 0x000000f0u) {
- ::memset(&_impl_.localvideoon_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.preprocessor_) -
- reinterpret_cast<char*>(&_impl_.localvideoon_)) + sizeof(_impl_.preprocessor_));
- }
- if (cached_has_bits & 0x00000300u) {
- ::memset(&_impl_.externalvideosource_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.sessionidletimeoutmins_) -
- reinterpret_cast<char*>(&_impl_.externalvideosource_)) + sizeof(_impl_.sessionidletimeoutmins_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* VideoSDKSessionContext::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string sessionName = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_sessionname();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string sessionPassword = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_sessionpassword();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string token = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
- auto str = _internal_mutable_token();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string userName = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
- auto str = _internal_mutable_username();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool localVideoOn = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
- _Internal::set_has_localvideoon(&has_bits);
- _impl_.localvideoon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool connect = 6;
- case 6:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
- _Internal::set_has_connect(&has_bits);
- _impl_.connect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool mute = 7;
- case 7:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
- _Internal::set_has_mute(&has_bits);
- _impl_.mute_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool preProcessor = 8;
- case 8:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
- _Internal::set_has_preprocessor(&has_bits);
- _impl_.preprocessor_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool externalVideoSource = 9;
- case 9:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 72)) {
- _Internal::set_has_externalvideosource(&has_bits);
- _impl_.externalvideosource_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional uint32 sessionIdleTimeoutMins = 10;
- case 10:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 80)) {
- _Internal::set_has_sessionidletimeoutmins(&has_bits);
- _impl_.sessionidletimeoutmins_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* VideoSDKSessionContext::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string sessionName = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_sessionname();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional string sessionPassword = 2;
- if (cached_has_bits & 0x00000002u) {
- const std::string& _s = this->_internal_sessionpassword();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- // optional string token = 3;
- if (cached_has_bits & 0x00000004u) {
- const std::string& _s = this->_internal_token();
- target = stream->WriteStringMaybeAliased(3, _s, target);
- }
- // optional string userName = 4;
- if (cached_has_bits & 0x00000008u) {
- const std::string& _s = this->_internal_username();
- target = stream->WriteStringMaybeAliased(4, _s, target);
- }
- // optional bool localVideoOn = 5;
- if (cached_has_bits & 0x00000010u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 5, this->_internal_localvideoon(), target);
- }
- // optional bool connect = 6;
- if (cached_has_bits & 0x00000020u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 6, this->_internal_connect(), target);
- }
- // optional bool mute = 7;
- if (cached_has_bits & 0x00000040u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 7, this->_internal_mute(), target);
- }
- // optional bool preProcessor = 8;
- if (cached_has_bits & 0x00000080u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 8, this->_internal_preprocessor(), target);
- }
- // optional bool externalVideoSource = 9;
- if (cached_has_bits & 0x00000100u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 9, this->_internal_externalvideosource(), target);
- }
- // optional uint32 sessionIdleTimeoutMins = 10;
- if (cached_has_bits & 0x00000200u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 10, this->_internal_sessionidletimeoutmins(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
- return target;
- }
- ::size_t VideoSDKSessionContext::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x000000ffu) {
- // optional string sessionName = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_sessionname());
- }
- // optional string sessionPassword = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_sessionpassword());
- }
- // optional string token = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_token());
- }
- // optional string userName = 4;
- if (cached_has_bits & 0x00000008u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_username());
- }
- // optional bool localVideoOn = 5;
- if (cached_has_bits & 0x00000010u) {
- total_size += 2;
- }
- // optional bool connect = 6;
- if (cached_has_bits & 0x00000020u) {
- total_size += 2;
- }
- // optional bool mute = 7;
- if (cached_has_bits & 0x00000040u) {
- total_size += 2;
- }
- // optional bool preProcessor = 8;
- if (cached_has_bits & 0x00000080u) {
- total_size += 2;
- }
- }
- if (cached_has_bits & 0x00000300u) {
- // optional bool externalVideoSource = 9;
- if (cached_has_bits & 0x00000100u) {
- total_size += 2;
- }
- // optional uint32 sessionIdleTimeoutMins = 10;
- if (cached_has_bits & 0x00000200u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_sessionidletimeoutmins());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void VideoSDKSessionContext::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const VideoSDKSessionContext*>(
- &from));
- }
- void VideoSDKSessionContext::MergeFrom(const VideoSDKSessionContext& from) {
- VideoSDKSessionContext* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x000000ffu) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_sessionname(from._internal_sessionname());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_set_sessionpassword(from._internal_sessionpassword());
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_internal_set_token(from._internal_token());
- }
- if (cached_has_bits & 0x00000008u) {
- _this->_internal_set_username(from._internal_username());
- }
- if (cached_has_bits & 0x00000010u) {
- _this->_impl_.localvideoon_ = from._impl_.localvideoon_;
- }
- if (cached_has_bits & 0x00000020u) {
- _this->_impl_.connect_ = from._impl_.connect_;
- }
- if (cached_has_bits & 0x00000040u) {
- _this->_impl_.mute_ = from._impl_.mute_;
- }
- if (cached_has_bits & 0x00000080u) {
- _this->_impl_.preprocessor_ = from._impl_.preprocessor_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- if (cached_has_bits & 0x00000300u) {
- if (cached_has_bits & 0x00000100u) {
- _this->_impl_.externalvideosource_ = from._impl_.externalvideosource_;
- }
- if (cached_has_bits & 0x00000200u) {
- _this->_impl_.sessionidletimeoutmins_ = from._impl_.sessionidletimeoutmins_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void VideoSDKSessionContext::CopyFrom(const VideoSDKSessionContext& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool VideoSDKSessionContext::IsInitialized() const {
- return true;
- }
- void VideoSDKSessionContext::InternalSwap(VideoSDKSessionContext* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.sessionname_, lhs_arena,
- &other->_impl_.sessionname_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.sessionpassword_, lhs_arena,
- &other->_impl_.sessionpassword_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.token_, lhs_arena,
- &other->_impl_.token_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.username_, lhs_arena,
- &other->_impl_.username_, rhs_arena);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(VideoSDKSessionContext, _impl_.sessionidletimeoutmins_)
- + sizeof(VideoSDKSessionContext::_impl_.sessionidletimeoutmins_)
- - PROTOBUF_FIELD_OFFSET(VideoSDKSessionContext, _impl_.localvideoon_)>(
- reinterpret_cast<char*>(&_impl_.localvideoon_),
- reinterpret_cast<char*>(&other->_impl_.localvideoon_));
- }
- std::string VideoSDKSessionContext::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.VideoSDKSessionContext";
- }
- // ===================================================================
- class LeaveSessionParams::_Internal {
- public:
- using HasBits = decltype(std::declval<LeaveSessionParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(LeaveSessionParams, _impl_._has_bits_);
- static void set_has_zn_bend(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- LeaveSessionParams::LeaveSessionParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
- }
- LeaveSessionParams::LeaveSessionParams(const LeaveSessionParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
- }
- inline void LeaveSessionParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_bend_) { false }
- };
- }
- LeaveSessionParams::~LeaveSessionParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void LeaveSessionParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void LeaveSessionParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void LeaveSessionParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.zn_bend_ = false;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* LeaveSessionParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional bool zn_bEnd = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_zn_bend(&has_bits);
- _impl_.zn_bend_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* LeaveSessionParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional bool zn_bEnd = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 1, this->_internal_zn_bend(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
- return target;
- }
- ::size_t LeaveSessionParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional bool zn_bEnd = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 2;
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void LeaveSessionParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const LeaveSessionParams*>(
- &from));
- }
- void LeaveSessionParams::MergeFrom(const LeaveSessionParams& from) {
- LeaveSessionParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_zn_bend(from._internal_zn_bend());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void LeaveSessionParams::CopyFrom(const LeaveSessionParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LeaveSessionParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool LeaveSessionParams::IsInitialized() const {
- return true;
- }
- void LeaveSessionParams::InternalSwap(LeaveSessionParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_bend_, other->_impl_.zn_bend_);
- }
- std::string LeaveSessionParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.LeaveSessionParams";
- }
- // ===================================================================
- class SessionPasswordParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SessionPasswordParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SessionPasswordParams, _impl_._has_bits_);
- static void set_has_zn_password(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- SessionPasswordParams::SessionPasswordParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
- }
- SessionPasswordParams::SessionPasswordParams(const SessionPasswordParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- SessionPasswordParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_password_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.zn_password_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_password_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_password_.Set(from._internal_zn_password(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
- }
- inline void SessionPasswordParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_password_) {}
- };
- _impl_.zn_password_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_password_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- SessionPasswordParams::~SessionPasswordParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SessionPasswordParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.zn_password_.Destroy();
- }
- void SessionPasswordParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SessionPasswordParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.zn_password_.ClearNonDefaultToEmpty();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SessionPasswordParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string zn_password = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_zn_password();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SessionPasswordParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string zn_password = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_zn_password();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
- return target;
- }
- ::size_t SessionPasswordParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional string zn_password = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_zn_password());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SessionPasswordParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SessionPasswordParams*>(
- &from));
- }
- void SessionPasswordParams::MergeFrom(const SessionPasswordParams& from) {
- SessionPasswordParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_zn_password(from._internal_zn_password());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SessionPasswordParams::CopyFrom(const SessionPasswordParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SessionPasswordParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SessionPasswordParams::IsInitialized() const {
- return true;
- }
- void SessionPasswordParams::InternalSwap(SessionPasswordParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_password_, lhs_arena,
- &other->_impl_.zn_password_, rhs_arena);
- }
- std::string SessionPasswordParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SessionPasswordParams";
- }
- // ===================================================================
- class MuteAudioParams::_Internal {
- public:
- using HasBits = decltype(std::declval<MuteAudioParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(MuteAudioParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const MuteAudioParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- MuteAudioParams::_Internal::user(const MuteAudioParams* msg) {
- return *msg->_impl_.user_;
- }
- MuteAudioParams::MuteAudioParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
- }
- MuteAudioParams::MuteAudioParams(const MuteAudioParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- MuteAudioParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
- }
- inline void MuteAudioParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- };
- }
- MuteAudioParams::~MuteAudioParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void MuteAudioParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void MuteAudioParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void MuteAudioParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* MuteAudioParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* MuteAudioParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
- return target;
- }
- ::size_t MuteAudioParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void MuteAudioParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const MuteAudioParams*>(
- &from));
- }
- void MuteAudioParams::MergeFrom(const MuteAudioParams& from) {
- MuteAudioParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void MuteAudioParams::CopyFrom(const MuteAudioParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.MuteAudioParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool MuteAudioParams::IsInitialized() const {
- return true;
- }
- void MuteAudioParams::InternalSwap(MuteAudioParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.user_, other->_impl_.user_);
- }
- std::string MuteAudioParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.MuteAudioParams";
- }
- // ===================================================================
- class UnMuteAudioParams::_Internal {
- public:
- using HasBits = decltype(std::declval<UnMuteAudioParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(UnMuteAudioParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const UnMuteAudioParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- UnMuteAudioParams::_Internal::user(const UnMuteAudioParams* msg) {
- return *msg->_impl_.user_;
- }
- UnMuteAudioParams::UnMuteAudioParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
- }
- UnMuteAudioParams::UnMuteAudioParams(const UnMuteAudioParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- UnMuteAudioParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
- }
- inline void UnMuteAudioParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- };
- }
- UnMuteAudioParams::~UnMuteAudioParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void UnMuteAudioParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void UnMuteAudioParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void UnMuteAudioParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* UnMuteAudioParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* UnMuteAudioParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
- return target;
- }
- ::size_t UnMuteAudioParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void UnMuteAudioParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const UnMuteAudioParams*>(
- &from));
- }
- void UnMuteAudioParams::MergeFrom(const UnMuteAudioParams& from) {
- UnMuteAudioParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void UnMuteAudioParams::CopyFrom(const UnMuteAudioParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.UnMuteAudioParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool UnMuteAudioParams::IsInitialized() const {
- return true;
- }
- void UnMuteAudioParams::InternalSwap(UnMuteAudioParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.user_, other->_impl_.user_);
- }
- std::string UnMuteAudioParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.UnMuteAudioParams";
- }
- // ===================================================================
- class SetSpeakerParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SetSpeakerParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SetSpeakerParams, _impl_._has_bits_);
- static void set_has_zn_speaker(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- SetSpeakerParams::SetSpeakerParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
- }
- SetSpeakerParams::SetSpeakerParams(const SetSpeakerParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
- }
- inline void SetSpeakerParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_speaker_) { false }
- };
- }
- SetSpeakerParams::~SetSpeakerParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SetSpeakerParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void SetSpeakerParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SetSpeakerParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.zn_speaker_ = false;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SetSpeakerParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional bool zn_speaker = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_zn_speaker(&has_bits);
- _impl_.zn_speaker_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SetSpeakerParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional bool zn_speaker = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 1, this->_internal_zn_speaker(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
- return target;
- }
- ::size_t SetSpeakerParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional bool zn_speaker = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 2;
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SetSpeakerParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SetSpeakerParams*>(
- &from));
- }
- void SetSpeakerParams::MergeFrom(const SetSpeakerParams& from) {
- SetSpeakerParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_zn_speaker(from._internal_zn_speaker());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SetSpeakerParams::CopyFrom(const SetSpeakerParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetSpeakerParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SetSpeakerParams::IsInitialized() const {
- return true;
- }
- void SetSpeakerParams::InternalSwap(SetSpeakerParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_speaker_, other->_impl_.zn_speaker_);
- }
- std::string SetSpeakerParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SetSpeakerParams";
- }
- // ===================================================================
- class SelectSpeakerParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SelectSpeakerParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SelectSpeakerParams, _impl_._has_bits_);
- static void set_has_zn_deviceid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_zn_devicename(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- };
- SelectSpeakerParams::SelectSpeakerParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
- }
- SelectSpeakerParams::SelectSpeakerParams(const SelectSpeakerParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- SelectSpeakerParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_deviceid_) {}
- , decltype(_impl_.zn_devicename_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.zn_deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_deviceid_.Set(from._internal_zn_deviceid(), _this->GetArenaForAllocation());
- }
- _impl_.zn_devicename_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_devicename_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.zn_devicename_.Set(from._internal_zn_devicename(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
- }
- inline void SelectSpeakerParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_deviceid_) {}
- , decltype(_impl_.zn_devicename_) {}
- };
- _impl_.zn_deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_devicename_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_devicename_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- SelectSpeakerParams::~SelectSpeakerParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SelectSpeakerParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.zn_deviceid_.Destroy();
- _impl_.zn_devicename_.Destroy();
- }
- void SelectSpeakerParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SelectSpeakerParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.zn_deviceid_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- _impl_.zn_devicename_.ClearNonDefaultToEmpty();
- }
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SelectSpeakerParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string zn_deviceid = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_zn_deviceid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string zn_devicename = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_zn_devicename();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SelectSpeakerParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string zn_deviceid = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_zn_deviceid();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional string zn_devicename = 2;
- if (cached_has_bits & 0x00000002u) {
- const std::string& _s = this->_internal_zn_devicename();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
- return target;
- }
- ::size_t SelectSpeakerParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional string zn_deviceid = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_zn_deviceid());
- }
- // optional string zn_devicename = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_zn_devicename());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SelectSpeakerParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SelectSpeakerParams*>(
- &from));
- }
- void SelectSpeakerParams::MergeFrom(const SelectSpeakerParams& from) {
- SelectSpeakerParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_zn_deviceid(from._internal_zn_deviceid());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_set_zn_devicename(from._internal_zn_devicename());
- }
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SelectSpeakerParams::CopyFrom(const SelectSpeakerParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SelectSpeakerParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SelectSpeakerParams::IsInitialized() const {
- return true;
- }
- void SelectSpeakerParams::InternalSwap(SelectSpeakerParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_deviceid_, lhs_arena,
- &other->_impl_.zn_deviceid_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_devicename_, lhs_arena,
- &other->_impl_.zn_devicename_, rhs_arena);
- }
- std::string SelectSpeakerParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SelectSpeakerParams";
- }
- // ===================================================================
- class SelectMicParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SelectMicParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SelectMicParams, _impl_._has_bits_);
- static void set_has_zn_deviceid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_zn_devicename(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- };
- SelectMicParams::SelectMicParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SelectMicParams)
- }
- SelectMicParams::SelectMicParams(const SelectMicParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- SelectMicParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_deviceid_) {}
- , decltype(_impl_.zn_devicename_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.zn_deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_deviceid_.Set(from._internal_zn_deviceid(), _this->GetArenaForAllocation());
- }
- _impl_.zn_devicename_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_devicename_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.zn_devicename_.Set(from._internal_zn_devicename(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SelectMicParams)
- }
- inline void SelectMicParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_deviceid_) {}
- , decltype(_impl_.zn_devicename_) {}
- };
- _impl_.zn_deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_devicename_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_devicename_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- SelectMicParams::~SelectMicParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SelectMicParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SelectMicParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.zn_deviceid_.Destroy();
- _impl_.zn_devicename_.Destroy();
- }
- void SelectMicParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SelectMicParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SelectMicParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.zn_deviceid_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- _impl_.zn_devicename_.ClearNonDefaultToEmpty();
- }
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SelectMicParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string zn_deviceid = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_zn_deviceid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string zn_devicename = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_zn_devicename();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SelectMicParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SelectMicParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string zn_deviceid = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_zn_deviceid();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional string zn_devicename = 2;
- if (cached_has_bits & 0x00000002u) {
- const std::string& _s = this->_internal_zn_devicename();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SelectMicParams)
- return target;
- }
- ::size_t SelectMicParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SelectMicParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional string zn_deviceid = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_zn_deviceid());
- }
- // optional string zn_devicename = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_zn_devicename());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SelectMicParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SelectMicParams*>(
- &from));
- }
- void SelectMicParams::MergeFrom(const SelectMicParams& from) {
- SelectMicParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SelectMicParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_zn_deviceid(from._internal_zn_deviceid());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_set_zn_devicename(from._internal_zn_devicename());
- }
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SelectMicParams::CopyFrom(const SelectMicParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SelectMicParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SelectMicParams::IsInitialized() const {
- return true;
- }
- void SelectMicParams::InternalSwap(SelectMicParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_deviceid_, lhs_arena,
- &other->_impl_.zn_deviceid_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_devicename_, lhs_arena,
- &other->_impl_.zn_devicename_, rhs_arena);
- }
- std::string SelectMicParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SelectMicParams";
- }
- // ===================================================================
- class SendChatToUserParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SendChatToUserParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SendChatToUserParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const SendChatToUserParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_zn_msgcontent(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- SendChatToUserParams::_Internal::user(const SendChatToUserParams* msg) {
- return *msg->_impl_.user_;
- }
- SendChatToUserParams::SendChatToUserParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
- }
- SendChatToUserParams::SendChatToUserParams(const SendChatToUserParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- SendChatToUserParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_msgcontent_) {}
- , decltype(_impl_.user_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.zn_msgcontent_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_msgcontent_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_msgcontent_.Set(from._internal_zn_msgcontent(), _this->GetArenaForAllocation());
- }
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
- }
- inline void SendChatToUserParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_msgcontent_) {}
- , decltype(_impl_.user_){nullptr}
- };
- _impl_.zn_msgcontent_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_msgcontent_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- SendChatToUserParams::~SendChatToUserParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SendChatToUserParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.zn_msgcontent_.Destroy();
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void SendChatToUserParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SendChatToUserParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.zn_msgcontent_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SendChatToUserParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string zn_msgContent = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_zn_msgcontent();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SendChatToUserParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- if (cached_has_bits & 0x00000002u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- // optional string zn_msgContent = 2;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_zn_msgcontent();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
- return target;
- }
- ::size_t SendChatToUserParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional string zn_msgContent = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_zn_msgcontent());
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SendChatToUserParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SendChatToUserParams*>(
- &from));
- }
- void SendChatToUserParams::MergeFrom(const SendChatToUserParams& from) {
- SendChatToUserParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_zn_msgcontent(from._internal_zn_msgcontent());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SendChatToUserParams::CopyFrom(const SendChatToUserParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SendChatToUserParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SendChatToUserParams::IsInitialized() const {
- return true;
- }
- void SendChatToUserParams::InternalSwap(SendChatToUserParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_msgcontent_, lhs_arena,
- &other->_impl_.zn_msgcontent_, rhs_arena);
- swap(_impl_.user_, other->_impl_.user_);
- }
- std::string SendChatToUserParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SendChatToUserParams";
- }
- // ===================================================================
- class SendChatToAllParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SendChatToAllParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SendChatToAllParams, _impl_._has_bits_);
- static void set_has_zn_msgcontent(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- SendChatToAllParams::SendChatToAllParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
- }
- SendChatToAllParams::SendChatToAllParams(const SendChatToAllParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- SendChatToAllParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_msgcontent_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.zn_msgcontent_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_msgcontent_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_msgcontent_.Set(from._internal_zn_msgcontent(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
- }
- inline void SendChatToAllParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_msgcontent_) {}
- };
- _impl_.zn_msgcontent_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_msgcontent_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- SendChatToAllParams::~SendChatToAllParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SendChatToAllParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.zn_msgcontent_.Destroy();
- }
- void SendChatToAllParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SendChatToAllParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.zn_msgcontent_.ClearNonDefaultToEmpty();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SendChatToAllParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string zn_msgContent = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_zn_msgcontent();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SendChatToAllParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string zn_msgContent = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_zn_msgcontent();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
- return target;
- }
- ::size_t SendChatToAllParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional string zn_msgContent = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_zn_msgcontent());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SendChatToAllParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SendChatToAllParams*>(
- &from));
- }
- void SendChatToAllParams::MergeFrom(const SendChatToAllParams& from) {
- SendChatToAllParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_zn_msgcontent(from._internal_zn_msgcontent());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SendChatToAllParams::CopyFrom(const SendChatToAllParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SendChatToAllParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SendChatToAllParams::IsInitialized() const {
- return true;
- }
- void SendChatToAllParams::InternalSwap(SendChatToAllParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_msgcontent_, lhs_arena,
- &other->_impl_.zn_msgcontent_, rhs_arena);
- }
- std::string SendChatToAllParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SendChatToAllParams";
- }
- // ===================================================================
- class StartLiveStreamParams::_Internal {
- public:
- using HasBits = decltype(std::declval<StartLiveStreamParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(StartLiveStreamParams, _impl_._has_bits_);
- static void set_has_zn_streamurl(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_zn_key(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_zn_broadcasturl(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- };
- StartLiveStreamParams::StartLiveStreamParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
- }
- StartLiveStreamParams::StartLiveStreamParams(const StartLiveStreamParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- StartLiveStreamParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_streamurl_) {}
- , decltype(_impl_.zn_key_) {}
- , decltype(_impl_.zn_broadcasturl_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.zn_streamurl_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_streamurl_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_streamurl_.Set(from._internal_zn_streamurl(), _this->GetArenaForAllocation());
- }
- _impl_.zn_key_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_key_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.zn_key_.Set(from._internal_zn_key(), _this->GetArenaForAllocation());
- }
- _impl_.zn_broadcasturl_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_broadcasturl_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
- _this->_impl_.zn_broadcasturl_.Set(from._internal_zn_broadcasturl(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
- }
- inline void StartLiveStreamParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_streamurl_) {}
- , decltype(_impl_.zn_key_) {}
- , decltype(_impl_.zn_broadcasturl_) {}
- };
- _impl_.zn_streamurl_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_streamurl_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_key_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_key_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_broadcasturl_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_broadcasturl_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- StartLiveStreamParams::~StartLiveStreamParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void StartLiveStreamParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.zn_streamurl_.Destroy();
- _impl_.zn_key_.Destroy();
- _impl_.zn_broadcasturl_.Destroy();
- }
- void StartLiveStreamParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void StartLiveStreamParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.zn_streamurl_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- _impl_.zn_key_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000004u) {
- _impl_.zn_broadcasturl_.ClearNonDefaultToEmpty();
- }
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* StartLiveStreamParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string zn_streamUrl = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_zn_streamurl();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string zn_key = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_zn_key();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string zn_broadcastUrl = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
- auto str = _internal_mutable_zn_broadcasturl();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* StartLiveStreamParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string zn_streamUrl = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_zn_streamurl();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional string zn_key = 2;
- if (cached_has_bits & 0x00000002u) {
- const std::string& _s = this->_internal_zn_key();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- // optional string zn_broadcastUrl = 3;
- if (cached_has_bits & 0x00000004u) {
- const std::string& _s = this->_internal_zn_broadcasturl();
- target = stream->WriteStringMaybeAliased(3, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
- return target;
- }
- ::size_t StartLiveStreamParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- // optional string zn_streamUrl = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_zn_streamurl());
- }
- // optional string zn_key = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_zn_key());
- }
- // optional string zn_broadcastUrl = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_zn_broadcasturl());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void StartLiveStreamParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const StartLiveStreamParams*>(
- &from));
- }
- void StartLiveStreamParams::MergeFrom(const StartLiveStreamParams& from) {
- StartLiveStreamParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_zn_streamurl(from._internal_zn_streamurl());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_set_zn_key(from._internal_zn_key());
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_internal_set_zn_broadcasturl(from._internal_zn_broadcasturl());
- }
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void StartLiveStreamParams::CopyFrom(const StartLiveStreamParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.StartLiveStreamParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool StartLiveStreamParams::IsInitialized() const {
- return true;
- }
- void StartLiveStreamParams::InternalSwap(StartLiveStreamParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_streamurl_, lhs_arena,
- &other->_impl_.zn_streamurl_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_key_, lhs_arena,
- &other->_impl_.zn_key_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_broadcasturl_, lhs_arena,
- &other->_impl_.zn_broadcasturl_, rhs_arena);
- }
- std::string StartLiveStreamParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.StartLiveStreamParams";
- }
- // ===================================================================
- class StartShareViewParams::_Internal {
- public:
- using HasBits = decltype(std::declval<StartShareViewParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(StartShareViewParams, _impl_._has_bits_);
- static void set_has_zn_handle(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_iswithdeviceaudio(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_isoptimizeforsharedvideo(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- };
- StartShareViewParams::StartShareViewParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
- }
- StartShareViewParams::StartShareViewParams(const StartShareViewParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- StartShareViewParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_handle_) {}
- , decltype(_impl_.iswithdeviceaudio_) {}
- , decltype(_impl_.isoptimizeforsharedvideo_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.zn_handle_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_handle_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_handle_.Set(from._internal_zn_handle(), _this->GetArenaForAllocation());
- }
- ::memcpy(&_impl_.iswithdeviceaudio_, &from._impl_.iswithdeviceaudio_,
- static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.isoptimizeforsharedvideo_) -
- reinterpret_cast<char*>(&_impl_.iswithdeviceaudio_)) + sizeof(_impl_.isoptimizeforsharedvideo_));
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
- }
- inline void StartShareViewParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_handle_) {}
- , decltype(_impl_.iswithdeviceaudio_) { false }
- , decltype(_impl_.isoptimizeforsharedvideo_) { false }
- };
- _impl_.zn_handle_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_handle_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- StartShareViewParams::~StartShareViewParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void StartShareViewParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.zn_handle_.Destroy();
- }
- void StartShareViewParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void StartShareViewParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.zn_handle_.ClearNonDefaultToEmpty();
- }
- ::memset(&_impl_.iswithdeviceaudio_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.isoptimizeforsharedvideo_) -
- reinterpret_cast<char*>(&_impl_.iswithdeviceaudio_)) + sizeof(_impl_.isoptimizeforsharedvideo_));
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* StartShareViewParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string zn_handle = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_zn_handle();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isWithDeviceAudio = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_iswithdeviceaudio(&has_bits);
- _impl_.iswithdeviceaudio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isOptimizeForSharedVideo = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_isoptimizeforsharedvideo(&has_bits);
- _impl_.isoptimizeforsharedvideo_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* StartShareViewParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string zn_handle = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_zn_handle();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional bool isWithDeviceAudio = 2;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 2, this->_internal_iswithdeviceaudio(), target);
- }
- // optional bool isOptimizeForSharedVideo = 3;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 3, this->_internal_isoptimizeforsharedvideo(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
- return target;
- }
- ::size_t StartShareViewParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- // optional string zn_handle = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_zn_handle());
- }
- // optional bool isWithDeviceAudio = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 2;
- }
- // optional bool isOptimizeForSharedVideo = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += 2;
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void StartShareViewParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const StartShareViewParams*>(
- &from));
- }
- void StartShareViewParams::MergeFrom(const StartShareViewParams& from) {
- StartShareViewParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_zn_handle(from._internal_zn_handle());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.iswithdeviceaudio_ = from._impl_.iswithdeviceaudio_;
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.isoptimizeforsharedvideo_ = from._impl_.isoptimizeforsharedvideo_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void StartShareViewParams::CopyFrom(const StartShareViewParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.StartShareViewParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool StartShareViewParams::IsInitialized() const {
- return true;
- }
- void StartShareViewParams::InternalSwap(StartShareViewParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_handle_, lhs_arena,
- &other->_impl_.zn_handle_, rhs_arena);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(StartShareViewParams, _impl_.isoptimizeforsharedvideo_)
- + sizeof(StartShareViewParams::_impl_.isoptimizeforsharedvideo_)
- - PROTOBUF_FIELD_OFFSET(StartShareViewParams, _impl_.iswithdeviceaudio_)>(
- reinterpret_cast<char*>(&_impl_.iswithdeviceaudio_),
- reinterpret_cast<char*>(&other->_impl_.iswithdeviceaudio_));
- }
- std::string StartShareViewParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.StartShareViewParams";
- }
- // ===================================================================
- class StartShareScreenParams::_Internal {
- public:
- using HasBits = decltype(std::declval<StartShareScreenParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(StartShareScreenParams, _impl_._has_bits_);
- static void set_has_zn_monitorid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_iswithdeviceaudio(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_isoptimizeforsharedvideo(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- };
- StartShareScreenParams::StartShareScreenParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
- }
- StartShareScreenParams::StartShareScreenParams(const StartShareScreenParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- StartShareScreenParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_monitorid_) {}
- , decltype(_impl_.iswithdeviceaudio_) {}
- , decltype(_impl_.isoptimizeforsharedvideo_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.zn_monitorid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_monitorid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_monitorid_.Set(from._internal_zn_monitorid(), _this->GetArenaForAllocation());
- }
- ::memcpy(&_impl_.iswithdeviceaudio_, &from._impl_.iswithdeviceaudio_,
- static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.isoptimizeforsharedvideo_) -
- reinterpret_cast<char*>(&_impl_.iswithdeviceaudio_)) + sizeof(_impl_.isoptimizeforsharedvideo_));
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
- }
- inline void StartShareScreenParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_monitorid_) {}
- , decltype(_impl_.iswithdeviceaudio_) { false }
- , decltype(_impl_.isoptimizeforsharedvideo_) { false }
- };
- _impl_.zn_monitorid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_monitorid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- StartShareScreenParams::~StartShareScreenParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void StartShareScreenParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.zn_monitorid_.Destroy();
- }
- void StartShareScreenParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void StartShareScreenParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.zn_monitorid_.ClearNonDefaultToEmpty();
- }
- ::memset(&_impl_.iswithdeviceaudio_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.isoptimizeforsharedvideo_) -
- reinterpret_cast<char*>(&_impl_.iswithdeviceaudio_)) + sizeof(_impl_.isoptimizeforsharedvideo_));
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* StartShareScreenParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string zn_monitorID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_zn_monitorid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isWithDeviceAudio = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_iswithdeviceaudio(&has_bits);
- _impl_.iswithdeviceaudio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isOptimizeForSharedVideo = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_isoptimizeforsharedvideo(&has_bits);
- _impl_.isoptimizeforsharedvideo_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* StartShareScreenParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string zn_monitorID = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_zn_monitorid();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional bool isWithDeviceAudio = 2;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 2, this->_internal_iswithdeviceaudio(), target);
- }
- // optional bool isOptimizeForSharedVideo = 3;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 3, this->_internal_isoptimizeforsharedvideo(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
- return target;
- }
- ::size_t StartShareScreenParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- // optional string zn_monitorID = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_zn_monitorid());
- }
- // optional bool isWithDeviceAudio = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 2;
- }
- // optional bool isOptimizeForSharedVideo = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += 2;
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void StartShareScreenParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const StartShareScreenParams*>(
- &from));
- }
- void StartShareScreenParams::MergeFrom(const StartShareScreenParams& from) {
- StartShareScreenParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_zn_monitorid(from._internal_zn_monitorid());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.iswithdeviceaudio_ = from._impl_.iswithdeviceaudio_;
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.isoptimizeforsharedvideo_ = from._impl_.isoptimizeforsharedvideo_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void StartShareScreenParams::CopyFrom(const StartShareScreenParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.StartShareScreenParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool StartShareScreenParams::IsInitialized() const {
- return true;
- }
- void StartShareScreenParams::InternalSwap(StartShareScreenParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_monitorid_, lhs_arena,
- &other->_impl_.zn_monitorid_, rhs_arena);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(StartShareScreenParams, _impl_.isoptimizeforsharedvideo_)
- + sizeof(StartShareScreenParams::_impl_.isoptimizeforsharedvideo_)
- - PROTOBUF_FIELD_OFFSET(StartShareScreenParams, _impl_.iswithdeviceaudio_)>(
- reinterpret_cast<char*>(&_impl_.iswithdeviceaudio_),
- reinterpret_cast<char*>(&other->_impl_.iswithdeviceaudio_));
- }
- std::string StartShareScreenParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.StartShareScreenParams";
- }
- // ===================================================================
- class LockShareParams::_Internal {
- public:
- using HasBits = decltype(std::declval<LockShareParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(LockShareParams, _impl_._has_bits_);
- static void set_has_zn_block(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- LockShareParams::LockShareParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LockShareParams)
- }
- LockShareParams::LockShareParams(const LockShareParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LockShareParams)
- }
- inline void LockShareParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_block_) { false }
- };
- }
- LockShareParams::~LockShareParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LockShareParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void LockShareParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void LockShareParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void LockShareParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LockShareParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.zn_block_ = false;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* LockShareParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional bool zn_bLock = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_zn_block(&has_bits);
- _impl_.zn_block_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* LockShareParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LockShareParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional bool zn_bLock = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 1, this->_internal_zn_block(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LockShareParams)
- return target;
- }
- ::size_t LockShareParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LockShareParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional bool zn_bLock = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 2;
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void LockShareParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const LockShareParams*>(
- &from));
- }
- void LockShareParams::MergeFrom(const LockShareParams& from) {
- LockShareParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LockShareParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_zn_block(from._internal_zn_block());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void LockShareParams::CopyFrom(const LockShareParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LockShareParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool LockShareParams::IsInitialized() const {
- return true;
- }
- void LockShareParams::InternalSwap(LockShareParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_block_, other->_impl_.zn_block_);
- }
- std::string LockShareParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.LockShareParams";
- }
- // ===================================================================
- class EnableShareDeviceAudioParams::_Internal {
- public:
- using HasBits = decltype(std::declval<EnableShareDeviceAudioParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(EnableShareDeviceAudioParams, _impl_._has_bits_);
- static void set_has_enable(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- EnableShareDeviceAudioParams::EnableShareDeviceAudioParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
- }
- EnableShareDeviceAudioParams::EnableShareDeviceAudioParams(const EnableShareDeviceAudioParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
- }
- inline void EnableShareDeviceAudioParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.enable_) { false }
- };
- }
- EnableShareDeviceAudioParams::~EnableShareDeviceAudioParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void EnableShareDeviceAudioParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void EnableShareDeviceAudioParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void EnableShareDeviceAudioParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.enable_ = false;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* EnableShareDeviceAudioParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional bool enable = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_enable(&has_bits);
- _impl_.enable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* EnableShareDeviceAudioParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional bool enable = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 1, this->_internal_enable(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
- return target;
- }
- ::size_t EnableShareDeviceAudioParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional bool enable = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 2;
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void EnableShareDeviceAudioParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const EnableShareDeviceAudioParams*>(
- &from));
- }
- void EnableShareDeviceAudioParams::MergeFrom(const EnableShareDeviceAudioParams& from) {
- EnableShareDeviceAudioParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_enable(from._internal_enable());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void EnableShareDeviceAudioParams::CopyFrom(const EnableShareDeviceAudioParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool EnableShareDeviceAudioParams::IsInitialized() const {
- return true;
- }
- void EnableShareDeviceAudioParams::InternalSwap(EnableShareDeviceAudioParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.enable_, other->_impl_.enable_);
- }
- std::string EnableShareDeviceAudioParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.EnableShareDeviceAudioParams";
- }
- // ===================================================================
- class EnableOptimizeForSharedVideoParams::_Internal {
- public:
- using HasBits = decltype(std::declval<EnableOptimizeForSharedVideoParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(EnableOptimizeForSharedVideoParams, _impl_._has_bits_);
- static void set_has_enable(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- EnableOptimizeForSharedVideoParams::EnableOptimizeForSharedVideoParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
- }
- EnableOptimizeForSharedVideoParams::EnableOptimizeForSharedVideoParams(const EnableOptimizeForSharedVideoParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
- }
- inline void EnableOptimizeForSharedVideoParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.enable_) { false }
- };
- }
- EnableOptimizeForSharedVideoParams::~EnableOptimizeForSharedVideoParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void EnableOptimizeForSharedVideoParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void EnableOptimizeForSharedVideoParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void EnableOptimizeForSharedVideoParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.enable_ = false;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* EnableOptimizeForSharedVideoParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional bool enable = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_enable(&has_bits);
- _impl_.enable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* EnableOptimizeForSharedVideoParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional bool enable = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 1, this->_internal_enable(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
- return target;
- }
- ::size_t EnableOptimizeForSharedVideoParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional bool enable = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 2;
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void EnableOptimizeForSharedVideoParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const EnableOptimizeForSharedVideoParams*>(
- &from));
- }
- void EnableOptimizeForSharedVideoParams::MergeFrom(const EnableOptimizeForSharedVideoParams& from) {
- EnableOptimizeForSharedVideoParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_enable(from._internal_enable());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void EnableOptimizeForSharedVideoParams::CopyFrom(const EnableOptimizeForSharedVideoParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool EnableOptimizeForSharedVideoParams::IsInitialized() const {
- return true;
- }
- void EnableOptimizeForSharedVideoParams::InternalSwap(EnableOptimizeForSharedVideoParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.enable_, other->_impl_.enable_);
- }
- std::string EnableOptimizeForSharedVideoParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.EnableOptimizeForSharedVideoParams";
- }
- // ===================================================================
- class StartShare2ndCameraParams::_Internal {
- public:
- using HasBits = decltype(std::declval<StartShare2ndCameraParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(StartShare2ndCameraParams, _impl_._has_bits_);
- static void set_has_zn_cameraid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- StartShare2ndCameraParams::StartShare2ndCameraParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
- }
- StartShare2ndCameraParams::StartShare2ndCameraParams(const StartShare2ndCameraParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- StartShare2ndCameraParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_cameraid_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.zn_cameraid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_cameraid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_cameraid_.Set(from._internal_zn_cameraid(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
- }
- inline void StartShare2ndCameraParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_cameraid_) {}
- };
- _impl_.zn_cameraid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_cameraid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- StartShare2ndCameraParams::~StartShare2ndCameraParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void StartShare2ndCameraParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.zn_cameraid_.Destroy();
- }
- void StartShare2ndCameraParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void StartShare2ndCameraParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.zn_cameraid_.ClearNonDefaultToEmpty();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* StartShare2ndCameraParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string zn_cameraID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_zn_cameraid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* StartShare2ndCameraParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string zn_cameraID = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_zn_cameraid();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
- return target;
- }
- ::size_t StartShare2ndCameraParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional string zn_cameraID = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_zn_cameraid());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void StartShare2ndCameraParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const StartShare2ndCameraParams*>(
- &from));
- }
- void StartShare2ndCameraParams::MergeFrom(const StartShare2ndCameraParams& from) {
- StartShare2ndCameraParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_zn_cameraid(from._internal_zn_cameraid());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void StartShare2ndCameraParams::CopyFrom(const StartShare2ndCameraParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool StartShare2ndCameraParams::IsInitialized() const {
- return true;
- }
- void StartShare2ndCameraParams::InternalSwap(StartShare2ndCameraParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_cameraid_, lhs_arena,
- &other->_impl_.zn_cameraid_, rhs_arena);
- }
- std::string StartShare2ndCameraParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.StartShare2ndCameraParams";
- }
- // ===================================================================
- class SubscribeMyShareCameraParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SubscribeMyShareCameraParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SubscribeMyShareCameraParams, _impl_._has_bits_);
- static void set_has_zn_recv_handle(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- SubscribeMyShareCameraParams::SubscribeMyShareCameraParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
- }
- SubscribeMyShareCameraParams::SubscribeMyShareCameraParams(const SubscribeMyShareCameraParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
- }
- inline void SubscribeMyShareCameraParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
- };
- }
- SubscribeMyShareCameraParams::~SubscribeMyShareCameraParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SubscribeMyShareCameraParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void SubscribeMyShareCameraParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SubscribeMyShareCameraParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.zn_recv_handle_ = ::int64_t{0};
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SubscribeMyShareCameraParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 zn_recv_handle = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_zn_recv_handle(&has_bits);
- _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SubscribeMyShareCameraParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 zn_recv_handle = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_zn_recv_handle(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
- return target;
- }
- ::size_t SubscribeMyShareCameraParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int64 zn_recv_handle = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_zn_recv_handle());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SubscribeMyShareCameraParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SubscribeMyShareCameraParams*>(
- &from));
- }
- void SubscribeMyShareCameraParams::MergeFrom(const SubscribeMyShareCameraParams& from) {
- SubscribeMyShareCameraParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_zn_recv_handle(from._internal_zn_recv_handle());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SubscribeMyShareCameraParams::CopyFrom(const SubscribeMyShareCameraParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SubscribeMyShareCameraParams::IsInitialized() const {
- return true;
- }
- void SubscribeMyShareCameraParams::InternalSwap(SubscribeMyShareCameraParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_recv_handle_, other->_impl_.zn_recv_handle_);
- }
- std::string SubscribeMyShareCameraParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SubscribeMyShareCameraParams";
- }
- // ===================================================================
- class GetRemoteUsersParams::_Internal {
- public:
- using HasBits = decltype(std::declval<GetRemoteUsersParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(GetRemoteUsersParams, _impl_._has_bits_);
- static void set_has_zn_options(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- GetRemoteUsersParams::GetRemoteUsersParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
- }
- GetRemoteUsersParams::GetRemoteUsersParams(const GetRemoteUsersParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
- }
- inline void GetRemoteUsersParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_options_) { ::int64_t{0} }
- };
- }
- GetRemoteUsersParams::~GetRemoteUsersParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void GetRemoteUsersParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void GetRemoteUsersParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void GetRemoteUsersParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.zn_options_ = ::int64_t{0};
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* GetRemoteUsersParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 zn_options = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_zn_options(&has_bits);
- _impl_.zn_options_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* GetRemoteUsersParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 zn_options = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_zn_options(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
- return target;
- }
- ::size_t GetRemoteUsersParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int64 zn_options = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_zn_options());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void GetRemoteUsersParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const GetRemoteUsersParams*>(
- &from));
- }
- void GetRemoteUsersParams::MergeFrom(const GetRemoteUsersParams& from) {
- GetRemoteUsersParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_zn_options(from._internal_zn_options());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void GetRemoteUsersParams::CopyFrom(const GetRemoteUsersParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool GetRemoteUsersParams::IsInitialized() const {
- return true;
- }
- void GetRemoteUsersParams::InternalSwap(GetRemoteUsersParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_options_, other->_impl_.zn_options_);
- }
- std::string GetRemoteUsersParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.GetRemoteUsersParams";
- }
- // ===================================================================
- class GetMyInfoParams::_Internal {
- public:
- using HasBits = decltype(std::declval<GetMyInfoParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(GetMyInfoParams, _impl_._has_bits_);
- static void set_has_zn_options(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- GetMyInfoParams::GetMyInfoParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
- }
- GetMyInfoParams::GetMyInfoParams(const GetMyInfoParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
- }
- inline void GetMyInfoParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_options_) { ::int64_t{0} }
- };
- }
- GetMyInfoParams::~GetMyInfoParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void GetMyInfoParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void GetMyInfoParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void GetMyInfoParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.zn_options_ = ::int64_t{0};
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* GetMyInfoParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 zn_options = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_zn_options(&has_bits);
- _impl_.zn_options_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* GetMyInfoParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 zn_options = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_zn_options(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
- return target;
- }
- ::size_t GetMyInfoParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int64 zn_options = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_zn_options());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void GetMyInfoParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const GetMyInfoParams*>(
- &from));
- }
- void GetMyInfoParams::MergeFrom(const GetMyInfoParams& from) {
- GetMyInfoParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_zn_options(from._internal_zn_options());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void GetMyInfoParams::CopyFrom(const GetMyInfoParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetMyInfoParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool GetMyInfoParams::IsInitialized() const {
- return true;
- }
- void GetMyInfoParams::InternalSwap(GetMyInfoParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_options_, other->_impl_.zn_options_);
- }
- std::string GetMyInfoParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.GetMyInfoParams";
- }
- // ===================================================================
- class ChangeNameParams::_Internal {
- public:
- using HasBits = decltype(std::declval<ChangeNameParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(ChangeNameParams, _impl_._has_bits_);
- static void set_has_zn_name(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const ChangeNameParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- ChangeNameParams::_Internal::user(const ChangeNameParams* msg) {
- return *msg->_impl_.user_;
- }
- ChangeNameParams::ChangeNameParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
- }
- ChangeNameParams::ChangeNameParams(const ChangeNameParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- ChangeNameParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_name_) {}
- , decltype(_impl_.user_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.zn_name_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_name_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_name_.Set(from._internal_zn_name(), _this->GetArenaForAllocation());
- }
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
- }
- inline void ChangeNameParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_name_) {}
- , decltype(_impl_.user_){nullptr}
- };
- _impl_.zn_name_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_name_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- ChangeNameParams::~ChangeNameParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void ChangeNameParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.zn_name_.Destroy();
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void ChangeNameParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void ChangeNameParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.zn_name_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* ChangeNameParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string zn_name = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_zn_name();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* ChangeNameParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string zn_name = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_zn_name();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000002u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
- return target;
- }
- ::size_t ChangeNameParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional string zn_name = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_zn_name());
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void ChangeNameParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const ChangeNameParams*>(
- &from));
- }
- void ChangeNameParams::MergeFrom(const ChangeNameParams& from) {
- ChangeNameParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_zn_name(from._internal_zn_name());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void ChangeNameParams::CopyFrom(const ChangeNameParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.ChangeNameParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool ChangeNameParams::IsInitialized() const {
- return true;
- }
- void ChangeNameParams::InternalSwap(ChangeNameParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_name_, lhs_arena,
- &other->_impl_.zn_name_, rhs_arena);
- swap(_impl_.user_, other->_impl_.user_);
- }
- std::string ChangeNameParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.ChangeNameParams";
- }
- // ===================================================================
- class MakeHostParams::_Internal {
- public:
- using HasBits = decltype(std::declval<MakeHostParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(MakeHostParams, _impl_._has_bits_);
- static void set_has_zn_name(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const MakeHostParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- MakeHostParams::_Internal::user(const MakeHostParams* msg) {
- return *msg->_impl_.user_;
- }
- MakeHostParams::MakeHostParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.MakeHostParams)
- }
- MakeHostParams::MakeHostParams(const MakeHostParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- MakeHostParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_name_) {}
- , decltype(_impl_.user_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.zn_name_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_name_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_name_.Set(from._internal_zn_name(), _this->GetArenaForAllocation());
- }
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.MakeHostParams)
- }
- inline void MakeHostParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_name_) {}
- , decltype(_impl_.user_){nullptr}
- };
- _impl_.zn_name_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_name_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- MakeHostParams::~MakeHostParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.MakeHostParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void MakeHostParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.zn_name_.Destroy();
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void MakeHostParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void MakeHostParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.MakeHostParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.zn_name_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* MakeHostParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string zn_name = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_zn_name();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* MakeHostParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.MakeHostParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string zn_name = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_zn_name();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000002u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.MakeHostParams)
- return target;
- }
- ::size_t MakeHostParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.MakeHostParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional string zn_name = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_zn_name());
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void MakeHostParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const MakeHostParams*>(
- &from));
- }
- void MakeHostParams::MergeFrom(const MakeHostParams& from) {
- MakeHostParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.MakeHostParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_zn_name(from._internal_zn_name());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void MakeHostParams::CopyFrom(const MakeHostParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.MakeHostParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool MakeHostParams::IsInitialized() const {
- return true;
- }
- void MakeHostParams::InternalSwap(MakeHostParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_name_, lhs_arena,
- &other->_impl_.zn_name_, rhs_arena);
- swap(_impl_.user_, other->_impl_.user_);
- }
- std::string MakeHostParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.MakeHostParams";
- }
- // ===================================================================
- class MakeManagerParams::_Internal {
- public:
- using HasBits = decltype(std::declval<MakeManagerParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(MakeManagerParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const MakeManagerParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- MakeManagerParams::_Internal::user(const MakeManagerParams* msg) {
- return *msg->_impl_.user_;
- }
- MakeManagerParams::MakeManagerParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
- }
- MakeManagerParams::MakeManagerParams(const MakeManagerParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- MakeManagerParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
- }
- inline void MakeManagerParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- };
- }
- MakeManagerParams::~MakeManagerParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void MakeManagerParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void MakeManagerParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void MakeManagerParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* MakeManagerParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* MakeManagerParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
- return target;
- }
- ::size_t MakeManagerParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void MakeManagerParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const MakeManagerParams*>(
- &from));
- }
- void MakeManagerParams::MergeFrom(const MakeManagerParams& from) {
- MakeManagerParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void MakeManagerParams::CopyFrom(const MakeManagerParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.MakeManagerParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool MakeManagerParams::IsInitialized() const {
- return true;
- }
- void MakeManagerParams::InternalSwap(MakeManagerParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.user_, other->_impl_.user_);
- }
- std::string MakeManagerParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.MakeManagerParams";
- }
- // ===================================================================
- class RevokeManagerParams::_Internal {
- public:
- using HasBits = decltype(std::declval<RevokeManagerParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(RevokeManagerParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RevokeManagerParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- RevokeManagerParams::_Internal::user(const RevokeManagerParams* msg) {
- return *msg->_impl_.user_;
- }
- RevokeManagerParams::RevokeManagerParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
- }
- RevokeManagerParams::RevokeManagerParams(const RevokeManagerParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- RevokeManagerParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
- }
- inline void RevokeManagerParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- };
- }
- RevokeManagerParams::~RevokeManagerParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void RevokeManagerParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void RevokeManagerParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void RevokeManagerParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* RevokeManagerParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* RevokeManagerParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
- return target;
- }
- ::size_t RevokeManagerParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void RevokeManagerParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const RevokeManagerParams*>(
- &from));
- }
- void RevokeManagerParams::MergeFrom(const RevokeManagerParams& from) {
- RevokeManagerParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void RevokeManagerParams::CopyFrom(const RevokeManagerParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RevokeManagerParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool RevokeManagerParams::IsInitialized() const {
- return true;
- }
- void RevokeManagerParams::InternalSwap(RevokeManagerParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.user_, other->_impl_.user_);
- }
- std::string RevokeManagerParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.RevokeManagerParams";
- }
- // ===================================================================
- class RemoveUserParams::_Internal {
- public:
- using HasBits = decltype(std::declval<RemoveUserParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(RemoveUserParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RemoveUserParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- RemoveUserParams::_Internal::user(const RemoveUserParams* msg) {
- return *msg->_impl_.user_;
- }
- RemoveUserParams::RemoveUserParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
- }
- RemoveUserParams::RemoveUserParams(const RemoveUserParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- RemoveUserParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
- }
- inline void RemoveUserParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- };
- }
- RemoveUserParams::~RemoveUserParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void RemoveUserParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void RemoveUserParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void RemoveUserParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* RemoveUserParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* RemoveUserParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
- return target;
- }
- ::size_t RemoveUserParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void RemoveUserParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const RemoveUserParams*>(
- &from));
- }
- void RemoveUserParams::MergeFrom(const RemoveUserParams& from) {
- RemoveUserParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void RemoveUserParams::CopyFrom(const RemoveUserParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RemoveUserParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool RemoveUserParams::IsInitialized() const {
- return true;
- }
- void RemoveUserParams::InternalSwap(RemoveUserParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.user_, other->_impl_.user_);
- }
- std::string RemoveUserParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.RemoveUserParams";
- }
- // ===================================================================
- class RotateMyVideoParams::_Internal {
- public:
- using HasBits = decltype(std::declval<RotateMyVideoParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(RotateMyVideoParams, _impl_._has_bits_);
- static void set_has_zn_rotation(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- RotateMyVideoParams::RotateMyVideoParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
- }
- RotateMyVideoParams::RotateMyVideoParams(const RotateMyVideoParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
- }
- inline void RotateMyVideoParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_rotation_) { 0 }
- };
- }
- RotateMyVideoParams::~RotateMyVideoParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void RotateMyVideoParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void RotateMyVideoParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void RotateMyVideoParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.zn_rotation_ = 0;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* RotateMyVideoParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int32 zn_rotation = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_zn_rotation(&has_bits);
- _impl_.zn_rotation_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* RotateMyVideoParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int32 zn_rotation = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 1, this->_internal_zn_rotation(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
- return target;
- }
- ::size_t RotateMyVideoParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int32 zn_rotation = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_zn_rotation());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void RotateMyVideoParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const RotateMyVideoParams*>(
- &from));
- }
- void RotateMyVideoParams::MergeFrom(const RotateMyVideoParams& from) {
- RotateMyVideoParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_zn_rotation(from._internal_zn_rotation());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void RotateMyVideoParams::CopyFrom(const RotateMyVideoParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RotateMyVideoParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool RotateMyVideoParams::IsInitialized() const {
- return true;
- }
- void RotateMyVideoParams::InternalSwap(RotateMyVideoParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_rotation_, other->_impl_.zn_rotation_);
- }
- std::string RotateMyVideoParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.RotateMyVideoParams";
- }
- // ===================================================================
- class SelectCameraParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SelectCameraParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SelectCameraParams, _impl_._has_bits_);
- static void set_has_zn_deviceid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- SelectCameraParams::SelectCameraParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
- }
- SelectCameraParams::SelectCameraParams(const SelectCameraParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- SelectCameraParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_deviceid_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.zn_deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_deviceid_.Set(from._internal_zn_deviceid(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
- }
- inline void SelectCameraParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_deviceid_) {}
- };
- _impl_.zn_deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.zn_deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- SelectCameraParams::~SelectCameraParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SelectCameraParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.zn_deviceid_.Destroy();
- }
- void SelectCameraParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SelectCameraParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.zn_deviceid_.ClearNonDefaultToEmpty();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SelectCameraParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string zn_deviceID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_zn_deviceid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SelectCameraParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string zn_deviceID = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_zn_deviceid();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
- return target;
- }
- ::size_t SelectCameraParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional string zn_deviceID = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_zn_deviceid());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SelectCameraParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SelectCameraParams*>(
- &from));
- }
- void SelectCameraParams::MergeFrom(const SelectCameraParams& from) {
- SelectCameraParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_zn_deviceid(from._internal_zn_deviceid());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SelectCameraParams::CopyFrom(const SelectCameraParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SelectCameraParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SelectCameraParams::IsInitialized() const {
- return true;
- }
- void SelectCameraParams::InternalSwap(SelectCameraParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.zn_deviceid_, lhs_arena,
- &other->_impl_.zn_deviceid_, rhs_arena);
- }
- std::string SelectCameraParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SelectCameraParams";
- }
- // ===================================================================
- class CreateRenderParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CreateRenderParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CreateRenderParams, _impl_._has_bits_);
- static void set_has_zn_recv_handle(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- CreateRenderParams::CreateRenderParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
- }
- CreateRenderParams::CreateRenderParams(const CreateRenderParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
- }
- inline void CreateRenderParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
- };
- }
- CreateRenderParams::~CreateRenderParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CreateRenderParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void CreateRenderParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CreateRenderParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.zn_recv_handle_ = ::int64_t{0};
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CreateRenderParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 zn_recv_handle = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_zn_recv_handle(&has_bits);
- _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CreateRenderParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 zn_recv_handle = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_zn_recv_handle(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
- return target;
- }
- ::size_t CreateRenderParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int64 zn_recv_handle = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_zn_recv_handle());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CreateRenderParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CreateRenderParams*>(
- &from));
- }
- void CreateRenderParams::MergeFrom(const CreateRenderParams& from) {
- CreateRenderParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_zn_recv_handle(from._internal_zn_recv_handle());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CreateRenderParams::CopyFrom(const CreateRenderParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CreateRenderParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CreateRenderParams::IsInitialized() const {
- return true;
- }
- void CreateRenderParams::InternalSwap(CreateRenderParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_recv_handle_, other->_impl_.zn_recv_handle_);
- }
- std::string CreateRenderParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CreateRenderParams";
- }
- // ===================================================================
- class DestroyRendererParams::_Internal {
- public:
- using HasBits = decltype(std::declval<DestroyRendererParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(DestroyRendererParams, _impl_._has_bits_);
- static void set_has_zn_recv_handle(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- DestroyRendererParams::DestroyRendererParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
- }
- DestroyRendererParams::DestroyRendererParams(const DestroyRendererParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
- }
- inline void DestroyRendererParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
- };
- }
- DestroyRendererParams::~DestroyRendererParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void DestroyRendererParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void DestroyRendererParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void DestroyRendererParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.zn_recv_handle_ = ::int64_t{0};
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* DestroyRendererParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 zn_recv_handle = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_zn_recv_handle(&has_bits);
- _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* DestroyRendererParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 zn_recv_handle = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_zn_recv_handle(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
- return target;
- }
- ::size_t DestroyRendererParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int64 zn_recv_handle = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_zn_recv_handle());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void DestroyRendererParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const DestroyRendererParams*>(
- &from));
- }
- void DestroyRendererParams::MergeFrom(const DestroyRendererParams& from) {
- DestroyRendererParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_zn_recv_handle(from._internal_zn_recv_handle());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void DestroyRendererParams::CopyFrom(const DestroyRendererParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.DestroyRendererParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool DestroyRendererParams::IsInitialized() const {
- return true;
- }
- void DestroyRendererParams::InternalSwap(DestroyRendererParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_recv_handle_, other->_impl_.zn_recv_handle_);
- }
- std::string DestroyRendererParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.DestroyRendererParams";
- }
- // ===================================================================
- class SubscribeParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SubscribeParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SubscribeParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& zn_user(const SubscribeParams* msg);
- static void set_has_zn_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_zn_type(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- static void set_has_zn_recv_handle(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_zn_resolution(HasBits* has_bits) {
- (*has_bits)[0] |= 8u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- SubscribeParams::_Internal::zn_user(const SubscribeParams* msg) {
- return *msg->_impl_.zn_user_;
- }
- SubscribeParams::SubscribeParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SubscribeParams)
- }
- SubscribeParams::SubscribeParams(const SubscribeParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- SubscribeParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_user_){nullptr}
- , decltype(_impl_.zn_recv_handle_) {}
- , decltype(_impl_.zn_type_) {}
- , decltype(_impl_.zn_resolution_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.zn_user_);
- }
- ::memcpy(&_impl_.zn_recv_handle_, &from._impl_.zn_recv_handle_,
- static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.zn_resolution_) -
- reinterpret_cast<char*>(&_impl_.zn_recv_handle_)) + sizeof(_impl_.zn_resolution_));
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SubscribeParams)
- }
- inline void SubscribeParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_user_){nullptr}
- , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
- , decltype(_impl_.zn_type_) { 0 }
- , decltype(_impl_.zn_resolution_) { 0 }
- };
- }
- SubscribeParams::~SubscribeParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SubscribeParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SubscribeParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.zn_user_;
- }
- void SubscribeParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SubscribeParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SubscribeParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.zn_user_ != nullptr);
- _impl_.zn_user_->Clear();
- }
- if (cached_has_bits & 0x0000000eu) {
- ::memset(&_impl_.zn_recv_handle_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.zn_resolution_) -
- reinterpret_cast<char*>(&_impl_.zn_recv_handle_)) + sizeof(_impl_.zn_resolution_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SubscribeParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_zn_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 zn_type = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_zn_type(&has_bits);
- _impl_.zn_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int64 zn_recv_handle = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_zn_recv_handle(&has_bits);
- _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 zn_resolution = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
- _Internal::set_has_zn_resolution(&has_bits);
- _impl_.zn_resolution_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SubscribeParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SubscribeParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::zn_user(this),
- _Internal::zn_user(this).GetCachedSize(), target, stream);
- }
- // optional int32 zn_type = 2;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 2, this->_internal_zn_type(), target);
- }
- // optional int64 zn_recv_handle = 3;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 3, this->_internal_zn_recv_handle(), target);
- }
- // optional int32 zn_resolution = 4;
- if (cached_has_bits & 0x00000008u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 4, this->_internal_zn_resolution(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SubscribeParams)
- return target;
- }
- ::size_t SubscribeParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SubscribeParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x0000000fu) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.zn_user_);
- }
- // optional int64 zn_recv_handle = 3;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_zn_recv_handle());
- }
- // optional int32 zn_type = 2;
- if (cached_has_bits & 0x00000004u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_zn_type());
- }
- // optional int32 zn_resolution = 4;
- if (cached_has_bits & 0x00000008u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_zn_resolution());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SubscribeParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SubscribeParams*>(
- &from));
- }
- void SubscribeParams::MergeFrom(const SubscribeParams& from) {
- SubscribeParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SubscribeParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x0000000fu) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_mutable_zn_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_zn_user());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.zn_recv_handle_ = from._impl_.zn_recv_handle_;
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.zn_type_ = from._impl_.zn_type_;
- }
- if (cached_has_bits & 0x00000008u) {
- _this->_impl_.zn_resolution_ = from._impl_.zn_resolution_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SubscribeParams::CopyFrom(const SubscribeParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SubscribeParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SubscribeParams::IsInitialized() const {
- return true;
- }
- void SubscribeParams::InternalSwap(SubscribeParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(SubscribeParams, _impl_.zn_resolution_)
- + sizeof(SubscribeParams::_impl_.zn_resolution_)
- - PROTOBUF_FIELD_OFFSET(SubscribeParams, _impl_.zn_user_)>(
- reinterpret_cast<char*>(&_impl_.zn_user_),
- reinterpret_cast<char*>(&other->_impl_.zn_user_));
- }
- std::string SubscribeParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SubscribeParams";
- }
- // ===================================================================
- class UnSubscribeParams::_Internal {
- public:
- using HasBits = decltype(std::declval<UnSubscribeParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(UnSubscribeParams, _impl_._has_bits_);
- static void set_has_zn_recv_handle(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& zn_user(const UnSubscribeParams* msg);
- static void set_has_zn_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_zn_type(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- UnSubscribeParams::_Internal::zn_user(const UnSubscribeParams* msg) {
- return *msg->_impl_.zn_user_;
- }
- UnSubscribeParams::UnSubscribeParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
- }
- UnSubscribeParams::UnSubscribeParams(const UnSubscribeParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- UnSubscribeParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_user_){nullptr}
- , decltype(_impl_.zn_recv_handle_) {}
- , decltype(_impl_.zn_type_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.zn_user_);
- }
- ::memcpy(&_impl_.zn_recv_handle_, &from._impl_.zn_recv_handle_,
- static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.zn_type_) -
- reinterpret_cast<char*>(&_impl_.zn_recv_handle_)) + sizeof(_impl_.zn_type_));
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
- }
- inline void UnSubscribeParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_user_){nullptr}
- , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
- , decltype(_impl_.zn_type_) { 0 }
- };
- }
- UnSubscribeParams::~UnSubscribeParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void UnSubscribeParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.zn_user_;
- }
- void UnSubscribeParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void UnSubscribeParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.zn_user_ != nullptr);
- _impl_.zn_user_->Clear();
- }
- if (cached_has_bits & 0x00000006u) {
- ::memset(&_impl_.zn_recv_handle_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.zn_type_) -
- reinterpret_cast<char*>(&_impl_.zn_recv_handle_)) + sizeof(_impl_.zn_type_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* UnSubscribeParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 zn_recv_handle = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_zn_recv_handle(&has_bits);
- _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- ptr = ctx->ParseMessage(_internal_mutable_zn_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 zn_type = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_zn_type(&has_bits);
- _impl_.zn_type_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* UnSubscribeParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 zn_recv_handle = 1;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_zn_recv_handle(), target);
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 2;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, _Internal::zn_user(this),
- _Internal::zn_user(this).GetCachedSize(), target, stream);
- }
- // optional int32 zn_type = 3;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 3, this->_internal_zn_type(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
- return target;
- }
- ::size_t UnSubscribeParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.zn_user_);
- }
- // optional int64 zn_recv_handle = 1;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_zn_recv_handle());
- }
- // optional int32 zn_type = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_zn_type());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void UnSubscribeParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const UnSubscribeParams*>(
- &from));
- }
- void UnSubscribeParams::MergeFrom(const UnSubscribeParams& from) {
- UnSubscribeParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_mutable_zn_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_zn_user());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.zn_recv_handle_ = from._impl_.zn_recv_handle_;
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.zn_type_ = from._impl_.zn_type_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void UnSubscribeParams::CopyFrom(const UnSubscribeParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.UnSubscribeParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool UnSubscribeParams::IsInitialized() const {
- return true;
- }
- void UnSubscribeParams::InternalSwap(UnSubscribeParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(UnSubscribeParams, _impl_.zn_type_)
- + sizeof(UnSubscribeParams::_impl_.zn_type_)
- - PROTOBUF_FIELD_OFFSET(UnSubscribeParams, _impl_.zn_user_)>(
- reinterpret_cast<char*>(&_impl_.zn_user_),
- reinterpret_cast<char*>(&other->_impl_.zn_user_));
- }
- std::string UnSubscribeParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.UnSubscribeParams";
- }
- // ===================================================================
- class SubscribeToSharedComputerAudioParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SubscribeToSharedComputerAudioParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SubscribeToSharedComputerAudioParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& zn_user(const SubscribeToSharedComputerAudioParams* msg);
- static void set_has_zn_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- SubscribeToSharedComputerAudioParams::_Internal::zn_user(const SubscribeToSharedComputerAudioParams* msg) {
- return *msg->_impl_.zn_user_;
- }
- SubscribeToSharedComputerAudioParams::SubscribeToSharedComputerAudioParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
- }
- SubscribeToSharedComputerAudioParams::SubscribeToSharedComputerAudioParams(const SubscribeToSharedComputerAudioParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- SubscribeToSharedComputerAudioParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_user_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.zn_user_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
- }
- inline void SubscribeToSharedComputerAudioParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_user_){nullptr}
- };
- }
- SubscribeToSharedComputerAudioParams::~SubscribeToSharedComputerAudioParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SubscribeToSharedComputerAudioParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.zn_user_;
- }
- void SubscribeToSharedComputerAudioParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SubscribeToSharedComputerAudioParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.zn_user_ != nullptr);
- _impl_.zn_user_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SubscribeToSharedComputerAudioParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_zn_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SubscribeToSharedComputerAudioParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::zn_user(this),
- _Internal::zn_user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
- return target;
- }
- ::size_t SubscribeToSharedComputerAudioParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.zn_user_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SubscribeToSharedComputerAudioParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SubscribeToSharedComputerAudioParams*>(
- &from));
- }
- void SubscribeToSharedComputerAudioParams::MergeFrom(const SubscribeToSharedComputerAudioParams& from) {
- SubscribeToSharedComputerAudioParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_zn_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_zn_user());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SubscribeToSharedComputerAudioParams::CopyFrom(const SubscribeToSharedComputerAudioParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SubscribeToSharedComputerAudioParams::IsInitialized() const {
- return true;
- }
- void SubscribeToSharedComputerAudioParams::InternalSwap(SubscribeToSharedComputerAudioParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_user_, other->_impl_.zn_user_);
- }
- std::string SubscribeToSharedComputerAudioParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SubscribeToSharedComputerAudioParams";
- }
- // ===================================================================
- class UnsubscribeToSharedComputerAudioParams::_Internal {
- public:
- using HasBits = decltype(std::declval<UnsubscribeToSharedComputerAudioParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(UnsubscribeToSharedComputerAudioParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& zn_user(const UnsubscribeToSharedComputerAudioParams* msg);
- static void set_has_zn_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- UnsubscribeToSharedComputerAudioParams::_Internal::zn_user(const UnsubscribeToSharedComputerAudioParams* msg) {
- return *msg->_impl_.zn_user_;
- }
- UnsubscribeToSharedComputerAudioParams::UnsubscribeToSharedComputerAudioParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
- }
- UnsubscribeToSharedComputerAudioParams::UnsubscribeToSharedComputerAudioParams(const UnsubscribeToSharedComputerAudioParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- UnsubscribeToSharedComputerAudioParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_user_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.zn_user_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
- }
- inline void UnsubscribeToSharedComputerAudioParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_user_){nullptr}
- };
- }
- UnsubscribeToSharedComputerAudioParams::~UnsubscribeToSharedComputerAudioParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void UnsubscribeToSharedComputerAudioParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.zn_user_;
- }
- void UnsubscribeToSharedComputerAudioParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void UnsubscribeToSharedComputerAudioParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.zn_user_ != nullptr);
- _impl_.zn_user_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* UnsubscribeToSharedComputerAudioParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_zn_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* UnsubscribeToSharedComputerAudioParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::zn_user(this),
- _Internal::zn_user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
- return target;
- }
- ::size_t UnsubscribeToSharedComputerAudioParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.zn_user_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void UnsubscribeToSharedComputerAudioParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const UnsubscribeToSharedComputerAudioParams*>(
- &from));
- }
- void UnsubscribeToSharedComputerAudioParams::MergeFrom(const UnsubscribeToSharedComputerAudioParams& from) {
- UnsubscribeToSharedComputerAudioParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_zn_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_zn_user());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void UnsubscribeToSharedComputerAudioParams::CopyFrom(const UnsubscribeToSharedComputerAudioParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool UnsubscribeToSharedComputerAudioParams::IsInitialized() const {
- return true;
- }
- void UnsubscribeToSharedComputerAudioParams::InternalSwap(UnsubscribeToSharedComputerAudioParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_user_, other->_impl_.zn_user_);
- }
- std::string UnsubscribeToSharedComputerAudioParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.UnsubscribeToSharedComputerAudioParams";
- }
- // ===================================================================
- class SubscribeMultiCameraStreamParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SubscribeMultiCameraStreamParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SubscribeMultiCameraStreamParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& zn_user(const SubscribeMultiCameraStreamParams* msg);
- static void set_has_zn_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_camerastreamid(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_zn_recv_handle(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- static void set_has_zn_resolution(HasBits* has_bits) {
- (*has_bits)[0] |= 8u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- SubscribeMultiCameraStreamParams::_Internal::zn_user(const SubscribeMultiCameraStreamParams* msg) {
- return *msg->_impl_.zn_user_;
- }
- SubscribeMultiCameraStreamParams::SubscribeMultiCameraStreamParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
- }
- SubscribeMultiCameraStreamParams::SubscribeMultiCameraStreamParams(const SubscribeMultiCameraStreamParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- SubscribeMultiCameraStreamParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_user_){nullptr}
- , decltype(_impl_.camerastreamid_) {}
- , decltype(_impl_.zn_recv_handle_) {}
- , decltype(_impl_.zn_resolution_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.zn_user_);
- }
- ::memcpy(&_impl_.camerastreamid_, &from._impl_.camerastreamid_,
- static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.zn_resolution_) -
- reinterpret_cast<char*>(&_impl_.camerastreamid_)) + sizeof(_impl_.zn_resolution_));
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
- }
- inline void SubscribeMultiCameraStreamParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_user_){nullptr}
- , decltype(_impl_.camerastreamid_) { ::int64_t{0} }
- , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
- , decltype(_impl_.zn_resolution_) { 0 }
- };
- }
- SubscribeMultiCameraStreamParams::~SubscribeMultiCameraStreamParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SubscribeMultiCameraStreamParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.zn_user_;
- }
- void SubscribeMultiCameraStreamParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SubscribeMultiCameraStreamParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.zn_user_ != nullptr);
- _impl_.zn_user_->Clear();
- }
- if (cached_has_bits & 0x0000000eu) {
- ::memset(&_impl_.camerastreamid_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.zn_resolution_) -
- reinterpret_cast<char*>(&_impl_.camerastreamid_)) + sizeof(_impl_.zn_resolution_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SubscribeMultiCameraStreamParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_zn_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int64 cameraStreamID = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_camerastreamid(&has_bits);
- _impl_.camerastreamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int64 zn_recv_handle = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_zn_recv_handle(&has_bits);
- _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 zn_resolution = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
- _Internal::set_has_zn_resolution(&has_bits);
- _impl_.zn_resolution_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SubscribeMultiCameraStreamParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::zn_user(this),
- _Internal::zn_user(this).GetCachedSize(), target, stream);
- }
- // optional int64 cameraStreamID = 2;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 2, this->_internal_camerastreamid(), target);
- }
- // optional int64 zn_recv_handle = 3;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 3, this->_internal_zn_recv_handle(), target);
- }
- // optional int32 zn_resolution = 4;
- if (cached_has_bits & 0x00000008u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 4, this->_internal_zn_resolution(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
- return target;
- }
- ::size_t SubscribeMultiCameraStreamParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x0000000fu) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.zn_user_);
- }
- // optional int64 cameraStreamID = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_camerastreamid());
- }
- // optional int64 zn_recv_handle = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_zn_recv_handle());
- }
- // optional int32 zn_resolution = 4;
- if (cached_has_bits & 0x00000008u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_zn_resolution());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SubscribeMultiCameraStreamParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SubscribeMultiCameraStreamParams*>(
- &from));
- }
- void SubscribeMultiCameraStreamParams::MergeFrom(const SubscribeMultiCameraStreamParams& from) {
- SubscribeMultiCameraStreamParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x0000000fu) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_mutable_zn_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_zn_user());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.camerastreamid_ = from._impl_.camerastreamid_;
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.zn_recv_handle_ = from._impl_.zn_recv_handle_;
- }
- if (cached_has_bits & 0x00000008u) {
- _this->_impl_.zn_resolution_ = from._impl_.zn_resolution_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SubscribeMultiCameraStreamParams::CopyFrom(const SubscribeMultiCameraStreamParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SubscribeMultiCameraStreamParams::IsInitialized() const {
- return true;
- }
- void SubscribeMultiCameraStreamParams::InternalSwap(SubscribeMultiCameraStreamParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(SubscribeMultiCameraStreamParams, _impl_.zn_resolution_)
- + sizeof(SubscribeMultiCameraStreamParams::_impl_.zn_resolution_)
- - PROTOBUF_FIELD_OFFSET(SubscribeMultiCameraStreamParams, _impl_.zn_user_)>(
- reinterpret_cast<char*>(&_impl_.zn_user_),
- reinterpret_cast<char*>(&other->_impl_.zn_user_));
- }
- std::string SubscribeMultiCameraStreamParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SubscribeMultiCameraStreamParams";
- }
- // ===================================================================
- class UnSubscribeMultiCameraStreamParams::_Internal {
- public:
- using HasBits = decltype(std::declval<UnSubscribeMultiCameraStreamParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(UnSubscribeMultiCameraStreamParams, _impl_._has_bits_);
- static void set_has_zn_recv_handle(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& zn_user(const UnSubscribeMultiCameraStreamParams* msg);
- static void set_has_zn_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_camerastreamid(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- UnSubscribeMultiCameraStreamParams::_Internal::zn_user(const UnSubscribeMultiCameraStreamParams* msg) {
- return *msg->_impl_.zn_user_;
- }
- UnSubscribeMultiCameraStreamParams::UnSubscribeMultiCameraStreamParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
- }
- UnSubscribeMultiCameraStreamParams::UnSubscribeMultiCameraStreamParams(const UnSubscribeMultiCameraStreamParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- UnSubscribeMultiCameraStreamParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_user_){nullptr}
- , decltype(_impl_.zn_recv_handle_) {}
- , decltype(_impl_.camerastreamid_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.zn_user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.zn_user_);
- }
- ::memcpy(&_impl_.zn_recv_handle_, &from._impl_.zn_recv_handle_,
- static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.camerastreamid_) -
- reinterpret_cast<char*>(&_impl_.zn_recv_handle_)) + sizeof(_impl_.camerastreamid_));
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
- }
- inline void UnSubscribeMultiCameraStreamParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_user_){nullptr}
- , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
- , decltype(_impl_.camerastreamid_) { ::int64_t{0} }
- };
- }
- UnSubscribeMultiCameraStreamParams::~UnSubscribeMultiCameraStreamParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void UnSubscribeMultiCameraStreamParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.zn_user_;
- }
- void UnSubscribeMultiCameraStreamParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void UnSubscribeMultiCameraStreamParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.zn_user_ != nullptr);
- _impl_.zn_user_->Clear();
- }
- if (cached_has_bits & 0x00000006u) {
- ::memset(&_impl_.zn_recv_handle_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.camerastreamid_) -
- reinterpret_cast<char*>(&_impl_.zn_recv_handle_)) + sizeof(_impl_.camerastreamid_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* UnSubscribeMultiCameraStreamParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 zn_recv_handle = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_zn_recv_handle(&has_bits);
- _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- ptr = ctx->ParseMessage(_internal_mutable_zn_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int64 cameraStreamID = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_camerastreamid(&has_bits);
- _impl_.camerastreamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* UnSubscribeMultiCameraStreamParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 zn_recv_handle = 1;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_zn_recv_handle(), target);
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 2;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, _Internal::zn_user(this),
- _Internal::zn_user(this).GetCachedSize(), target, stream);
- }
- // optional int64 cameraStreamID = 3;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 3, this->_internal_camerastreamid(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
- return target;
- }
- ::size_t UnSubscribeMultiCameraStreamParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser zn_user = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.zn_user_);
- }
- // optional int64 zn_recv_handle = 1;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_zn_recv_handle());
- }
- // optional int64 cameraStreamID = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_camerastreamid());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void UnSubscribeMultiCameraStreamParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const UnSubscribeMultiCameraStreamParams*>(
- &from));
- }
- void UnSubscribeMultiCameraStreamParams::MergeFrom(const UnSubscribeMultiCameraStreamParams& from) {
- UnSubscribeMultiCameraStreamParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_mutable_zn_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_zn_user());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.zn_recv_handle_ = from._impl_.zn_recv_handle_;
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.camerastreamid_ = from._impl_.camerastreamid_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void UnSubscribeMultiCameraStreamParams::CopyFrom(const UnSubscribeMultiCameraStreamParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool UnSubscribeMultiCameraStreamParams::IsInitialized() const {
- return true;
- }
- void UnSubscribeMultiCameraStreamParams::InternalSwap(UnSubscribeMultiCameraStreamParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(UnSubscribeMultiCameraStreamParams, _impl_.camerastreamid_)
- + sizeof(UnSubscribeMultiCameraStreamParams::_impl_.camerastreamid_)
- - PROTOBUF_FIELD_OFFSET(UnSubscribeMultiCameraStreamParams, _impl_.zn_user_)>(
- reinterpret_cast<char*>(&_impl_.zn_user_),
- reinterpret_cast<char*>(&other->_impl_.zn_user_));
- }
- std::string UnSubscribeMultiCameraStreamParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.UnSubscribeMultiCameraStreamParams";
- }
- // ===================================================================
- class SetRawDataResolutionParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SetRawDataResolutionParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SetRawDataResolutionParams, _impl_._has_bits_);
- static void set_has_zn_resolution(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_zn_recv_handle(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- SetRawDataResolutionParams::SetRawDataResolutionParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
- }
- SetRawDataResolutionParams::SetRawDataResolutionParams(const SetRawDataResolutionParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
- }
- inline void SetRawDataResolutionParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
- , decltype(_impl_.zn_resolution_) { 0 }
- };
- }
- SetRawDataResolutionParams::~SetRawDataResolutionParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SetRawDataResolutionParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void SetRawDataResolutionParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SetRawDataResolutionParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- ::memset(&_impl_.zn_recv_handle_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.zn_resolution_) -
- reinterpret_cast<char*>(&_impl_.zn_recv_handle_)) + sizeof(_impl_.zn_resolution_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SetRawDataResolutionParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int32 zn_resolution = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_zn_resolution(&has_bits);
- _impl_.zn_resolution_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int64 zn_recv_handle = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_zn_recv_handle(&has_bits);
- _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SetRawDataResolutionParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int32 zn_resolution = 1;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 1, this->_internal_zn_resolution(), target);
- }
- // optional int64 zn_recv_handle = 2;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 2, this->_internal_zn_recv_handle(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
- return target;
- }
- ::size_t SetRawDataResolutionParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional int64 zn_recv_handle = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_zn_recv_handle());
- }
- // optional int32 zn_resolution = 1;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_zn_resolution());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SetRawDataResolutionParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SetRawDataResolutionParams*>(
- &from));
- }
- void SetRawDataResolutionParams::MergeFrom(const SetRawDataResolutionParams& from) {
- SetRawDataResolutionParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_impl_.zn_recv_handle_ = from._impl_.zn_recv_handle_;
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.zn_resolution_ = from._impl_.zn_resolution_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SetRawDataResolutionParams::CopyFrom(const SetRawDataResolutionParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SetRawDataResolutionParams::IsInitialized() const {
- return true;
- }
- void SetRawDataResolutionParams::InternalSwap(SetRawDataResolutionParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(SetRawDataResolutionParams, _impl_.zn_resolution_)
- + sizeof(SetRawDataResolutionParams::_impl_.zn_resolution_)
- - PROTOBUF_FIELD_OFFSET(SetRawDataResolutionParams, _impl_.zn_recv_handle_)>(
- reinterpret_cast<char*>(&_impl_.zn_recv_handle_),
- reinterpret_cast<char*>(&other->_impl_.zn_recv_handle_));
- }
- std::string SetRawDataResolutionParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SetRawDataResolutionParams";
- }
- // ===================================================================
- class GetResolutionParams::_Internal {
- public:
- using HasBits = decltype(std::declval<GetResolutionParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(GetResolutionParams, _impl_._has_bits_);
- static void set_has_zn_recv_handle(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- GetResolutionParams::GetResolutionParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
- }
- GetResolutionParams::GetResolutionParams(const GetResolutionParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
- }
- inline void GetResolutionParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
- };
- }
- GetResolutionParams::~GetResolutionParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void GetResolutionParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void GetResolutionParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void GetResolutionParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.zn_recv_handle_ = ::int64_t{0};
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* GetResolutionParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 zn_recv_handle = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_zn_recv_handle(&has_bits);
- _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* GetResolutionParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 zn_recv_handle = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_zn_recv_handle(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
- return target;
- }
- ::size_t GetResolutionParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int64 zn_recv_handle = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_zn_recv_handle());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void GetResolutionParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const GetResolutionParams*>(
- &from));
- }
- void GetResolutionParams::MergeFrom(const GetResolutionParams& from) {
- GetResolutionParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_zn_recv_handle(from._internal_zn_recv_handle());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void GetResolutionParams::CopyFrom(const GetResolutionParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetResolutionParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool GetResolutionParams::IsInitialized() const {
- return true;
- }
- void GetResolutionParams::InternalSwap(GetResolutionParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_recv_handle_, other->_impl_.zn_recv_handle_);
- }
- std::string GetResolutionParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.GetResolutionParams";
- }
- // ===================================================================
- class GetRawDataTypeParams::_Internal {
- public:
- using HasBits = decltype(std::declval<GetRawDataTypeParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(GetRawDataTypeParams, _impl_._has_bits_);
- static void set_has_zn_recv_handle(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- GetRawDataTypeParams::GetRawDataTypeParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
- }
- GetRawDataTypeParams::GetRawDataTypeParams(const GetRawDataTypeParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
- }
- inline void GetRawDataTypeParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
- };
- }
- GetRawDataTypeParams::~GetRawDataTypeParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void GetRawDataTypeParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void GetRawDataTypeParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void GetRawDataTypeParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.zn_recv_handle_ = ::int64_t{0};
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* GetRawDataTypeParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 zn_recv_handle = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_zn_recv_handle(&has_bits);
- _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* GetRawDataTypeParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 zn_recv_handle = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_zn_recv_handle(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
- return target;
- }
- ::size_t GetRawDataTypeParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int64 zn_recv_handle = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_zn_recv_handle());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void GetRawDataTypeParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const GetRawDataTypeParams*>(
- &from));
- }
- void GetRawDataTypeParams::MergeFrom(const GetRawDataTypeParams& from) {
- GetRawDataTypeParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_zn_recv_handle(from._internal_zn_recv_handle());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void GetRawDataTypeParams::CopyFrom(const GetRawDataTypeParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool GetRawDataTypeParams::IsInitialized() const {
- return true;
- }
- void GetRawDataTypeParams::InternalSwap(GetRawDataTypeParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_recv_handle_, other->_impl_.zn_recv_handle_);
- }
- std::string GetRawDataTypeParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.GetRawDataTypeParams";
- }
- // ===================================================================
- class sendVideoFrameParams::_Internal {
- public:
- using HasBits = decltype(std::declval<sendVideoFrameParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(sendVideoFrameParams, _impl_._has_bits_);
- static void set_has_framebuffer(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_width(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_height(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- static void set_has_framelength(HasBits* has_bits) {
- (*has_bits)[0] |= 8u;
- }
- static void set_has_rotaion(HasBits* has_bits) {
- (*has_bits)[0] |= 16u;
- }
- };
- sendVideoFrameParams::sendVideoFrameParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
- }
- sendVideoFrameParams::sendVideoFrameParams(const sendVideoFrameParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- sendVideoFrameParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.framebuffer_) {}
- , decltype(_impl_.width_) {}
- , decltype(_impl_.height_) {}
- , decltype(_impl_.framelength_) {}
- , decltype(_impl_.rotaion_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.framebuffer_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.framebuffer_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.framebuffer_.Set(from._internal_framebuffer(), _this->GetArenaForAllocation());
- }
- ::memcpy(&_impl_.width_, &from._impl_.width_,
- static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.rotaion_) -
- reinterpret_cast<char*>(&_impl_.width_)) + sizeof(_impl_.rotaion_));
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
- }
- inline void sendVideoFrameParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.framebuffer_) {}
- , decltype(_impl_.width_) { 0 }
- , decltype(_impl_.height_) { 0 }
- , decltype(_impl_.framelength_) { 0 }
- , decltype(_impl_.rotaion_) { 0 }
- };
- _impl_.framebuffer_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.framebuffer_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- sendVideoFrameParams::~sendVideoFrameParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void sendVideoFrameParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.framebuffer_.Destroy();
- }
- void sendVideoFrameParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void sendVideoFrameParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.framebuffer_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x0000001eu) {
- ::memset(&_impl_.width_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.rotaion_) -
- reinterpret_cast<char*>(&_impl_.width_)) + sizeof(_impl_.rotaion_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* sendVideoFrameParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string frameBuffer = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_framebuffer();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 width = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_width(&has_bits);
- _impl_.width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 height = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_height(&has_bits);
- _impl_.height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 frameLength = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
- _Internal::set_has_framelength(&has_bits);
- _impl_.framelength_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 rotaion = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
- _Internal::set_has_rotaion(&has_bits);
- _impl_.rotaion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* sendVideoFrameParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string frameBuffer = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_framebuffer();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional int32 width = 2;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 2, this->_internal_width(), target);
- }
- // optional int32 height = 3;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 3, this->_internal_height(), target);
- }
- // optional int32 frameLength = 4;
- if (cached_has_bits & 0x00000008u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 4, this->_internal_framelength(), target);
- }
- // optional int32 rotaion = 5;
- if (cached_has_bits & 0x00000010u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 5, this->_internal_rotaion(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
- return target;
- }
- ::size_t sendVideoFrameParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x0000001fu) {
- // optional string frameBuffer = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_framebuffer());
- }
- // optional int32 width = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_width());
- }
- // optional int32 height = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_height());
- }
- // optional int32 frameLength = 4;
- if (cached_has_bits & 0x00000008u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_framelength());
- }
- // optional int32 rotaion = 5;
- if (cached_has_bits & 0x00000010u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_rotaion());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void sendVideoFrameParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const sendVideoFrameParams*>(
- &from));
- }
- void sendVideoFrameParams::MergeFrom(const sendVideoFrameParams& from) {
- sendVideoFrameParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x0000001fu) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_framebuffer(from._internal_framebuffer());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.width_ = from._impl_.width_;
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.height_ = from._impl_.height_;
- }
- if (cached_has_bits & 0x00000008u) {
- _this->_impl_.framelength_ = from._impl_.framelength_;
- }
- if (cached_has_bits & 0x00000010u) {
- _this->_impl_.rotaion_ = from._impl_.rotaion_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void sendVideoFrameParams::CopyFrom(const sendVideoFrameParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.sendVideoFrameParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool sendVideoFrameParams::IsInitialized() const {
- return true;
- }
- void sendVideoFrameParams::InternalSwap(sendVideoFrameParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.framebuffer_, lhs_arena,
- &other->_impl_.framebuffer_, rhs_arena);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(sendVideoFrameParams, _impl_.rotaion_)
- + sizeof(sendVideoFrameParams::_impl_.rotaion_)
- - PROTOBUF_FIELD_OFFSET(sendVideoFrameParams, _impl_.width_)>(
- reinterpret_cast<char*>(&_impl_.width_),
- reinterpret_cast<char*>(&other->_impl_.width_));
- }
- std::string sendVideoFrameParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.sendVideoFrameParams";
- }
- // ===================================================================
- class CameraInfos::_Internal {
- public:
- using HasBits = decltype(std::declval<CameraInfos>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CameraInfos, _impl_._has_bits_);
- static void set_has_deviceid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_devicename(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_isselecteddevice(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- static void set_has_isselectedasmulticamera(HasBits* has_bits) {
- (*has_bits)[0] |= 8u;
- }
- static void set_has_isrunningasmulticamera(HasBits* has_bits) {
- (*has_bits)[0] |= 16u;
- }
- };
- CameraInfos::CameraInfos(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CameraInfos)
- }
- CameraInfos::CameraInfos(const CameraInfos& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CameraInfos* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.deviceid_) {}
- , decltype(_impl_.devicename_) {}
- , decltype(_impl_.isselecteddevice_) {}
- , decltype(_impl_.isselectedasmulticamera_) {}
- , decltype(_impl_.isrunningasmulticamera_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.deviceid_.Set(from._internal_deviceid(), _this->GetArenaForAllocation());
- }
- _impl_.devicename_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.devicename_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.devicename_.Set(from._internal_devicename(), _this->GetArenaForAllocation());
- }
- ::memcpy(&_impl_.isselecteddevice_, &from._impl_.isselecteddevice_,
- static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.isrunningasmulticamera_) -
- reinterpret_cast<char*>(&_impl_.isselecteddevice_)) + sizeof(_impl_.isrunningasmulticamera_));
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CameraInfos)
- }
- inline void CameraInfos::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.deviceid_) {}
- , decltype(_impl_.devicename_) {}
- , decltype(_impl_.isselecteddevice_) { false }
- , decltype(_impl_.isselectedasmulticamera_) { false }
- , decltype(_impl_.isrunningasmulticamera_) { false }
- };
- _impl_.deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.devicename_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.devicename_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- CameraInfos::~CameraInfos() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CameraInfos)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CameraInfos::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.deviceid_.Destroy();
- _impl_.devicename_.Destroy();
- }
- void CameraInfos::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CameraInfos::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CameraInfos)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.deviceid_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- _impl_.devicename_.ClearNonDefaultToEmpty();
- }
- }
- ::memset(&_impl_.isselecteddevice_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.isrunningasmulticamera_) -
- reinterpret_cast<char*>(&_impl_.isselecteddevice_)) + sizeof(_impl_.isrunningasmulticamera_));
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CameraInfos::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string deviceID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_deviceid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string deviceName = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_devicename();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isSelectedDevice = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_isselecteddevice(&has_bits);
- _impl_.isselecteddevice_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isSelectedAsMultiCamera = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
- _Internal::set_has_isselectedasmulticamera(&has_bits);
- _impl_.isselectedasmulticamera_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isRunningAsMultiCamera = 5;
- case 5:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
- _Internal::set_has_isrunningasmulticamera(&has_bits);
- _impl_.isrunningasmulticamera_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CameraInfos::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CameraInfos)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string deviceID = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_deviceid();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional string deviceName = 2;
- if (cached_has_bits & 0x00000002u) {
- const std::string& _s = this->_internal_devicename();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- // optional bool isSelectedDevice = 3;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 3, this->_internal_isselecteddevice(), target);
- }
- // optional bool isSelectedAsMultiCamera = 4;
- if (cached_has_bits & 0x00000008u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 4, this->_internal_isselectedasmulticamera(), target);
- }
- // optional bool isRunningAsMultiCamera = 5;
- if (cached_has_bits & 0x00000010u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 5, this->_internal_isrunningasmulticamera(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CameraInfos)
- return target;
- }
- ::size_t CameraInfos::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CameraInfos)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x0000001fu) {
- // optional string deviceID = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_deviceid());
- }
- // optional string deviceName = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_devicename());
- }
- // optional bool isSelectedDevice = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += 2;
- }
- // optional bool isSelectedAsMultiCamera = 4;
- if (cached_has_bits & 0x00000008u) {
- total_size += 2;
- }
- // optional bool isRunningAsMultiCamera = 5;
- if (cached_has_bits & 0x00000010u) {
- total_size += 2;
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CameraInfos::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CameraInfos*>(
- &from));
- }
- void CameraInfos::MergeFrom(const CameraInfos& from) {
- CameraInfos* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CameraInfos)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x0000001fu) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_deviceid(from._internal_deviceid());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_set_devicename(from._internal_devicename());
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.isselecteddevice_ = from._impl_.isselecteddevice_;
- }
- if (cached_has_bits & 0x00000008u) {
- _this->_impl_.isselectedasmulticamera_ = from._impl_.isselectedasmulticamera_;
- }
- if (cached_has_bits & 0x00000010u) {
- _this->_impl_.isrunningasmulticamera_ = from._impl_.isrunningasmulticamera_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CameraInfos::CopyFrom(const CameraInfos& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CameraInfos)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CameraInfos::IsInitialized() const {
- return true;
- }
- void CameraInfos::InternalSwap(CameraInfos* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceid_, lhs_arena,
- &other->_impl_.deviceid_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.devicename_, lhs_arena,
- &other->_impl_.devicename_, rhs_arena);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(CameraInfos, _impl_.isrunningasmulticamera_)
- + sizeof(CameraInfos::_impl_.isrunningasmulticamera_)
- - PROTOBUF_FIELD_OFFSET(CameraInfos, _impl_.isselecteddevice_)>(
- reinterpret_cast<char*>(&_impl_.isselecteddevice_),
- reinterpret_cast<char*>(&other->_impl_.isselecteddevice_));
- }
- std::string CameraInfos::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CameraInfos";
- }
- // ===================================================================
- class GetCameraList::_Internal {
- public:
- };
- GetCameraList::GetCameraList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetCameraList)
- }
- GetCameraList::GetCameraList(const GetCameraList& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- GetCameraList* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.camerainfo_){from._impl_.camerainfo_}
- , /*decltype(_impl_._cached_size_)*/{}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetCameraList)
- }
- inline void GetCameraList::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.camerainfo_){arena}
- , /*decltype(_impl_._cached_size_)*/{}
- };
- }
- GetCameraList::~GetCameraList() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetCameraList)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void GetCameraList::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.camerainfo_.~RepeatedPtrField();
- }
- void GetCameraList::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void GetCameraList::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetCameraList)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.camerainfo_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* GetCameraList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // repeated .com.electron.zoomvideo.sdk.proto.CameraInfos CameraInfo = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr -= 1;
- do {
- ptr += 1;
- ptr = ctx->ParseMessage(_internal_add_camerainfo(), ptr);
- CHK_(ptr);
- if (!ctx->DataAvailable(ptr)) break;
- } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* GetCameraList::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetCameraList)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.CameraInfos CameraInfo = 1;
- for (unsigned i = 0,
- n = static_cast<unsigned>(this->_internal_camerainfo_size()); i < n; i++) {
- const auto& repfield = this->_internal_camerainfo(i);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetCameraList)
- return target;
- }
- ::size_t GetCameraList::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetCameraList)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.CameraInfos CameraInfo = 1;
- total_size += 1UL * this->_internal_camerainfo_size();
- for (const auto& msg : this->_impl_.camerainfo_) {
- total_size +=
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void GetCameraList::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const GetCameraList*>(
- &from));
- }
- void GetCameraList::MergeFrom(const GetCameraList& from) {
- GetCameraList* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetCameraList)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- _this->_impl_.camerainfo_.MergeFrom(from._impl_.camerainfo_);
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void GetCameraList::CopyFrom(const GetCameraList& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetCameraList)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool GetCameraList::IsInitialized() const {
- return true;
- }
- void GetCameraList::InternalSwap(GetCameraList* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- _impl_.camerainfo_.InternalSwap(&other->_impl_.camerainfo_);
- }
- std::string GetCameraList::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.GetCameraList";
- }
- // ===================================================================
- class MultiCameraStreamInfos::_Internal {
- public:
- using HasBits = decltype(std::declval<MultiCameraStreamInfos>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(MultiCameraStreamInfos, _impl_._has_bits_);
- static void set_has_camerastreamid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- MultiCameraStreamInfos::MultiCameraStreamInfos(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
- }
- MultiCameraStreamInfos::MultiCameraStreamInfos(const MultiCameraStreamInfos& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
- }
- inline void MultiCameraStreamInfos::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.camerastreamid_) { ::int64_t{0} }
- };
- }
- MultiCameraStreamInfos::~MultiCameraStreamInfos() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void MultiCameraStreamInfos::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void MultiCameraStreamInfos::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void MultiCameraStreamInfos::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.camerastreamid_ = ::int64_t{0};
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* MultiCameraStreamInfos::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 cameraStreamID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_camerastreamid(&has_bits);
- _impl_.camerastreamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* MultiCameraStreamInfos::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 cameraStreamID = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_camerastreamid(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
- return target;
- }
- ::size_t MultiCameraStreamInfos::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int64 cameraStreamID = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_camerastreamid());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void MultiCameraStreamInfos::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const MultiCameraStreamInfos*>(
- &from));
- }
- void MultiCameraStreamInfos::MergeFrom(const MultiCameraStreamInfos& from) {
- MultiCameraStreamInfos* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_camerastreamid(from._internal_camerastreamid());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void MultiCameraStreamInfos::CopyFrom(const MultiCameraStreamInfos& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool MultiCameraStreamInfos::IsInitialized() const {
- return true;
- }
- void MultiCameraStreamInfos::InternalSwap(MultiCameraStreamInfos* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.camerastreamid_, other->_impl_.camerastreamid_);
- }
- std::string MultiCameraStreamInfos::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos";
- }
- // ===================================================================
- class MultiCameraStreamList::_Internal {
- public:
- };
- MultiCameraStreamList::MultiCameraStreamList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
- }
- MultiCameraStreamList::MultiCameraStreamList(const MultiCameraStreamList& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- MultiCameraStreamList* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.camerastreaminfo_){from._impl_.camerastreaminfo_}
- , /*decltype(_impl_._cached_size_)*/{}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
- }
- inline void MultiCameraStreamList::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.camerastreaminfo_){arena}
- , /*decltype(_impl_._cached_size_)*/{}
- };
- }
- MultiCameraStreamList::~MultiCameraStreamList() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void MultiCameraStreamList::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.camerastreaminfo_.~RepeatedPtrField();
- }
- void MultiCameraStreamList::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void MultiCameraStreamList::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.camerastreaminfo_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* MultiCameraStreamList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // repeated .com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos CameraStreamInfo = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr -= 1;
- do {
- ptr += 1;
- ptr = ctx->ParseMessage(_internal_add_camerastreaminfo(), ptr);
- CHK_(ptr);
- if (!ctx->DataAvailable(ptr)) break;
- } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* MultiCameraStreamList::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos CameraStreamInfo = 1;
- for (unsigned i = 0,
- n = static_cast<unsigned>(this->_internal_camerastreaminfo_size()); i < n; i++) {
- const auto& repfield = this->_internal_camerastreaminfo(i);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
- return target;
- }
- ::size_t MultiCameraStreamList::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.MultiCameraStreamInfos CameraStreamInfo = 1;
- total_size += 1UL * this->_internal_camerastreaminfo_size();
- for (const auto& msg : this->_impl_.camerastreaminfo_) {
- total_size +=
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void MultiCameraStreamList::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const MultiCameraStreamList*>(
- &from));
- }
- void MultiCameraStreamList::MergeFrom(const MultiCameraStreamList& from) {
- MultiCameraStreamList* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- _this->_impl_.camerastreaminfo_.MergeFrom(from._impl_.camerastreaminfo_);
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void MultiCameraStreamList::CopyFrom(const MultiCameraStreamList& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.MultiCameraStreamList)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool MultiCameraStreamList::IsInitialized() const {
- return true;
- }
- void MultiCameraStreamList::InternalSwap(MultiCameraStreamList* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- _impl_.camerastreaminfo_.InternalSwap(&other->_impl_.camerastreaminfo_);
- }
- std::string MultiCameraStreamList::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.MultiCameraStreamList";
- }
- // ===================================================================
- class GetMultiCameraStreamList::_Internal {
- public:
- using HasBits = decltype(std::declval<GetMultiCameraStreamList>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(GetMultiCameraStreamList, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const GetMultiCameraStreamList* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- GetMultiCameraStreamList::_Internal::user(const GetMultiCameraStreamList* msg) {
- return *msg->_impl_.user_;
- }
- GetMultiCameraStreamList::GetMultiCameraStreamList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
- }
- GetMultiCameraStreamList::GetMultiCameraStreamList(const GetMultiCameraStreamList& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- GetMultiCameraStreamList* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
- }
- inline void GetMultiCameraStreamList::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- };
- }
- GetMultiCameraStreamList::~GetMultiCameraStreamList() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void GetMultiCameraStreamList::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void GetMultiCameraStreamList::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void GetMultiCameraStreamList::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* GetMultiCameraStreamList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* GetMultiCameraStreamList::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
- return target;
- }
- ::size_t GetMultiCameraStreamList::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void GetMultiCameraStreamList::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const GetMultiCameraStreamList*>(
- &from));
- }
- void GetMultiCameraStreamList::MergeFrom(const GetMultiCameraStreamList& from) {
- GetMultiCameraStreamList* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void GetMultiCameraStreamList::CopyFrom(const GetMultiCameraStreamList& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool GetMultiCameraStreamList::IsInitialized() const {
- return true;
- }
- void GetMultiCameraStreamList::InternalSwap(GetMultiCameraStreamList* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.user_, other->_impl_.user_);
- }
- std::string GetMultiCameraStreamList::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.GetMultiCameraStreamList";
- }
- // ===================================================================
- class MicInfos::_Internal {
- public:
- using HasBits = decltype(std::declval<MicInfos>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(MicInfos, _impl_._has_bits_);
- static void set_has_deviceid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_devicename(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_isselecteddevice(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- };
- MicInfos::MicInfos(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.MicInfos)
- }
- MicInfos::MicInfos(const MicInfos& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- MicInfos* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.deviceid_) {}
- , decltype(_impl_.devicename_) {}
- , decltype(_impl_.isselecteddevice_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.deviceid_.Set(from._internal_deviceid(), _this->GetArenaForAllocation());
- }
- _impl_.devicename_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.devicename_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.devicename_.Set(from._internal_devicename(), _this->GetArenaForAllocation());
- }
- _this->_impl_.isselecteddevice_ = from._impl_.isselecteddevice_;
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.MicInfos)
- }
- inline void MicInfos::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.deviceid_) {}
- , decltype(_impl_.devicename_) {}
- , decltype(_impl_.isselecteddevice_) { false }
- };
- _impl_.deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.devicename_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.devicename_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- MicInfos::~MicInfos() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.MicInfos)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void MicInfos::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.deviceid_.Destroy();
- _impl_.devicename_.Destroy();
- }
- void MicInfos::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void MicInfos::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.MicInfos)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.deviceid_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- _impl_.devicename_.ClearNonDefaultToEmpty();
- }
- }
- _impl_.isselecteddevice_ = false;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* MicInfos::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string deviceID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_deviceid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string deviceName = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_devicename();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isSelectedDevice = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_isselecteddevice(&has_bits);
- _impl_.isselecteddevice_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* MicInfos::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.MicInfos)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string deviceID = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_deviceid();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional string deviceName = 2;
- if (cached_has_bits & 0x00000002u) {
- const std::string& _s = this->_internal_devicename();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- // optional bool isSelectedDevice = 3;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 3, this->_internal_isselecteddevice(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.MicInfos)
- return target;
- }
- ::size_t MicInfos::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.MicInfos)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- // optional string deviceID = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_deviceid());
- }
- // optional string deviceName = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_devicename());
- }
- // optional bool isSelectedDevice = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += 2;
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void MicInfos::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const MicInfos*>(
- &from));
- }
- void MicInfos::MergeFrom(const MicInfos& from) {
- MicInfos* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.MicInfos)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_deviceid(from._internal_deviceid());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_set_devicename(from._internal_devicename());
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.isselecteddevice_ = from._impl_.isselecteddevice_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void MicInfos::CopyFrom(const MicInfos& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.MicInfos)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool MicInfos::IsInitialized() const {
- return true;
- }
- void MicInfos::InternalSwap(MicInfos* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceid_, lhs_arena,
- &other->_impl_.deviceid_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.devicename_, lhs_arena,
- &other->_impl_.devicename_, rhs_arena);
- swap(_impl_.isselecteddevice_, other->_impl_.isselecteddevice_);
- }
- std::string MicInfos::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.MicInfos";
- }
- // ===================================================================
- class GetMicList::_Internal {
- public:
- };
- GetMicList::GetMicList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetMicList)
- }
- GetMicList::GetMicList(const GetMicList& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- GetMicList* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.micinfo_){from._impl_.micinfo_}
- , /*decltype(_impl_._cached_size_)*/{}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetMicList)
- }
- inline void GetMicList::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.micinfo_){arena}
- , /*decltype(_impl_._cached_size_)*/{}
- };
- }
- GetMicList::~GetMicList() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetMicList)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void GetMicList::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.micinfo_.~RepeatedPtrField();
- }
- void GetMicList::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void GetMicList::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetMicList)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.micinfo_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* GetMicList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // repeated .com.electron.zoomvideo.sdk.proto.MicInfos MicInfo = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr -= 1;
- do {
- ptr += 1;
- ptr = ctx->ParseMessage(_internal_add_micinfo(), ptr);
- CHK_(ptr);
- if (!ctx->DataAvailable(ptr)) break;
- } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* GetMicList::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetMicList)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.MicInfos MicInfo = 1;
- for (unsigned i = 0,
- n = static_cast<unsigned>(this->_internal_micinfo_size()); i < n; i++) {
- const auto& repfield = this->_internal_micinfo(i);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetMicList)
- return target;
- }
- ::size_t GetMicList::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetMicList)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.MicInfos MicInfo = 1;
- total_size += 1UL * this->_internal_micinfo_size();
- for (const auto& msg : this->_impl_.micinfo_) {
- total_size +=
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void GetMicList::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const GetMicList*>(
- &from));
- }
- void GetMicList::MergeFrom(const GetMicList& from) {
- GetMicList* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetMicList)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- _this->_impl_.micinfo_.MergeFrom(from._impl_.micinfo_);
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void GetMicList::CopyFrom(const GetMicList& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetMicList)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool GetMicList::IsInitialized() const {
- return true;
- }
- void GetMicList::InternalSwap(GetMicList* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- _impl_.micinfo_.InternalSwap(&other->_impl_.micinfo_);
- }
- std::string GetMicList::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.GetMicList";
- }
- // ===================================================================
- class SpeakerInfos::_Internal {
- public:
- using HasBits = decltype(std::declval<SpeakerInfos>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SpeakerInfos, _impl_._has_bits_);
- static void set_has_deviceid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_devicename(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_isselecteddevice(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- };
- SpeakerInfos::SpeakerInfos(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
- }
- SpeakerInfos::SpeakerInfos(const SpeakerInfos& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- SpeakerInfos* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.deviceid_) {}
- , decltype(_impl_.devicename_) {}
- , decltype(_impl_.isselecteddevice_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.deviceid_.Set(from._internal_deviceid(), _this->GetArenaForAllocation());
- }
- _impl_.devicename_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.devicename_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.devicename_.Set(from._internal_devicename(), _this->GetArenaForAllocation());
- }
- _this->_impl_.isselecteddevice_ = from._impl_.isselecteddevice_;
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
- }
- inline void SpeakerInfos::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.deviceid_) {}
- , decltype(_impl_.devicename_) {}
- , decltype(_impl_.isselecteddevice_) { false }
- };
- _impl_.deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.devicename_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.devicename_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- SpeakerInfos::~SpeakerInfos() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SpeakerInfos::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.deviceid_.Destroy();
- _impl_.devicename_.Destroy();
- }
- void SpeakerInfos::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SpeakerInfos::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.deviceid_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- _impl_.devicename_.ClearNonDefaultToEmpty();
- }
- }
- _impl_.isselecteddevice_ = false;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SpeakerInfos::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string deviceID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_deviceid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string deviceName = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_devicename();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool isSelectedDevice = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_isselecteddevice(&has_bits);
- _impl_.isselecteddevice_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SpeakerInfos::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string deviceID = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_deviceid();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional string deviceName = 2;
- if (cached_has_bits & 0x00000002u) {
- const std::string& _s = this->_internal_devicename();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- // optional bool isSelectedDevice = 3;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 3, this->_internal_isselecteddevice(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
- return target;
- }
- ::size_t SpeakerInfos::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- // optional string deviceID = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_deviceid());
- }
- // optional string deviceName = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_devicename());
- }
- // optional bool isSelectedDevice = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += 2;
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SpeakerInfos::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SpeakerInfos*>(
- &from));
- }
- void SpeakerInfos::MergeFrom(const SpeakerInfos& from) {
- SpeakerInfos* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_deviceid(from._internal_deviceid());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_set_devicename(from._internal_devicename());
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.isselecteddevice_ = from._impl_.isselecteddevice_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SpeakerInfos::CopyFrom(const SpeakerInfos& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SpeakerInfos)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SpeakerInfos::IsInitialized() const {
- return true;
- }
- void SpeakerInfos::InternalSwap(SpeakerInfos* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceid_, lhs_arena,
- &other->_impl_.deviceid_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.devicename_, lhs_arena,
- &other->_impl_.devicename_, rhs_arena);
- swap(_impl_.isselecteddevice_, other->_impl_.isselecteddevice_);
- }
- std::string SpeakerInfos::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SpeakerInfos";
- }
- // ===================================================================
- class GetSpeakerList::_Internal {
- public:
- };
- GetSpeakerList::GetSpeakerList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
- }
- GetSpeakerList::GetSpeakerList(const GetSpeakerList& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- GetSpeakerList* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.speakerinfo_){from._impl_.speakerinfo_}
- , /*decltype(_impl_._cached_size_)*/{}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
- }
- inline void GetSpeakerList::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.speakerinfo_){arena}
- , /*decltype(_impl_._cached_size_)*/{}
- };
- }
- GetSpeakerList::~GetSpeakerList() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void GetSpeakerList::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.speakerinfo_.~RepeatedPtrField();
- }
- void GetSpeakerList::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void GetSpeakerList::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.speakerinfo_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* GetSpeakerList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // repeated .com.electron.zoomvideo.sdk.proto.SpeakerInfos SpeakerInfo = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr -= 1;
- do {
- ptr += 1;
- ptr = ctx->ParseMessage(_internal_add_speakerinfo(), ptr);
- CHK_(ptr);
- if (!ctx->DataAvailable(ptr)) break;
- } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* GetSpeakerList::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.SpeakerInfos SpeakerInfo = 1;
- for (unsigned i = 0,
- n = static_cast<unsigned>(this->_internal_speakerinfo_size()); i < n; i++) {
- const auto& repfield = this->_internal_speakerinfo(i);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
- return target;
- }
- ::size_t GetSpeakerList::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.SpeakerInfos SpeakerInfo = 1;
- total_size += 1UL * this->_internal_speakerinfo_size();
- for (const auto& msg : this->_impl_.speakerinfo_) {
- total_size +=
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void GetSpeakerList::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const GetSpeakerList*>(
- &from));
- }
- void GetSpeakerList::MergeFrom(const GetSpeakerList& from) {
- GetSpeakerList* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- _this->_impl_.speakerinfo_.MergeFrom(from._impl_.speakerinfo_);
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void GetSpeakerList::CopyFrom(const GetSpeakerList& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetSpeakerList)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool GetSpeakerList::IsInitialized() const {
- return true;
- }
- void GetSpeakerList::InternalSwap(GetSpeakerList* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- _impl_.speakerinfo_.InternalSwap(&other->_impl_.speakerinfo_);
- }
- std::string GetSpeakerList::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.GetSpeakerList";
- }
- // ===================================================================
- class SendCommandParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SendCommandParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SendCommandParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const SendCommandParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_strcmd(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- SendCommandParams::_Internal::user(const SendCommandParams* msg) {
- return *msg->_impl_.user_;
- }
- SendCommandParams::SendCommandParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SendCommandParams)
- }
- SendCommandParams::SendCommandParams(const SendCommandParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- SendCommandParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.strcmd_) {}
- , decltype(_impl_.user_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.strcmd_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.strcmd_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.strcmd_.Set(from._internal_strcmd(), _this->GetArenaForAllocation());
- }
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SendCommandParams)
- }
- inline void SendCommandParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.strcmd_) {}
- , decltype(_impl_.user_){nullptr}
- };
- _impl_.strcmd_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.strcmd_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- SendCommandParams::~SendCommandParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SendCommandParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SendCommandParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.strcmd_.Destroy();
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void SendCommandParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SendCommandParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SendCommandParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.strcmd_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SendCommandParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string strCmd = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_strcmd();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SendCommandParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SendCommandParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- if (cached_has_bits & 0x00000002u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- // optional string strCmd = 2;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_strcmd();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SendCommandParams)
- return target;
- }
- ::size_t SendCommandParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SendCommandParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional string strCmd = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_strcmd());
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SendCommandParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SendCommandParams*>(
- &from));
- }
- void SendCommandParams::MergeFrom(const SendCommandParams& from) {
- SendCommandParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SendCommandParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_strcmd(from._internal_strcmd());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SendCommandParams::CopyFrom(const SendCommandParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SendCommandParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SendCommandParams::IsInitialized() const {
- return true;
- }
- void SendCommandParams::InternalSwap(SendCommandParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.strcmd_, lhs_arena,
- &other->_impl_.strcmd_, rhs_arena);
- swap(_impl_.user_, other->_impl_.user_);
- }
- std::string SendCommandParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SendCommandParams";
- }
- // ===================================================================
- class PhoneSupportCountryInfos::_Internal {
- public:
- using HasBits = decltype(std::declval<PhoneSupportCountryInfos>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(PhoneSupportCountryInfos, _impl_._has_bits_);
- static void set_has_countryid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_countryname(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_countrycode(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- };
- PhoneSupportCountryInfos::PhoneSupportCountryInfos(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
- }
- PhoneSupportCountryInfos::PhoneSupportCountryInfos(const PhoneSupportCountryInfos& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- PhoneSupportCountryInfos* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.countryid_) {}
- , decltype(_impl_.countryname_) {}
- , decltype(_impl_.countrycode_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.countryid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.countryid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.countryid_.Set(from._internal_countryid(), _this->GetArenaForAllocation());
- }
- _impl_.countryname_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.countryname_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.countryname_.Set(from._internal_countryname(), _this->GetArenaForAllocation());
- }
- _impl_.countrycode_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.countrycode_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
- _this->_impl_.countrycode_.Set(from._internal_countrycode(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
- }
- inline void PhoneSupportCountryInfos::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.countryid_) {}
- , decltype(_impl_.countryname_) {}
- , decltype(_impl_.countrycode_) {}
- };
- _impl_.countryid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.countryid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.countryname_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.countryname_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.countrycode_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.countrycode_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- PhoneSupportCountryInfos::~PhoneSupportCountryInfos() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void PhoneSupportCountryInfos::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.countryid_.Destroy();
- _impl_.countryname_.Destroy();
- _impl_.countrycode_.Destroy();
- }
- void PhoneSupportCountryInfos::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void PhoneSupportCountryInfos::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.countryid_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- _impl_.countryname_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000004u) {
- _impl_.countrycode_.ClearNonDefaultToEmpty();
- }
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* PhoneSupportCountryInfos::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string countryID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_countryid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string countryName = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_countryname();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string countryCode = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
- auto str = _internal_mutable_countrycode();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* PhoneSupportCountryInfos::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string countryID = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_countryid();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional string countryName = 2;
- if (cached_has_bits & 0x00000002u) {
- const std::string& _s = this->_internal_countryname();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- // optional string countryCode = 3;
- if (cached_has_bits & 0x00000004u) {
- const std::string& _s = this->_internal_countrycode();
- target = stream->WriteStringMaybeAliased(3, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
- return target;
- }
- ::size_t PhoneSupportCountryInfos::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- // optional string countryID = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_countryid());
- }
- // optional string countryName = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_countryname());
- }
- // optional string countryCode = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_countrycode());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void PhoneSupportCountryInfos::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const PhoneSupportCountryInfos*>(
- &from));
- }
- void PhoneSupportCountryInfos::MergeFrom(const PhoneSupportCountryInfos& from) {
- PhoneSupportCountryInfos* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_countryid(from._internal_countryid());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_set_countryname(from._internal_countryname());
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_internal_set_countrycode(from._internal_countrycode());
- }
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void PhoneSupportCountryInfos::CopyFrom(const PhoneSupportCountryInfos& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool PhoneSupportCountryInfos::IsInitialized() const {
- return true;
- }
- void PhoneSupportCountryInfos::InternalSwap(PhoneSupportCountryInfos* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.countryid_, lhs_arena,
- &other->_impl_.countryid_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.countryname_, lhs_arena,
- &other->_impl_.countryname_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.countrycode_, lhs_arena,
- &other->_impl_.countrycode_, rhs_arena);
- }
- std::string PhoneSupportCountryInfos::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos";
- }
- // ===================================================================
- class GetPhoneSupportCountryList::_Internal {
- public:
- };
- GetPhoneSupportCountryList::GetPhoneSupportCountryList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
- }
- GetPhoneSupportCountryList::GetPhoneSupportCountryList(const GetPhoneSupportCountryList& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- GetPhoneSupportCountryList* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.phonesupportcountryinfo_){from._impl_.phonesupportcountryinfo_}
- , /*decltype(_impl_._cached_size_)*/{}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
- }
- inline void GetPhoneSupportCountryList::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.phonesupportcountryinfo_){arena}
- , /*decltype(_impl_._cached_size_)*/{}
- };
- }
- GetPhoneSupportCountryList::~GetPhoneSupportCountryList() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void GetPhoneSupportCountryList::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.phonesupportcountryinfo_.~RepeatedPtrField();
- }
- void GetPhoneSupportCountryList::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void GetPhoneSupportCountryList::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.phonesupportcountryinfo_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* GetPhoneSupportCountryList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // repeated .com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos PhoneSupportCountryInfo = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr -= 1;
- do {
- ptr += 1;
- ptr = ctx->ParseMessage(_internal_add_phonesupportcountryinfo(), ptr);
- CHK_(ptr);
- if (!ctx->DataAvailable(ptr)) break;
- } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* GetPhoneSupportCountryList::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos PhoneSupportCountryInfo = 1;
- for (unsigned i = 0,
- n = static_cast<unsigned>(this->_internal_phonesupportcountryinfo_size()); i < n; i++) {
- const auto& repfield = this->_internal_phonesupportcountryinfo(i);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
- return target;
- }
- ::size_t GetPhoneSupportCountryList::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.PhoneSupportCountryInfos PhoneSupportCountryInfo = 1;
- total_size += 1UL * this->_internal_phonesupportcountryinfo_size();
- for (const auto& msg : this->_impl_.phonesupportcountryinfo_) {
- total_size +=
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void GetPhoneSupportCountryList::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const GetPhoneSupportCountryList*>(
- &from));
- }
- void GetPhoneSupportCountryList::MergeFrom(const GetPhoneSupportCountryList& from) {
- GetPhoneSupportCountryList* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- _this->_impl_.phonesupportcountryinfo_.MergeFrom(from._impl_.phonesupportcountryinfo_);
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void GetPhoneSupportCountryList::CopyFrom(const GetPhoneSupportCountryList& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool GetPhoneSupportCountryList::IsInitialized() const {
- return true;
- }
- void GetPhoneSupportCountryList::InternalSwap(GetPhoneSupportCountryList* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- _impl_.phonesupportcountryinfo_.InternalSwap(&other->_impl_.phonesupportcountryinfo_);
- }
- std::string GetPhoneSupportCountryList::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.GetPhoneSupportCountryList";
- }
- // ===================================================================
- class InviteByPhoneParams::_Internal {
- public:
- using HasBits = decltype(std::declval<InviteByPhoneParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(InviteByPhoneParams, _impl_._has_bits_);
- static void set_has_countrycode(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_phonenumber(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_name(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- };
- InviteByPhoneParams::InviteByPhoneParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
- }
- InviteByPhoneParams::InviteByPhoneParams(const InviteByPhoneParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- InviteByPhoneParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.countrycode_) {}
- , decltype(_impl_.phonenumber_) {}
- , decltype(_impl_.name_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.countrycode_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.countrycode_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.countrycode_.Set(from._internal_countrycode(), _this->GetArenaForAllocation());
- }
- _impl_.phonenumber_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.phonenumber_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.phonenumber_.Set(from._internal_phonenumber(), _this->GetArenaForAllocation());
- }
- _impl_.name_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.name_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000004u) != 0) {
- _this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
- }
- inline void InviteByPhoneParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.countrycode_) {}
- , decltype(_impl_.phonenumber_) {}
- , decltype(_impl_.name_) {}
- };
- _impl_.countrycode_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.countrycode_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.phonenumber_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.phonenumber_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.name_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.name_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- InviteByPhoneParams::~InviteByPhoneParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void InviteByPhoneParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.countrycode_.Destroy();
- _impl_.phonenumber_.Destroy();
- _impl_.name_.Destroy();
- }
- void InviteByPhoneParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void InviteByPhoneParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.countrycode_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- _impl_.phonenumber_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000004u) {
- _impl_.name_.ClearNonDefaultToEmpty();
- }
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* InviteByPhoneParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string countryCode = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_countrycode();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string phoneNumber = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_phonenumber();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string name = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
- auto str = _internal_mutable_name();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* InviteByPhoneParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string countryCode = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_countrycode();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional string phoneNumber = 2;
- if (cached_has_bits & 0x00000002u) {
- const std::string& _s = this->_internal_phonenumber();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- // optional string name = 3;
- if (cached_has_bits & 0x00000004u) {
- const std::string& _s = this->_internal_name();
- target = stream->WriteStringMaybeAliased(3, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
- return target;
- }
- ::size_t InviteByPhoneParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- // optional string countryCode = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_countrycode());
- }
- // optional string phoneNumber = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_phonenumber());
- }
- // optional string name = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_name());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void InviteByPhoneParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const InviteByPhoneParams*>(
- &from));
- }
- void InviteByPhoneParams::MergeFrom(const InviteByPhoneParams& from) {
- InviteByPhoneParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_countrycode(from._internal_countrycode());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_set_phonenumber(from._internal_phonenumber());
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_internal_set_name(from._internal_name());
- }
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void InviteByPhoneParams::CopyFrom(const InviteByPhoneParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.InviteByPhoneParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool InviteByPhoneParams::IsInitialized() const {
- return true;
- }
- void InviteByPhoneParams::InternalSwap(InviteByPhoneParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.countrycode_, lhs_arena,
- &other->_impl_.countrycode_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.phonenumber_, lhs_arena,
- &other->_impl_.phonenumber_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
- &other->_impl_.name_, rhs_arena);
- }
- std::string InviteByPhoneParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.InviteByPhoneParams";
- }
- // ===================================================================
- class LocalCameraCtrlTurnLeftParams::_Internal {
- public:
- using HasBits = decltype(std::declval<LocalCameraCtrlTurnLeftParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(LocalCameraCtrlTurnLeftParams, _impl_._has_bits_);
- static void set_has_range(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- LocalCameraCtrlTurnLeftParams::LocalCameraCtrlTurnLeftParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
- }
- LocalCameraCtrlTurnLeftParams::LocalCameraCtrlTurnLeftParams(const LocalCameraCtrlTurnLeftParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
- }
- inline void LocalCameraCtrlTurnLeftParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.range_) { 0u }
- };
- }
- LocalCameraCtrlTurnLeftParams::~LocalCameraCtrlTurnLeftParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void LocalCameraCtrlTurnLeftParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void LocalCameraCtrlTurnLeftParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void LocalCameraCtrlTurnLeftParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.range_ = 0u;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* LocalCameraCtrlTurnLeftParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional uint32 range = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_range(&has_bits);
- _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* LocalCameraCtrlTurnLeftParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 1, this->_internal_range(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
- return target;
- }
- ::size_t LocalCameraCtrlTurnLeftParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional uint32 range = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_range());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void LocalCameraCtrlTurnLeftParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const LocalCameraCtrlTurnLeftParams*>(
- &from));
- }
- void LocalCameraCtrlTurnLeftParams::MergeFrom(const LocalCameraCtrlTurnLeftParams& from) {
- LocalCameraCtrlTurnLeftParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_range(from._internal_range());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void LocalCameraCtrlTurnLeftParams::CopyFrom(const LocalCameraCtrlTurnLeftParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool LocalCameraCtrlTurnLeftParams::IsInitialized() const {
- return true;
- }
- void LocalCameraCtrlTurnLeftParams::InternalSwap(LocalCameraCtrlTurnLeftParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.range_, other->_impl_.range_);
- }
- std::string LocalCameraCtrlTurnLeftParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnLeftParams";
- }
- // ===================================================================
- class LocalCameraCtrlTurnRightParams::_Internal {
- public:
- using HasBits = decltype(std::declval<LocalCameraCtrlTurnRightParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(LocalCameraCtrlTurnRightParams, _impl_._has_bits_);
- static void set_has_range(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- LocalCameraCtrlTurnRightParams::LocalCameraCtrlTurnRightParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
- }
- LocalCameraCtrlTurnRightParams::LocalCameraCtrlTurnRightParams(const LocalCameraCtrlTurnRightParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
- }
- inline void LocalCameraCtrlTurnRightParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.range_) { 0u }
- };
- }
- LocalCameraCtrlTurnRightParams::~LocalCameraCtrlTurnRightParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void LocalCameraCtrlTurnRightParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void LocalCameraCtrlTurnRightParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void LocalCameraCtrlTurnRightParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.range_ = 0u;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* LocalCameraCtrlTurnRightParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional uint32 range = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_range(&has_bits);
- _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* LocalCameraCtrlTurnRightParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 1, this->_internal_range(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
- return target;
- }
- ::size_t LocalCameraCtrlTurnRightParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional uint32 range = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_range());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void LocalCameraCtrlTurnRightParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const LocalCameraCtrlTurnRightParams*>(
- &from));
- }
- void LocalCameraCtrlTurnRightParams::MergeFrom(const LocalCameraCtrlTurnRightParams& from) {
- LocalCameraCtrlTurnRightParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_range(from._internal_range());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void LocalCameraCtrlTurnRightParams::CopyFrom(const LocalCameraCtrlTurnRightParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool LocalCameraCtrlTurnRightParams::IsInitialized() const {
- return true;
- }
- void LocalCameraCtrlTurnRightParams::InternalSwap(LocalCameraCtrlTurnRightParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.range_, other->_impl_.range_);
- }
- std::string LocalCameraCtrlTurnRightParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnRightParams";
- }
- // ===================================================================
- class LocalCameraCtrlTurnUpParams::_Internal {
- public:
- using HasBits = decltype(std::declval<LocalCameraCtrlTurnUpParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(LocalCameraCtrlTurnUpParams, _impl_._has_bits_);
- static void set_has_range(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- LocalCameraCtrlTurnUpParams::LocalCameraCtrlTurnUpParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
- }
- LocalCameraCtrlTurnUpParams::LocalCameraCtrlTurnUpParams(const LocalCameraCtrlTurnUpParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
- }
- inline void LocalCameraCtrlTurnUpParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.range_) { 0u }
- };
- }
- LocalCameraCtrlTurnUpParams::~LocalCameraCtrlTurnUpParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void LocalCameraCtrlTurnUpParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void LocalCameraCtrlTurnUpParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void LocalCameraCtrlTurnUpParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.range_ = 0u;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* LocalCameraCtrlTurnUpParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional uint32 range = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_range(&has_bits);
- _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* LocalCameraCtrlTurnUpParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 1, this->_internal_range(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
- return target;
- }
- ::size_t LocalCameraCtrlTurnUpParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional uint32 range = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_range());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void LocalCameraCtrlTurnUpParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const LocalCameraCtrlTurnUpParams*>(
- &from));
- }
- void LocalCameraCtrlTurnUpParams::MergeFrom(const LocalCameraCtrlTurnUpParams& from) {
- LocalCameraCtrlTurnUpParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_range(from._internal_range());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void LocalCameraCtrlTurnUpParams::CopyFrom(const LocalCameraCtrlTurnUpParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool LocalCameraCtrlTurnUpParams::IsInitialized() const {
- return true;
- }
- void LocalCameraCtrlTurnUpParams::InternalSwap(LocalCameraCtrlTurnUpParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.range_, other->_impl_.range_);
- }
- std::string LocalCameraCtrlTurnUpParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnUpParams";
- }
- // ===================================================================
- class LocalCameraCtrlTurnDownParams::_Internal {
- public:
- using HasBits = decltype(std::declval<LocalCameraCtrlTurnDownParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(LocalCameraCtrlTurnDownParams, _impl_._has_bits_);
- static void set_has_range(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- LocalCameraCtrlTurnDownParams::LocalCameraCtrlTurnDownParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
- }
- LocalCameraCtrlTurnDownParams::LocalCameraCtrlTurnDownParams(const LocalCameraCtrlTurnDownParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
- }
- inline void LocalCameraCtrlTurnDownParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.range_) { 0u }
- };
- }
- LocalCameraCtrlTurnDownParams::~LocalCameraCtrlTurnDownParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void LocalCameraCtrlTurnDownParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void LocalCameraCtrlTurnDownParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void LocalCameraCtrlTurnDownParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.range_ = 0u;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* LocalCameraCtrlTurnDownParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional uint32 range = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_range(&has_bits);
- _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* LocalCameraCtrlTurnDownParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 1, this->_internal_range(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
- return target;
- }
- ::size_t LocalCameraCtrlTurnDownParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional uint32 range = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_range());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void LocalCameraCtrlTurnDownParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const LocalCameraCtrlTurnDownParams*>(
- &from));
- }
- void LocalCameraCtrlTurnDownParams::MergeFrom(const LocalCameraCtrlTurnDownParams& from) {
- LocalCameraCtrlTurnDownParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_range(from._internal_range());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void LocalCameraCtrlTurnDownParams::CopyFrom(const LocalCameraCtrlTurnDownParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool LocalCameraCtrlTurnDownParams::IsInitialized() const {
- return true;
- }
- void LocalCameraCtrlTurnDownParams::InternalSwap(LocalCameraCtrlTurnDownParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.range_, other->_impl_.range_);
- }
- std::string LocalCameraCtrlTurnDownParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.LocalCameraCtrlTurnDownParams";
- }
- // ===================================================================
- class LocalCameraCtrlZoomInParams::_Internal {
- public:
- using HasBits = decltype(std::declval<LocalCameraCtrlZoomInParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(LocalCameraCtrlZoomInParams, _impl_._has_bits_);
- static void set_has_range(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- LocalCameraCtrlZoomInParams::LocalCameraCtrlZoomInParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
- }
- LocalCameraCtrlZoomInParams::LocalCameraCtrlZoomInParams(const LocalCameraCtrlZoomInParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
- }
- inline void LocalCameraCtrlZoomInParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.range_) { 0u }
- };
- }
- LocalCameraCtrlZoomInParams::~LocalCameraCtrlZoomInParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void LocalCameraCtrlZoomInParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void LocalCameraCtrlZoomInParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void LocalCameraCtrlZoomInParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.range_ = 0u;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* LocalCameraCtrlZoomInParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional uint32 range = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_range(&has_bits);
- _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* LocalCameraCtrlZoomInParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 1, this->_internal_range(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
- return target;
- }
- ::size_t LocalCameraCtrlZoomInParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional uint32 range = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_range());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void LocalCameraCtrlZoomInParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const LocalCameraCtrlZoomInParams*>(
- &from));
- }
- void LocalCameraCtrlZoomInParams::MergeFrom(const LocalCameraCtrlZoomInParams& from) {
- LocalCameraCtrlZoomInParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_range(from._internal_range());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void LocalCameraCtrlZoomInParams::CopyFrom(const LocalCameraCtrlZoomInParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool LocalCameraCtrlZoomInParams::IsInitialized() const {
- return true;
- }
- void LocalCameraCtrlZoomInParams::InternalSwap(LocalCameraCtrlZoomInParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.range_, other->_impl_.range_);
- }
- std::string LocalCameraCtrlZoomInParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomInParams";
- }
- // ===================================================================
- class LocalCameraCtrlZoomOutParams::_Internal {
- public:
- using HasBits = decltype(std::declval<LocalCameraCtrlZoomOutParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(LocalCameraCtrlZoomOutParams, _impl_._has_bits_);
- static void set_has_range(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- LocalCameraCtrlZoomOutParams::LocalCameraCtrlZoomOutParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
- }
- LocalCameraCtrlZoomOutParams::LocalCameraCtrlZoomOutParams(const LocalCameraCtrlZoomOutParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
- }
- inline void LocalCameraCtrlZoomOutParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.range_) { 0u }
- };
- }
- LocalCameraCtrlZoomOutParams::~LocalCameraCtrlZoomOutParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void LocalCameraCtrlZoomOutParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void LocalCameraCtrlZoomOutParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void LocalCameraCtrlZoomOutParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.range_ = 0u;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* LocalCameraCtrlZoomOutParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional uint32 range = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_range(&has_bits);
- _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* LocalCameraCtrlZoomOutParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 1, this->_internal_range(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
- return target;
- }
- ::size_t LocalCameraCtrlZoomOutParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional uint32 range = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_range());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void LocalCameraCtrlZoomOutParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const LocalCameraCtrlZoomOutParams*>(
- &from));
- }
- void LocalCameraCtrlZoomOutParams::MergeFrom(const LocalCameraCtrlZoomOutParams& from) {
- LocalCameraCtrlZoomOutParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_range(from._internal_range());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void LocalCameraCtrlZoomOutParams::CopyFrom(const LocalCameraCtrlZoomOutParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool LocalCameraCtrlZoomOutParams::IsInitialized() const {
- return true;
- }
- void LocalCameraCtrlZoomOutParams::InternalSwap(LocalCameraCtrlZoomOutParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.range_, other->_impl_.range_);
- }
- std::string LocalCameraCtrlZoomOutParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.LocalCameraCtrlZoomOutParams";
- }
- // ===================================================================
- class RequestControlRemoteCameraParams::_Internal {
- public:
- using HasBits = decltype(std::declval<RequestControlRemoteCameraParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(RequestControlRemoteCameraParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RequestControlRemoteCameraParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- RequestControlRemoteCameraParams::_Internal::user(const RequestControlRemoteCameraParams* msg) {
- return *msg->_impl_.user_;
- }
- RequestControlRemoteCameraParams::RequestControlRemoteCameraParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
- }
- RequestControlRemoteCameraParams::RequestControlRemoteCameraParams(const RequestControlRemoteCameraParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- RequestControlRemoteCameraParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
- }
- inline void RequestControlRemoteCameraParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- };
- }
- RequestControlRemoteCameraParams::~RequestControlRemoteCameraParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void RequestControlRemoteCameraParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void RequestControlRemoteCameraParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void RequestControlRemoteCameraParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* RequestControlRemoteCameraParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* RequestControlRemoteCameraParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
- return target;
- }
- ::size_t RequestControlRemoteCameraParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void RequestControlRemoteCameraParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const RequestControlRemoteCameraParams*>(
- &from));
- }
- void RequestControlRemoteCameraParams::MergeFrom(const RequestControlRemoteCameraParams& from) {
- RequestControlRemoteCameraParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void RequestControlRemoteCameraParams::CopyFrom(const RequestControlRemoteCameraParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool RequestControlRemoteCameraParams::IsInitialized() const {
- return true;
- }
- void RequestControlRemoteCameraParams::InternalSwap(RequestControlRemoteCameraParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.user_, other->_impl_.user_);
- }
- std::string RequestControlRemoteCameraParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.RequestControlRemoteCameraParams";
- }
- // ===================================================================
- class GiveUpControlRemoteCameraParams::_Internal {
- public:
- using HasBits = decltype(std::declval<GiveUpControlRemoteCameraParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(GiveUpControlRemoteCameraParams, _impl_._has_bits_);
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const GiveUpControlRemoteCameraParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- GiveUpControlRemoteCameraParams::_Internal::user(const GiveUpControlRemoteCameraParams* msg) {
- return *msg->_impl_.user_;
- }
- GiveUpControlRemoteCameraParams::GiveUpControlRemoteCameraParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
- }
- GiveUpControlRemoteCameraParams::GiveUpControlRemoteCameraParams(const GiveUpControlRemoteCameraParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- GiveUpControlRemoteCameraParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
- }
- inline void GiveUpControlRemoteCameraParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- };
- }
- GiveUpControlRemoteCameraParams::~GiveUpControlRemoteCameraParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void GiveUpControlRemoteCameraParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void GiveUpControlRemoteCameraParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void GiveUpControlRemoteCameraParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* GiveUpControlRemoteCameraParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* GiveUpControlRemoteCameraParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
- return target;
- }
- ::size_t GiveUpControlRemoteCameraParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void GiveUpControlRemoteCameraParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const GiveUpControlRemoteCameraParams*>(
- &from));
- }
- void GiveUpControlRemoteCameraParams::MergeFrom(const GiveUpControlRemoteCameraParams& from) {
- GiveUpControlRemoteCameraParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void GiveUpControlRemoteCameraParams::CopyFrom(const GiveUpControlRemoteCameraParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool GiveUpControlRemoteCameraParams::IsInitialized() const {
- return true;
- }
- void GiveUpControlRemoteCameraParams::InternalSwap(GiveUpControlRemoteCameraParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.user_, other->_impl_.user_);
- }
- std::string GiveUpControlRemoteCameraParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.GiveUpControlRemoteCameraParams";
- }
- // ===================================================================
- class RemoteCameraCtrlTurnLeftParams::_Internal {
- public:
- using HasBits = decltype(std::declval<RemoteCameraCtrlTurnLeftParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnLeftParams, _impl_._has_bits_);
- static void set_has_range(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RemoteCameraCtrlTurnLeftParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- RemoteCameraCtrlTurnLeftParams::_Internal::user(const RemoteCameraCtrlTurnLeftParams* msg) {
- return *msg->_impl_.user_;
- }
- RemoteCameraCtrlTurnLeftParams::RemoteCameraCtrlTurnLeftParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
- }
- RemoteCameraCtrlTurnLeftParams::RemoteCameraCtrlTurnLeftParams(const RemoteCameraCtrlTurnLeftParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- RemoteCameraCtrlTurnLeftParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.range_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- _this->_impl_.range_ = from._impl_.range_;
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
- }
- inline void RemoteCameraCtrlTurnLeftParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.range_) { 0u }
- };
- }
- RemoteCameraCtrlTurnLeftParams::~RemoteCameraCtrlTurnLeftParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void RemoteCameraCtrlTurnLeftParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void RemoteCameraCtrlTurnLeftParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void RemoteCameraCtrlTurnLeftParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- _impl_.range_ = 0u;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* RemoteCameraCtrlTurnLeftParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional uint32 range = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_range(&has_bits);
- _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* RemoteCameraCtrlTurnLeftParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 1, this->_internal_range(), target);
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
- return target;
- }
- ::size_t RemoteCameraCtrlTurnLeftParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_range());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void RemoteCameraCtrlTurnLeftParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const RemoteCameraCtrlTurnLeftParams*>(
- &from));
- }
- void RemoteCameraCtrlTurnLeftParams::MergeFrom(const RemoteCameraCtrlTurnLeftParams& from) {
- RemoteCameraCtrlTurnLeftParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.range_ = from._impl_.range_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void RemoteCameraCtrlTurnLeftParams::CopyFrom(const RemoteCameraCtrlTurnLeftParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool RemoteCameraCtrlTurnLeftParams::IsInitialized() const {
- return true;
- }
- void RemoteCameraCtrlTurnLeftParams::InternalSwap(RemoteCameraCtrlTurnLeftParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnLeftParams, _impl_.range_)
- + sizeof(RemoteCameraCtrlTurnLeftParams::_impl_.range_)
- - PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnLeftParams, _impl_.user_)>(
- reinterpret_cast<char*>(&_impl_.user_),
- reinterpret_cast<char*>(&other->_impl_.user_));
- }
- std::string RemoteCameraCtrlTurnLeftParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnLeftParams";
- }
- // ===================================================================
- class RemoteCameraCtrlTurnRightParams::_Internal {
- public:
- using HasBits = decltype(std::declval<RemoteCameraCtrlTurnRightParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnRightParams, _impl_._has_bits_);
- static void set_has_range(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RemoteCameraCtrlTurnRightParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- RemoteCameraCtrlTurnRightParams::_Internal::user(const RemoteCameraCtrlTurnRightParams* msg) {
- return *msg->_impl_.user_;
- }
- RemoteCameraCtrlTurnRightParams::RemoteCameraCtrlTurnRightParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
- }
- RemoteCameraCtrlTurnRightParams::RemoteCameraCtrlTurnRightParams(const RemoteCameraCtrlTurnRightParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- RemoteCameraCtrlTurnRightParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.range_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- _this->_impl_.range_ = from._impl_.range_;
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
- }
- inline void RemoteCameraCtrlTurnRightParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.range_) { 0u }
- };
- }
- RemoteCameraCtrlTurnRightParams::~RemoteCameraCtrlTurnRightParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void RemoteCameraCtrlTurnRightParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void RemoteCameraCtrlTurnRightParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void RemoteCameraCtrlTurnRightParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- _impl_.range_ = 0u;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* RemoteCameraCtrlTurnRightParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional uint32 range = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_range(&has_bits);
- _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* RemoteCameraCtrlTurnRightParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 1, this->_internal_range(), target);
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
- return target;
- }
- ::size_t RemoteCameraCtrlTurnRightParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_range());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void RemoteCameraCtrlTurnRightParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const RemoteCameraCtrlTurnRightParams*>(
- &from));
- }
- void RemoteCameraCtrlTurnRightParams::MergeFrom(const RemoteCameraCtrlTurnRightParams& from) {
- RemoteCameraCtrlTurnRightParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.range_ = from._impl_.range_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void RemoteCameraCtrlTurnRightParams::CopyFrom(const RemoteCameraCtrlTurnRightParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool RemoteCameraCtrlTurnRightParams::IsInitialized() const {
- return true;
- }
- void RemoteCameraCtrlTurnRightParams::InternalSwap(RemoteCameraCtrlTurnRightParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnRightParams, _impl_.range_)
- + sizeof(RemoteCameraCtrlTurnRightParams::_impl_.range_)
- - PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnRightParams, _impl_.user_)>(
- reinterpret_cast<char*>(&_impl_.user_),
- reinterpret_cast<char*>(&other->_impl_.user_));
- }
- std::string RemoteCameraCtrlTurnRightParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnRightParams";
- }
- // ===================================================================
- class RemoteCameraCtrlTurnUpParams::_Internal {
- public:
- using HasBits = decltype(std::declval<RemoteCameraCtrlTurnUpParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnUpParams, _impl_._has_bits_);
- static void set_has_range(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RemoteCameraCtrlTurnUpParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- RemoteCameraCtrlTurnUpParams::_Internal::user(const RemoteCameraCtrlTurnUpParams* msg) {
- return *msg->_impl_.user_;
- }
- RemoteCameraCtrlTurnUpParams::RemoteCameraCtrlTurnUpParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
- }
- RemoteCameraCtrlTurnUpParams::RemoteCameraCtrlTurnUpParams(const RemoteCameraCtrlTurnUpParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- RemoteCameraCtrlTurnUpParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.range_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- _this->_impl_.range_ = from._impl_.range_;
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
- }
- inline void RemoteCameraCtrlTurnUpParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.range_) { 0u }
- };
- }
- RemoteCameraCtrlTurnUpParams::~RemoteCameraCtrlTurnUpParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void RemoteCameraCtrlTurnUpParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void RemoteCameraCtrlTurnUpParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void RemoteCameraCtrlTurnUpParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- _impl_.range_ = 0u;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* RemoteCameraCtrlTurnUpParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional uint32 range = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_range(&has_bits);
- _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* RemoteCameraCtrlTurnUpParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 1, this->_internal_range(), target);
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
- return target;
- }
- ::size_t RemoteCameraCtrlTurnUpParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_range());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void RemoteCameraCtrlTurnUpParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const RemoteCameraCtrlTurnUpParams*>(
- &from));
- }
- void RemoteCameraCtrlTurnUpParams::MergeFrom(const RemoteCameraCtrlTurnUpParams& from) {
- RemoteCameraCtrlTurnUpParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.range_ = from._impl_.range_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void RemoteCameraCtrlTurnUpParams::CopyFrom(const RemoteCameraCtrlTurnUpParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool RemoteCameraCtrlTurnUpParams::IsInitialized() const {
- return true;
- }
- void RemoteCameraCtrlTurnUpParams::InternalSwap(RemoteCameraCtrlTurnUpParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnUpParams, _impl_.range_)
- + sizeof(RemoteCameraCtrlTurnUpParams::_impl_.range_)
- - PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnUpParams, _impl_.user_)>(
- reinterpret_cast<char*>(&_impl_.user_),
- reinterpret_cast<char*>(&other->_impl_.user_));
- }
- std::string RemoteCameraCtrlTurnUpParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnUpParams";
- }
- // ===================================================================
- class RemoteCameraCtrlTurnDownParams::_Internal {
- public:
- using HasBits = decltype(std::declval<RemoteCameraCtrlTurnDownParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnDownParams, _impl_._has_bits_);
- static void set_has_range(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RemoteCameraCtrlTurnDownParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- RemoteCameraCtrlTurnDownParams::_Internal::user(const RemoteCameraCtrlTurnDownParams* msg) {
- return *msg->_impl_.user_;
- }
- RemoteCameraCtrlTurnDownParams::RemoteCameraCtrlTurnDownParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
- }
- RemoteCameraCtrlTurnDownParams::RemoteCameraCtrlTurnDownParams(const RemoteCameraCtrlTurnDownParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- RemoteCameraCtrlTurnDownParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.range_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- _this->_impl_.range_ = from._impl_.range_;
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
- }
- inline void RemoteCameraCtrlTurnDownParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.range_) { 0u }
- };
- }
- RemoteCameraCtrlTurnDownParams::~RemoteCameraCtrlTurnDownParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void RemoteCameraCtrlTurnDownParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void RemoteCameraCtrlTurnDownParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void RemoteCameraCtrlTurnDownParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- _impl_.range_ = 0u;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* RemoteCameraCtrlTurnDownParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional uint32 range = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_range(&has_bits);
- _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* RemoteCameraCtrlTurnDownParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 1, this->_internal_range(), target);
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
- return target;
- }
- ::size_t RemoteCameraCtrlTurnDownParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_range());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void RemoteCameraCtrlTurnDownParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const RemoteCameraCtrlTurnDownParams*>(
- &from));
- }
- void RemoteCameraCtrlTurnDownParams::MergeFrom(const RemoteCameraCtrlTurnDownParams& from) {
- RemoteCameraCtrlTurnDownParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.range_ = from._impl_.range_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void RemoteCameraCtrlTurnDownParams::CopyFrom(const RemoteCameraCtrlTurnDownParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool RemoteCameraCtrlTurnDownParams::IsInitialized() const {
- return true;
- }
- void RemoteCameraCtrlTurnDownParams::InternalSwap(RemoteCameraCtrlTurnDownParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnDownParams, _impl_.range_)
- + sizeof(RemoteCameraCtrlTurnDownParams::_impl_.range_)
- - PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlTurnDownParams, _impl_.user_)>(
- reinterpret_cast<char*>(&_impl_.user_),
- reinterpret_cast<char*>(&other->_impl_.user_));
- }
- std::string RemoteCameraCtrlTurnDownParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlTurnDownParams";
- }
- // ===================================================================
- class RemoteCameraCtrlZoomInParams::_Internal {
- public:
- using HasBits = decltype(std::declval<RemoteCameraCtrlZoomInParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlZoomInParams, _impl_._has_bits_);
- static void set_has_range(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RemoteCameraCtrlZoomInParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- RemoteCameraCtrlZoomInParams::_Internal::user(const RemoteCameraCtrlZoomInParams* msg) {
- return *msg->_impl_.user_;
- }
- RemoteCameraCtrlZoomInParams::RemoteCameraCtrlZoomInParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
- }
- RemoteCameraCtrlZoomInParams::RemoteCameraCtrlZoomInParams(const RemoteCameraCtrlZoomInParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- RemoteCameraCtrlZoomInParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.range_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- _this->_impl_.range_ = from._impl_.range_;
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
- }
- inline void RemoteCameraCtrlZoomInParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.range_) { 0u }
- };
- }
- RemoteCameraCtrlZoomInParams::~RemoteCameraCtrlZoomInParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void RemoteCameraCtrlZoomInParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void RemoteCameraCtrlZoomInParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void RemoteCameraCtrlZoomInParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- _impl_.range_ = 0u;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* RemoteCameraCtrlZoomInParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional uint32 range = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_range(&has_bits);
- _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* RemoteCameraCtrlZoomInParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 1, this->_internal_range(), target);
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
- return target;
- }
- ::size_t RemoteCameraCtrlZoomInParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_range());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void RemoteCameraCtrlZoomInParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const RemoteCameraCtrlZoomInParams*>(
- &from));
- }
- void RemoteCameraCtrlZoomInParams::MergeFrom(const RemoteCameraCtrlZoomInParams& from) {
- RemoteCameraCtrlZoomInParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.range_ = from._impl_.range_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void RemoteCameraCtrlZoomInParams::CopyFrom(const RemoteCameraCtrlZoomInParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool RemoteCameraCtrlZoomInParams::IsInitialized() const {
- return true;
- }
- void RemoteCameraCtrlZoomInParams::InternalSwap(RemoteCameraCtrlZoomInParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlZoomInParams, _impl_.range_)
- + sizeof(RemoteCameraCtrlZoomInParams::_impl_.range_)
- - PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlZoomInParams, _impl_.user_)>(
- reinterpret_cast<char*>(&_impl_.user_),
- reinterpret_cast<char*>(&other->_impl_.user_));
- }
- std::string RemoteCameraCtrlZoomInParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomInParams";
- }
- // ===================================================================
- class RemoteCameraCtrlZoomOutParams::_Internal {
- public:
- using HasBits = decltype(std::declval<RemoteCameraCtrlZoomOutParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlZoomOutParams, _impl_._has_bits_);
- static void set_has_range(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser& user(const RemoteCameraCtrlZoomOutParams* msg);
- static void set_has_user(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::com::electron::zoomvideo::sdk::proto::VideoSDKUser&
- RemoteCameraCtrlZoomOutParams::_Internal::user(const RemoteCameraCtrlZoomOutParams* msg) {
- return *msg->_impl_.user_;
- }
- RemoteCameraCtrlZoomOutParams::RemoteCameraCtrlZoomOutParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
- }
- RemoteCameraCtrlZoomOutParams::RemoteCameraCtrlZoomOutParams(const RemoteCameraCtrlZoomOutParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- RemoteCameraCtrlZoomOutParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.range_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.user_ = new ::com::electron::zoomvideo::sdk::proto::VideoSDKUser(*from._impl_.user_);
- }
- _this->_impl_.range_ = from._impl_.range_;
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
- }
- inline void RemoteCameraCtrlZoomOutParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.user_){nullptr}
- , decltype(_impl_.range_) { 0u }
- };
- }
- RemoteCameraCtrlZoomOutParams::~RemoteCameraCtrlZoomOutParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void RemoteCameraCtrlZoomOutParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- if (this != internal_default_instance()) delete _impl_.user_;
- }
- void RemoteCameraCtrlZoomOutParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void RemoteCameraCtrlZoomOutParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.user_ != nullptr);
- _impl_.user_->Clear();
- }
- _impl_.range_ = 0u;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* RemoteCameraCtrlZoomOutParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional uint32 range = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_range(&has_bits);
- _impl_.range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- ptr = ctx->ParseMessage(_internal_mutable_user(), ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* RemoteCameraCtrlZoomOutParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 1, this->_internal_range(), target);
- }
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000001u) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(2, _Internal::user(this),
- _Internal::user(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
- return target;
- }
- ::size_t RemoteCameraCtrlZoomOutParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional .com.electron.zoomvideo.sdk.proto.VideoSDKUser user = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- *_impl_.user_);
- }
- // optional uint32 range = 1;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_range());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void RemoteCameraCtrlZoomOutParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const RemoteCameraCtrlZoomOutParams*>(
- &from));
- }
- void RemoteCameraCtrlZoomOutParams::MergeFrom(const RemoteCameraCtrlZoomOutParams& from) {
- RemoteCameraCtrlZoomOutParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_mutable_user()->::com::electron::zoomvideo::sdk::proto::VideoSDKUser::MergeFrom(
- from._internal_user());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.range_ = from._impl_.range_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void RemoteCameraCtrlZoomOutParams::CopyFrom(const RemoteCameraCtrlZoomOutParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool RemoteCameraCtrlZoomOutParams::IsInitialized() const {
- return true;
- }
- void RemoteCameraCtrlZoomOutParams::InternalSwap(RemoteCameraCtrlZoomOutParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlZoomOutParams, _impl_.range_)
- + sizeof(RemoteCameraCtrlZoomOutParams::_impl_.range_)
- - PROTOBUF_FIELD_OFFSET(RemoteCameraCtrlZoomOutParams, _impl_.user_)>(
- reinterpret_cast<char*>(&_impl_.user_),
- reinterpret_cast<char*>(&other->_impl_.user_));
- }
- std::string RemoteCameraCtrlZoomOutParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.RemoteCameraCtrlZoomOutParams";
- }
- // ===================================================================
- class SetVideoQualityPreferenceParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SetVideoQualityPreferenceParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SetVideoQualityPreferenceParams, _impl_._has_bits_);
- static void set_has_mode(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_minimum_frame_rate(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_maximum_frame_rate(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- };
- SetVideoQualityPreferenceParams::SetVideoQualityPreferenceParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
- }
- SetVideoQualityPreferenceParams::SetVideoQualityPreferenceParams(const SetVideoQualityPreferenceParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
- }
- inline void SetVideoQualityPreferenceParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.mode_) { 0 }
- , decltype(_impl_.minimum_frame_rate_) { 0u }
- , decltype(_impl_.maximum_frame_rate_) { 0u }
- };
- }
- SetVideoQualityPreferenceParams::~SetVideoQualityPreferenceParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SetVideoQualityPreferenceParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void SetVideoQualityPreferenceParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SetVideoQualityPreferenceParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- ::memset(&_impl_.mode_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.maximum_frame_rate_) -
- reinterpret_cast<char*>(&_impl_.mode_)) + sizeof(_impl_.maximum_frame_rate_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SetVideoQualityPreferenceParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int32 mode = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_mode(&has_bits);
- _impl_.mode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional uint32 minimum_frame_rate = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
- _Internal::set_has_minimum_frame_rate(&has_bits);
- _impl_.minimum_frame_rate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional uint32 maximum_frame_rate = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_maximum_frame_rate(&has_bits);
- _impl_.maximum_frame_rate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SetVideoQualityPreferenceParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int32 mode = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 1, this->_internal_mode(), target);
- }
- // optional uint32 minimum_frame_rate = 2;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 2, this->_internal_minimum_frame_rate(), target);
- }
- // optional uint32 maximum_frame_rate = 3;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 3, this->_internal_maximum_frame_rate(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
- return target;
- }
- ::size_t SetVideoQualityPreferenceParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- // optional int32 mode = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_mode());
- }
- // optional uint32 minimum_frame_rate = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_minimum_frame_rate());
- }
- // optional uint32 maximum_frame_rate = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_maximum_frame_rate());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SetVideoQualityPreferenceParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SetVideoQualityPreferenceParams*>(
- &from));
- }
- void SetVideoQualityPreferenceParams::MergeFrom(const SetVideoQualityPreferenceParams& from) {
- SetVideoQualityPreferenceParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000007u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_impl_.mode_ = from._impl_.mode_;
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.minimum_frame_rate_ = from._impl_.minimum_frame_rate_;
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.maximum_frame_rate_ = from._impl_.maximum_frame_rate_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SetVideoQualityPreferenceParams::CopyFrom(const SetVideoQualityPreferenceParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SetVideoQualityPreferenceParams::IsInitialized() const {
- return true;
- }
- void SetVideoQualityPreferenceParams::InternalSwap(SetVideoQualityPreferenceParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(SetVideoQualityPreferenceParams, _impl_.maximum_frame_rate_)
- + sizeof(SetVideoQualityPreferenceParams::_impl_.maximum_frame_rate_)
- - PROTOBUF_FIELD_OFFSET(SetVideoQualityPreferenceParams, _impl_.mode_)>(
- reinterpret_cast<char*>(&_impl_.mode_),
- reinterpret_cast<char*>(&other->_impl_.mode_));
- }
- std::string SetVideoQualityPreferenceParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SetVideoQualityPreferenceParams";
- }
- // ===================================================================
- class SetSuppressBackgroundNoiseLevelParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SetSuppressBackgroundNoiseLevelParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SetSuppressBackgroundNoiseLevelParams, _impl_._has_bits_);
- static void set_has_level(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- SetSuppressBackgroundNoiseLevelParams::SetSuppressBackgroundNoiseLevelParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
- }
- SetSuppressBackgroundNoiseLevelParams::SetSuppressBackgroundNoiseLevelParams(const SetSuppressBackgroundNoiseLevelParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
- }
- inline void SetSuppressBackgroundNoiseLevelParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.level_) { 0 }
- };
- }
- SetSuppressBackgroundNoiseLevelParams::~SetSuppressBackgroundNoiseLevelParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SetSuppressBackgroundNoiseLevelParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void SetSuppressBackgroundNoiseLevelParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SetSuppressBackgroundNoiseLevelParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.level_ = 0;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SetSuppressBackgroundNoiseLevelParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int32 level = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_level(&has_bits);
- _impl_.level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SetSuppressBackgroundNoiseLevelParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int32 level = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 1, this->_internal_level(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
- return target;
- }
- ::size_t SetSuppressBackgroundNoiseLevelParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int32 level = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_level());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SetSuppressBackgroundNoiseLevelParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SetSuppressBackgroundNoiseLevelParams*>(
- &from));
- }
- void SetSuppressBackgroundNoiseLevelParams::MergeFrom(const SetSuppressBackgroundNoiseLevelParams& from) {
- SetSuppressBackgroundNoiseLevelParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_level(from._internal_level());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SetSuppressBackgroundNoiseLevelParams::CopyFrom(const SetSuppressBackgroundNoiseLevelParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SetSuppressBackgroundNoiseLevelParams::IsInitialized() const {
- return true;
- }
- void SetSuppressBackgroundNoiseLevelParams::InternalSwap(SetSuppressBackgroundNoiseLevelParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.level_, other->_impl_.level_);
- }
- std::string SetSuppressBackgroundNoiseLevelParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SetSuppressBackgroundNoiseLevelParams";
- }
- // ===================================================================
- class SetEchoCancellationLevelParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SetEchoCancellationLevelParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SetEchoCancellationLevelParams, _impl_._has_bits_);
- static void set_has_level(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- SetEchoCancellationLevelParams::SetEchoCancellationLevelParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
- }
- SetEchoCancellationLevelParams::SetEchoCancellationLevelParams(const SetEchoCancellationLevelParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
- }
- inline void SetEchoCancellationLevelParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.level_) { 0 }
- };
- }
- SetEchoCancellationLevelParams::~SetEchoCancellationLevelParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SetEchoCancellationLevelParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void SetEchoCancellationLevelParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SetEchoCancellationLevelParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.level_ = 0;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SetEchoCancellationLevelParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int32 level = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_level(&has_bits);
- _impl_.level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SetEchoCancellationLevelParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int32 level = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 1, this->_internal_level(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
- return target;
- }
- ::size_t SetEchoCancellationLevelParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int32 level = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_level());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SetEchoCancellationLevelParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SetEchoCancellationLevelParams*>(
- &from));
- }
- void SetEchoCancellationLevelParams::MergeFrom(const SetEchoCancellationLevelParams& from) {
- SetEchoCancellationLevelParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_level(from._internal_level());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SetEchoCancellationLevelParams::CopyFrom(const SetEchoCancellationLevelParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SetEchoCancellationLevelParams::IsInitialized() const {
- return true;
- }
- void SetEchoCancellationLevelParams::InternalSwap(SetEchoCancellationLevelParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.level_, other->_impl_.level_);
- }
- std::string SetEchoCancellationLevelParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SetEchoCancellationLevelParams";
- }
- // ===================================================================
- class EnableMicOriginalInputParams::_Internal {
- public:
- using HasBits = decltype(std::declval<EnableMicOriginalInputParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(EnableMicOriginalInputParams, _impl_._has_bits_);
- static void set_has_benable(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- EnableMicOriginalInputParams::EnableMicOriginalInputParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
- }
- EnableMicOriginalInputParams::EnableMicOriginalInputParams(const EnableMicOriginalInputParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
- }
- inline void EnableMicOriginalInputParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.benable_) { false }
- };
- }
- EnableMicOriginalInputParams::~EnableMicOriginalInputParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void EnableMicOriginalInputParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void EnableMicOriginalInputParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void EnableMicOriginalInputParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.benable_ = false;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* EnableMicOriginalInputParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional bool bEnable = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_benable(&has_bits);
- _impl_.benable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* EnableMicOriginalInputParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional bool bEnable = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 1, this->_internal_benable(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
- return target;
- }
- ::size_t EnableMicOriginalInputParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional bool bEnable = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 2;
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void EnableMicOriginalInputParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const EnableMicOriginalInputParams*>(
- &from));
- }
- void EnableMicOriginalInputParams::MergeFrom(const EnableMicOriginalInputParams& from) {
- EnableMicOriginalInputParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_benable(from._internal_benable());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void EnableMicOriginalInputParams::CopyFrom(const EnableMicOriginalInputParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool EnableMicOriginalInputParams::IsInitialized() const {
- return true;
- }
- void EnableMicOriginalInputParams::InternalSwap(EnableMicOriginalInputParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.benable_, other->_impl_.benable_);
- }
- std::string EnableMicOriginalInputParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.EnableMicOriginalInputParams";
- }
- // ===================================================================
- class EnableHighFidelityMusicModeParams::_Internal {
- public:
- using HasBits = decltype(std::declval<EnableHighFidelityMusicModeParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(EnableHighFidelityMusicModeParams, _impl_._has_bits_);
- static void set_has_benable(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- EnableHighFidelityMusicModeParams::EnableHighFidelityMusicModeParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
- }
- EnableHighFidelityMusicModeParams::EnableHighFidelityMusicModeParams(const EnableHighFidelityMusicModeParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
- }
- inline void EnableHighFidelityMusicModeParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.benable_) { false }
- };
- }
- EnableHighFidelityMusicModeParams::~EnableHighFidelityMusicModeParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void EnableHighFidelityMusicModeParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void EnableHighFidelityMusicModeParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void EnableHighFidelityMusicModeParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.benable_ = false;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* EnableHighFidelityMusicModeParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional bool bEnable = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_benable(&has_bits);
- _impl_.benable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* EnableHighFidelityMusicModeParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional bool bEnable = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 1, this->_internal_benable(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
- return target;
- }
- ::size_t EnableHighFidelityMusicModeParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional bool bEnable = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 2;
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void EnableHighFidelityMusicModeParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const EnableHighFidelityMusicModeParams*>(
- &from));
- }
- void EnableHighFidelityMusicModeParams::MergeFrom(const EnableHighFidelityMusicModeParams& from) {
- EnableHighFidelityMusicModeParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_benable(from._internal_benable());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void EnableHighFidelityMusicModeParams::CopyFrom(const EnableHighFidelityMusicModeParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool EnableHighFidelityMusicModeParams::IsInitialized() const {
- return true;
- }
- void EnableHighFidelityMusicModeParams::InternalSwap(EnableHighFidelityMusicModeParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.benable_, other->_impl_.benable_);
- }
- std::string EnableHighFidelityMusicModeParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.EnableHighFidelityMusicModeParams";
- }
- // ===================================================================
- class EnableEchoCancellationParams::_Internal {
- public:
- using HasBits = decltype(std::declval<EnableEchoCancellationParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(EnableEchoCancellationParams, _impl_._has_bits_);
- static void set_has_benable(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- EnableEchoCancellationParams::EnableEchoCancellationParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
- }
- EnableEchoCancellationParams::EnableEchoCancellationParams(const EnableEchoCancellationParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
- }
- inline void EnableEchoCancellationParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.benable_) { false }
- };
- }
- EnableEchoCancellationParams::~EnableEchoCancellationParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void EnableEchoCancellationParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void EnableEchoCancellationParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void EnableEchoCancellationParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.benable_ = false;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* EnableEchoCancellationParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional bool bEnable = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_benable(&has_bits);
- _impl_.benable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* EnableEchoCancellationParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional bool bEnable = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 1, this->_internal_benable(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
- return target;
- }
- ::size_t EnableEchoCancellationParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional bool bEnable = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 2;
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void EnableEchoCancellationParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const EnableEchoCancellationParams*>(
- &from));
- }
- void EnableEchoCancellationParams::MergeFrom(const EnableEchoCancellationParams& from) {
- EnableEchoCancellationParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_benable(from._internal_benable());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void EnableEchoCancellationParams::CopyFrom(const EnableEchoCancellationParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool EnableEchoCancellationParams::IsInitialized() const {
- return true;
- }
- void EnableEchoCancellationParams::InternalSwap(EnableEchoCancellationParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.benable_, other->_impl_.benable_);
- }
- std::string EnableEchoCancellationParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.EnableEchoCancellationParams";
- }
- // ===================================================================
- class EnableStereoAudioParams::_Internal {
- public:
- using HasBits = decltype(std::declval<EnableStereoAudioParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(EnableStereoAudioParams, _impl_._has_bits_);
- static void set_has_benable(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- EnableStereoAudioParams::EnableStereoAudioParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
- }
- EnableStereoAudioParams::EnableStereoAudioParams(const EnableStereoAudioParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
- }
- inline void EnableStereoAudioParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.benable_) { false }
- };
- }
- EnableStereoAudioParams::~EnableStereoAudioParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void EnableStereoAudioParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void EnableStereoAudioParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void EnableStereoAudioParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.benable_ = false;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* EnableStereoAudioParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional bool bEnable = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_benable(&has_bits);
- _impl_.benable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* EnableStereoAudioParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional bool bEnable = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 1, this->_internal_benable(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
- return target;
- }
- ::size_t EnableStereoAudioParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional bool bEnable = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 2;
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void EnableStereoAudioParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const EnableStereoAudioParams*>(
- &from));
- }
- void EnableStereoAudioParams::MergeFrom(const EnableStereoAudioParams& from) {
- EnableStereoAudioParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_benable(from._internal_benable());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void EnableStereoAudioParams::CopyFrom(const EnableStereoAudioParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool EnableStereoAudioParams::IsInitialized() const {
- return true;
- }
- void EnableStereoAudioParams::InternalSwap(EnableStereoAudioParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.benable_, other->_impl_.benable_);
- }
- std::string EnableStereoAudioParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.EnableStereoAudioParams";
- }
- // ===================================================================
- class StartMicTestRecordingParams::_Internal {
- public:
- using HasBits = decltype(std::declval<StartMicTestRecordingParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(StartMicTestRecordingParams, _impl_._has_bits_);
- static void set_has_deviceid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- StartMicTestRecordingParams::StartMicTestRecordingParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
- }
- StartMicTestRecordingParams::StartMicTestRecordingParams(const StartMicTestRecordingParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- StartMicTestRecordingParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.deviceid_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.deviceid_.Set(from._internal_deviceid(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
- }
- inline void StartMicTestRecordingParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.deviceid_) {}
- };
- _impl_.deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- StartMicTestRecordingParams::~StartMicTestRecordingParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void StartMicTestRecordingParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.deviceid_.Destroy();
- }
- void StartMicTestRecordingParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void StartMicTestRecordingParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.deviceid_.ClearNonDefaultToEmpty();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* StartMicTestRecordingParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string deviceID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_deviceid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* StartMicTestRecordingParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string deviceID = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_deviceid();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
- return target;
- }
- ::size_t StartMicTestRecordingParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional string deviceID = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_deviceid());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void StartMicTestRecordingParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const StartMicTestRecordingParams*>(
- &from));
- }
- void StartMicTestRecordingParams::MergeFrom(const StartMicTestRecordingParams& from) {
- StartMicTestRecordingParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_deviceid(from._internal_deviceid());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void StartMicTestRecordingParams::CopyFrom(const StartMicTestRecordingParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool StartMicTestRecordingParams::IsInitialized() const {
- return true;
- }
- void StartMicTestRecordingParams::InternalSwap(StartMicTestRecordingParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceid_, lhs_arena,
- &other->_impl_.deviceid_, rhs_arena);
- }
- std::string StartMicTestRecordingParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.StartMicTestRecordingParams";
- }
- // ===================================================================
- class StartSpeakerTestParams::_Internal {
- public:
- using HasBits = decltype(std::declval<StartSpeakerTestParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(StartSpeakerTestParams, _impl_._has_bits_);
- static void set_has_deviceid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- StartSpeakerTestParams::StartSpeakerTestParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
- }
- StartSpeakerTestParams::StartSpeakerTestParams(const StartSpeakerTestParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- StartSpeakerTestParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.deviceid_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.deviceid_.Set(from._internal_deviceid(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
- }
- inline void StartSpeakerTestParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.deviceid_) {}
- };
- _impl_.deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- StartSpeakerTestParams::~StartSpeakerTestParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void StartSpeakerTestParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.deviceid_.Destroy();
- }
- void StartSpeakerTestParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void StartSpeakerTestParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.deviceid_.ClearNonDefaultToEmpty();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* StartSpeakerTestParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string deviceID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_deviceid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* StartSpeakerTestParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string deviceID = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_deviceid();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
- return target;
- }
- ::size_t StartSpeakerTestParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional string deviceID = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_deviceid());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void StartSpeakerTestParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const StartSpeakerTestParams*>(
- &from));
- }
- void StartSpeakerTestParams::MergeFrom(const StartSpeakerTestParams& from) {
- StartSpeakerTestParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_deviceid(from._internal_deviceid());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void StartSpeakerTestParams::CopyFrom(const StartSpeakerTestParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool StartSpeakerTestParams::IsInitialized() const {
- return true;
- }
- void StartSpeakerTestParams::InternalSwap(StartSpeakerTestParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceid_, lhs_arena,
- &other->_impl_.deviceid_, rhs_arena);
- }
- std::string StartSpeakerTestParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.StartSpeakerTestParams";
- }
- // ===================================================================
- class SetTimerIntervalParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SetTimerIntervalParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SetTimerIntervalParams, _impl_._has_bits_);
- static void set_has_timerinterval(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- SetTimerIntervalParams::SetTimerIntervalParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
- }
- SetTimerIntervalParams::SetTimerIntervalParams(const SetTimerIntervalParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
- }
- inline void SetTimerIntervalParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.timerinterval_) { 0u }
- };
- }
- SetTimerIntervalParams::~SetTimerIntervalParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SetTimerIntervalParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void SetTimerIntervalParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SetTimerIntervalParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.timerinterval_ = 0u;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SetTimerIntervalParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional uint32 timerInterval = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_timerinterval(&has_bits);
- _impl_.timerinterval_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SetTimerIntervalParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional uint32 timerInterval = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 1, this->_internal_timerinterval(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
- return target;
- }
- ::size_t SetTimerIntervalParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional uint32 timerInterval = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_timerinterval());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SetTimerIntervalParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SetTimerIntervalParams*>(
- &from));
- }
- void SetTimerIntervalParams::MergeFrom(const SetTimerIntervalParams& from) {
- SetTimerIntervalParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_timerinterval(from._internal_timerinterval());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SetTimerIntervalParams::CopyFrom(const SetTimerIntervalParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SetTimerIntervalParams::IsInitialized() const {
- return true;
- }
- void SetTimerIntervalParams::InternalSwap(SetTimerIntervalParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.timerinterval_, other->_impl_.timerinterval_);
- }
- std::string SetTimerIntervalParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SetTimerIntervalParams";
- }
- // ===================================================================
- class EnableMultiStreamVideoParams::_Internal {
- public:
- using HasBits = decltype(std::declval<EnableMultiStreamVideoParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(EnableMultiStreamVideoParams, _impl_._has_bits_);
- static void set_has_deviceid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- EnableMultiStreamVideoParams::EnableMultiStreamVideoParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
- }
- EnableMultiStreamVideoParams::EnableMultiStreamVideoParams(const EnableMultiStreamVideoParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- EnableMultiStreamVideoParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.deviceid_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.deviceid_.Set(from._internal_deviceid(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
- }
- inline void EnableMultiStreamVideoParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.deviceid_) {}
- };
- _impl_.deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- EnableMultiStreamVideoParams::~EnableMultiStreamVideoParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void EnableMultiStreamVideoParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.deviceid_.Destroy();
- }
- void EnableMultiStreamVideoParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void EnableMultiStreamVideoParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.deviceid_.ClearNonDefaultToEmpty();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* EnableMultiStreamVideoParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string deviceID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_deviceid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* EnableMultiStreamVideoParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string deviceID = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_deviceid();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
- return target;
- }
- ::size_t EnableMultiStreamVideoParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional string deviceID = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_deviceid());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void EnableMultiStreamVideoParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const EnableMultiStreamVideoParams*>(
- &from));
- }
- void EnableMultiStreamVideoParams::MergeFrom(const EnableMultiStreamVideoParams& from) {
- EnableMultiStreamVideoParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_deviceid(from._internal_deviceid());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void EnableMultiStreamVideoParams::CopyFrom(const EnableMultiStreamVideoParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool EnableMultiStreamVideoParams::IsInitialized() const {
- return true;
- }
- void EnableMultiStreamVideoParams::InternalSwap(EnableMultiStreamVideoParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceid_, lhs_arena,
- &other->_impl_.deviceid_, rhs_arena);
- }
- std::string EnableMultiStreamVideoParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.EnableMultiStreamVideoParams";
- }
- // ===================================================================
- class DisableMultiStreamVideoParams::_Internal {
- public:
- using HasBits = decltype(std::declval<DisableMultiStreamVideoParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(DisableMultiStreamVideoParams, _impl_._has_bits_);
- static void set_has_deviceid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- DisableMultiStreamVideoParams::DisableMultiStreamVideoParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
- }
- DisableMultiStreamVideoParams::DisableMultiStreamVideoParams(const DisableMultiStreamVideoParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- DisableMultiStreamVideoParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.deviceid_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.deviceid_.Set(from._internal_deviceid(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
- }
- inline void DisableMultiStreamVideoParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.deviceid_) {}
- };
- _impl_.deviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.deviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- DisableMultiStreamVideoParams::~DisableMultiStreamVideoParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void DisableMultiStreamVideoParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.deviceid_.Destroy();
- }
- void DisableMultiStreamVideoParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void DisableMultiStreamVideoParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.deviceid_.ClearNonDefaultToEmpty();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* DisableMultiStreamVideoParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string deviceID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_deviceid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* DisableMultiStreamVideoParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string deviceID = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_deviceid();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
- return target;
- }
- ::size_t DisableMultiStreamVideoParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional string deviceID = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_deviceid());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void DisableMultiStreamVideoParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const DisableMultiStreamVideoParams*>(
- &from));
- }
- void DisableMultiStreamVideoParams::MergeFrom(const DisableMultiStreamVideoParams& from) {
- DisableMultiStreamVideoParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_deviceid(from._internal_deviceid());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void DisableMultiStreamVideoParams::CopyFrom(const DisableMultiStreamVideoParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool DisableMultiStreamVideoParams::IsInitialized() const {
- return true;
- }
- void DisableMultiStreamVideoParams::InternalSwap(DisableMultiStreamVideoParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.deviceid_, lhs_arena,
- &other->_impl_.deviceid_, rhs_arena);
- }
- std::string DisableMultiStreamVideoParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.DisableMultiStreamVideoParams";
- }
- // ===================================================================
- class StartVideoPreviewParams::_Internal {
- public:
- using HasBits = decltype(std::declval<StartVideoPreviewParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(StartVideoPreviewParams, _impl_._has_bits_);
- static void set_has_zn_recv_handle(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_cameradeviceid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- StartVideoPreviewParams::StartVideoPreviewParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
- }
- StartVideoPreviewParams::StartVideoPreviewParams(const StartVideoPreviewParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- StartVideoPreviewParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.cameradeviceid_) {}
- , decltype(_impl_.zn_recv_handle_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.cameradeviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.cameradeviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.cameradeviceid_.Set(from._internal_cameradeviceid(), _this->GetArenaForAllocation());
- }
- _this->_impl_.zn_recv_handle_ = from._impl_.zn_recv_handle_;
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
- }
- inline void StartVideoPreviewParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.cameradeviceid_) {}
- , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
- };
- _impl_.cameradeviceid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.cameradeviceid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- StartVideoPreviewParams::~StartVideoPreviewParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void StartVideoPreviewParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.cameradeviceid_.Destroy();
- }
- void StartVideoPreviewParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void StartVideoPreviewParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.cameradeviceid_.ClearNonDefaultToEmpty();
- }
- _impl_.zn_recv_handle_ = ::int64_t{0};
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* StartVideoPreviewParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 zn_recv_handle = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_zn_recv_handle(&has_bits);
- _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string cameraDeviceID = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_cameradeviceid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* StartVideoPreviewParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 zn_recv_handle = 1;
- if (cached_has_bits & 0x00000002u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_zn_recv_handle(), target);
- }
- // optional string cameraDeviceID = 2;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_cameradeviceid();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
- return target;
- }
- ::size_t StartVideoPreviewParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional string cameraDeviceID = 2;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_cameradeviceid());
- }
- // optional int64 zn_recv_handle = 1;
- if (cached_has_bits & 0x00000002u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_zn_recv_handle());
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void StartVideoPreviewParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const StartVideoPreviewParams*>(
- &from));
- }
- void StartVideoPreviewParams::MergeFrom(const StartVideoPreviewParams& from) {
- StartVideoPreviewParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_cameradeviceid(from._internal_cameradeviceid());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_impl_.zn_recv_handle_ = from._impl_.zn_recv_handle_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void StartVideoPreviewParams::CopyFrom(const StartVideoPreviewParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool StartVideoPreviewParams::IsInitialized() const {
- return true;
- }
- void StartVideoPreviewParams::InternalSwap(StartVideoPreviewParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.cameradeviceid_, lhs_arena,
- &other->_impl_.cameradeviceid_, rhs_arena);
- swap(_impl_.zn_recv_handle_, other->_impl_.zn_recv_handle_);
- }
- std::string StartVideoPreviewParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.StartVideoPreviewParams";
- }
- // ===================================================================
- class StopVideoPreviewParams::_Internal {
- public:
- using HasBits = decltype(std::declval<StopVideoPreviewParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(StopVideoPreviewParams, _impl_._has_bits_);
- static void set_has_zn_recv_handle(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- StopVideoPreviewParams::StopVideoPreviewParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
- }
- StopVideoPreviewParams::StopVideoPreviewParams(const StopVideoPreviewParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
- }
- inline void StopVideoPreviewParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.zn_recv_handle_) { ::int64_t{0} }
- };
- }
- StopVideoPreviewParams::~StopVideoPreviewParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void StopVideoPreviewParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void StopVideoPreviewParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void StopVideoPreviewParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.zn_recv_handle_ = ::int64_t{0};
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* StopVideoPreviewParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 zn_recv_handle = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_zn_recv_handle(&has_bits);
- _impl_.zn_recv_handle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* StopVideoPreviewParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 zn_recv_handle = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_zn_recv_handle(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
- return target;
- }
- ::size_t StopVideoPreviewParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int64 zn_recv_handle = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_zn_recv_handle());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void StopVideoPreviewParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const StopVideoPreviewParams*>(
- &from));
- }
- void StopVideoPreviewParams::MergeFrom(const StopVideoPreviewParams& from) {
- StopVideoPreviewParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_zn_recv_handle(from._internal_zn_recv_handle());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void StopVideoPreviewParams::CopyFrom(const StopVideoPreviewParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool StopVideoPreviewParams::IsInitialized() const {
- return true;
- }
- void StopVideoPreviewParams::InternalSwap(StopVideoPreviewParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.zn_recv_handle_, other->_impl_.zn_recv_handle_);
- }
- std::string StopVideoPreviewParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.StopVideoPreviewParams";
- }
- // ===================================================================
- class SetSpokenLanguageParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SetSpokenLanguageParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SetSpokenLanguageParams, _impl_._has_bits_);
- static void set_has_languageid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- SetSpokenLanguageParams::SetSpokenLanguageParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
- }
- SetSpokenLanguageParams::SetSpokenLanguageParams(const SetSpokenLanguageParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
- }
- inline void SetSpokenLanguageParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.languageid_) { 0 }
- };
- }
- SetSpokenLanguageParams::~SetSpokenLanguageParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SetSpokenLanguageParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void SetSpokenLanguageParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SetSpokenLanguageParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.languageid_ = 0;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SetSpokenLanguageParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int32 languageID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_languageid(&has_bits);
- _impl_.languageid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SetSpokenLanguageParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int32 languageID = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 1, this->_internal_languageid(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
- return target;
- }
- ::size_t SetSpokenLanguageParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int32 languageID = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_languageid());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SetSpokenLanguageParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SetSpokenLanguageParams*>(
- &from));
- }
- void SetSpokenLanguageParams::MergeFrom(const SetSpokenLanguageParams& from) {
- SetSpokenLanguageParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_languageid(from._internal_languageid());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SetSpokenLanguageParams::CopyFrom(const SetSpokenLanguageParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SetSpokenLanguageParams::IsInitialized() const {
- return true;
- }
- void SetSpokenLanguageParams::InternalSwap(SetSpokenLanguageParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.languageid_, other->_impl_.languageid_);
- }
- std::string SetSpokenLanguageParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SetSpokenLanguageParams";
- }
- // ===================================================================
- class LTTLanguagesList::_Internal {
- public:
- };
- LTTLanguagesList::LTTLanguagesList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
- }
- LTTLanguagesList::LTTLanguagesList(const LTTLanguagesList& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- LTTLanguagesList* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.lttlanguageinfo_){from._impl_.lttlanguageinfo_}
- , /*decltype(_impl_._cached_size_)*/{}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
- }
- inline void LTTLanguagesList::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.lttlanguageinfo_){arena}
- , /*decltype(_impl_._cached_size_)*/{}
- };
- }
- LTTLanguagesList::~LTTLanguagesList() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void LTTLanguagesList::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.lttlanguageinfo_.~RepeatedPtrField();
- }
- void LTTLanguagesList::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void LTTLanguagesList::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.lttlanguageinfo_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* LTTLanguagesList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // repeated .com.electron.zoomvideo.sdk.proto.LTTLanguage lttLanguageInfo = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- ptr -= 1;
- do {
- ptr += 1;
- ptr = ctx->ParseMessage(_internal_add_lttlanguageinfo(), ptr);
- CHK_(ptr);
- if (!ctx->DataAvailable(ptr)) break;
- } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* LTTLanguagesList::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.LTTLanguage lttLanguageInfo = 1;
- for (unsigned i = 0,
- n = static_cast<unsigned>(this->_internal_lttlanguageinfo_size()); i < n; i++) {
- const auto& repfield = this->_internal_lttlanguageinfo(i);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
- return target;
- }
- ::size_t LTTLanguagesList::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // repeated .com.electron.zoomvideo.sdk.proto.LTTLanguage lttLanguageInfo = 1;
- total_size += 1UL * this->_internal_lttlanguageinfo_size();
- for (const auto& msg : this->_impl_.lttlanguageinfo_) {
- total_size +=
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void LTTLanguagesList::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const LTTLanguagesList*>(
- &from));
- }
- void LTTLanguagesList::MergeFrom(const LTTLanguagesList& from) {
- LTTLanguagesList* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- _this->_impl_.lttlanguageinfo_.MergeFrom(from._impl_.lttlanguageinfo_);
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void LTTLanguagesList::CopyFrom(const LTTLanguagesList& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.LTTLanguagesList)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool LTTLanguagesList::IsInitialized() const {
- return true;
- }
- void LTTLanguagesList::InternalSwap(LTTLanguagesList* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- _impl_.lttlanguageinfo_.InternalSwap(&other->_impl_.lttlanguageinfo_);
- }
- std::string LTTLanguagesList::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.LTTLanguagesList";
- }
- // ===================================================================
- class SetTranslationLanguageParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SetTranslationLanguageParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SetTranslationLanguageParams, _impl_._has_bits_);
- static void set_has_languageid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- SetTranslationLanguageParams::SetTranslationLanguageParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
- }
- SetTranslationLanguageParams::SetTranslationLanguageParams(const SetTranslationLanguageParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
- }
- inline void SetTranslationLanguageParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.languageid_) { 0 }
- };
- }
- SetTranslationLanguageParams::~SetTranslationLanguageParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SetTranslationLanguageParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void SetTranslationLanguageParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SetTranslationLanguageParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.languageid_ = 0;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SetTranslationLanguageParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int32 languageID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_languageid(&has_bits);
- _impl_.languageid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SetTranslationLanguageParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int32 languageID = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 1, this->_internal_languageid(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
- return target;
- }
- ::size_t SetTranslationLanguageParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int32 languageID = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_languageid());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SetTranslationLanguageParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SetTranslationLanguageParams*>(
- &from));
- }
- void SetTranslationLanguageParams::MergeFrom(const SetTranslationLanguageParams& from) {
- SetTranslationLanguageParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_languageid(from._internal_languageid());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SetTranslationLanguageParams::CopyFrom(const SetTranslationLanguageParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SetTranslationLanguageParams::IsInitialized() const {
- return true;
- }
- void SetTranslationLanguageParams::InternalSwap(SetTranslationLanguageParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.languageid_, other->_impl_.languageid_);
- }
- std::string SetTranslationLanguageParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SetTranslationLanguageParams";
- }
- // ===================================================================
- class CanChatMessageBeDeletedParams::_Internal {
- public:
- using HasBits = decltype(std::declval<CanChatMessageBeDeletedParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(CanChatMessageBeDeletedParams, _impl_._has_bits_);
- static void set_has_messageid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- CanChatMessageBeDeletedParams::CanChatMessageBeDeletedParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
- }
- CanChatMessageBeDeletedParams::CanChatMessageBeDeletedParams(const CanChatMessageBeDeletedParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- CanChatMessageBeDeletedParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.messageid_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.messageid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.messageid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.messageid_.Set(from._internal_messageid(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
- }
- inline void CanChatMessageBeDeletedParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.messageid_) {}
- };
- _impl_.messageid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.messageid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- CanChatMessageBeDeletedParams::~CanChatMessageBeDeletedParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void CanChatMessageBeDeletedParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.messageid_.Destroy();
- }
- void CanChatMessageBeDeletedParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void CanChatMessageBeDeletedParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.messageid_.ClearNonDefaultToEmpty();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* CanChatMessageBeDeletedParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string messageID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_messageid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* CanChatMessageBeDeletedParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string messageID = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_messageid();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
- return target;
- }
- ::size_t CanChatMessageBeDeletedParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional string messageID = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_messageid());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void CanChatMessageBeDeletedParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const CanChatMessageBeDeletedParams*>(
- &from));
- }
- void CanChatMessageBeDeletedParams::MergeFrom(const CanChatMessageBeDeletedParams& from) {
- CanChatMessageBeDeletedParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_messageid(from._internal_messageid());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void CanChatMessageBeDeletedParams::CopyFrom(const CanChatMessageBeDeletedParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool CanChatMessageBeDeletedParams::IsInitialized() const {
- return true;
- }
- void CanChatMessageBeDeletedParams::InternalSwap(CanChatMessageBeDeletedParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.messageid_, lhs_arena,
- &other->_impl_.messageid_, rhs_arena);
- }
- std::string CanChatMessageBeDeletedParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.CanChatMessageBeDeletedParams";
- }
- // ===================================================================
- class DeleteChatMessageParams::_Internal {
- public:
- using HasBits = decltype(std::declval<DeleteChatMessageParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(DeleteChatMessageParams, _impl_._has_bits_);
- static void set_has_messageid(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- DeleteChatMessageParams::DeleteChatMessageParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
- }
- DeleteChatMessageParams::DeleteChatMessageParams(const DeleteChatMessageParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- DeleteChatMessageParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.messageid_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.messageid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.messageid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.messageid_.Set(from._internal_messageid(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
- }
- inline void DeleteChatMessageParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.messageid_) {}
- };
- _impl_.messageid_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.messageid_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- DeleteChatMessageParams::~DeleteChatMessageParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void DeleteChatMessageParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.messageid_.Destroy();
- }
- void DeleteChatMessageParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void DeleteChatMessageParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.messageid_.ClearNonDefaultToEmpty();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* DeleteChatMessageParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string messageID = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_messageid();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* DeleteChatMessageParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string messageID = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_messageid();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
- return target;
- }
- ::size_t DeleteChatMessageParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional string messageID = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_messageid());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void DeleteChatMessageParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const DeleteChatMessageParams*>(
- &from));
- }
- void DeleteChatMessageParams::MergeFrom(const DeleteChatMessageParams& from) {
- DeleteChatMessageParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_messageid(from._internal_messageid());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void DeleteChatMessageParams::CopyFrom(const DeleteChatMessageParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool DeleteChatMessageParams::IsInitialized() const {
- return true;
- }
- void DeleteChatMessageParams::InternalSwap(DeleteChatMessageParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.messageid_, lhs_arena,
- &other->_impl_.messageid_, rhs_arena);
- }
- std::string DeleteChatMessageParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.DeleteChatMessageParams";
- }
- // ===================================================================
- class VBItemInfo::_Internal {
- public:
- using HasBits = decltype(std::declval<VBItemInfo>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(VBItemInfo, _impl_._has_bits_);
- static void set_has_imagefilepath(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- static void set_has_imagename(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_vbtype(HasBits* has_bits) {
- (*has_bits)[0] |= 4u;
- }
- static void set_has_canbedeleted(HasBits* has_bits) {
- (*has_bits)[0] |= 8u;
- }
- };
- VBItemInfo::VBItemInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VBItemInfo)
- }
- VBItemInfo::VBItemInfo(const VBItemInfo& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- VBItemInfo* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.imagefilepath_) {}
- , decltype(_impl_.imagename_) {}
- , decltype(_impl_.vbtype_) {}
- , decltype(_impl_.canbedeleted_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.imagefilepath_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.imagefilepath_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.imagefilepath_.Set(from._internal_imagefilepath(), _this->GetArenaForAllocation());
- }
- _impl_.imagename_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.imagename_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.imagename_.Set(from._internal_imagename(), _this->GetArenaForAllocation());
- }
- ::memcpy(&_impl_.vbtype_, &from._impl_.vbtype_,
- static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.canbedeleted_) -
- reinterpret_cast<char*>(&_impl_.vbtype_)) + sizeof(_impl_.canbedeleted_));
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VBItemInfo)
- }
- inline void VBItemInfo::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.imagefilepath_) {}
- , decltype(_impl_.imagename_) {}
- , decltype(_impl_.vbtype_) { 0 }
- , decltype(_impl_.canbedeleted_) { false }
- };
- _impl_.imagefilepath_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.imagefilepath_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.imagename_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.imagename_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- VBItemInfo::~VBItemInfo() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VBItemInfo)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void VBItemInfo::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.imagefilepath_.Destroy();
- _impl_.imagename_.Destroy();
- }
- void VBItemInfo::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void VBItemInfo::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VBItemInfo)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.imagefilepath_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- _impl_.imagename_.ClearNonDefaultToEmpty();
- }
- }
- if (cached_has_bits & 0x0000000cu) {
- ::memset(&_impl_.vbtype_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.canbedeleted_) -
- reinterpret_cast<char*>(&_impl_.vbtype_)) + sizeof(_impl_.canbedeleted_));
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* VBItemInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string imageFilePath = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_imagefilepath();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional string imageName = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
- auto str = _internal_mutable_imagename();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional int32 vbType = 3;
- case 3:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
- _Internal::set_has_vbtype(&has_bits);
- _impl_.vbtype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- // optional bool canBeDeleted = 4;
- case 4:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
- _Internal::set_has_canbedeleted(&has_bits);
- _impl_.canbedeleted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* VBItemInfo::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VBItemInfo)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string imageFilePath = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_imagefilepath();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // optional string imageName = 2;
- if (cached_has_bits & 0x00000002u) {
- const std::string& _s = this->_internal_imagename();
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- // optional int32 vbType = 3;
- if (cached_has_bits & 0x00000004u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt32ToArray(
- 3, this->_internal_vbtype(), target);
- }
- // optional bool canBeDeleted = 4;
- if (cached_has_bits & 0x00000008u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 4, this->_internal_canbedeleted(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VBItemInfo)
- return target;
- }
- ::size_t VBItemInfo::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VBItemInfo)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x0000000fu) {
- // optional string imageFilePath = 1;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_imagefilepath());
- }
- // optional string imageName = 2;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_imagename());
- }
- // optional int32 vbType = 3;
- if (cached_has_bits & 0x00000004u) {
- total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
- this->_internal_vbtype());
- }
- // optional bool canBeDeleted = 4;
- if (cached_has_bits & 0x00000008u) {
- total_size += 2;
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void VBItemInfo::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const VBItemInfo*>(
- &from));
- }
- void VBItemInfo::MergeFrom(const VBItemInfo& from) {
- VBItemInfo* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VBItemInfo)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x0000000fu) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_imagefilepath(from._internal_imagefilepath());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_set_imagename(from._internal_imagename());
- }
- if (cached_has_bits & 0x00000004u) {
- _this->_impl_.vbtype_ = from._impl_.vbtype_;
- }
- if (cached_has_bits & 0x00000008u) {
- _this->_impl_.canbedeleted_ = from._impl_.canbedeleted_;
- }
- _this->_impl_._has_bits_[0] |= cached_has_bits;
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void VBItemInfo::CopyFrom(const VBItemInfo& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VBItemInfo)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool VBItemInfo::IsInitialized() const {
- return true;
- }
- void VBItemInfo::InternalSwap(VBItemInfo* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.imagefilepath_, lhs_arena,
- &other->_impl_.imagefilepath_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.imagename_, lhs_arena,
- &other->_impl_.imagename_, rhs_arena);
- ::PROTOBUF_NAMESPACE_ID::internal::memswap<
- PROTOBUF_FIELD_OFFSET(VBItemInfo, _impl_.canbedeleted_)
- + sizeof(VBItemInfo::_impl_.canbedeleted_)
- - PROTOBUF_FIELD_OFFSET(VBItemInfo, _impl_.vbtype_)>(
- reinterpret_cast<char*>(&_impl_.vbtype_),
- reinterpret_cast<char*>(&other->_impl_.vbtype_));
- }
- std::string VBItemInfo::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.VBItemInfo";
- }
- // ===================================================================
- class VBItemHandleList::_Internal {
- public:
- };
- VBItemHandleList::VBItemHandleList(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
- }
- VBItemHandleList::VBItemHandleList(const VBItemHandleList& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- VBItemHandleList* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.vbitemhandle_) { from._impl_.vbitemhandle_ }
- , /*decltype(_impl_._cached_size_)*/{}};
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
- }
- inline void VBItemHandleList::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.vbitemhandle_) { arena }
- , /*decltype(_impl_._cached_size_)*/{}
- };
- }
- VBItemHandleList::~VBItemHandleList() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void VBItemHandleList::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.vbitemhandle_.~RepeatedField();
- }
- void VBItemHandleList::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void VBItemHandleList::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.vbitemhandle_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* VBItemHandleList::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // repeated int64 vbItemHandle = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- ptr -= 1;
- do {
- ptr += 1;
- _internal_add_vbitemhandle(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr));
- CHK_(ptr);
- if (!ctx->DataAvailable(ptr)) break;
- } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<8>(ptr));
- } else if (static_cast<::uint8_t>(tag) == 10) {
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt64Parser(_internal_mutable_vbitemhandle(), ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* VBItemHandleList::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated int64 vbItemHandle = 1;
- for (int i = 0, n = this->_internal_vbitemhandle_size(); i < n; ++i) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_vbitemhandle(i), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
- return target;
- }
- ::size_t VBItemHandleList::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // repeated int64 vbItemHandle = 1;
- {
- std::size_t data_size = ::_pbi::WireFormatLite::Int64Size(this->_impl_.vbitemhandle_)
- ;
- std::size_t tag_size = std::size_t{1} *
- ::_pbi::FromIntSize(this->_internal_vbitemhandle_size());
- ;
- total_size += tag_size + data_size;
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void VBItemHandleList::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const VBItemHandleList*>(
- &from));
- }
- void VBItemHandleList::MergeFrom(const VBItemHandleList& from) {
- VBItemHandleList* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- _this->_impl_.vbitemhandle_.MergeFrom(from._impl_.vbitemhandle_);
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void VBItemHandleList::CopyFrom(const VBItemHandleList& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.VBItemHandleList)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool VBItemHandleList::IsInitialized() const {
- return true;
- }
- void VBItemHandleList::InternalSwap(VBItemHandleList* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- _impl_.vbitemhandle_.InternalSwap(&other->_impl_.vbitemhandle_);
- }
- std::string VBItemHandleList::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.VBItemHandleList";
- }
- // ===================================================================
- class AddVirtualBackgroundItemParams::_Internal {
- public:
- using HasBits = decltype(std::declval<AddVirtualBackgroundItemParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(AddVirtualBackgroundItemParams, _impl_._has_bits_);
- static void set_has_imagepath(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- AddVirtualBackgroundItemParams::AddVirtualBackgroundItemParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
- }
- AddVirtualBackgroundItemParams::AddVirtualBackgroundItemParams(const AddVirtualBackgroundItemParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
- AddVirtualBackgroundItemParams* const _this = this; (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.imagepath_) {}
- };
- _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- _impl_.imagepath_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.imagepath_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.imagepath_.Set(from._internal_imagepath(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
- }
- inline void AddVirtualBackgroundItemParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.imagepath_) {}
- };
- _impl_.imagepath_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.imagepath_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- AddVirtualBackgroundItemParams::~AddVirtualBackgroundItemParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void AddVirtualBackgroundItemParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.imagepath_.Destroy();
- }
- void AddVirtualBackgroundItemParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void AddVirtualBackgroundItemParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- _impl_.imagepath_.ClearNonDefaultToEmpty();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* AddVirtualBackgroundItemParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional string imagePath = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
- auto str = _internal_mutable_imagepath();
- ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* AddVirtualBackgroundItemParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional string imagePath = 1;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_imagepath();
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
- return target;
- }
- ::size_t AddVirtualBackgroundItemParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional string imagePath = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
- this->_internal_imagepath());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void AddVirtualBackgroundItemParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const AddVirtualBackgroundItemParams*>(
- &from));
- }
- void AddVirtualBackgroundItemParams::MergeFrom(const AddVirtualBackgroundItemParams& from) {
- AddVirtualBackgroundItemParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_imagepath(from._internal_imagepath());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void AddVirtualBackgroundItemParams::CopyFrom(const AddVirtualBackgroundItemParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool AddVirtualBackgroundItemParams::IsInitialized() const {
- return true;
- }
- void AddVirtualBackgroundItemParams::InternalSwap(AddVirtualBackgroundItemParams* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.imagepath_, lhs_arena,
- &other->_impl_.imagepath_, rhs_arena);
- }
- std::string AddVirtualBackgroundItemParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.AddVirtualBackgroundItemParams";
- }
- // ===================================================================
- class RemoveVirtualBackgroundItemParams::_Internal {
- public:
- using HasBits = decltype(std::declval<RemoveVirtualBackgroundItemParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(RemoveVirtualBackgroundItemParams, _impl_._has_bits_);
- static void set_has_vbitemhandle(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- RemoveVirtualBackgroundItemParams::RemoveVirtualBackgroundItemParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
- }
- RemoveVirtualBackgroundItemParams::RemoveVirtualBackgroundItemParams(const RemoveVirtualBackgroundItemParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
- }
- inline void RemoveVirtualBackgroundItemParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.vbitemhandle_) { ::int64_t{0} }
- };
- }
- RemoveVirtualBackgroundItemParams::~RemoveVirtualBackgroundItemParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void RemoveVirtualBackgroundItemParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void RemoveVirtualBackgroundItemParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void RemoveVirtualBackgroundItemParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.vbitemhandle_ = ::int64_t{0};
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* RemoveVirtualBackgroundItemParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 vbItemHandle = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_vbitemhandle(&has_bits);
- _impl_.vbitemhandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* RemoveVirtualBackgroundItemParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 vbItemHandle = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_vbitemhandle(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
- return target;
- }
- ::size_t RemoveVirtualBackgroundItemParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int64 vbItemHandle = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_vbitemhandle());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void RemoveVirtualBackgroundItemParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const RemoveVirtualBackgroundItemParams*>(
- &from));
- }
- void RemoveVirtualBackgroundItemParams::MergeFrom(const RemoveVirtualBackgroundItemParams& from) {
- RemoveVirtualBackgroundItemParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_vbitemhandle(from._internal_vbitemhandle());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void RemoveVirtualBackgroundItemParams::CopyFrom(const RemoveVirtualBackgroundItemParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool RemoveVirtualBackgroundItemParams::IsInitialized() const {
- return true;
- }
- void RemoveVirtualBackgroundItemParams::InternalSwap(RemoveVirtualBackgroundItemParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.vbitemhandle_, other->_impl_.vbitemhandle_);
- }
- std::string RemoveVirtualBackgroundItemParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.RemoveVirtualBackgroundItemParams";
- }
- // ===================================================================
- class SetVirtualBackgroundItemParams::_Internal {
- public:
- using HasBits = decltype(std::declval<SetVirtualBackgroundItemParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(SetVirtualBackgroundItemParams, _impl_._has_bits_);
- static void set_has_vbitemhandle(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- SetVirtualBackgroundItemParams::SetVirtualBackgroundItemParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
- }
- SetVirtualBackgroundItemParams::SetVirtualBackgroundItemParams(const SetVirtualBackgroundItemParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
- }
- inline void SetVirtualBackgroundItemParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.vbitemhandle_) { ::int64_t{0} }
- };
- }
- SetVirtualBackgroundItemParams::~SetVirtualBackgroundItemParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void SetVirtualBackgroundItemParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void SetVirtualBackgroundItemParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void SetVirtualBackgroundItemParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.vbitemhandle_ = ::int64_t{0};
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* SetVirtualBackgroundItemParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 vbItemHandle = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_vbitemhandle(&has_bits);
- _impl_.vbitemhandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* SetVirtualBackgroundItemParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 vbItemHandle = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_vbitemhandle(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
- return target;
- }
- ::size_t SetVirtualBackgroundItemParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int64 vbItemHandle = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_vbitemhandle());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void SetVirtualBackgroundItemParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const SetVirtualBackgroundItemParams*>(
- &from));
- }
- void SetVirtualBackgroundItemParams::MergeFrom(const SetVirtualBackgroundItemParams& from) {
- SetVirtualBackgroundItemParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_vbitemhandle(from._internal_vbitemhandle());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void SetVirtualBackgroundItemParams::CopyFrom(const SetVirtualBackgroundItemParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool SetVirtualBackgroundItemParams::IsInitialized() const {
- return true;
- }
- void SetVirtualBackgroundItemParams::InternalSwap(SetVirtualBackgroundItemParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.vbitemhandle_, other->_impl_.vbitemhandle_);
- }
- std::string SetVirtualBackgroundItemParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.SetVirtualBackgroundItemParams";
- }
- // ===================================================================
- class GetVirtualBackgroundItemInfoParams::_Internal {
- public:
- using HasBits = decltype(std::declval<GetVirtualBackgroundItemInfoParams>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(GetVirtualBackgroundItemInfoParams, _impl_._has_bits_);
- static void set_has_vbitemhandle(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- GetVirtualBackgroundItemInfoParams::GetVirtualBackgroundItemInfoParams(::PROTOBUF_NAMESPACE_ID::Arena* arena)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
- }
- GetVirtualBackgroundItemInfoParams::GetVirtualBackgroundItemInfoParams(const GetVirtualBackgroundItemInfoParams& from)
- : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _impl_(from._impl_) {
- _internal_metadata_.MergeFrom<std::string>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
- }
- inline void GetVirtualBackgroundItemInfoParams::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){}
- , /*decltype(_impl_._cached_size_)*/{}
- , decltype(_impl_.vbitemhandle_) { ::int64_t{0} }
- };
- }
- GetVirtualBackgroundItemInfoParams::~GetVirtualBackgroundItemInfoParams() {
- // @@protoc_insertion_point(destructor:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
- if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
- (void)arena;
- return;
- }
- SharedDtor();
- }
- inline void GetVirtualBackgroundItemInfoParams::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- }
- void GetVirtualBackgroundItemInfoParams::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- void GetVirtualBackgroundItemInfoParams::Clear() {
- // @@protoc_insertion_point(message_clear_start:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.vbitemhandle_ = ::int64_t{0};
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<std::string>();
- }
- const char* GetVirtualBackgroundItemInfoParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- _Internal::HasBits has_bits{};
- while (!ctx->Done(&ptr)) {
- ::uint32_t tag;
- ptr = ::_pbi::ReadTag(ptr, &tag);
- switch (tag >> 3) {
- // optional int64 vbItemHandle = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
- _Internal::set_has_vbitemhandle(&has_bits);
- _impl_.vbitemhandle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
- CHK_(ptr);
- } else {
- goto handle_unusual;
- }
- continue;
- default:
- goto handle_unusual;
- } // switch
- handle_unusual:
- if ((tag == 0) || ((tag & 7) == 4)) {
- CHK_(ptr);
- ctx->SetLastTag(tag);
- goto message_done;
- }
- ptr = UnknownFieldParse(
- tag,
- _internal_metadata_.mutable_unknown_fields<std::string>(),
- ptr, ctx);
- CHK_(ptr != nullptr);
- } // while
- message_done:
- _impl_._has_bits_.Or(has_bits);
- return ptr;
- failure:
- ptr = nullptr;
- goto message_done;
- #undef CHK_
- }
- ::uint8_t* GetVirtualBackgroundItemInfoParams::_InternalSerialize(
- ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- cached_has_bits = _impl_._has_bits_[0];
- // optional int64 vbItemHandle = 1;
- if (cached_has_bits & 0x00000001u) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteInt64ToArray(
- 1, this->_internal_vbitemhandle(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
- static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
- return target;
- }
- ::size_t GetVirtualBackgroundItemInfoParams::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // optional int64 vbItemHandle = 1;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
- this->_internal_vbitemhandle());
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
- }
- int cached_size = ::_pbi::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void GetVirtualBackgroundItemInfoParams::CheckTypeAndMergeFrom(
- const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
- MergeFrom(*::_pbi::DownCast<const GetVirtualBackgroundItemInfoParams*>(
- &from));
- }
- void GetVirtualBackgroundItemInfoParams::MergeFrom(const GetVirtualBackgroundItemInfoParams& from) {
- GetVirtualBackgroundItemInfoParams* const _this = this;
- // @@protoc_insertion_point(class_specific_merge_from_start:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_set_vbitemhandle(from._internal_vbitemhandle());
- }
- _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
- }
- void GetVirtualBackgroundItemInfoParams::CopyFrom(const GetVirtualBackgroundItemInfoParams& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool GetVirtualBackgroundItemInfoParams::IsInitialized() const {
- return true;
- }
- void GetVirtualBackgroundItemInfoParams::InternalSwap(GetVirtualBackgroundItemInfoParams* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- swap(_impl_.vbitemhandle_, other->_impl_.vbitemhandle_);
- }
- std::string GetVirtualBackgroundItemInfoParams::GetTypeName() const {
- return "com.electron.zoomvideo.sdk.proto.GetVirtualBackgroundItemInfoParams";
- }
- // @@protoc_insertion_point(namespace_scope)
- } // namespace proto
- } // namespace sdk
- } // namespace zoomvideo
- } // namespace electron
- } // namespace com
- PROTOBUF_NAMESPACE_OPEN
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VideoSDKUser*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VideoSDKUser >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VideoSDKUser >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::UserList*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::UserList >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::UserList >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionAudioStatisticInfo*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionAudioStatisticInfo >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionAudioStatisticInfo >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionAudioStatisticInfoList*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionAudioStatisticInfoList >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionAudioStatisticInfoList >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionASVStatisticInfo*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionASVStatisticInfo >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionASVStatisticInfo >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionASVStatisticInfoList*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionASVStatisticInfoList >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionASVStatisticInfoList >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SDKVideoCapability*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SDKVideoCapability >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SDKVideoCapability >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SDKVideoCapabilityList*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SDKVideoCapabilityList >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SDKVideoCapabilityList >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LTTLanguage*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LTTLanguage >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LTTLanguage >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onErrorParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onErrorParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onErrorParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserJoinParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserJoinParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserJoinParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserLeaveParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserLeaveParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserLeaveParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserVideoStatusChangedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserVideoStatusChangedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserVideoStatusChangedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserAudioStatusChangedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserAudioStatusChangedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserAudioStatusChangedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserShareStatusChangedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserShareStatusChangedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserShareStatusChangedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveStreamStatusChangedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveStreamStatusChangedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveStreamStatusChangedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserHostChangedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserHostChangedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserHostChangedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserNameChangedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserNameChangedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserNameChangedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserManagerChangedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserManagerChangedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserManagerChangedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserActiveAudioChangedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserActiveAudioChangedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onUserActiveAudioChangedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatNewMessageNotifyParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatNewMessageNotifyParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatNewMessageNotifyParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatMsgDeleteNotificationParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatMsgDeleteNotificationParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onChatMsgDeleteNotificationParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onVideoSourceInitializeParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onVideoSourceInitializeParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onVideoSourceInitializeParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onPropertyChangeParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onPropertyChangeParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onPropertyChangeParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onRawDataStatusChangedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onRawDataStatusChangedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onRawDataStatusChangedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandReceivedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandReceivedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandReceivedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandChannelConnectResultParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandChannelConnectResultParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCommandChannelConnectResultParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onInviteByPhoneStatusParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onInviteByPhoneStatusParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onInviteByPhoneStatusParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCloudRecordingStatusParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCloudRecordingStatusParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCloudRecordingStatusParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestResultParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestResultParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestResultParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestReceivedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestReceivedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onCameraControlRequestReceivedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onHostAskUnmuteParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onHostAskUnmuteParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onHostAskUnmuteParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMultiCameraStreamStatusChangedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMultiCameraStreamStatusChangedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMultiCameraStreamStatusChangedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMicSpeakerVolumeChangedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMicSpeakerVolumeChangedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onMicSpeakerVolumeChangedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onAudioDeviceStatusChangedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onAudioDeviceStatusChangedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onAudioDeviceStatusChangedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onTestMicStatusChangedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onTestMicStatusChangedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onTestMicStatusChangedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onSelectedAudioDeviceChangedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onSelectedAudioDeviceChangedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onSelectedAudioDeviceChangedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionStatusParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionStatusParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionStatusParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgReceivedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgReceivedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgReceivedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgErrorParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgErrorParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_onLiveTranscriptionMsgErrorParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody_liveTranscriptionMsgInfoParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody_liveTranscriptionMsgInfoParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody_liveTranscriptionMsgInfoParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CallbackBody*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CallbackBody >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CallbackBody >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CreateVideoSDKObjParam*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CreateVideoSDKObjParam >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CreateVideoSDKObjParam >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VideoSDKInitParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VideoSDKInitParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VideoSDKInitParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionContext*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionContext >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VideoSDKSessionContext >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LeaveSessionParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LeaveSessionParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LeaveSessionParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SessionPasswordParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SessionPasswordParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SessionPasswordParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::MuteAudioParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::MuteAudioParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::MuteAudioParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::UnMuteAudioParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::UnMuteAudioParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::UnMuteAudioParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetSpeakerParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetSpeakerParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetSpeakerParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SelectSpeakerParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SelectSpeakerParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SelectSpeakerParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SelectMicParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SelectMicParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SelectMicParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SendChatToUserParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SendChatToUserParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SendChatToUserParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SendChatToAllParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SendChatToAllParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SendChatToAllParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::StartLiveStreamParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::StartLiveStreamParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::StartLiveStreamParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::StartShareViewParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::StartShareViewParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::StartShareViewParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::StartShareScreenParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::StartShareScreenParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::StartShareScreenParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LockShareParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LockShareParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LockShareParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::EnableShareDeviceAudioParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::EnableShareDeviceAudioParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::EnableShareDeviceAudioParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::EnableOptimizeForSharedVideoParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::EnableOptimizeForSharedVideoParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::EnableOptimizeForSharedVideoParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::StartShare2ndCameraParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::StartShare2ndCameraParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::StartShare2ndCameraParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SubscribeMyShareCameraParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SubscribeMyShareCameraParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SubscribeMyShareCameraParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetRemoteUsersParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetRemoteUsersParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetRemoteUsersParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetMyInfoParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetMyInfoParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetMyInfoParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::ChangeNameParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::ChangeNameParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::ChangeNameParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::MakeHostParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::MakeHostParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::MakeHostParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::MakeManagerParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::MakeManagerParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::MakeManagerParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RevokeManagerParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RevokeManagerParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RevokeManagerParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RemoveUserParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RemoveUserParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RemoveUserParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RotateMyVideoParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RotateMyVideoParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RotateMyVideoParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SelectCameraParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SelectCameraParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SelectCameraParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CreateRenderParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CreateRenderParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CreateRenderParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::DestroyRendererParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::DestroyRendererParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::DestroyRendererParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SubscribeParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SubscribeParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SubscribeParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::UnSubscribeParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::UnSubscribeParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::UnSubscribeParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SubscribeToSharedComputerAudioParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SubscribeToSharedComputerAudioParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SubscribeToSharedComputerAudioParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::UnsubscribeToSharedComputerAudioParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::UnsubscribeToSharedComputerAudioParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::UnsubscribeToSharedComputerAudioParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SubscribeMultiCameraStreamParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SubscribeMultiCameraStreamParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SubscribeMultiCameraStreamParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::UnSubscribeMultiCameraStreamParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::UnSubscribeMultiCameraStreamParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::UnSubscribeMultiCameraStreamParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetRawDataResolutionParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetRawDataResolutionParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetRawDataResolutionParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetResolutionParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetResolutionParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetResolutionParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetRawDataTypeParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetRawDataTypeParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetRawDataTypeParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::sendVideoFrameParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::sendVideoFrameParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::sendVideoFrameParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CameraInfos*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CameraInfos >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CameraInfos >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetCameraList*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetCameraList >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetCameraList >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::MultiCameraStreamInfos*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::MultiCameraStreamInfos >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::MultiCameraStreamInfos >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::MultiCameraStreamList*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::MultiCameraStreamList >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::MultiCameraStreamList >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetMultiCameraStreamList*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetMultiCameraStreamList >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetMultiCameraStreamList >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::MicInfos*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::MicInfos >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::MicInfos >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetMicList*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetMicList >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetMicList >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SpeakerInfos*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SpeakerInfos >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SpeakerInfos >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetSpeakerList*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetSpeakerList >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetSpeakerList >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SendCommandParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SendCommandParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SendCommandParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::PhoneSupportCountryInfos*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::PhoneSupportCountryInfos >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::PhoneSupportCountryInfos >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetPhoneSupportCountryList*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetPhoneSupportCountryList >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetPhoneSupportCountryList >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::InviteByPhoneParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::InviteByPhoneParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::InviteByPhoneParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnLeftParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnLeftParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnLeftParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnRightParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnRightParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnRightParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnUpParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnUpParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnUpParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnDownParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnDownParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlTurnDownParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlZoomInParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlZoomInParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlZoomInParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlZoomOutParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlZoomOutParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LocalCameraCtrlZoomOutParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RequestControlRemoteCameraParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RequestControlRemoteCameraParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RequestControlRemoteCameraParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GiveUpControlRemoteCameraParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GiveUpControlRemoteCameraParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GiveUpControlRemoteCameraParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnLeftParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnLeftParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnLeftParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnRightParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnRightParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnRightParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnUpParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnUpParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnUpParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnDownParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnDownParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlTurnDownParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlZoomInParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlZoomInParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlZoomInParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlZoomOutParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlZoomOutParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RemoteCameraCtrlZoomOutParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetVideoQualityPreferenceParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetVideoQualityPreferenceParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetVideoQualityPreferenceParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetSuppressBackgroundNoiseLevelParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetSuppressBackgroundNoiseLevelParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetSuppressBackgroundNoiseLevelParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetEchoCancellationLevelParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetEchoCancellationLevelParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetEchoCancellationLevelParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::EnableMicOriginalInputParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::EnableMicOriginalInputParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::EnableMicOriginalInputParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::EnableHighFidelityMusicModeParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::EnableHighFidelityMusicModeParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::EnableHighFidelityMusicModeParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::EnableEchoCancellationParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::EnableEchoCancellationParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::EnableEchoCancellationParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::EnableStereoAudioParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::EnableStereoAudioParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::EnableStereoAudioParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::StartMicTestRecordingParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::StartMicTestRecordingParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::StartMicTestRecordingParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::StartSpeakerTestParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::StartSpeakerTestParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::StartSpeakerTestParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetTimerIntervalParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetTimerIntervalParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetTimerIntervalParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::EnableMultiStreamVideoParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::EnableMultiStreamVideoParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::EnableMultiStreamVideoParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::DisableMultiStreamVideoParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::DisableMultiStreamVideoParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::DisableMultiStreamVideoParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::StartVideoPreviewParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::StartVideoPreviewParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::StartVideoPreviewParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::StopVideoPreviewParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::StopVideoPreviewParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::StopVideoPreviewParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetSpokenLanguageParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetSpokenLanguageParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetSpokenLanguageParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::LTTLanguagesList*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::LTTLanguagesList >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::LTTLanguagesList >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetTranslationLanguageParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetTranslationLanguageParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetTranslationLanguageParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::CanChatMessageBeDeletedParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::CanChatMessageBeDeletedParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::CanChatMessageBeDeletedParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::DeleteChatMessageParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::DeleteChatMessageParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::DeleteChatMessageParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VBItemInfo*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VBItemInfo >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VBItemInfo >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::VBItemHandleList*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::VBItemHandleList >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::VBItemHandleList >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::AddVirtualBackgroundItemParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::AddVirtualBackgroundItemParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::AddVirtualBackgroundItemParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::RemoveVirtualBackgroundItemParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::RemoveVirtualBackgroundItemParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::RemoveVirtualBackgroundItemParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::SetVirtualBackgroundItemParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::SetVirtualBackgroundItemParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::SetVirtualBackgroundItemParams >(arena);
- }
- template<> PROTOBUF_NOINLINE ::com::electron::zoomvideo::sdk::proto::GetVirtualBackgroundItemInfoParams*
- Arena::CreateMaybeMessage< ::com::electron::zoomvideo::sdk::proto::GetVirtualBackgroundItemInfoParams >(Arena* arena) {
- return Arena::CreateMessageInternal< ::com::electron::zoomvideo::sdk::proto::GetVirtualBackgroundItemInfoParams >(arena);
- }
- PROTOBUF_NAMESPACE_CLOSE
- // @@protoc_insertion_point(global_scope)
- #include "google/protobuf/port_undef.inc"
|