hth.pb.go 229 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.10
  4. // protoc v5.29.0
  5. // source: hth/api/v1/hth.proto
  6. package hthv1
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. durationpb "google.golang.org/protobuf/types/known/durationpb"
  11. timestamppb "google.golang.org/protobuf/types/known/timestamppb"
  12. reflect "reflect"
  13. sync "sync"
  14. unsafe "unsafe"
  15. )
  16. const (
  17. // Verify that this generated code is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  19. // Verify that runtime/protoimpl is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  21. )
  22. type DeviceLifecycleState int32
  23. const (
  24. DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_UNSPECIFIED DeviceLifecycleState = 0
  25. DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_STARTING DeviceLifecycleState = 1
  26. DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_CONNECTING DeviceLifecycleState = 2
  27. DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_PROBING DeviceLifecycleState = 3
  28. DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_READY DeviceLifecycleState = 4
  29. DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_DEGRADED DeviceLifecycleState = 5
  30. DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_SAFE DeviceLifecycleState = 6
  31. DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_UNAVAILABLE DeviceLifecycleState = 7
  32. DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_UNKNOWN DeviceLifecycleState = 8
  33. )
  34. // Enum value maps for DeviceLifecycleState.
  35. var (
  36. DeviceLifecycleState_name = map[int32]string{
  37. 0: "DEVICE_LIFECYCLE_STATE_UNSPECIFIED",
  38. 1: "DEVICE_LIFECYCLE_STATE_STARTING",
  39. 2: "DEVICE_LIFECYCLE_STATE_CONNECTING",
  40. 3: "DEVICE_LIFECYCLE_STATE_PROBING",
  41. 4: "DEVICE_LIFECYCLE_STATE_READY",
  42. 5: "DEVICE_LIFECYCLE_STATE_DEGRADED",
  43. 6: "DEVICE_LIFECYCLE_STATE_SAFE",
  44. 7: "DEVICE_LIFECYCLE_STATE_UNAVAILABLE",
  45. 8: "DEVICE_LIFECYCLE_STATE_UNKNOWN",
  46. }
  47. DeviceLifecycleState_value = map[string]int32{
  48. "DEVICE_LIFECYCLE_STATE_UNSPECIFIED": 0,
  49. "DEVICE_LIFECYCLE_STATE_STARTING": 1,
  50. "DEVICE_LIFECYCLE_STATE_CONNECTING": 2,
  51. "DEVICE_LIFECYCLE_STATE_PROBING": 3,
  52. "DEVICE_LIFECYCLE_STATE_READY": 4,
  53. "DEVICE_LIFECYCLE_STATE_DEGRADED": 5,
  54. "DEVICE_LIFECYCLE_STATE_SAFE": 6,
  55. "DEVICE_LIFECYCLE_STATE_UNAVAILABLE": 7,
  56. "DEVICE_LIFECYCLE_STATE_UNKNOWN": 8,
  57. }
  58. )
  59. func (x DeviceLifecycleState) Enum() *DeviceLifecycleState {
  60. p := new(DeviceLifecycleState)
  61. *p = x
  62. return p
  63. }
  64. func (x DeviceLifecycleState) String() string {
  65. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  66. }
  67. func (DeviceLifecycleState) Descriptor() protoreflect.EnumDescriptor {
  68. return file_hth_api_v1_hth_proto_enumTypes[0].Descriptor()
  69. }
  70. func (DeviceLifecycleState) Type() protoreflect.EnumType {
  71. return &file_hth_api_v1_hth_proto_enumTypes[0]
  72. }
  73. func (x DeviceLifecycleState) Number() protoreflect.EnumNumber {
  74. return protoreflect.EnumNumber(x)
  75. }
  76. // Deprecated: Use DeviceLifecycleState.Descriptor instead.
  77. func (DeviceLifecycleState) EnumDescriptor() ([]byte, []int) {
  78. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{0}
  79. }
  80. type DataQuality int32
  81. const (
  82. DataQuality_DATA_QUALITY_UNSPECIFIED DataQuality = 0
  83. DataQuality_DATA_QUALITY_VALID DataQuality = 1
  84. DataQuality_DATA_QUALITY_STALE DataQuality = 2
  85. DataQuality_DATA_QUALITY_MISSING DataQuality = 3
  86. DataQuality_DATA_QUALITY_INVALID DataQuality = 4
  87. DataQuality_DATA_QUALITY_ESTIMATED DataQuality = 5
  88. DataQuality_DATA_QUALITY_NOT_SUPPORTED DataQuality = 6
  89. DataQuality_DATA_QUALITY_UNKNOWN DataQuality = 7
  90. )
  91. // Enum value maps for DataQuality.
  92. var (
  93. DataQuality_name = map[int32]string{
  94. 0: "DATA_QUALITY_UNSPECIFIED",
  95. 1: "DATA_QUALITY_VALID",
  96. 2: "DATA_QUALITY_STALE",
  97. 3: "DATA_QUALITY_MISSING",
  98. 4: "DATA_QUALITY_INVALID",
  99. 5: "DATA_QUALITY_ESTIMATED",
  100. 6: "DATA_QUALITY_NOT_SUPPORTED",
  101. 7: "DATA_QUALITY_UNKNOWN",
  102. }
  103. DataQuality_value = map[string]int32{
  104. "DATA_QUALITY_UNSPECIFIED": 0,
  105. "DATA_QUALITY_VALID": 1,
  106. "DATA_QUALITY_STALE": 2,
  107. "DATA_QUALITY_MISSING": 3,
  108. "DATA_QUALITY_INVALID": 4,
  109. "DATA_QUALITY_ESTIMATED": 5,
  110. "DATA_QUALITY_NOT_SUPPORTED": 6,
  111. "DATA_QUALITY_UNKNOWN": 7,
  112. }
  113. )
  114. func (x DataQuality) Enum() *DataQuality {
  115. p := new(DataQuality)
  116. *p = x
  117. return p
  118. }
  119. func (x DataQuality) String() string {
  120. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  121. }
  122. func (DataQuality) Descriptor() protoreflect.EnumDescriptor {
  123. return file_hth_api_v1_hth_proto_enumTypes[1].Descriptor()
  124. }
  125. func (DataQuality) Type() protoreflect.EnumType {
  126. return &file_hth_api_v1_hth_proto_enumTypes[1]
  127. }
  128. func (x DataQuality) Number() protoreflect.EnumNumber {
  129. return protoreflect.EnumNumber(x)
  130. }
  131. // Deprecated: Use DataQuality.Descriptor instead.
  132. func (DataQuality) EnumDescriptor() ([]byte, []int) {
  133. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{1}
  134. }
  135. type ConfirmationStatus int32
  136. const (
  137. ConfirmationStatus_CONFIRMATION_STATUS_UNSPECIFIED ConfirmationStatus = 0
  138. // Hardware returned a proven execution result. Never used for SET_ALL on the
  139. // current Prod2U UART contract (no ACK).
  140. ConfirmationStatus_CONFIRMATION_STATUS_CONFIRMED ConfirmationStatus = 1
  141. // Host fully wrote the frame; device did not acknowledge.
  142. ConfirmationStatus_CONFIRMATION_STATUS_UNCONFIRMED ConfirmationStatus = 2
  143. // Short write, disconnect, or crash window; device may or may not have executed.
  144. ConfirmationStatus_CONFIRMATION_STATUS_OUTCOME_UNKNOWN ConfirmationStatus = 3
  145. ConfirmationStatus_CONFIRMATION_STATUS_REJECTED ConfirmationStatus = 4
  146. ConfirmationStatus_CONFIRMATION_STATUS_NOT_SUPPORTED ConfirmationStatus = 5
  147. // Write never started (no FD, cancelled before first byte).
  148. ConfirmationStatus_CONFIRMATION_STATUS_NOT_DELIVERED ConfirmationStatus = 6
  149. )
  150. // Enum value maps for ConfirmationStatus.
  151. var (
  152. ConfirmationStatus_name = map[int32]string{
  153. 0: "CONFIRMATION_STATUS_UNSPECIFIED",
  154. 1: "CONFIRMATION_STATUS_CONFIRMED",
  155. 2: "CONFIRMATION_STATUS_UNCONFIRMED",
  156. 3: "CONFIRMATION_STATUS_OUTCOME_UNKNOWN",
  157. 4: "CONFIRMATION_STATUS_REJECTED",
  158. 5: "CONFIRMATION_STATUS_NOT_SUPPORTED",
  159. 6: "CONFIRMATION_STATUS_NOT_DELIVERED",
  160. }
  161. ConfirmationStatus_value = map[string]int32{
  162. "CONFIRMATION_STATUS_UNSPECIFIED": 0,
  163. "CONFIRMATION_STATUS_CONFIRMED": 1,
  164. "CONFIRMATION_STATUS_UNCONFIRMED": 2,
  165. "CONFIRMATION_STATUS_OUTCOME_UNKNOWN": 3,
  166. "CONFIRMATION_STATUS_REJECTED": 4,
  167. "CONFIRMATION_STATUS_NOT_SUPPORTED": 5,
  168. "CONFIRMATION_STATUS_NOT_DELIVERED": 6,
  169. }
  170. )
  171. func (x ConfirmationStatus) Enum() *ConfirmationStatus {
  172. p := new(ConfirmationStatus)
  173. *p = x
  174. return p
  175. }
  176. func (x ConfirmationStatus) String() string {
  177. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  178. }
  179. func (ConfirmationStatus) Descriptor() protoreflect.EnumDescriptor {
  180. return file_hth_api_v1_hth_proto_enumTypes[2].Descriptor()
  181. }
  182. func (ConfirmationStatus) Type() protoreflect.EnumType {
  183. return &file_hth_api_v1_hth_proto_enumTypes[2]
  184. }
  185. func (x ConfirmationStatus) Number() protoreflect.EnumNumber {
  186. return protoreflect.EnumNumber(x)
  187. }
  188. // Deprecated: Use ConfirmationStatus.Descriptor instead.
  189. func (ConfirmationStatus) EnumDescriptor() ([]byte, []int) {
  190. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{2}
  191. }
  192. // Orthogonal to DeviceLifecycleState. Process may be SERVING while device is STARTING.
  193. type TransportState int32
  194. const (
  195. TransportState_TRANSPORT_STATE_UNSPECIFIED TransportState = 0
  196. TransportState_TRANSPORT_STATE_DISCONNECTED TransportState = 1
  197. TransportState_TRANSPORT_STATE_CONNECTING TransportState = 2
  198. TransportState_TRANSPORT_STATE_CONNECTED TransportState = 3
  199. )
  200. // Enum value maps for TransportState.
  201. var (
  202. TransportState_name = map[int32]string{
  203. 0: "TRANSPORT_STATE_UNSPECIFIED",
  204. 1: "TRANSPORT_STATE_DISCONNECTED",
  205. 2: "TRANSPORT_STATE_CONNECTING",
  206. 3: "TRANSPORT_STATE_CONNECTED",
  207. }
  208. TransportState_value = map[string]int32{
  209. "TRANSPORT_STATE_UNSPECIFIED": 0,
  210. "TRANSPORT_STATE_DISCONNECTED": 1,
  211. "TRANSPORT_STATE_CONNECTING": 2,
  212. "TRANSPORT_STATE_CONNECTED": 3,
  213. }
  214. )
  215. func (x TransportState) Enum() *TransportState {
  216. p := new(TransportState)
  217. *p = x
  218. return p
  219. }
  220. func (x TransportState) String() string {
  221. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  222. }
  223. func (TransportState) Descriptor() protoreflect.EnumDescriptor {
  224. return file_hth_api_v1_hth_proto_enumTypes[3].Descriptor()
  225. }
  226. func (TransportState) Type() protoreflect.EnumType {
  227. return &file_hth_api_v1_hth_proto_enumTypes[3]
  228. }
  229. func (x TransportState) Number() protoreflect.EnumNumber {
  230. return protoreflect.EnumNumber(x)
  231. }
  232. // Deprecated: Use TransportState.Descriptor instead.
  233. func (TransportState) EnumDescriptor() ([]byte, []int) {
  234. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{3}
  235. }
  236. type DeviceReadiness int32
  237. const (
  238. DeviceReadiness_DEVICE_READINESS_UNSPECIFIED DeviceReadiness = 0
  239. DeviceReadiness_DEVICE_READINESS_STARTING DeviceReadiness = 1
  240. DeviceReadiness_DEVICE_READINESS_PROBING DeviceReadiness = 2
  241. DeviceReadiness_DEVICE_READINESS_READY DeviceReadiness = 3
  242. DeviceReadiness_DEVICE_READINESS_DEGRADED DeviceReadiness = 4
  243. )
  244. // Enum value maps for DeviceReadiness.
  245. var (
  246. DeviceReadiness_name = map[int32]string{
  247. 0: "DEVICE_READINESS_UNSPECIFIED",
  248. 1: "DEVICE_READINESS_STARTING",
  249. 2: "DEVICE_READINESS_PROBING",
  250. 3: "DEVICE_READINESS_READY",
  251. 4: "DEVICE_READINESS_DEGRADED",
  252. }
  253. DeviceReadiness_value = map[string]int32{
  254. "DEVICE_READINESS_UNSPECIFIED": 0,
  255. "DEVICE_READINESS_STARTING": 1,
  256. "DEVICE_READINESS_PROBING": 2,
  257. "DEVICE_READINESS_READY": 3,
  258. "DEVICE_READINESS_DEGRADED": 4,
  259. }
  260. )
  261. func (x DeviceReadiness) Enum() *DeviceReadiness {
  262. p := new(DeviceReadiness)
  263. *p = x
  264. return p
  265. }
  266. func (x DeviceReadiness) String() string {
  267. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  268. }
  269. func (DeviceReadiness) Descriptor() protoreflect.EnumDescriptor {
  270. return file_hth_api_v1_hth_proto_enumTypes[4].Descriptor()
  271. }
  272. func (DeviceReadiness) Type() protoreflect.EnumType {
  273. return &file_hth_api_v1_hth_proto_enumTypes[4]
  274. }
  275. func (x DeviceReadiness) Number() protoreflect.EnumNumber {
  276. return protoreflect.EnumNumber(x)
  277. }
  278. // Deprecated: Use DeviceReadiness.Descriptor instead.
  279. func (DeviceReadiness) EnumDescriptor() ([]byte, []int) {
  280. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{4}
  281. }
  282. // Latchable host control mode. Ordinary Apply cannot exit SAFE.
  283. type SafetyControlMode int32
  284. const (
  285. SafetyControlMode_SAFETY_CONTROL_MODE_UNSPECIFIED SafetyControlMode = 0
  286. SafetyControlMode_SAFETY_CONTROL_MODE_NORMAL SafetyControlMode = 1
  287. SafetyControlMode_SAFETY_CONTROL_MODE_SAFE_PENDING SafetyControlMode = 2
  288. SafetyControlMode_SAFETY_CONTROL_MODE_SAFE SafetyControlMode = 3
  289. SafetyControlMode_SAFETY_CONTROL_MODE_RESUME_PENDING SafetyControlMode = 4
  290. )
  291. // Enum value maps for SafetyControlMode.
  292. var (
  293. SafetyControlMode_name = map[int32]string{
  294. 0: "SAFETY_CONTROL_MODE_UNSPECIFIED",
  295. 1: "SAFETY_CONTROL_MODE_NORMAL",
  296. 2: "SAFETY_CONTROL_MODE_SAFE_PENDING",
  297. 3: "SAFETY_CONTROL_MODE_SAFE",
  298. 4: "SAFETY_CONTROL_MODE_RESUME_PENDING",
  299. }
  300. SafetyControlMode_value = map[string]int32{
  301. "SAFETY_CONTROL_MODE_UNSPECIFIED": 0,
  302. "SAFETY_CONTROL_MODE_NORMAL": 1,
  303. "SAFETY_CONTROL_MODE_SAFE_PENDING": 2,
  304. "SAFETY_CONTROL_MODE_SAFE": 3,
  305. "SAFETY_CONTROL_MODE_RESUME_PENDING": 4,
  306. }
  307. )
  308. func (x SafetyControlMode) Enum() *SafetyControlMode {
  309. p := new(SafetyControlMode)
  310. *p = x
  311. return p
  312. }
  313. func (x SafetyControlMode) String() string {
  314. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  315. }
  316. func (SafetyControlMode) Descriptor() protoreflect.EnumDescriptor {
  317. return file_hth_api_v1_hth_proto_enumTypes[5].Descriptor()
  318. }
  319. func (SafetyControlMode) Type() protoreflect.EnumType {
  320. return &file_hth_api_v1_hth_proto_enumTypes[5]
  321. }
  322. func (x SafetyControlMode) Number() protoreflect.EnumNumber {
  323. return protoreflect.EnumNumber(x)
  324. }
  325. // Deprecated: Use SafetyControlMode.Descriptor instead.
  326. func (SafetyControlMode) EnumDescriptor() ([]byte, []int) {
  327. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{5}
  328. }
  329. type ActionDispatchState int32
  330. const (
  331. ActionDispatchState_ACTION_DISPATCH_STATE_UNSPECIFIED ActionDispatchState = 0
  332. ActionDispatchState_ACTION_DISPATCH_STATE_REQUESTED ActionDispatchState = 1
  333. ActionDispatchState_ACTION_DISPATCH_STATE_ACCEPTED ActionDispatchState = 2
  334. ActionDispatchState_ACTION_DISPATCH_STATE_QUEUED ActionDispatchState = 3
  335. ActionDispatchState_ACTION_DISPATCH_STATE_DISPATCH_STARTED ActionDispatchState = 4
  336. ActionDispatchState_ACTION_DISPATCH_STATE_DISPATCHED ActionDispatchState = 5
  337. ActionDispatchState_ACTION_DISPATCH_STATE_UNCONFIRMED ActionDispatchState = 6
  338. ActionDispatchState_ACTION_DISPATCH_STATE_CONFIRMED ActionDispatchState = 7
  339. ActionDispatchState_ACTION_DISPATCH_STATE_OUTCOME_UNKNOWN ActionDispatchState = 8
  340. ActionDispatchState_ACTION_DISPATCH_STATE_NOT_DELIVERED ActionDispatchState = 9
  341. ActionDispatchState_ACTION_DISPATCH_STATE_REJECTED ActionDispatchState = 10
  342. ActionDispatchState_ACTION_DISPATCH_STATE_SUPERSEDED ActionDispatchState = 11
  343. )
  344. // Enum value maps for ActionDispatchState.
  345. var (
  346. ActionDispatchState_name = map[int32]string{
  347. 0: "ACTION_DISPATCH_STATE_UNSPECIFIED",
  348. 1: "ACTION_DISPATCH_STATE_REQUESTED",
  349. 2: "ACTION_DISPATCH_STATE_ACCEPTED",
  350. 3: "ACTION_DISPATCH_STATE_QUEUED",
  351. 4: "ACTION_DISPATCH_STATE_DISPATCH_STARTED",
  352. 5: "ACTION_DISPATCH_STATE_DISPATCHED",
  353. 6: "ACTION_DISPATCH_STATE_UNCONFIRMED",
  354. 7: "ACTION_DISPATCH_STATE_CONFIRMED",
  355. 8: "ACTION_DISPATCH_STATE_OUTCOME_UNKNOWN",
  356. 9: "ACTION_DISPATCH_STATE_NOT_DELIVERED",
  357. 10: "ACTION_DISPATCH_STATE_REJECTED",
  358. 11: "ACTION_DISPATCH_STATE_SUPERSEDED",
  359. }
  360. ActionDispatchState_value = map[string]int32{
  361. "ACTION_DISPATCH_STATE_UNSPECIFIED": 0,
  362. "ACTION_DISPATCH_STATE_REQUESTED": 1,
  363. "ACTION_DISPATCH_STATE_ACCEPTED": 2,
  364. "ACTION_DISPATCH_STATE_QUEUED": 3,
  365. "ACTION_DISPATCH_STATE_DISPATCH_STARTED": 4,
  366. "ACTION_DISPATCH_STATE_DISPATCHED": 5,
  367. "ACTION_DISPATCH_STATE_UNCONFIRMED": 6,
  368. "ACTION_DISPATCH_STATE_CONFIRMED": 7,
  369. "ACTION_DISPATCH_STATE_OUTCOME_UNKNOWN": 8,
  370. "ACTION_DISPATCH_STATE_NOT_DELIVERED": 9,
  371. "ACTION_DISPATCH_STATE_REJECTED": 10,
  372. "ACTION_DISPATCH_STATE_SUPERSEDED": 11,
  373. }
  374. )
  375. func (x ActionDispatchState) Enum() *ActionDispatchState {
  376. p := new(ActionDispatchState)
  377. *p = x
  378. return p
  379. }
  380. func (x ActionDispatchState) String() string {
  381. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  382. }
  383. func (ActionDispatchState) Descriptor() protoreflect.EnumDescriptor {
  384. return file_hth_api_v1_hth_proto_enumTypes[6].Descriptor()
  385. }
  386. func (ActionDispatchState) Type() protoreflect.EnumType {
  387. return &file_hth_api_v1_hth_proto_enumTypes[6]
  388. }
  389. func (x ActionDispatchState) Number() protoreflect.EnumNumber {
  390. return protoreflect.EnumNumber(x)
  391. }
  392. // Deprecated: Use ActionDispatchState.Descriptor instead.
  393. func (ActionDispatchState) EnumDescriptor() ([]byte, []int) {
  394. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{6}
  395. }
  396. type ControlMode int32
  397. const (
  398. ControlMode_CONTROL_MODE_UNSPECIFIED ControlMode = 0
  399. ControlMode_CONTROL_MODE_JOG_ONLY ControlMode = 1
  400. ControlMode_CONTROL_MODE_PERCENT_CLOSE ControlMode = 2
  401. ControlMode_CONTROL_MODE_CONTINUOUS_DUTY ControlMode = 3
  402. )
  403. // Enum value maps for ControlMode.
  404. var (
  405. ControlMode_name = map[int32]string{
  406. 0: "CONTROL_MODE_UNSPECIFIED",
  407. 1: "CONTROL_MODE_JOG_ONLY",
  408. 2: "CONTROL_MODE_PERCENT_CLOSE",
  409. 3: "CONTROL_MODE_CONTINUOUS_DUTY",
  410. }
  411. ControlMode_value = map[string]int32{
  412. "CONTROL_MODE_UNSPECIFIED": 0,
  413. "CONTROL_MODE_JOG_ONLY": 1,
  414. "CONTROL_MODE_PERCENT_CLOSE": 2,
  415. "CONTROL_MODE_CONTINUOUS_DUTY": 3,
  416. }
  417. )
  418. func (x ControlMode) Enum() *ControlMode {
  419. p := new(ControlMode)
  420. *p = x
  421. return p
  422. }
  423. func (x ControlMode) String() string {
  424. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  425. }
  426. func (ControlMode) Descriptor() protoreflect.EnumDescriptor {
  427. return file_hth_api_v1_hth_proto_enumTypes[7].Descriptor()
  428. }
  429. func (ControlMode) Type() protoreflect.EnumType {
  430. return &file_hth_api_v1_hth_proto_enumTypes[7]
  431. }
  432. func (x ControlMode) Number() protoreflect.EnumNumber {
  433. return protoreflect.EnumNumber(x)
  434. }
  435. // Deprecated: Use ControlMode.Descriptor instead.
  436. func (ControlMode) EnumDescriptor() ([]byte, []int) {
  437. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{7}
  438. }
  439. type FeedbackMode int32
  440. const (
  441. FeedbackMode_FEEDBACK_MODE_UNSPECIFIED FeedbackMode = 0
  442. FeedbackMode_FEEDBACK_MODE_NONE FeedbackMode = 1
  443. FeedbackMode_FEEDBACK_MODE_ESTIMATED_OPEN_LOOP FeedbackMode = 2
  444. FeedbackMode_FEEDBACK_MODE_LIMIT_SWITCH FeedbackMode = 3
  445. FeedbackMode_FEEDBACK_MODE_ENCODER FeedbackMode = 4
  446. )
  447. // Enum value maps for FeedbackMode.
  448. var (
  449. FeedbackMode_name = map[int32]string{
  450. 0: "FEEDBACK_MODE_UNSPECIFIED",
  451. 1: "FEEDBACK_MODE_NONE",
  452. 2: "FEEDBACK_MODE_ESTIMATED_OPEN_LOOP",
  453. 3: "FEEDBACK_MODE_LIMIT_SWITCH",
  454. 4: "FEEDBACK_MODE_ENCODER",
  455. }
  456. FeedbackMode_value = map[string]int32{
  457. "FEEDBACK_MODE_UNSPECIFIED": 0,
  458. "FEEDBACK_MODE_NONE": 1,
  459. "FEEDBACK_MODE_ESTIMATED_OPEN_LOOP": 2,
  460. "FEEDBACK_MODE_LIMIT_SWITCH": 3,
  461. "FEEDBACK_MODE_ENCODER": 4,
  462. }
  463. )
  464. func (x FeedbackMode) Enum() *FeedbackMode {
  465. p := new(FeedbackMode)
  466. *p = x
  467. return p
  468. }
  469. func (x FeedbackMode) String() string {
  470. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  471. }
  472. func (FeedbackMode) Descriptor() protoreflect.EnumDescriptor {
  473. return file_hth_api_v1_hth_proto_enumTypes[8].Descriptor()
  474. }
  475. func (FeedbackMode) Type() protoreflect.EnumType {
  476. return &file_hth_api_v1_hth_proto_enumTypes[8]
  477. }
  478. func (x FeedbackMode) Number() protoreflect.EnumNumber {
  479. return protoreflect.EnumNumber(x)
  480. }
  481. // Deprecated: Use FeedbackMode.Descriptor instead.
  482. func (FeedbackMode) EnumDescriptor() ([]byte, []int) {
  483. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{8}
  484. }
  485. type ActuatorKind int32
  486. const (
  487. ActuatorKind_ACTUATOR_KIND_UNSPECIFIED ActuatorKind = 0
  488. ActuatorKind_ACTUATOR_KIND_FAN ActuatorKind = 1
  489. ActuatorKind_ACTUATOR_KIND_HEATER ActuatorKind = 2
  490. ActuatorKind_ACTUATOR_KIND_DOOR ActuatorKind = 3
  491. )
  492. // Enum value maps for ActuatorKind.
  493. var (
  494. ActuatorKind_name = map[int32]string{
  495. 0: "ACTUATOR_KIND_UNSPECIFIED",
  496. 1: "ACTUATOR_KIND_FAN",
  497. 2: "ACTUATOR_KIND_HEATER",
  498. 3: "ACTUATOR_KIND_DOOR",
  499. }
  500. ActuatorKind_value = map[string]int32{
  501. "ACTUATOR_KIND_UNSPECIFIED": 0,
  502. "ACTUATOR_KIND_FAN": 1,
  503. "ACTUATOR_KIND_HEATER": 2,
  504. "ACTUATOR_KIND_DOOR": 3,
  505. }
  506. )
  507. func (x ActuatorKind) Enum() *ActuatorKind {
  508. p := new(ActuatorKind)
  509. *p = x
  510. return p
  511. }
  512. func (x ActuatorKind) String() string {
  513. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  514. }
  515. func (ActuatorKind) Descriptor() protoreflect.EnumDescriptor {
  516. return file_hth_api_v1_hth_proto_enumTypes[9].Descriptor()
  517. }
  518. func (ActuatorKind) Type() protoreflect.EnumType {
  519. return &file_hth_api_v1_hth_proto_enumTypes[9]
  520. }
  521. func (x ActuatorKind) Number() protoreflect.EnumNumber {
  522. return protoreflect.EnumNumber(x)
  523. }
  524. // Deprecated: Use ActuatorKind.Descriptor instead.
  525. func (ActuatorKind) EnumDescriptor() ([]byte, []int) {
  526. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{9}
  527. }
  528. type SensorKind int32
  529. const (
  530. SensorKind_SENSOR_KIND_UNSPECIFIED SensorKind = 0
  531. SensorKind_SENSOR_KIND_TEMPERATURE SensorKind = 1
  532. SensorKind_SENSOR_KIND_LIMIT_SWITCH SensorKind = 2
  533. SensorKind_SENSOR_KIND_ESTIMATED_POSITION SensorKind = 3
  534. )
  535. // Enum value maps for SensorKind.
  536. var (
  537. SensorKind_name = map[int32]string{
  538. 0: "SENSOR_KIND_UNSPECIFIED",
  539. 1: "SENSOR_KIND_TEMPERATURE",
  540. 2: "SENSOR_KIND_LIMIT_SWITCH",
  541. 3: "SENSOR_KIND_ESTIMATED_POSITION",
  542. }
  543. SensorKind_value = map[string]int32{
  544. "SENSOR_KIND_UNSPECIFIED": 0,
  545. "SENSOR_KIND_TEMPERATURE": 1,
  546. "SENSOR_KIND_LIMIT_SWITCH": 2,
  547. "SENSOR_KIND_ESTIMATED_POSITION": 3,
  548. }
  549. )
  550. func (x SensorKind) Enum() *SensorKind {
  551. p := new(SensorKind)
  552. *p = x
  553. return p
  554. }
  555. func (x SensorKind) String() string {
  556. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  557. }
  558. func (SensorKind) Descriptor() protoreflect.EnumDescriptor {
  559. return file_hth_api_v1_hth_proto_enumTypes[10].Descriptor()
  560. }
  561. func (SensorKind) Type() protoreflect.EnumType {
  562. return &file_hth_api_v1_hth_proto_enumTypes[10]
  563. }
  564. func (x SensorKind) Number() protoreflect.EnumNumber {
  565. return protoreflect.EnumNumber(x)
  566. }
  567. // Deprecated: Use SensorKind.Descriptor instead.
  568. func (SensorKind) EnumDescriptor() ([]byte, []int) {
  569. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{10}
  570. }
  571. type FaultSeverity int32
  572. const (
  573. FaultSeverity_FAULT_SEVERITY_UNSPECIFIED FaultSeverity = 0
  574. FaultSeverity_FAULT_SEVERITY_INFO FaultSeverity = 1
  575. FaultSeverity_FAULT_SEVERITY_WARNING FaultSeverity = 2
  576. FaultSeverity_FAULT_SEVERITY_ERROR FaultSeverity = 3
  577. FaultSeverity_FAULT_SEVERITY_CRITICAL FaultSeverity = 4
  578. )
  579. // Enum value maps for FaultSeverity.
  580. var (
  581. FaultSeverity_name = map[int32]string{
  582. 0: "FAULT_SEVERITY_UNSPECIFIED",
  583. 1: "FAULT_SEVERITY_INFO",
  584. 2: "FAULT_SEVERITY_WARNING",
  585. 3: "FAULT_SEVERITY_ERROR",
  586. 4: "FAULT_SEVERITY_CRITICAL",
  587. }
  588. FaultSeverity_value = map[string]int32{
  589. "FAULT_SEVERITY_UNSPECIFIED": 0,
  590. "FAULT_SEVERITY_INFO": 1,
  591. "FAULT_SEVERITY_WARNING": 2,
  592. "FAULT_SEVERITY_ERROR": 3,
  593. "FAULT_SEVERITY_CRITICAL": 4,
  594. }
  595. )
  596. func (x FaultSeverity) Enum() *FaultSeverity {
  597. p := new(FaultSeverity)
  598. *p = x
  599. return p
  600. }
  601. func (x FaultSeverity) String() string {
  602. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  603. }
  604. func (FaultSeverity) Descriptor() protoreflect.EnumDescriptor {
  605. return file_hth_api_v1_hth_proto_enumTypes[11].Descriptor()
  606. }
  607. func (FaultSeverity) Type() protoreflect.EnumType {
  608. return &file_hth_api_v1_hth_proto_enumTypes[11]
  609. }
  610. func (x FaultSeverity) Number() protoreflect.EnumNumber {
  611. return protoreflect.EnumNumber(x)
  612. }
  613. // Deprecated: Use FaultSeverity.Descriptor instead.
  614. func (FaultSeverity) EnumDescriptor() ([]byte, []int) {
  615. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{11}
  616. }
  617. type FaultClass int32
  618. const (
  619. FaultClass_FAULT_CLASS_UNSPECIFIED FaultClass = 0
  620. FaultClass_FAULT_CLASS_DEVICE_REPORTED FaultClass = 1
  621. FaultClass_FAULT_CLASS_HOST_INFERRED FaultClass = 2
  622. FaultClass_FAULT_CLASS_CONFIG FaultClass = 3
  623. FaultClass_FAULT_CLASS_COMMUNICATION FaultClass = 4
  624. FaultClass_FAULT_CLASS_DATA_QUALITY FaultClass = 5
  625. )
  626. // Enum value maps for FaultClass.
  627. var (
  628. FaultClass_name = map[int32]string{
  629. 0: "FAULT_CLASS_UNSPECIFIED",
  630. 1: "FAULT_CLASS_DEVICE_REPORTED",
  631. 2: "FAULT_CLASS_HOST_INFERRED",
  632. 3: "FAULT_CLASS_CONFIG",
  633. 4: "FAULT_CLASS_COMMUNICATION",
  634. 5: "FAULT_CLASS_DATA_QUALITY",
  635. }
  636. FaultClass_value = map[string]int32{
  637. "FAULT_CLASS_UNSPECIFIED": 0,
  638. "FAULT_CLASS_DEVICE_REPORTED": 1,
  639. "FAULT_CLASS_HOST_INFERRED": 2,
  640. "FAULT_CLASS_CONFIG": 3,
  641. "FAULT_CLASS_COMMUNICATION": 4,
  642. "FAULT_CLASS_DATA_QUALITY": 5,
  643. }
  644. )
  645. func (x FaultClass) Enum() *FaultClass {
  646. p := new(FaultClass)
  647. *p = x
  648. return p
  649. }
  650. func (x FaultClass) String() string {
  651. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  652. }
  653. func (FaultClass) Descriptor() protoreflect.EnumDescriptor {
  654. return file_hth_api_v1_hth_proto_enumTypes[12].Descriptor()
  655. }
  656. func (FaultClass) Type() protoreflect.EnumType {
  657. return &file_hth_api_v1_hth_proto_enumTypes[12]
  658. }
  659. func (x FaultClass) Number() protoreflect.EnumNumber {
  660. return protoreflect.EnumNumber(x)
  661. }
  662. // Deprecated: Use FaultClass.Descriptor instead.
  663. func (FaultClass) EnumDescriptor() ([]byte, []int) {
  664. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{12}
  665. }
  666. type FaultType int32
  667. const (
  668. FaultType_FAULT_TYPE_UNSPECIFIED FaultType = 0
  669. FaultType_FAULT_TYPE_CONFIG_INVALID FaultType = 1
  670. FaultType_FAULT_TYPE_PROFILE_INVALID FaultType = 2
  671. FaultType_FAULT_TYPE_PROFILE_CONTRACT_MISMATCH FaultType = 3
  672. FaultType_FAULT_TYPE_SERIAL_DEVICE_NOT_FOUND FaultType = 4
  673. FaultType_FAULT_TYPE_SERIAL_PERMISSION_DENIED FaultType = 5
  674. FaultType_FAULT_TYPE_SERIAL_DISCONNECTED FaultType = 6
  675. FaultType_FAULT_TYPE_SERIAL_RECONNECTING FaultType = 7
  676. FaultType_FAULT_TYPE_FRAME_LENGTH_INVALID FaultType = 8
  677. FaultType_FAULT_TYPE_FRAME_CRC_INVALID FaultType = 9
  678. FaultType_FAULT_TYPE_FRAME_TYPE_UNKNOWN FaultType = 10
  679. FaultType_FAULT_TYPE_RESPONSE_TIMEOUT FaultType = 11
  680. FaultType_FAULT_TYPE_TEMPERATURE_DATA_INVALID FaultType = 12
  681. FaultType_FAULT_TYPE_TELEMETRY_STALE FaultType = 13
  682. FaultType_FAULT_TYPE_CONTROL_LEASE_EXPIRED FaultType = 14
  683. FaultType_FAULT_TYPE_CONTROL_COMMAND_REJECTED FaultType = 15
  684. FaultType_FAULT_TYPE_CONTROL_OUTCOME_UNKNOWN FaultType = 16
  685. FaultType_FAULT_TYPE_SAFE_ACTION_NOT_DELIVERED FaultType = 17
  686. FaultType_FAULT_TYPE_SUBSCRIBER_DATA_GAP FaultType = 18
  687. FaultType_FAULT_TYPE_DEVICE_AXIS_FAULT FaultType = 19
  688. FaultType_FAULT_TYPE_WATCHDOG_TRIPPED FaultType = 20
  689. )
  690. // Enum value maps for FaultType.
  691. var (
  692. FaultType_name = map[int32]string{
  693. 0: "FAULT_TYPE_UNSPECIFIED",
  694. 1: "FAULT_TYPE_CONFIG_INVALID",
  695. 2: "FAULT_TYPE_PROFILE_INVALID",
  696. 3: "FAULT_TYPE_PROFILE_CONTRACT_MISMATCH",
  697. 4: "FAULT_TYPE_SERIAL_DEVICE_NOT_FOUND",
  698. 5: "FAULT_TYPE_SERIAL_PERMISSION_DENIED",
  699. 6: "FAULT_TYPE_SERIAL_DISCONNECTED",
  700. 7: "FAULT_TYPE_SERIAL_RECONNECTING",
  701. 8: "FAULT_TYPE_FRAME_LENGTH_INVALID",
  702. 9: "FAULT_TYPE_FRAME_CRC_INVALID",
  703. 10: "FAULT_TYPE_FRAME_TYPE_UNKNOWN",
  704. 11: "FAULT_TYPE_RESPONSE_TIMEOUT",
  705. 12: "FAULT_TYPE_TEMPERATURE_DATA_INVALID",
  706. 13: "FAULT_TYPE_TELEMETRY_STALE",
  707. 14: "FAULT_TYPE_CONTROL_LEASE_EXPIRED",
  708. 15: "FAULT_TYPE_CONTROL_COMMAND_REJECTED",
  709. 16: "FAULT_TYPE_CONTROL_OUTCOME_UNKNOWN",
  710. 17: "FAULT_TYPE_SAFE_ACTION_NOT_DELIVERED",
  711. 18: "FAULT_TYPE_SUBSCRIBER_DATA_GAP",
  712. 19: "FAULT_TYPE_DEVICE_AXIS_FAULT",
  713. 20: "FAULT_TYPE_WATCHDOG_TRIPPED",
  714. }
  715. FaultType_value = map[string]int32{
  716. "FAULT_TYPE_UNSPECIFIED": 0,
  717. "FAULT_TYPE_CONFIG_INVALID": 1,
  718. "FAULT_TYPE_PROFILE_INVALID": 2,
  719. "FAULT_TYPE_PROFILE_CONTRACT_MISMATCH": 3,
  720. "FAULT_TYPE_SERIAL_DEVICE_NOT_FOUND": 4,
  721. "FAULT_TYPE_SERIAL_PERMISSION_DENIED": 5,
  722. "FAULT_TYPE_SERIAL_DISCONNECTED": 6,
  723. "FAULT_TYPE_SERIAL_RECONNECTING": 7,
  724. "FAULT_TYPE_FRAME_LENGTH_INVALID": 8,
  725. "FAULT_TYPE_FRAME_CRC_INVALID": 9,
  726. "FAULT_TYPE_FRAME_TYPE_UNKNOWN": 10,
  727. "FAULT_TYPE_RESPONSE_TIMEOUT": 11,
  728. "FAULT_TYPE_TEMPERATURE_DATA_INVALID": 12,
  729. "FAULT_TYPE_TELEMETRY_STALE": 13,
  730. "FAULT_TYPE_CONTROL_LEASE_EXPIRED": 14,
  731. "FAULT_TYPE_CONTROL_COMMAND_REJECTED": 15,
  732. "FAULT_TYPE_CONTROL_OUTCOME_UNKNOWN": 16,
  733. "FAULT_TYPE_SAFE_ACTION_NOT_DELIVERED": 17,
  734. "FAULT_TYPE_SUBSCRIBER_DATA_GAP": 18,
  735. "FAULT_TYPE_DEVICE_AXIS_FAULT": 19,
  736. "FAULT_TYPE_WATCHDOG_TRIPPED": 20,
  737. }
  738. )
  739. func (x FaultType) Enum() *FaultType {
  740. p := new(FaultType)
  741. *p = x
  742. return p
  743. }
  744. func (x FaultType) String() string {
  745. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  746. }
  747. func (FaultType) Descriptor() protoreflect.EnumDescriptor {
  748. return file_hth_api_v1_hth_proto_enumTypes[13].Descriptor()
  749. }
  750. func (FaultType) Type() protoreflect.EnumType {
  751. return &file_hth_api_v1_hth_proto_enumTypes[13]
  752. }
  753. func (x FaultType) Number() protoreflect.EnumNumber {
  754. return protoreflect.EnumNumber(x)
  755. }
  756. // Deprecated: Use FaultType.Descriptor instead.
  757. func (FaultType) EnumDescriptor() ([]byte, []int) {
  758. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{13}
  759. }
  760. type EventKind int32
  761. const (
  762. EventKind_EVENT_KIND_UNSPECIFIED EventKind = 0
  763. EventKind_EVENT_KIND_SNAPSHOT EventKind = 1
  764. EventKind_EVENT_KIND_FAULT_RAISED EventKind = 2
  765. EventKind_EVENT_KIND_FAULT_CLEARED EventKind = 3
  766. EventKind_EVENT_KIND_LEASE_ACQUIRED EventKind = 4
  767. EventKind_EVENT_KIND_LEASE_RENEWED EventKind = 5
  768. EventKind_EVENT_KIND_LEASE_RELEASED EventKind = 6
  769. EventKind_EVENT_KIND_LEASE_EXPIRED EventKind = 7
  770. EventKind_EVENT_KIND_DEVICE_EPOCH_CHANGED EventKind = 8
  771. EventKind_EVENT_KIND_DATA_GAP EventKind = 9
  772. EventKind_EVENT_KIND_SAFE_MODE_ENTERED EventKind = 10
  773. EventKind_EVENT_KIND_WATCHDOG_HEARTBEAT EventKind = 11
  774. EventKind_EVENT_KIND_ACTION_RESULT EventKind = 12
  775. EventKind_EVENT_KIND_BACKEND_STATE EventKind = 13
  776. EventKind_EVENT_KIND_FAULT_UPDATED EventKind = 14
  777. EventKind_EVENT_KIND_FAULT_ACKNOWLEDGED EventKind = 15
  778. EventKind_EVENT_KIND_SAFETY_MODE_CHANGED EventKind = 16
  779. EventKind_EVENT_KIND_RESUME_FROM_SAFE EventKind = 17
  780. )
  781. // Enum value maps for EventKind.
  782. var (
  783. EventKind_name = map[int32]string{
  784. 0: "EVENT_KIND_UNSPECIFIED",
  785. 1: "EVENT_KIND_SNAPSHOT",
  786. 2: "EVENT_KIND_FAULT_RAISED",
  787. 3: "EVENT_KIND_FAULT_CLEARED",
  788. 4: "EVENT_KIND_LEASE_ACQUIRED",
  789. 5: "EVENT_KIND_LEASE_RENEWED",
  790. 6: "EVENT_KIND_LEASE_RELEASED",
  791. 7: "EVENT_KIND_LEASE_EXPIRED",
  792. 8: "EVENT_KIND_DEVICE_EPOCH_CHANGED",
  793. 9: "EVENT_KIND_DATA_GAP",
  794. 10: "EVENT_KIND_SAFE_MODE_ENTERED",
  795. 11: "EVENT_KIND_WATCHDOG_HEARTBEAT",
  796. 12: "EVENT_KIND_ACTION_RESULT",
  797. 13: "EVENT_KIND_BACKEND_STATE",
  798. 14: "EVENT_KIND_FAULT_UPDATED",
  799. 15: "EVENT_KIND_FAULT_ACKNOWLEDGED",
  800. 16: "EVENT_KIND_SAFETY_MODE_CHANGED",
  801. 17: "EVENT_KIND_RESUME_FROM_SAFE",
  802. }
  803. EventKind_value = map[string]int32{
  804. "EVENT_KIND_UNSPECIFIED": 0,
  805. "EVENT_KIND_SNAPSHOT": 1,
  806. "EVENT_KIND_FAULT_RAISED": 2,
  807. "EVENT_KIND_FAULT_CLEARED": 3,
  808. "EVENT_KIND_LEASE_ACQUIRED": 4,
  809. "EVENT_KIND_LEASE_RENEWED": 5,
  810. "EVENT_KIND_LEASE_RELEASED": 6,
  811. "EVENT_KIND_LEASE_EXPIRED": 7,
  812. "EVENT_KIND_DEVICE_EPOCH_CHANGED": 8,
  813. "EVENT_KIND_DATA_GAP": 9,
  814. "EVENT_KIND_SAFE_MODE_ENTERED": 10,
  815. "EVENT_KIND_WATCHDOG_HEARTBEAT": 11,
  816. "EVENT_KIND_ACTION_RESULT": 12,
  817. "EVENT_KIND_BACKEND_STATE": 13,
  818. "EVENT_KIND_FAULT_UPDATED": 14,
  819. "EVENT_KIND_FAULT_ACKNOWLEDGED": 15,
  820. "EVENT_KIND_SAFETY_MODE_CHANGED": 16,
  821. "EVENT_KIND_RESUME_FROM_SAFE": 17,
  822. }
  823. )
  824. func (x EventKind) Enum() *EventKind {
  825. p := new(EventKind)
  826. *p = x
  827. return p
  828. }
  829. func (x EventKind) String() string {
  830. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  831. }
  832. func (EventKind) Descriptor() protoreflect.EnumDescriptor {
  833. return file_hth_api_v1_hth_proto_enumTypes[14].Descriptor()
  834. }
  835. func (EventKind) Type() protoreflect.EnumType {
  836. return &file_hth_api_v1_hth_proto_enumTypes[14]
  837. }
  838. func (x EventKind) Number() protoreflect.EnumNumber {
  839. return protoreflect.EnumNumber(x)
  840. }
  841. // Deprecated: Use EventKind.Descriptor instead.
  842. func (EventKind) EnumDescriptor() ([]byte, []int) {
  843. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{14}
  844. }
  845. type HostHealth int32
  846. const (
  847. HostHealth_HOST_HEALTH_UNSPECIFIED HostHealth = 0
  848. HostHealth_HOST_HEALTH_SERVING HostHealth = 1
  849. HostHealth_HOST_HEALTH_NOT_SERVING HostHealth = 2
  850. HostHealth_HOST_HEALTH_DEGRADED HostHealth = 3
  851. )
  852. // Enum value maps for HostHealth.
  853. var (
  854. HostHealth_name = map[int32]string{
  855. 0: "HOST_HEALTH_UNSPECIFIED",
  856. 1: "HOST_HEALTH_SERVING",
  857. 2: "HOST_HEALTH_NOT_SERVING",
  858. 3: "HOST_HEALTH_DEGRADED",
  859. }
  860. HostHealth_value = map[string]int32{
  861. "HOST_HEALTH_UNSPECIFIED": 0,
  862. "HOST_HEALTH_SERVING": 1,
  863. "HOST_HEALTH_NOT_SERVING": 2,
  864. "HOST_HEALTH_DEGRADED": 3,
  865. }
  866. )
  867. func (x HostHealth) Enum() *HostHealth {
  868. p := new(HostHealth)
  869. *p = x
  870. return p
  871. }
  872. func (x HostHealth) String() string {
  873. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  874. }
  875. func (HostHealth) Descriptor() protoreflect.EnumDescriptor {
  876. return file_hth_api_v1_hth_proto_enumTypes[15].Descriptor()
  877. }
  878. func (HostHealth) Type() protoreflect.EnumType {
  879. return &file_hth_api_v1_hth_proto_enumTypes[15]
  880. }
  881. func (x HostHealth) Number() protoreflect.EnumNumber {
  882. return protoreflect.EnumNumber(x)
  883. }
  884. // Deprecated: Use HostHealth.Descriptor instead.
  885. func (HostHealth) EnumDescriptor() ([]byte, []int) {
  886. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{15}
  887. }
  888. type ActionMode int32
  889. const (
  890. ActionMode_ACTION_MODE_UNSPECIFIED ActionMode = 0
  891. ActionMode_ACTION_MODE_NORMAL ActionMode = 1
  892. ActionMode_ACTION_MODE_SAFE ActionMode = 2
  893. ActionMode_ACTION_MODE_HEARTBEAT ActionMode = 3
  894. )
  895. // Enum value maps for ActionMode.
  896. var (
  897. ActionMode_name = map[int32]string{
  898. 0: "ACTION_MODE_UNSPECIFIED",
  899. 1: "ACTION_MODE_NORMAL",
  900. 2: "ACTION_MODE_SAFE",
  901. 3: "ACTION_MODE_HEARTBEAT",
  902. }
  903. ActionMode_value = map[string]int32{
  904. "ACTION_MODE_UNSPECIFIED": 0,
  905. "ACTION_MODE_NORMAL": 1,
  906. "ACTION_MODE_SAFE": 2,
  907. "ACTION_MODE_HEARTBEAT": 3,
  908. }
  909. )
  910. func (x ActionMode) Enum() *ActionMode {
  911. p := new(ActionMode)
  912. *p = x
  913. return p
  914. }
  915. func (x ActionMode) String() string {
  916. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  917. }
  918. func (ActionMode) Descriptor() protoreflect.EnumDescriptor {
  919. return file_hth_api_v1_hth_proto_enumTypes[16].Descriptor()
  920. }
  921. func (ActionMode) Type() protoreflect.EnumType {
  922. return &file_hth_api_v1_hth_proto_enumTypes[16]
  923. }
  924. func (x ActionMode) Number() protoreflect.EnumNumber {
  925. return protoreflect.EnumNumber(x)
  926. }
  927. // Deprecated: Use ActionMode.Descriptor instead.
  928. func (ActionMode) EnumDescriptor() ([]byte, []int) {
  929. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{16}
  930. }
  931. type RejectReason int32
  932. const (
  933. RejectReason_REJECT_REASON_UNSPECIFIED RejectReason = 0
  934. RejectReason_REJECT_REASON_INVALID_ARGUMENT RejectReason = 1
  935. RejectReason_REJECT_REASON_UNKNOWN_ID RejectReason = 2
  936. RejectReason_REJECT_REASON_NOT_SUPPORTED RejectReason = 3
  937. RejectReason_REJECT_REASON_OUT_OF_RANGE RejectReason = 4
  938. RejectReason_REJECT_REASON_CLAMP_REQUIRED RejectReason = 5
  939. RejectReason_REJECT_REASON_LEASE_MISSING RejectReason = 6
  940. RejectReason_REJECT_REASON_LEASE_MISMATCH RejectReason = 7
  941. RejectReason_REJECT_REASON_LEASE_EXPIRED RejectReason = 8
  942. RejectReason_REJECT_REASON_STALE_SNAPSHOT RejectReason = 9
  943. RejectReason_REJECT_REASON_STALE_CONTROL_REVISION RejectReason = 10
  944. RejectReason_REJECT_REASON_EXPIRED_DEADLINE RejectReason = 11
  945. RejectReason_REJECT_REASON_IDEMPOTENCY_CONFLICT RejectReason = 12
  946. RejectReason_REJECT_REASON_DEVICE_NOT_READY RejectReason = 13
  947. RejectReason_REJECT_REASON_QUEUE_FULL RejectReason = 14
  948. RejectReason_REJECT_REASON_ATOMIC_BATCH_FAILED RejectReason = 15
  949. RejectReason_REJECT_REASON_SLEW_LIMITED RejectReason = 16
  950. RejectReason_REJECT_REASON_SAFE_MODE_ACTIVE RejectReason = 17
  951. RejectReason_REJECT_REASON_RESUME_REQUIRED RejectReason = 18
  952. RejectReason_REJECT_REASON_PARTIAL_NOT_ALLOWED RejectReason = 19
  953. RejectReason_REJECT_REASON_SUPERSEDED RejectReason = 20
  954. RejectReason_REJECT_REASON_SUPERSEDED_BY_SHUTDOWN RejectReason = 21
  955. )
  956. // Enum value maps for RejectReason.
  957. var (
  958. RejectReason_name = map[int32]string{
  959. 0: "REJECT_REASON_UNSPECIFIED",
  960. 1: "REJECT_REASON_INVALID_ARGUMENT",
  961. 2: "REJECT_REASON_UNKNOWN_ID",
  962. 3: "REJECT_REASON_NOT_SUPPORTED",
  963. 4: "REJECT_REASON_OUT_OF_RANGE",
  964. 5: "REJECT_REASON_CLAMP_REQUIRED",
  965. 6: "REJECT_REASON_LEASE_MISSING",
  966. 7: "REJECT_REASON_LEASE_MISMATCH",
  967. 8: "REJECT_REASON_LEASE_EXPIRED",
  968. 9: "REJECT_REASON_STALE_SNAPSHOT",
  969. 10: "REJECT_REASON_STALE_CONTROL_REVISION",
  970. 11: "REJECT_REASON_EXPIRED_DEADLINE",
  971. 12: "REJECT_REASON_IDEMPOTENCY_CONFLICT",
  972. 13: "REJECT_REASON_DEVICE_NOT_READY",
  973. 14: "REJECT_REASON_QUEUE_FULL",
  974. 15: "REJECT_REASON_ATOMIC_BATCH_FAILED",
  975. 16: "REJECT_REASON_SLEW_LIMITED",
  976. 17: "REJECT_REASON_SAFE_MODE_ACTIVE",
  977. 18: "REJECT_REASON_RESUME_REQUIRED",
  978. 19: "REJECT_REASON_PARTIAL_NOT_ALLOWED",
  979. 20: "REJECT_REASON_SUPERSEDED",
  980. 21: "REJECT_REASON_SUPERSEDED_BY_SHUTDOWN",
  981. }
  982. RejectReason_value = map[string]int32{
  983. "REJECT_REASON_UNSPECIFIED": 0,
  984. "REJECT_REASON_INVALID_ARGUMENT": 1,
  985. "REJECT_REASON_UNKNOWN_ID": 2,
  986. "REJECT_REASON_NOT_SUPPORTED": 3,
  987. "REJECT_REASON_OUT_OF_RANGE": 4,
  988. "REJECT_REASON_CLAMP_REQUIRED": 5,
  989. "REJECT_REASON_LEASE_MISSING": 6,
  990. "REJECT_REASON_LEASE_MISMATCH": 7,
  991. "REJECT_REASON_LEASE_EXPIRED": 8,
  992. "REJECT_REASON_STALE_SNAPSHOT": 9,
  993. "REJECT_REASON_STALE_CONTROL_REVISION": 10,
  994. "REJECT_REASON_EXPIRED_DEADLINE": 11,
  995. "REJECT_REASON_IDEMPOTENCY_CONFLICT": 12,
  996. "REJECT_REASON_DEVICE_NOT_READY": 13,
  997. "REJECT_REASON_QUEUE_FULL": 14,
  998. "REJECT_REASON_ATOMIC_BATCH_FAILED": 15,
  999. "REJECT_REASON_SLEW_LIMITED": 16,
  1000. "REJECT_REASON_SAFE_MODE_ACTIVE": 17,
  1001. "REJECT_REASON_RESUME_REQUIRED": 18,
  1002. "REJECT_REASON_PARTIAL_NOT_ALLOWED": 19,
  1003. "REJECT_REASON_SUPERSEDED": 20,
  1004. "REJECT_REASON_SUPERSEDED_BY_SHUTDOWN": 21,
  1005. }
  1006. )
  1007. func (x RejectReason) Enum() *RejectReason {
  1008. p := new(RejectReason)
  1009. *p = x
  1010. return p
  1011. }
  1012. func (x RejectReason) String() string {
  1013. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  1014. }
  1015. func (RejectReason) Descriptor() protoreflect.EnumDescriptor {
  1016. return file_hth_api_v1_hth_proto_enumTypes[17].Descriptor()
  1017. }
  1018. func (RejectReason) Type() protoreflect.EnumType {
  1019. return &file_hth_api_v1_hth_proto_enumTypes[17]
  1020. }
  1021. func (x RejectReason) Number() protoreflect.EnumNumber {
  1022. return protoreflect.EnumNumber(x)
  1023. }
  1024. // Deprecated: Use RejectReason.Descriptor instead.
  1025. func (RejectReason) EnumDescriptor() ([]byte, []int) {
  1026. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{17}
  1027. }
  1028. type Measurement struct {
  1029. state protoimpl.MessageState `protogen:"open.v1"`
  1030. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  1031. Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
  1032. Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"`
  1033. Quality DataQuality `protobuf:"varint,4,opt,name=quality,proto3,enum=hth.api.v1.DataQuality" json:"quality,omitempty"`
  1034. QualityReason string `protobuf:"bytes,5,opt,name=quality_reason,json=qualityReason,proto3" json:"quality_reason,omitempty"`
  1035. Age *durationpb.Duration `protobuf:"bytes,6,opt,name=age,proto3" json:"age,omitempty"`
  1036. HostTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=host_time,json=hostTime,proto3" json:"host_time,omitempty"`
  1037. SourceTimestampAvailable bool `protobuf:"varint,8,opt,name=source_timestamp_available,json=sourceTimestampAvailable,proto3" json:"source_timestamp_available,omitempty"`
  1038. SourceTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=source_time,json=sourceTime,proto3" json:"source_time,omitempty"`
  1039. RawCode *int32 `protobuf:"varint,10,opt,name=raw_code,json=rawCode,proto3,oneof" json:"raw_code,omitempty"`
  1040. unknownFields protoimpl.UnknownFields
  1041. sizeCache protoimpl.SizeCache
  1042. }
  1043. func (x *Measurement) Reset() {
  1044. *x = Measurement{}
  1045. mi := &file_hth_api_v1_hth_proto_msgTypes[0]
  1046. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1047. ms.StoreMessageInfo(mi)
  1048. }
  1049. func (x *Measurement) String() string {
  1050. return protoimpl.X.MessageStringOf(x)
  1051. }
  1052. func (*Measurement) ProtoMessage() {}
  1053. func (x *Measurement) ProtoReflect() protoreflect.Message {
  1054. mi := &file_hth_api_v1_hth_proto_msgTypes[0]
  1055. if x != nil {
  1056. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1057. if ms.LoadMessageInfo() == nil {
  1058. ms.StoreMessageInfo(mi)
  1059. }
  1060. return ms
  1061. }
  1062. return mi.MessageOf(x)
  1063. }
  1064. // Deprecated: Use Measurement.ProtoReflect.Descriptor instead.
  1065. func (*Measurement) Descriptor() ([]byte, []int) {
  1066. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{0}
  1067. }
  1068. func (x *Measurement) GetId() string {
  1069. if x != nil {
  1070. return x.Id
  1071. }
  1072. return ""
  1073. }
  1074. func (x *Measurement) GetValue() float64 {
  1075. if x != nil {
  1076. return x.Value
  1077. }
  1078. return 0
  1079. }
  1080. func (x *Measurement) GetUnit() string {
  1081. if x != nil {
  1082. return x.Unit
  1083. }
  1084. return ""
  1085. }
  1086. func (x *Measurement) GetQuality() DataQuality {
  1087. if x != nil {
  1088. return x.Quality
  1089. }
  1090. return DataQuality_DATA_QUALITY_UNSPECIFIED
  1091. }
  1092. func (x *Measurement) GetQualityReason() string {
  1093. if x != nil {
  1094. return x.QualityReason
  1095. }
  1096. return ""
  1097. }
  1098. func (x *Measurement) GetAge() *durationpb.Duration {
  1099. if x != nil {
  1100. return x.Age
  1101. }
  1102. return nil
  1103. }
  1104. func (x *Measurement) GetHostTime() *timestamppb.Timestamp {
  1105. if x != nil {
  1106. return x.HostTime
  1107. }
  1108. return nil
  1109. }
  1110. func (x *Measurement) GetSourceTimestampAvailable() bool {
  1111. if x != nil {
  1112. return x.SourceTimestampAvailable
  1113. }
  1114. return false
  1115. }
  1116. func (x *Measurement) GetSourceTime() *timestamppb.Timestamp {
  1117. if x != nil {
  1118. return x.SourceTime
  1119. }
  1120. return nil
  1121. }
  1122. func (x *Measurement) GetRawCode() int32 {
  1123. if x != nil && x.RawCode != nil {
  1124. return *x.RawCode
  1125. }
  1126. return 0
  1127. }
  1128. type TimeWindow struct {
  1129. state protoimpl.MessageState `protogen:"open.v1"`
  1130. RequestSent *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=request_sent,json=requestSent,proto3" json:"request_sent,omitempty"`
  1131. ResponseStart *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=response_start,json=responseStart,proto3" json:"response_start,omitempty"`
  1132. ResponseComplete *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=response_complete,json=responseComplete,proto3" json:"response_complete,omitempty"`
  1133. HostReceive *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=host_receive,json=hostReceive,proto3" json:"host_receive,omitempty"`
  1134. ApproxAcquireStart *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=approx_acquire_start,json=approxAcquireStart,proto3" json:"approx_acquire_start,omitempty"`
  1135. ApproxAcquireEnd *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=approx_acquire_end,json=approxAcquireEnd,proto3" json:"approx_acquire_end,omitempty"`
  1136. SourceTimestampAvailable bool `protobuf:"varint,7,opt,name=source_timestamp_available,json=sourceTimestampAvailable,proto3" json:"source_timestamp_available,omitempty"`
  1137. unknownFields protoimpl.UnknownFields
  1138. sizeCache protoimpl.SizeCache
  1139. }
  1140. func (x *TimeWindow) Reset() {
  1141. *x = TimeWindow{}
  1142. mi := &file_hth_api_v1_hth_proto_msgTypes[1]
  1143. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1144. ms.StoreMessageInfo(mi)
  1145. }
  1146. func (x *TimeWindow) String() string {
  1147. return protoimpl.X.MessageStringOf(x)
  1148. }
  1149. func (*TimeWindow) ProtoMessage() {}
  1150. func (x *TimeWindow) ProtoReflect() protoreflect.Message {
  1151. mi := &file_hth_api_v1_hth_proto_msgTypes[1]
  1152. if x != nil {
  1153. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1154. if ms.LoadMessageInfo() == nil {
  1155. ms.StoreMessageInfo(mi)
  1156. }
  1157. return ms
  1158. }
  1159. return mi.MessageOf(x)
  1160. }
  1161. // Deprecated: Use TimeWindow.ProtoReflect.Descriptor instead.
  1162. func (*TimeWindow) Descriptor() ([]byte, []int) {
  1163. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{1}
  1164. }
  1165. func (x *TimeWindow) GetRequestSent() *timestamppb.Timestamp {
  1166. if x != nil {
  1167. return x.RequestSent
  1168. }
  1169. return nil
  1170. }
  1171. func (x *TimeWindow) GetResponseStart() *timestamppb.Timestamp {
  1172. if x != nil {
  1173. return x.ResponseStart
  1174. }
  1175. return nil
  1176. }
  1177. func (x *TimeWindow) GetResponseComplete() *timestamppb.Timestamp {
  1178. if x != nil {
  1179. return x.ResponseComplete
  1180. }
  1181. return nil
  1182. }
  1183. func (x *TimeWindow) GetHostReceive() *timestamppb.Timestamp {
  1184. if x != nil {
  1185. return x.HostReceive
  1186. }
  1187. return nil
  1188. }
  1189. func (x *TimeWindow) GetApproxAcquireStart() *timestamppb.Timestamp {
  1190. if x != nil {
  1191. return x.ApproxAcquireStart
  1192. }
  1193. return nil
  1194. }
  1195. func (x *TimeWindow) GetApproxAcquireEnd() *timestamppb.Timestamp {
  1196. if x != nil {
  1197. return x.ApproxAcquireEnd
  1198. }
  1199. return nil
  1200. }
  1201. func (x *TimeWindow) GetSourceTimestampAvailable() bool {
  1202. if x != nil {
  1203. return x.SourceTimestampAvailable
  1204. }
  1205. return false
  1206. }
  1207. type DeviceIdentity struct {
  1208. state protoimpl.MessageState `protogen:"open.v1"`
  1209. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  1210. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
  1211. ProfileId string `protobuf:"bytes,3,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
  1212. ProfileRevision string `protobuf:"bytes,4,opt,name=profile_revision,json=profileRevision,proto3" json:"profile_revision,omitempty"`
  1213. ProtocolContractHash string `protobuf:"bytes,5,opt,name=protocol_contract_hash,json=protocolContractHash,proto3" json:"protocol_contract_hash,omitempty"`
  1214. BackendKind string `protobuf:"bytes,6,opt,name=backend_kind,json=backendKind,proto3" json:"backend_kind,omitempty"`
  1215. unknownFields protoimpl.UnknownFields
  1216. sizeCache protoimpl.SizeCache
  1217. }
  1218. func (x *DeviceIdentity) Reset() {
  1219. *x = DeviceIdentity{}
  1220. mi := &file_hth_api_v1_hth_proto_msgTypes[2]
  1221. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1222. ms.StoreMessageInfo(mi)
  1223. }
  1224. func (x *DeviceIdentity) String() string {
  1225. return protoimpl.X.MessageStringOf(x)
  1226. }
  1227. func (*DeviceIdentity) ProtoMessage() {}
  1228. func (x *DeviceIdentity) ProtoReflect() protoreflect.Message {
  1229. mi := &file_hth_api_v1_hth_proto_msgTypes[2]
  1230. if x != nil {
  1231. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1232. if ms.LoadMessageInfo() == nil {
  1233. ms.StoreMessageInfo(mi)
  1234. }
  1235. return ms
  1236. }
  1237. return mi.MessageOf(x)
  1238. }
  1239. // Deprecated: Use DeviceIdentity.ProtoReflect.Descriptor instead.
  1240. func (*DeviceIdentity) Descriptor() ([]byte, []int) {
  1241. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{2}
  1242. }
  1243. func (x *DeviceIdentity) GetDeviceId() string {
  1244. if x != nil {
  1245. return x.DeviceId
  1246. }
  1247. return ""
  1248. }
  1249. func (x *DeviceIdentity) GetDisplayName() string {
  1250. if x != nil {
  1251. return x.DisplayName
  1252. }
  1253. return ""
  1254. }
  1255. func (x *DeviceIdentity) GetProfileId() string {
  1256. if x != nil {
  1257. return x.ProfileId
  1258. }
  1259. return ""
  1260. }
  1261. func (x *DeviceIdentity) GetProfileRevision() string {
  1262. if x != nil {
  1263. return x.ProfileRevision
  1264. }
  1265. return ""
  1266. }
  1267. func (x *DeviceIdentity) GetProtocolContractHash() string {
  1268. if x != nil {
  1269. return x.ProtocolContractHash
  1270. }
  1271. return ""
  1272. }
  1273. func (x *DeviceIdentity) GetBackendKind() string {
  1274. if x != nil {
  1275. return x.BackendKind
  1276. }
  1277. return ""
  1278. }
  1279. type DeviceInfo struct {
  1280. state protoimpl.MessageState `protogen:"open.v1"`
  1281. Identity *DeviceIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
  1282. Lifecycle DeviceLifecycleState `protobuf:"varint,2,opt,name=lifecycle,proto3,enum=hth.api.v1.DeviceLifecycleState" json:"lifecycle,omitempty"`
  1283. DeviceEpoch uint64 `protobuf:"varint,3,opt,name=device_epoch,json=deviceEpoch,proto3" json:"device_epoch,omitempty"`
  1284. unknownFields protoimpl.UnknownFields
  1285. sizeCache protoimpl.SizeCache
  1286. }
  1287. func (x *DeviceInfo) Reset() {
  1288. *x = DeviceInfo{}
  1289. mi := &file_hth_api_v1_hth_proto_msgTypes[3]
  1290. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1291. ms.StoreMessageInfo(mi)
  1292. }
  1293. func (x *DeviceInfo) String() string {
  1294. return protoimpl.X.MessageStringOf(x)
  1295. }
  1296. func (*DeviceInfo) ProtoMessage() {}
  1297. func (x *DeviceInfo) ProtoReflect() protoreflect.Message {
  1298. mi := &file_hth_api_v1_hth_proto_msgTypes[3]
  1299. if x != nil {
  1300. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1301. if ms.LoadMessageInfo() == nil {
  1302. ms.StoreMessageInfo(mi)
  1303. }
  1304. return ms
  1305. }
  1306. return mi.MessageOf(x)
  1307. }
  1308. // Deprecated: Use DeviceInfo.ProtoReflect.Descriptor instead.
  1309. func (*DeviceInfo) Descriptor() ([]byte, []int) {
  1310. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{3}
  1311. }
  1312. func (x *DeviceInfo) GetIdentity() *DeviceIdentity {
  1313. if x != nil {
  1314. return x.Identity
  1315. }
  1316. return nil
  1317. }
  1318. func (x *DeviceInfo) GetLifecycle() DeviceLifecycleState {
  1319. if x != nil {
  1320. return x.Lifecycle
  1321. }
  1322. return DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_UNSPECIFIED
  1323. }
  1324. func (x *DeviceInfo) GetDeviceEpoch() uint64 {
  1325. if x != nil {
  1326. return x.DeviceEpoch
  1327. }
  1328. return 0
  1329. }
  1330. type Range struct {
  1331. state protoimpl.MessageState `protogen:"open.v1"`
  1332. Min float64 `protobuf:"fixed64,1,opt,name=min,proto3" json:"min,omitempty"`
  1333. Max float64 `protobuf:"fixed64,2,opt,name=max,proto3" json:"max,omitempty"`
  1334. unknownFields protoimpl.UnknownFields
  1335. sizeCache protoimpl.SizeCache
  1336. }
  1337. func (x *Range) Reset() {
  1338. *x = Range{}
  1339. mi := &file_hth_api_v1_hth_proto_msgTypes[4]
  1340. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1341. ms.StoreMessageInfo(mi)
  1342. }
  1343. func (x *Range) String() string {
  1344. return protoimpl.X.MessageStringOf(x)
  1345. }
  1346. func (*Range) ProtoMessage() {}
  1347. func (x *Range) ProtoReflect() protoreflect.Message {
  1348. mi := &file_hth_api_v1_hth_proto_msgTypes[4]
  1349. if x != nil {
  1350. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1351. if ms.LoadMessageInfo() == nil {
  1352. ms.StoreMessageInfo(mi)
  1353. }
  1354. return ms
  1355. }
  1356. return mi.MessageOf(x)
  1357. }
  1358. // Deprecated: Use Range.ProtoReflect.Descriptor instead.
  1359. func (*Range) Descriptor() ([]byte, []int) {
  1360. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{4}
  1361. }
  1362. func (x *Range) GetMin() float64 {
  1363. if x != nil {
  1364. return x.Min
  1365. }
  1366. return 0
  1367. }
  1368. func (x *Range) GetMax() float64 {
  1369. if x != nil {
  1370. return x.Max
  1371. }
  1372. return 0
  1373. }
  1374. type SensorCapability struct {
  1375. state protoimpl.MessageState `protogen:"open.v1"`
  1376. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  1377. Aliases []string `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty"`
  1378. DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
  1379. Kind SensorKind `protobuf:"varint,4,opt,name=kind,proto3,enum=hth.api.v1.SensorKind" json:"kind,omitempty"`
  1380. Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"`
  1381. ValidRange *Range `protobuf:"bytes,6,opt,name=valid_range,json=validRange,proto3" json:"valid_range,omitempty"`
  1382. Resolution float64 `protobuf:"fixed64,7,opt,name=resolution,proto3" json:"resolution,omitempty"`
  1383. SourceTimestamp bool `protobuf:"varint,8,opt,name=source_timestamp,json=sourceTimestamp,proto3" json:"source_timestamp,omitempty"`
  1384. MappingConfidence string `protobuf:"bytes,9,opt,name=mapping_confidence,json=mappingConfidence,proto3" json:"mapping_confidence,omitempty"`
  1385. HoodId string `protobuf:"bytes,10,opt,name=hood_id,json=hoodId,proto3" json:"hood_id,omitempty"`
  1386. ChamberId string `protobuf:"bytes,11,opt,name=chamber_id,json=chamberId,proto3" json:"chamber_id,omitempty"`
  1387. DimmId string `protobuf:"bytes,12,opt,name=dimm_id,json=dimmId,proto3" json:"dimm_id,omitempty"`
  1388. Connector string `protobuf:"bytes,13,opt,name=connector,proto3" json:"connector,omitempty"`
  1389. SourceIndex int32 `protobuf:"varint,14,opt,name=source_index,json=sourceIndex,proto3" json:"source_index,omitempty"`
  1390. UpdatePeriod *durationpb.Duration `protobuf:"bytes,15,opt,name=update_period,json=updatePeriod,proto3" json:"update_period,omitempty"`
  1391. CalibrationVersion string `protobuf:"bytes,16,opt,name=calibration_version,json=calibrationVersion,proto3" json:"calibration_version,omitempty"`
  1392. FeedbackMode FeedbackMode `protobuf:"varint,17,opt,name=feedback_mode,json=feedbackMode,proto3,enum=hth.api.v1.FeedbackMode" json:"feedback_mode,omitempty"`
  1393. unknownFields protoimpl.UnknownFields
  1394. sizeCache protoimpl.SizeCache
  1395. }
  1396. func (x *SensorCapability) Reset() {
  1397. *x = SensorCapability{}
  1398. mi := &file_hth_api_v1_hth_proto_msgTypes[5]
  1399. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1400. ms.StoreMessageInfo(mi)
  1401. }
  1402. func (x *SensorCapability) String() string {
  1403. return protoimpl.X.MessageStringOf(x)
  1404. }
  1405. func (*SensorCapability) ProtoMessage() {}
  1406. func (x *SensorCapability) ProtoReflect() protoreflect.Message {
  1407. mi := &file_hth_api_v1_hth_proto_msgTypes[5]
  1408. if x != nil {
  1409. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1410. if ms.LoadMessageInfo() == nil {
  1411. ms.StoreMessageInfo(mi)
  1412. }
  1413. return ms
  1414. }
  1415. return mi.MessageOf(x)
  1416. }
  1417. // Deprecated: Use SensorCapability.ProtoReflect.Descriptor instead.
  1418. func (*SensorCapability) Descriptor() ([]byte, []int) {
  1419. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{5}
  1420. }
  1421. func (x *SensorCapability) GetId() string {
  1422. if x != nil {
  1423. return x.Id
  1424. }
  1425. return ""
  1426. }
  1427. func (x *SensorCapability) GetAliases() []string {
  1428. if x != nil {
  1429. return x.Aliases
  1430. }
  1431. return nil
  1432. }
  1433. func (x *SensorCapability) GetDisplayName() string {
  1434. if x != nil {
  1435. return x.DisplayName
  1436. }
  1437. return ""
  1438. }
  1439. func (x *SensorCapability) GetKind() SensorKind {
  1440. if x != nil {
  1441. return x.Kind
  1442. }
  1443. return SensorKind_SENSOR_KIND_UNSPECIFIED
  1444. }
  1445. func (x *SensorCapability) GetUnit() string {
  1446. if x != nil {
  1447. return x.Unit
  1448. }
  1449. return ""
  1450. }
  1451. func (x *SensorCapability) GetValidRange() *Range {
  1452. if x != nil {
  1453. return x.ValidRange
  1454. }
  1455. return nil
  1456. }
  1457. func (x *SensorCapability) GetResolution() float64 {
  1458. if x != nil {
  1459. return x.Resolution
  1460. }
  1461. return 0
  1462. }
  1463. func (x *SensorCapability) GetSourceTimestamp() bool {
  1464. if x != nil {
  1465. return x.SourceTimestamp
  1466. }
  1467. return false
  1468. }
  1469. func (x *SensorCapability) GetMappingConfidence() string {
  1470. if x != nil {
  1471. return x.MappingConfidence
  1472. }
  1473. return ""
  1474. }
  1475. func (x *SensorCapability) GetHoodId() string {
  1476. if x != nil {
  1477. return x.HoodId
  1478. }
  1479. return ""
  1480. }
  1481. func (x *SensorCapability) GetChamberId() string {
  1482. if x != nil {
  1483. return x.ChamberId
  1484. }
  1485. return ""
  1486. }
  1487. func (x *SensorCapability) GetDimmId() string {
  1488. if x != nil {
  1489. return x.DimmId
  1490. }
  1491. return ""
  1492. }
  1493. func (x *SensorCapability) GetConnector() string {
  1494. if x != nil {
  1495. return x.Connector
  1496. }
  1497. return ""
  1498. }
  1499. func (x *SensorCapability) GetSourceIndex() int32 {
  1500. if x != nil {
  1501. return x.SourceIndex
  1502. }
  1503. return 0
  1504. }
  1505. func (x *SensorCapability) GetUpdatePeriod() *durationpb.Duration {
  1506. if x != nil {
  1507. return x.UpdatePeriod
  1508. }
  1509. return nil
  1510. }
  1511. func (x *SensorCapability) GetCalibrationVersion() string {
  1512. if x != nil {
  1513. return x.CalibrationVersion
  1514. }
  1515. return ""
  1516. }
  1517. func (x *SensorCapability) GetFeedbackMode() FeedbackMode {
  1518. if x != nil {
  1519. return x.FeedbackMode
  1520. }
  1521. return FeedbackMode_FEEDBACK_MODE_UNSPECIFIED
  1522. }
  1523. type ActuatorCapability struct {
  1524. state protoimpl.MessageState `protogen:"open.v1"`
  1525. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  1526. Aliases []string `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty"`
  1527. DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
  1528. Kind ActuatorKind `protobuf:"varint,4,opt,name=kind,proto3,enum=hth.api.v1.ActuatorKind" json:"kind,omitempty"`
  1529. Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"`
  1530. CommandRange *Range `protobuf:"bytes,6,opt,name=command_range,json=commandRange,proto3" json:"command_range,omitempty"`
  1531. Resolution float64 `protobuf:"fixed64,7,opt,name=resolution,proto3" json:"resolution,omitempty"`
  1532. ControlMode ControlMode `protobuf:"varint,8,opt,name=control_mode,json=controlMode,proto3,enum=hth.api.v1.ControlMode" json:"control_mode,omitempty"`
  1533. FeedbackMode FeedbackMode `protobuf:"varint,9,opt,name=feedback_mode,json=feedbackMode,proto3,enum=hth.api.v1.FeedbackMode" json:"feedback_mode,omitempty"`
  1534. Idempotent bool `protobuf:"varint,10,opt,name=idempotent,proto3" json:"idempotent,omitempty"`
  1535. OneShot bool `protobuf:"varint,11,opt,name=one_shot,json=oneShot,proto3" json:"one_shot,omitempty"`
  1536. SafetyDefault float64 `protobuf:"fixed64,12,opt,name=safety_default,json=safetyDefault,proto3" json:"safety_default,omitempty"`
  1537. MaxSlewPerSecond float64 `protobuf:"fixed64,13,opt,name=max_slew_per_second,json=maxSlewPerSecond,proto3" json:"max_slew_per_second,omitempty"`
  1538. ActualFeedback bool `protobuf:"varint,14,opt,name=actual_feedback,json=actualFeedback,proto3" json:"actual_feedback,omitempty"`
  1539. HoodId string `protobuf:"bytes,15,opt,name=hood_id,json=hoodId,proto3" json:"hood_id,omitempty"`
  1540. ChamberId string `protobuf:"bytes,16,opt,name=chamber_id,json=chamberId,proto3" json:"chamber_id,omitempty"`
  1541. Connector string `protobuf:"bytes,17,opt,name=connector,proto3" json:"connector,omitempty"`
  1542. Notes string `protobuf:"bytes,18,opt,name=notes,proto3" json:"notes,omitempty"`
  1543. unknownFields protoimpl.UnknownFields
  1544. sizeCache protoimpl.SizeCache
  1545. }
  1546. func (x *ActuatorCapability) Reset() {
  1547. *x = ActuatorCapability{}
  1548. mi := &file_hth_api_v1_hth_proto_msgTypes[6]
  1549. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1550. ms.StoreMessageInfo(mi)
  1551. }
  1552. func (x *ActuatorCapability) String() string {
  1553. return protoimpl.X.MessageStringOf(x)
  1554. }
  1555. func (*ActuatorCapability) ProtoMessage() {}
  1556. func (x *ActuatorCapability) ProtoReflect() protoreflect.Message {
  1557. mi := &file_hth_api_v1_hth_proto_msgTypes[6]
  1558. if x != nil {
  1559. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1560. if ms.LoadMessageInfo() == nil {
  1561. ms.StoreMessageInfo(mi)
  1562. }
  1563. return ms
  1564. }
  1565. return mi.MessageOf(x)
  1566. }
  1567. // Deprecated: Use ActuatorCapability.ProtoReflect.Descriptor instead.
  1568. func (*ActuatorCapability) Descriptor() ([]byte, []int) {
  1569. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{6}
  1570. }
  1571. func (x *ActuatorCapability) GetId() string {
  1572. if x != nil {
  1573. return x.Id
  1574. }
  1575. return ""
  1576. }
  1577. func (x *ActuatorCapability) GetAliases() []string {
  1578. if x != nil {
  1579. return x.Aliases
  1580. }
  1581. return nil
  1582. }
  1583. func (x *ActuatorCapability) GetDisplayName() string {
  1584. if x != nil {
  1585. return x.DisplayName
  1586. }
  1587. return ""
  1588. }
  1589. func (x *ActuatorCapability) GetKind() ActuatorKind {
  1590. if x != nil {
  1591. return x.Kind
  1592. }
  1593. return ActuatorKind_ACTUATOR_KIND_UNSPECIFIED
  1594. }
  1595. func (x *ActuatorCapability) GetUnit() string {
  1596. if x != nil {
  1597. return x.Unit
  1598. }
  1599. return ""
  1600. }
  1601. func (x *ActuatorCapability) GetCommandRange() *Range {
  1602. if x != nil {
  1603. return x.CommandRange
  1604. }
  1605. return nil
  1606. }
  1607. func (x *ActuatorCapability) GetResolution() float64 {
  1608. if x != nil {
  1609. return x.Resolution
  1610. }
  1611. return 0
  1612. }
  1613. func (x *ActuatorCapability) GetControlMode() ControlMode {
  1614. if x != nil {
  1615. return x.ControlMode
  1616. }
  1617. return ControlMode_CONTROL_MODE_UNSPECIFIED
  1618. }
  1619. func (x *ActuatorCapability) GetFeedbackMode() FeedbackMode {
  1620. if x != nil {
  1621. return x.FeedbackMode
  1622. }
  1623. return FeedbackMode_FEEDBACK_MODE_UNSPECIFIED
  1624. }
  1625. func (x *ActuatorCapability) GetIdempotent() bool {
  1626. if x != nil {
  1627. return x.Idempotent
  1628. }
  1629. return false
  1630. }
  1631. func (x *ActuatorCapability) GetOneShot() bool {
  1632. if x != nil {
  1633. return x.OneShot
  1634. }
  1635. return false
  1636. }
  1637. func (x *ActuatorCapability) GetSafetyDefault() float64 {
  1638. if x != nil {
  1639. return x.SafetyDefault
  1640. }
  1641. return 0
  1642. }
  1643. func (x *ActuatorCapability) GetMaxSlewPerSecond() float64 {
  1644. if x != nil {
  1645. return x.MaxSlewPerSecond
  1646. }
  1647. return 0
  1648. }
  1649. func (x *ActuatorCapability) GetActualFeedback() bool {
  1650. if x != nil {
  1651. return x.ActualFeedback
  1652. }
  1653. return false
  1654. }
  1655. func (x *ActuatorCapability) GetHoodId() string {
  1656. if x != nil {
  1657. return x.HoodId
  1658. }
  1659. return ""
  1660. }
  1661. func (x *ActuatorCapability) GetChamberId() string {
  1662. if x != nil {
  1663. return x.ChamberId
  1664. }
  1665. return ""
  1666. }
  1667. func (x *ActuatorCapability) GetConnector() string {
  1668. if x != nil {
  1669. return x.Connector
  1670. }
  1671. return ""
  1672. }
  1673. func (x *ActuatorCapability) GetNotes() string {
  1674. if x != nil {
  1675. return x.Notes
  1676. }
  1677. return ""
  1678. }
  1679. type Capabilities struct {
  1680. state protoimpl.MessageState `protogen:"open.v1"`
  1681. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  1682. ProfileId string `protobuf:"bytes,2,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
  1683. ProfileRevision string `protobuf:"bytes,3,opt,name=profile_revision,json=profileRevision,proto3" json:"profile_revision,omitempty"`
  1684. ProtocolContractHash string `protobuf:"bytes,4,opt,name=protocol_contract_hash,json=protocolContractHash,proto3" json:"protocol_contract_hash,omitempty"`
  1685. CapabilityHash string `protobuf:"bytes,5,opt,name=capability_hash,json=capabilityHash,proto3" json:"capability_hash,omitempty"`
  1686. ApiVersion string `protobuf:"bytes,6,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
  1687. FirmwareVersion string `protobuf:"bytes,7,opt,name=firmware_version,json=firmwareVersion,proto3" json:"firmware_version,omitempty"`
  1688. FirmwareVersionQuality DataQuality `protobuf:"varint,8,opt,name=firmware_version_quality,json=firmwareVersionQuality,proto3,enum=hth.api.v1.DataQuality" json:"firmware_version_quality,omitempty"`
  1689. HoodCount int32 `protobuf:"varint,9,opt,name=hood_count,json=hoodCount,proto3" json:"hood_count,omitempty"`
  1690. ChamberCount int32 `protobuf:"varint,10,opt,name=chamber_count,json=chamberCount,proto3" json:"chamber_count,omitempty"`
  1691. Sensors []*SensorCapability `protobuf:"bytes,11,rep,name=sensors,proto3" json:"sensors,omitempty"`
  1692. Actuators []*ActuatorCapability `protobuf:"bytes,12,rep,name=actuators,proto3" json:"actuators,omitempty"`
  1693. RecommendedSamplePeriod *durationpb.Duration `protobuf:"bytes,13,opt,name=recommended_sample_period,json=recommendedSamplePeriod,proto3" json:"recommended_sample_period,omitempty"`
  1694. AckSupported bool `protobuf:"varint,14,opt,name=ack_supported,json=ackSupported,proto3" json:"ack_supported,omitempty"`
  1695. StatusQuerySupported bool `protobuf:"varint,15,opt,name=status_query_supported,json=statusQuerySupported,proto3" json:"status_query_supported,omitempty"`
  1696. PositionFeedbackSupported bool `protobuf:"varint,16,opt,name=position_feedback_supported,json=positionFeedbackSupported,proto3" json:"position_feedback_supported,omitempty"`
  1697. RpmFeedbackSupported bool `protobuf:"varint,17,opt,name=rpm_feedback_supported,json=rpmFeedbackSupported,proto3" json:"rpm_feedback_supported,omitempty"`
  1698. DeviceFaultQuerySupported bool `protobuf:"varint,18,opt,name=device_fault_query_supported,json=deviceFaultQuerySupported,proto3" json:"device_fault_query_supported,omitempty"`
  1699. LimitReadbackSupported bool `protobuf:"varint,19,opt,name=limit_readback_supported,json=limitReadbackSupported,proto3" json:"limit_readback_supported,omitempty"`
  1700. ReadinessProbe string `protobuf:"bytes,20,opt,name=readiness_probe,json=readinessProbe,proto3" json:"readiness_probe,omitempty"`
  1701. Notes string `protobuf:"bytes,21,opt,name=notes,proto3" json:"notes,omitempty"`
  1702. Timing *TimingCapabilities `protobuf:"bytes,22,opt,name=timing,proto3" json:"timing,omitempty"`
  1703. HostFaultReportingSupported bool `protobuf:"varint,23,opt,name=host_fault_reporting_supported,json=hostFaultReportingSupported,proto3" json:"host_fault_reporting_supported,omitempty"`
  1704. DeviceNativeFaultQuerySupported bool `protobuf:"varint,24,opt,name=device_native_fault_query_supported,json=deviceNativeFaultQuerySupported,proto3" json:"device_native_fault_query_supported,omitempty"`
  1705. DeviceFaultSource string `protobuf:"bytes,25,opt,name=device_fault_source,json=deviceFaultSource,proto3" json:"device_fault_source,omitempty"`
  1706. unknownFields protoimpl.UnknownFields
  1707. sizeCache protoimpl.SizeCache
  1708. }
  1709. func (x *Capabilities) Reset() {
  1710. *x = Capabilities{}
  1711. mi := &file_hth_api_v1_hth_proto_msgTypes[7]
  1712. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1713. ms.StoreMessageInfo(mi)
  1714. }
  1715. func (x *Capabilities) String() string {
  1716. return protoimpl.X.MessageStringOf(x)
  1717. }
  1718. func (*Capabilities) ProtoMessage() {}
  1719. func (x *Capabilities) ProtoReflect() protoreflect.Message {
  1720. mi := &file_hth_api_v1_hth_proto_msgTypes[7]
  1721. if x != nil {
  1722. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1723. if ms.LoadMessageInfo() == nil {
  1724. ms.StoreMessageInfo(mi)
  1725. }
  1726. return ms
  1727. }
  1728. return mi.MessageOf(x)
  1729. }
  1730. // Deprecated: Use Capabilities.ProtoReflect.Descriptor instead.
  1731. func (*Capabilities) Descriptor() ([]byte, []int) {
  1732. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{7}
  1733. }
  1734. func (x *Capabilities) GetDeviceId() string {
  1735. if x != nil {
  1736. return x.DeviceId
  1737. }
  1738. return ""
  1739. }
  1740. func (x *Capabilities) GetProfileId() string {
  1741. if x != nil {
  1742. return x.ProfileId
  1743. }
  1744. return ""
  1745. }
  1746. func (x *Capabilities) GetProfileRevision() string {
  1747. if x != nil {
  1748. return x.ProfileRevision
  1749. }
  1750. return ""
  1751. }
  1752. func (x *Capabilities) GetProtocolContractHash() string {
  1753. if x != nil {
  1754. return x.ProtocolContractHash
  1755. }
  1756. return ""
  1757. }
  1758. func (x *Capabilities) GetCapabilityHash() string {
  1759. if x != nil {
  1760. return x.CapabilityHash
  1761. }
  1762. return ""
  1763. }
  1764. func (x *Capabilities) GetApiVersion() string {
  1765. if x != nil {
  1766. return x.ApiVersion
  1767. }
  1768. return ""
  1769. }
  1770. func (x *Capabilities) GetFirmwareVersion() string {
  1771. if x != nil {
  1772. return x.FirmwareVersion
  1773. }
  1774. return ""
  1775. }
  1776. func (x *Capabilities) GetFirmwareVersionQuality() DataQuality {
  1777. if x != nil {
  1778. return x.FirmwareVersionQuality
  1779. }
  1780. return DataQuality_DATA_QUALITY_UNSPECIFIED
  1781. }
  1782. func (x *Capabilities) GetHoodCount() int32 {
  1783. if x != nil {
  1784. return x.HoodCount
  1785. }
  1786. return 0
  1787. }
  1788. func (x *Capabilities) GetChamberCount() int32 {
  1789. if x != nil {
  1790. return x.ChamberCount
  1791. }
  1792. return 0
  1793. }
  1794. func (x *Capabilities) GetSensors() []*SensorCapability {
  1795. if x != nil {
  1796. return x.Sensors
  1797. }
  1798. return nil
  1799. }
  1800. func (x *Capabilities) GetActuators() []*ActuatorCapability {
  1801. if x != nil {
  1802. return x.Actuators
  1803. }
  1804. return nil
  1805. }
  1806. func (x *Capabilities) GetRecommendedSamplePeriod() *durationpb.Duration {
  1807. if x != nil {
  1808. return x.RecommendedSamplePeriod
  1809. }
  1810. return nil
  1811. }
  1812. func (x *Capabilities) GetAckSupported() bool {
  1813. if x != nil {
  1814. return x.AckSupported
  1815. }
  1816. return false
  1817. }
  1818. func (x *Capabilities) GetStatusQuerySupported() bool {
  1819. if x != nil {
  1820. return x.StatusQuerySupported
  1821. }
  1822. return false
  1823. }
  1824. func (x *Capabilities) GetPositionFeedbackSupported() bool {
  1825. if x != nil {
  1826. return x.PositionFeedbackSupported
  1827. }
  1828. return false
  1829. }
  1830. func (x *Capabilities) GetRpmFeedbackSupported() bool {
  1831. if x != nil {
  1832. return x.RpmFeedbackSupported
  1833. }
  1834. return false
  1835. }
  1836. func (x *Capabilities) GetDeviceFaultQuerySupported() bool {
  1837. if x != nil {
  1838. return x.DeviceFaultQuerySupported
  1839. }
  1840. return false
  1841. }
  1842. func (x *Capabilities) GetLimitReadbackSupported() bool {
  1843. if x != nil {
  1844. return x.LimitReadbackSupported
  1845. }
  1846. return false
  1847. }
  1848. func (x *Capabilities) GetReadinessProbe() string {
  1849. if x != nil {
  1850. return x.ReadinessProbe
  1851. }
  1852. return ""
  1853. }
  1854. func (x *Capabilities) GetNotes() string {
  1855. if x != nil {
  1856. return x.Notes
  1857. }
  1858. return ""
  1859. }
  1860. func (x *Capabilities) GetTiming() *TimingCapabilities {
  1861. if x != nil {
  1862. return x.Timing
  1863. }
  1864. return nil
  1865. }
  1866. func (x *Capabilities) GetHostFaultReportingSupported() bool {
  1867. if x != nil {
  1868. return x.HostFaultReportingSupported
  1869. }
  1870. return false
  1871. }
  1872. func (x *Capabilities) GetDeviceNativeFaultQuerySupported() bool {
  1873. if x != nil {
  1874. return x.DeviceNativeFaultQuerySupported
  1875. }
  1876. return false
  1877. }
  1878. func (x *Capabilities) GetDeviceFaultSource() string {
  1879. if x != nil {
  1880. return x.DeviceFaultSource
  1881. }
  1882. return ""
  1883. }
  1884. type TimingCapabilities struct {
  1885. state protoimpl.MessageState `protogen:"open.v1"`
  1886. TemperatureTransactionWorstCaseMs uint32 `protobuf:"varint,1,opt,name=temperature_transaction_worst_case_ms,json=temperatureTransactionWorstCaseMs,proto3" json:"temperature_transaction_worst_case_ms,omitempty"`
  1887. MotorStatusWorstCaseMs uint32 `protobuf:"varint,2,opt,name=motor_status_worst_case_ms,json=motorStatusWorstCaseMs,proto3" json:"motor_status_worst_case_ms,omitempty"`
  1888. ControlDispatchWorstCaseMs uint32 `protobuf:"varint,3,opt,name=control_dispatch_worst_case_ms,json=controlDispatchWorstCaseMs,proto3" json:"control_dispatch_worst_case_ms,omitempty"`
  1889. RecommendedRpcDeadlineMs uint32 `protobuf:"varint,4,opt,name=recommended_rpc_deadline_ms,json=recommendedRpcDeadlineMs,proto3" json:"recommended_rpc_deadline_ms,omitempty"`
  1890. RecommendedActionTtlMs uint32 `protobuf:"varint,5,opt,name=recommended_action_ttl_ms,json=recommendedActionTtlMs,proto3" json:"recommended_action_ttl_ms,omitempty"`
  1891. MinimumControlPeriodMs uint32 `protobuf:"varint,6,opt,name=minimum_control_period_ms,json=minimumControlPeriodMs,proto3" json:"minimum_control_period_ms,omitempty"`
  1892. RecommendedSamplePeriodMs uint32 `protobuf:"varint,7,opt,name=recommended_sample_period_ms,json=recommendedSamplePeriodMs,proto3" json:"recommended_sample_period_ms,omitempty"`
  1893. MaxUnpreemptableTransactionMs uint32 `protobuf:"varint,8,opt,name=max_unpreemptable_transaction_ms,json=maxUnpreemptableTransactionMs,proto3" json:"max_unpreemptable_transaction_ms,omitempty"`
  1894. ControlWindowMs uint32 `protobuf:"varint,9,opt,name=control_window_ms,json=controlWindowMs,proto3" json:"control_window_ms,omitempty"`
  1895. SchedulerMarginMs uint32 `protobuf:"varint,10,opt,name=scheduler_margin_ms,json=schedulerMarginMs,proto3" json:"scheduler_margin_ms,omitempty"`
  1896. MaxPendingContinuousActions uint32 `protobuf:"varint,11,opt,name=max_pending_continuous_actions,json=maxPendingContinuousActions,proto3" json:"max_pending_continuous_actions,omitempty"`
  1897. // Physical 27-channel GET_TEMPERATURE scan, not the host scheduler tick.
  1898. PhysicalTemperatureUpdatePeriodMs uint32 `protobuf:"varint,12,opt,name=physical_temperature_update_period_ms,json=physicalTemperatureUpdatePeriodMs,proto3" json:"physical_temperature_update_period_ms,omitempty"`
  1899. // How often a snapshot subscriber may usefully poll; may repeat the last scan.
  1900. RecommendedSnapshotSubscriptionPeriodMs uint32 `protobuf:"varint,13,opt,name=recommended_snapshot_subscription_period_ms,json=recommendedSnapshotSubscriptionPeriodMs,proto3" json:"recommended_snapshot_subscription_period_ms,omitempty"`
  1901. unknownFields protoimpl.UnknownFields
  1902. sizeCache protoimpl.SizeCache
  1903. }
  1904. func (x *TimingCapabilities) Reset() {
  1905. *x = TimingCapabilities{}
  1906. mi := &file_hth_api_v1_hth_proto_msgTypes[8]
  1907. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1908. ms.StoreMessageInfo(mi)
  1909. }
  1910. func (x *TimingCapabilities) String() string {
  1911. return protoimpl.X.MessageStringOf(x)
  1912. }
  1913. func (*TimingCapabilities) ProtoMessage() {}
  1914. func (x *TimingCapabilities) ProtoReflect() protoreflect.Message {
  1915. mi := &file_hth_api_v1_hth_proto_msgTypes[8]
  1916. if x != nil {
  1917. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1918. if ms.LoadMessageInfo() == nil {
  1919. ms.StoreMessageInfo(mi)
  1920. }
  1921. return ms
  1922. }
  1923. return mi.MessageOf(x)
  1924. }
  1925. // Deprecated: Use TimingCapabilities.ProtoReflect.Descriptor instead.
  1926. func (*TimingCapabilities) Descriptor() ([]byte, []int) {
  1927. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{8}
  1928. }
  1929. func (x *TimingCapabilities) GetTemperatureTransactionWorstCaseMs() uint32 {
  1930. if x != nil {
  1931. return x.TemperatureTransactionWorstCaseMs
  1932. }
  1933. return 0
  1934. }
  1935. func (x *TimingCapabilities) GetMotorStatusWorstCaseMs() uint32 {
  1936. if x != nil {
  1937. return x.MotorStatusWorstCaseMs
  1938. }
  1939. return 0
  1940. }
  1941. func (x *TimingCapabilities) GetControlDispatchWorstCaseMs() uint32 {
  1942. if x != nil {
  1943. return x.ControlDispatchWorstCaseMs
  1944. }
  1945. return 0
  1946. }
  1947. func (x *TimingCapabilities) GetRecommendedRpcDeadlineMs() uint32 {
  1948. if x != nil {
  1949. return x.RecommendedRpcDeadlineMs
  1950. }
  1951. return 0
  1952. }
  1953. func (x *TimingCapabilities) GetRecommendedActionTtlMs() uint32 {
  1954. if x != nil {
  1955. return x.RecommendedActionTtlMs
  1956. }
  1957. return 0
  1958. }
  1959. func (x *TimingCapabilities) GetMinimumControlPeriodMs() uint32 {
  1960. if x != nil {
  1961. return x.MinimumControlPeriodMs
  1962. }
  1963. return 0
  1964. }
  1965. func (x *TimingCapabilities) GetRecommendedSamplePeriodMs() uint32 {
  1966. if x != nil {
  1967. return x.RecommendedSamplePeriodMs
  1968. }
  1969. return 0
  1970. }
  1971. func (x *TimingCapabilities) GetMaxUnpreemptableTransactionMs() uint32 {
  1972. if x != nil {
  1973. return x.MaxUnpreemptableTransactionMs
  1974. }
  1975. return 0
  1976. }
  1977. func (x *TimingCapabilities) GetControlWindowMs() uint32 {
  1978. if x != nil {
  1979. return x.ControlWindowMs
  1980. }
  1981. return 0
  1982. }
  1983. func (x *TimingCapabilities) GetSchedulerMarginMs() uint32 {
  1984. if x != nil {
  1985. return x.SchedulerMarginMs
  1986. }
  1987. return 0
  1988. }
  1989. func (x *TimingCapabilities) GetMaxPendingContinuousActions() uint32 {
  1990. if x != nil {
  1991. return x.MaxPendingContinuousActions
  1992. }
  1993. return 0
  1994. }
  1995. func (x *TimingCapabilities) GetPhysicalTemperatureUpdatePeriodMs() uint32 {
  1996. if x != nil {
  1997. return x.PhysicalTemperatureUpdatePeriodMs
  1998. }
  1999. return 0
  2000. }
  2001. func (x *TimingCapabilities) GetRecommendedSnapshotSubscriptionPeriodMs() uint32 {
  2002. if x != nil {
  2003. return x.RecommendedSnapshotSubscriptionPeriodMs
  2004. }
  2005. return 0
  2006. }
  2007. type CommandedActuator struct {
  2008. state protoimpl.MessageState `protogen:"open.v1"`
  2009. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  2010. CommandedTarget float64 `protobuf:"fixed64,2,opt,name=commanded_target,json=commandedTarget,proto3" json:"commanded_target,omitempty"`
  2011. ActualQuality DataQuality `protobuf:"varint,3,opt,name=actual_quality,json=actualQuality,proto3,enum=hth.api.v1.DataQuality" json:"actual_quality,omitempty"`
  2012. ActualValue *float64 `protobuf:"fixed64,4,opt,name=actual_value,json=actualValue,proto3,oneof" json:"actual_value,omitempty"`
  2013. ActualReason string `protobuf:"bytes,5,opt,name=actual_reason,json=actualReason,proto3" json:"actual_reason,omitempty"`
  2014. TargetEpoch uint64 `protobuf:"varint,6,opt,name=target_epoch,json=targetEpoch,proto3" json:"target_epoch,omitempty"`
  2015. TargetSource string `protobuf:"bytes,7,opt,name=target_source,json=targetSource,proto3" json:"target_source,omitempty"`
  2016. TargetQuality DataQuality `protobuf:"varint,8,opt,name=target_quality,json=targetQuality,proto3,enum=hth.api.v1.DataQuality" json:"target_quality,omitempty"`
  2017. unknownFields protoimpl.UnknownFields
  2018. sizeCache protoimpl.SizeCache
  2019. }
  2020. func (x *CommandedActuator) Reset() {
  2021. *x = CommandedActuator{}
  2022. mi := &file_hth_api_v1_hth_proto_msgTypes[9]
  2023. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2024. ms.StoreMessageInfo(mi)
  2025. }
  2026. func (x *CommandedActuator) String() string {
  2027. return protoimpl.X.MessageStringOf(x)
  2028. }
  2029. func (*CommandedActuator) ProtoMessage() {}
  2030. func (x *CommandedActuator) ProtoReflect() protoreflect.Message {
  2031. mi := &file_hth_api_v1_hth_proto_msgTypes[9]
  2032. if x != nil {
  2033. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2034. if ms.LoadMessageInfo() == nil {
  2035. ms.StoreMessageInfo(mi)
  2036. }
  2037. return ms
  2038. }
  2039. return mi.MessageOf(x)
  2040. }
  2041. // Deprecated: Use CommandedActuator.ProtoReflect.Descriptor instead.
  2042. func (*CommandedActuator) Descriptor() ([]byte, []int) {
  2043. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{9}
  2044. }
  2045. func (x *CommandedActuator) GetId() string {
  2046. if x != nil {
  2047. return x.Id
  2048. }
  2049. return ""
  2050. }
  2051. func (x *CommandedActuator) GetCommandedTarget() float64 {
  2052. if x != nil {
  2053. return x.CommandedTarget
  2054. }
  2055. return 0
  2056. }
  2057. func (x *CommandedActuator) GetActualQuality() DataQuality {
  2058. if x != nil {
  2059. return x.ActualQuality
  2060. }
  2061. return DataQuality_DATA_QUALITY_UNSPECIFIED
  2062. }
  2063. func (x *CommandedActuator) GetActualValue() float64 {
  2064. if x != nil && x.ActualValue != nil {
  2065. return *x.ActualValue
  2066. }
  2067. return 0
  2068. }
  2069. func (x *CommandedActuator) GetActualReason() string {
  2070. if x != nil {
  2071. return x.ActualReason
  2072. }
  2073. return ""
  2074. }
  2075. func (x *CommandedActuator) GetTargetEpoch() uint64 {
  2076. if x != nil {
  2077. return x.TargetEpoch
  2078. }
  2079. return 0
  2080. }
  2081. func (x *CommandedActuator) GetTargetSource() string {
  2082. if x != nil {
  2083. return x.TargetSource
  2084. }
  2085. return ""
  2086. }
  2087. func (x *CommandedActuator) GetTargetQuality() DataQuality {
  2088. if x != nil {
  2089. return x.TargetQuality
  2090. }
  2091. return DataQuality_DATA_QUALITY_UNSPECIFIED
  2092. }
  2093. type FieldAudit struct {
  2094. state protoimpl.MessageState `protogen:"open.v1"`
  2095. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  2096. Explicit bool `protobuf:"varint,2,opt,name=explicit,proto3" json:"explicit,omitempty"`
  2097. RawValue float64 `protobuf:"fixed64,3,opt,name=raw_value,json=rawValue,proto3" json:"raw_value,omitempty"`
  2098. BeforeClamp float64 `protobuf:"fixed64,4,opt,name=before_clamp,json=beforeClamp,proto3" json:"before_clamp,omitempty"`
  2099. AfterClamp float64 `protobuf:"fixed64,5,opt,name=after_clamp,json=afterClamp,proto3" json:"after_clamp,omitempty"`
  2100. Clamped bool `protobuf:"varint,6,opt,name=clamped,proto3" json:"clamped,omitempty"`
  2101. ClampReason string `protobuf:"bytes,7,opt,name=clamp_reason,json=clampReason,proto3" json:"clamp_reason,omitempty"`
  2102. unknownFields protoimpl.UnknownFields
  2103. sizeCache protoimpl.SizeCache
  2104. }
  2105. func (x *FieldAudit) Reset() {
  2106. *x = FieldAudit{}
  2107. mi := &file_hth_api_v1_hth_proto_msgTypes[10]
  2108. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2109. ms.StoreMessageInfo(mi)
  2110. }
  2111. func (x *FieldAudit) String() string {
  2112. return protoimpl.X.MessageStringOf(x)
  2113. }
  2114. func (*FieldAudit) ProtoMessage() {}
  2115. func (x *FieldAudit) ProtoReflect() protoreflect.Message {
  2116. mi := &file_hth_api_v1_hth_proto_msgTypes[10]
  2117. if x != nil {
  2118. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2119. if ms.LoadMessageInfo() == nil {
  2120. ms.StoreMessageInfo(mi)
  2121. }
  2122. return ms
  2123. }
  2124. return mi.MessageOf(x)
  2125. }
  2126. // Deprecated: Use FieldAudit.ProtoReflect.Descriptor instead.
  2127. func (*FieldAudit) Descriptor() ([]byte, []int) {
  2128. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{10}
  2129. }
  2130. func (x *FieldAudit) GetId() string {
  2131. if x != nil {
  2132. return x.Id
  2133. }
  2134. return ""
  2135. }
  2136. func (x *FieldAudit) GetExplicit() bool {
  2137. if x != nil {
  2138. return x.Explicit
  2139. }
  2140. return false
  2141. }
  2142. func (x *FieldAudit) GetRawValue() float64 {
  2143. if x != nil {
  2144. return x.RawValue
  2145. }
  2146. return 0
  2147. }
  2148. func (x *FieldAudit) GetBeforeClamp() float64 {
  2149. if x != nil {
  2150. return x.BeforeClamp
  2151. }
  2152. return 0
  2153. }
  2154. func (x *FieldAudit) GetAfterClamp() float64 {
  2155. if x != nil {
  2156. return x.AfterClamp
  2157. }
  2158. return 0
  2159. }
  2160. func (x *FieldAudit) GetClamped() bool {
  2161. if x != nil {
  2162. return x.Clamped
  2163. }
  2164. return false
  2165. }
  2166. func (x *FieldAudit) GetClampReason() string {
  2167. if x != nil {
  2168. return x.ClampReason
  2169. }
  2170. return ""
  2171. }
  2172. type ActionRecord struct {
  2173. state protoimpl.MessageState `protogen:"open.v1"`
  2174. CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
  2175. ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
  2176. Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
  2177. Confirmation ConfirmationStatus `protobuf:"varint,4,opt,name=confirmation,proto3,enum=hth.api.v1.ConfirmationStatus" json:"confirmation,omitempty"`
  2178. Actuators []*CommandedActuator `protobuf:"bytes,5,rep,name=actuators,proto3" json:"actuators,omitempty"`
  2179. Origin string `protobuf:"bytes,6,opt,name=origin,proto3" json:"origin,omitempty"`
  2180. FieldAudits []*FieldAudit `protobuf:"bytes,7,rep,name=field_audits,json=fieldAudits,proto3" json:"field_audits,omitempty"`
  2181. ActionMode ActionMode `protobuf:"varint,8,opt,name=action_mode,json=actionMode,proto3,enum=hth.api.v1.ActionMode" json:"action_mode,omitempty"`
  2182. PeerUid int32 `protobuf:"varint,9,opt,name=peer_uid,json=peerUid,proto3" json:"peer_uid,omitempty"`
  2183. PeerGid int32 `protobuf:"varint,10,opt,name=peer_gid,json=peerGid,proto3" json:"peer_gid,omitempty"`
  2184. PeerPid int32 `protobuf:"varint,11,opt,name=peer_pid,json=peerPid,proto3" json:"peer_pid,omitempty"`
  2185. DispatchState ActionDispatchState `protobuf:"varint,12,opt,name=dispatch_state,json=dispatchState,proto3,enum=hth.api.v1.ActionDispatchState" json:"dispatch_state,omitempty"`
  2186. ActionEpoch uint64 `protobuf:"varint,13,opt,name=action_epoch,json=actionEpoch,proto3" json:"action_epoch,omitempty"`
  2187. PortGeneration uint64 `protobuf:"varint,14,opt,name=port_generation,json=portGeneration,proto3" json:"port_generation,omitempty"`
  2188. unknownFields protoimpl.UnknownFields
  2189. sizeCache protoimpl.SizeCache
  2190. }
  2191. func (x *ActionRecord) Reset() {
  2192. *x = ActionRecord{}
  2193. mi := &file_hth_api_v1_hth_proto_msgTypes[11]
  2194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2195. ms.StoreMessageInfo(mi)
  2196. }
  2197. func (x *ActionRecord) String() string {
  2198. return protoimpl.X.MessageStringOf(x)
  2199. }
  2200. func (*ActionRecord) ProtoMessage() {}
  2201. func (x *ActionRecord) ProtoReflect() protoreflect.Message {
  2202. mi := &file_hth_api_v1_hth_proto_msgTypes[11]
  2203. if x != nil {
  2204. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2205. if ms.LoadMessageInfo() == nil {
  2206. ms.StoreMessageInfo(mi)
  2207. }
  2208. return ms
  2209. }
  2210. return mi.MessageOf(x)
  2211. }
  2212. // Deprecated: Use ActionRecord.ProtoReflect.Descriptor instead.
  2213. func (*ActionRecord) Descriptor() ([]byte, []int) {
  2214. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{11}
  2215. }
  2216. func (x *ActionRecord) GetCommandId() string {
  2217. if x != nil {
  2218. return x.CommandId
  2219. }
  2220. return ""
  2221. }
  2222. func (x *ActionRecord) GetClientId() string {
  2223. if x != nil {
  2224. return x.ClientId
  2225. }
  2226. return ""
  2227. }
  2228. func (x *ActionRecord) GetTime() *timestamppb.Timestamp {
  2229. if x != nil {
  2230. return x.Time
  2231. }
  2232. return nil
  2233. }
  2234. func (x *ActionRecord) GetConfirmation() ConfirmationStatus {
  2235. if x != nil {
  2236. return x.Confirmation
  2237. }
  2238. return ConfirmationStatus_CONFIRMATION_STATUS_UNSPECIFIED
  2239. }
  2240. func (x *ActionRecord) GetActuators() []*CommandedActuator {
  2241. if x != nil {
  2242. return x.Actuators
  2243. }
  2244. return nil
  2245. }
  2246. func (x *ActionRecord) GetOrigin() string {
  2247. if x != nil {
  2248. return x.Origin
  2249. }
  2250. return ""
  2251. }
  2252. func (x *ActionRecord) GetFieldAudits() []*FieldAudit {
  2253. if x != nil {
  2254. return x.FieldAudits
  2255. }
  2256. return nil
  2257. }
  2258. func (x *ActionRecord) GetActionMode() ActionMode {
  2259. if x != nil {
  2260. return x.ActionMode
  2261. }
  2262. return ActionMode_ACTION_MODE_UNSPECIFIED
  2263. }
  2264. func (x *ActionRecord) GetPeerUid() int32 {
  2265. if x != nil {
  2266. return x.PeerUid
  2267. }
  2268. return 0
  2269. }
  2270. func (x *ActionRecord) GetPeerGid() int32 {
  2271. if x != nil {
  2272. return x.PeerGid
  2273. }
  2274. return 0
  2275. }
  2276. func (x *ActionRecord) GetPeerPid() int32 {
  2277. if x != nil {
  2278. return x.PeerPid
  2279. }
  2280. return 0
  2281. }
  2282. func (x *ActionRecord) GetDispatchState() ActionDispatchState {
  2283. if x != nil {
  2284. return x.DispatchState
  2285. }
  2286. return ActionDispatchState_ACTION_DISPATCH_STATE_UNSPECIFIED
  2287. }
  2288. func (x *ActionRecord) GetActionEpoch() uint64 {
  2289. if x != nil {
  2290. return x.ActionEpoch
  2291. }
  2292. return 0
  2293. }
  2294. func (x *ActionRecord) GetPortGeneration() uint64 {
  2295. if x != nil {
  2296. return x.PortGeneration
  2297. }
  2298. return 0
  2299. }
  2300. type LeaseSummary struct {
  2301. state protoimpl.MessageState `protogen:"open.v1"`
  2302. LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
  2303. LeaseEpoch uint64 `protobuf:"varint,2,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
  2304. Holder string `protobuf:"bytes,3,opt,name=holder,proto3" json:"holder,omitempty"`
  2305. ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
  2306. Active bool `protobuf:"varint,5,opt,name=active,proto3" json:"active,omitempty"`
  2307. unknownFields protoimpl.UnknownFields
  2308. sizeCache protoimpl.SizeCache
  2309. }
  2310. func (x *LeaseSummary) Reset() {
  2311. *x = LeaseSummary{}
  2312. mi := &file_hth_api_v1_hth_proto_msgTypes[12]
  2313. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2314. ms.StoreMessageInfo(mi)
  2315. }
  2316. func (x *LeaseSummary) String() string {
  2317. return protoimpl.X.MessageStringOf(x)
  2318. }
  2319. func (*LeaseSummary) ProtoMessage() {}
  2320. func (x *LeaseSummary) ProtoReflect() protoreflect.Message {
  2321. mi := &file_hth_api_v1_hth_proto_msgTypes[12]
  2322. if x != nil {
  2323. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2324. if ms.LoadMessageInfo() == nil {
  2325. ms.StoreMessageInfo(mi)
  2326. }
  2327. return ms
  2328. }
  2329. return mi.MessageOf(x)
  2330. }
  2331. // Deprecated: Use LeaseSummary.ProtoReflect.Descriptor instead.
  2332. func (*LeaseSummary) Descriptor() ([]byte, []int) {
  2333. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{12}
  2334. }
  2335. func (x *LeaseSummary) GetLeaseId() string {
  2336. if x != nil {
  2337. return x.LeaseId
  2338. }
  2339. return ""
  2340. }
  2341. func (x *LeaseSummary) GetLeaseEpoch() uint64 {
  2342. if x != nil {
  2343. return x.LeaseEpoch
  2344. }
  2345. return 0
  2346. }
  2347. func (x *LeaseSummary) GetHolder() string {
  2348. if x != nil {
  2349. return x.Holder
  2350. }
  2351. return ""
  2352. }
  2353. func (x *LeaseSummary) GetExpiresAt() *timestamppb.Timestamp {
  2354. if x != nil {
  2355. return x.ExpiresAt
  2356. }
  2357. return nil
  2358. }
  2359. func (x *LeaseSummary) GetActive() bool {
  2360. if x != nil {
  2361. return x.Active
  2362. }
  2363. return false
  2364. }
  2365. type Snapshot struct {
  2366. state protoimpl.MessageState `protogen:"open.v1"`
  2367. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  2368. DaemonInstanceId string `protobuf:"bytes,2,opt,name=daemon_instance_id,json=daemonInstanceId,proto3" json:"daemon_instance_id,omitempty"`
  2369. DeviceEpoch uint64 `protobuf:"varint,3,opt,name=device_epoch,json=deviceEpoch,proto3" json:"device_epoch,omitempty"`
  2370. SnapshotSeq uint64 `protobuf:"varint,4,opt,name=snapshot_seq,json=snapshotSeq,proto3" json:"snapshot_seq,omitempty"`
  2371. ControlRevision uint64 `protobuf:"varint,5,opt,name=control_revision,json=controlRevision,proto3" json:"control_revision,omitempty"`
  2372. EventId uint64 `protobuf:"varint,6,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
  2373. WallTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=wall_time,json=wallTime,proto3" json:"wall_time,omitempty"`
  2374. MonotonicNs uint64 `protobuf:"varint,8,opt,name=monotonic_ns,json=monotonicNs,proto3" json:"monotonic_ns,omitempty"`
  2375. CaptureWindow *TimeWindow `protobuf:"bytes,9,opt,name=capture_window,json=captureWindow,proto3" json:"capture_window,omitempty"`
  2376. Lifecycle DeviceLifecycleState `protobuf:"varint,10,opt,name=lifecycle,proto3,enum=hth.api.v1.DeviceLifecycleState" json:"lifecycle,omitempty"`
  2377. Measurements []*Measurement `protobuf:"bytes,11,rep,name=measurements,proto3" json:"measurements,omitempty"`
  2378. ContinuousTargets []*CommandedActuator `protobuf:"bytes,12,rep,name=continuous_targets,json=continuousTargets,proto3" json:"continuous_targets,omitempty"`
  2379. LastRequested *ActionRecord `protobuf:"bytes,13,opt,name=last_requested,json=lastRequested,proto3" json:"last_requested,omitempty"`
  2380. LastAccepted *ActionRecord `protobuf:"bytes,14,opt,name=last_accepted,json=lastAccepted,proto3" json:"last_accepted,omitempty"`
  2381. LastDispatched *ActionRecord `protobuf:"bytes,15,opt,name=last_dispatched,json=lastDispatched,proto3" json:"last_dispatched,omitempty"`
  2382. DeviceConfirmation ConfirmationStatus `protobuf:"varint,16,opt,name=device_confirmation,json=deviceConfirmation,proto3,enum=hth.api.v1.ConfirmationStatus" json:"device_confirmation,omitempty"`
  2383. ActiveFaults []*Fault `protobuf:"bytes,17,rep,name=active_faults,json=activeFaults,proto3" json:"active_faults,omitempty"`
  2384. Lease *LeaseSummary `protobuf:"bytes,18,opt,name=lease,proto3" json:"lease,omitempty"`
  2385. DroppedTelemetryCount uint64 `protobuf:"varint,19,opt,name=dropped_telemetry_count,json=droppedTelemetryCount,proto3" json:"dropped_telemetry_count,omitempty"`
  2386. DataGap bool `protobuf:"varint,20,opt,name=data_gap,json=dataGap,proto3" json:"data_gap,omitempty"`
  2387. TransportState TransportState `protobuf:"varint,21,opt,name=transport_state,json=transportState,proto3,enum=hth.api.v1.TransportState" json:"transport_state,omitempty"`
  2388. DeviceReadiness DeviceReadiness `protobuf:"varint,22,opt,name=device_readiness,json=deviceReadiness,proto3,enum=hth.api.v1.DeviceReadiness" json:"device_readiness,omitempty"`
  2389. SafetyControlMode SafetyControlMode `protobuf:"varint,23,opt,name=safety_control_mode,json=safetyControlMode,proto3,enum=hth.api.v1.SafetyControlMode" json:"safety_control_mode,omitempty"`
  2390. LastSuccessfulHardwareHeartbeat *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=last_successful_hardware_heartbeat,json=lastSuccessfulHardwareHeartbeat,proto3" json:"last_successful_hardware_heartbeat,omitempty"`
  2391. HardwareWatchdogTimeoutMs uint32 `protobuf:"varint,25,opt,name=hardware_watchdog_timeout_ms,json=hardwareWatchdogTimeoutMs,proto3" json:"hardware_watchdog_timeout_ms,omitempty"`
  2392. RemainingWatchdogMarginMs uint32 `protobuf:"varint,26,opt,name=remaining_watchdog_margin_ms,json=remainingWatchdogMarginMs,proto3" json:"remaining_watchdog_margin_ms,omitempty"`
  2393. HeartbeatDeliveryState ActionDispatchState `protobuf:"varint,27,opt,name=heartbeat_delivery_state,json=heartbeatDeliveryState,proto3,enum=hth.api.v1.ActionDispatchState" json:"heartbeat_delivery_state,omitempty"`
  2394. PortGeneration uint64 `protobuf:"varint,28,opt,name=port_generation,json=portGeneration,proto3" json:"port_generation,omitempty"`
  2395. unknownFields protoimpl.UnknownFields
  2396. sizeCache protoimpl.SizeCache
  2397. }
  2398. func (x *Snapshot) Reset() {
  2399. *x = Snapshot{}
  2400. mi := &file_hth_api_v1_hth_proto_msgTypes[13]
  2401. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2402. ms.StoreMessageInfo(mi)
  2403. }
  2404. func (x *Snapshot) String() string {
  2405. return protoimpl.X.MessageStringOf(x)
  2406. }
  2407. func (*Snapshot) ProtoMessage() {}
  2408. func (x *Snapshot) ProtoReflect() protoreflect.Message {
  2409. mi := &file_hth_api_v1_hth_proto_msgTypes[13]
  2410. if x != nil {
  2411. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2412. if ms.LoadMessageInfo() == nil {
  2413. ms.StoreMessageInfo(mi)
  2414. }
  2415. return ms
  2416. }
  2417. return mi.MessageOf(x)
  2418. }
  2419. // Deprecated: Use Snapshot.ProtoReflect.Descriptor instead.
  2420. func (*Snapshot) Descriptor() ([]byte, []int) {
  2421. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{13}
  2422. }
  2423. func (x *Snapshot) GetDeviceId() string {
  2424. if x != nil {
  2425. return x.DeviceId
  2426. }
  2427. return ""
  2428. }
  2429. func (x *Snapshot) GetDaemonInstanceId() string {
  2430. if x != nil {
  2431. return x.DaemonInstanceId
  2432. }
  2433. return ""
  2434. }
  2435. func (x *Snapshot) GetDeviceEpoch() uint64 {
  2436. if x != nil {
  2437. return x.DeviceEpoch
  2438. }
  2439. return 0
  2440. }
  2441. func (x *Snapshot) GetSnapshotSeq() uint64 {
  2442. if x != nil {
  2443. return x.SnapshotSeq
  2444. }
  2445. return 0
  2446. }
  2447. func (x *Snapshot) GetControlRevision() uint64 {
  2448. if x != nil {
  2449. return x.ControlRevision
  2450. }
  2451. return 0
  2452. }
  2453. func (x *Snapshot) GetEventId() uint64 {
  2454. if x != nil {
  2455. return x.EventId
  2456. }
  2457. return 0
  2458. }
  2459. func (x *Snapshot) GetWallTime() *timestamppb.Timestamp {
  2460. if x != nil {
  2461. return x.WallTime
  2462. }
  2463. return nil
  2464. }
  2465. func (x *Snapshot) GetMonotonicNs() uint64 {
  2466. if x != nil {
  2467. return x.MonotonicNs
  2468. }
  2469. return 0
  2470. }
  2471. func (x *Snapshot) GetCaptureWindow() *TimeWindow {
  2472. if x != nil {
  2473. return x.CaptureWindow
  2474. }
  2475. return nil
  2476. }
  2477. func (x *Snapshot) GetLifecycle() DeviceLifecycleState {
  2478. if x != nil {
  2479. return x.Lifecycle
  2480. }
  2481. return DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_UNSPECIFIED
  2482. }
  2483. func (x *Snapshot) GetMeasurements() []*Measurement {
  2484. if x != nil {
  2485. return x.Measurements
  2486. }
  2487. return nil
  2488. }
  2489. func (x *Snapshot) GetContinuousTargets() []*CommandedActuator {
  2490. if x != nil {
  2491. return x.ContinuousTargets
  2492. }
  2493. return nil
  2494. }
  2495. func (x *Snapshot) GetLastRequested() *ActionRecord {
  2496. if x != nil {
  2497. return x.LastRequested
  2498. }
  2499. return nil
  2500. }
  2501. func (x *Snapshot) GetLastAccepted() *ActionRecord {
  2502. if x != nil {
  2503. return x.LastAccepted
  2504. }
  2505. return nil
  2506. }
  2507. func (x *Snapshot) GetLastDispatched() *ActionRecord {
  2508. if x != nil {
  2509. return x.LastDispatched
  2510. }
  2511. return nil
  2512. }
  2513. func (x *Snapshot) GetDeviceConfirmation() ConfirmationStatus {
  2514. if x != nil {
  2515. return x.DeviceConfirmation
  2516. }
  2517. return ConfirmationStatus_CONFIRMATION_STATUS_UNSPECIFIED
  2518. }
  2519. func (x *Snapshot) GetActiveFaults() []*Fault {
  2520. if x != nil {
  2521. return x.ActiveFaults
  2522. }
  2523. return nil
  2524. }
  2525. func (x *Snapshot) GetLease() *LeaseSummary {
  2526. if x != nil {
  2527. return x.Lease
  2528. }
  2529. return nil
  2530. }
  2531. func (x *Snapshot) GetDroppedTelemetryCount() uint64 {
  2532. if x != nil {
  2533. return x.DroppedTelemetryCount
  2534. }
  2535. return 0
  2536. }
  2537. func (x *Snapshot) GetDataGap() bool {
  2538. if x != nil {
  2539. return x.DataGap
  2540. }
  2541. return false
  2542. }
  2543. func (x *Snapshot) GetTransportState() TransportState {
  2544. if x != nil {
  2545. return x.TransportState
  2546. }
  2547. return TransportState_TRANSPORT_STATE_UNSPECIFIED
  2548. }
  2549. func (x *Snapshot) GetDeviceReadiness() DeviceReadiness {
  2550. if x != nil {
  2551. return x.DeviceReadiness
  2552. }
  2553. return DeviceReadiness_DEVICE_READINESS_UNSPECIFIED
  2554. }
  2555. func (x *Snapshot) GetSafetyControlMode() SafetyControlMode {
  2556. if x != nil {
  2557. return x.SafetyControlMode
  2558. }
  2559. return SafetyControlMode_SAFETY_CONTROL_MODE_UNSPECIFIED
  2560. }
  2561. func (x *Snapshot) GetLastSuccessfulHardwareHeartbeat() *timestamppb.Timestamp {
  2562. if x != nil {
  2563. return x.LastSuccessfulHardwareHeartbeat
  2564. }
  2565. return nil
  2566. }
  2567. func (x *Snapshot) GetHardwareWatchdogTimeoutMs() uint32 {
  2568. if x != nil {
  2569. return x.HardwareWatchdogTimeoutMs
  2570. }
  2571. return 0
  2572. }
  2573. func (x *Snapshot) GetRemainingWatchdogMarginMs() uint32 {
  2574. if x != nil {
  2575. return x.RemainingWatchdogMarginMs
  2576. }
  2577. return 0
  2578. }
  2579. func (x *Snapshot) GetHeartbeatDeliveryState() ActionDispatchState {
  2580. if x != nil {
  2581. return x.HeartbeatDeliveryState
  2582. }
  2583. return ActionDispatchState_ACTION_DISPATCH_STATE_UNSPECIFIED
  2584. }
  2585. func (x *Snapshot) GetPortGeneration() uint64 {
  2586. if x != nil {
  2587. return x.PortGeneration
  2588. }
  2589. return 0
  2590. }
  2591. type Fault struct {
  2592. state protoimpl.MessageState `protogen:"open.v1"`
  2593. FaultId string `protobuf:"bytes,1,opt,name=fault_id,json=faultId,proto3" json:"fault_id,omitempty"`
  2594. Type FaultType `protobuf:"varint,2,opt,name=type,proto3,enum=hth.api.v1.FaultType" json:"type,omitempty"`
  2595. Severity FaultSeverity `protobuf:"varint,3,opt,name=severity,proto3,enum=hth.api.v1.FaultSeverity" json:"severity,omitempty"`
  2596. Class FaultClass `protobuf:"varint,4,opt,name=class,proto3,enum=hth.api.v1.FaultClass" json:"class,omitempty"`
  2597. FirstTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=first_time,json=firstTime,proto3" json:"first_time,omitempty"`
  2598. LastTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_time,json=lastTime,proto3" json:"last_time,omitempty"`
  2599. Active bool `protobuf:"varint,7,opt,name=active,proto3" json:"active,omitempty"`
  2600. Latched bool `protobuf:"varint,8,opt,name=latched,proto3" json:"latched,omitempty"`
  2601. Count uint64 `protobuf:"varint,9,opt,name=count,proto3" json:"count,omitempty"`
  2602. DeviceId string `protobuf:"bytes,10,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  2603. CommandId string `protobuf:"bytes,11,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
  2604. HumanReason string `protobuf:"bytes,12,opt,name=human_reason,json=humanReason,proto3" json:"human_reason,omitempty"`
  2605. Diagnostics map[string]string `protobuf:"bytes,13,rep,name=diagnostics,proto3" json:"diagnostics,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  2606. unknownFields protoimpl.UnknownFields
  2607. sizeCache protoimpl.SizeCache
  2608. }
  2609. func (x *Fault) Reset() {
  2610. *x = Fault{}
  2611. mi := &file_hth_api_v1_hth_proto_msgTypes[14]
  2612. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2613. ms.StoreMessageInfo(mi)
  2614. }
  2615. func (x *Fault) String() string {
  2616. return protoimpl.X.MessageStringOf(x)
  2617. }
  2618. func (*Fault) ProtoMessage() {}
  2619. func (x *Fault) ProtoReflect() protoreflect.Message {
  2620. mi := &file_hth_api_v1_hth_proto_msgTypes[14]
  2621. if x != nil {
  2622. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2623. if ms.LoadMessageInfo() == nil {
  2624. ms.StoreMessageInfo(mi)
  2625. }
  2626. return ms
  2627. }
  2628. return mi.MessageOf(x)
  2629. }
  2630. // Deprecated: Use Fault.ProtoReflect.Descriptor instead.
  2631. func (*Fault) Descriptor() ([]byte, []int) {
  2632. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{14}
  2633. }
  2634. func (x *Fault) GetFaultId() string {
  2635. if x != nil {
  2636. return x.FaultId
  2637. }
  2638. return ""
  2639. }
  2640. func (x *Fault) GetType() FaultType {
  2641. if x != nil {
  2642. return x.Type
  2643. }
  2644. return FaultType_FAULT_TYPE_UNSPECIFIED
  2645. }
  2646. func (x *Fault) GetSeverity() FaultSeverity {
  2647. if x != nil {
  2648. return x.Severity
  2649. }
  2650. return FaultSeverity_FAULT_SEVERITY_UNSPECIFIED
  2651. }
  2652. func (x *Fault) GetClass() FaultClass {
  2653. if x != nil {
  2654. return x.Class
  2655. }
  2656. return FaultClass_FAULT_CLASS_UNSPECIFIED
  2657. }
  2658. func (x *Fault) GetFirstTime() *timestamppb.Timestamp {
  2659. if x != nil {
  2660. return x.FirstTime
  2661. }
  2662. return nil
  2663. }
  2664. func (x *Fault) GetLastTime() *timestamppb.Timestamp {
  2665. if x != nil {
  2666. return x.LastTime
  2667. }
  2668. return nil
  2669. }
  2670. func (x *Fault) GetActive() bool {
  2671. if x != nil {
  2672. return x.Active
  2673. }
  2674. return false
  2675. }
  2676. func (x *Fault) GetLatched() bool {
  2677. if x != nil {
  2678. return x.Latched
  2679. }
  2680. return false
  2681. }
  2682. func (x *Fault) GetCount() uint64 {
  2683. if x != nil {
  2684. return x.Count
  2685. }
  2686. return 0
  2687. }
  2688. func (x *Fault) GetDeviceId() string {
  2689. if x != nil {
  2690. return x.DeviceId
  2691. }
  2692. return ""
  2693. }
  2694. func (x *Fault) GetCommandId() string {
  2695. if x != nil {
  2696. return x.CommandId
  2697. }
  2698. return ""
  2699. }
  2700. func (x *Fault) GetHumanReason() string {
  2701. if x != nil {
  2702. return x.HumanReason
  2703. }
  2704. return ""
  2705. }
  2706. func (x *Fault) GetDiagnostics() map[string]string {
  2707. if x != nil {
  2708. return x.Diagnostics
  2709. }
  2710. return nil
  2711. }
  2712. type DeliveryGap struct {
  2713. state protoimpl.MessageState `protogen:"open.v1"`
  2714. DroppedCount uint64 `protobuf:"varint,1,opt,name=dropped_count,json=droppedCount,proto3" json:"dropped_count,omitempty"`
  2715. LastContiguousEventId uint64 `protobuf:"varint,2,opt,name=last_contiguous_event_id,json=lastContiguousEventId,proto3" json:"last_contiguous_event_id,omitempty"`
  2716. RequestedResumeAfterEventId uint64 `protobuf:"varint,3,opt,name=requested_resume_after_event_id,json=requestedResumeAfterEventId,proto3" json:"requested_resume_after_event_id,omitempty"`
  2717. OldestAvailableEventId uint64 `protobuf:"varint,4,opt,name=oldest_available_event_id,json=oldestAvailableEventId,proto3" json:"oldest_available_event_id,omitempty"`
  2718. unknownFields protoimpl.UnknownFields
  2719. sizeCache protoimpl.SizeCache
  2720. }
  2721. func (x *DeliveryGap) Reset() {
  2722. *x = DeliveryGap{}
  2723. mi := &file_hth_api_v1_hth_proto_msgTypes[15]
  2724. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2725. ms.StoreMessageInfo(mi)
  2726. }
  2727. func (x *DeliveryGap) String() string {
  2728. return protoimpl.X.MessageStringOf(x)
  2729. }
  2730. func (*DeliveryGap) ProtoMessage() {}
  2731. func (x *DeliveryGap) ProtoReflect() protoreflect.Message {
  2732. mi := &file_hth_api_v1_hth_proto_msgTypes[15]
  2733. if x != nil {
  2734. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2735. if ms.LoadMessageInfo() == nil {
  2736. ms.StoreMessageInfo(mi)
  2737. }
  2738. return ms
  2739. }
  2740. return mi.MessageOf(x)
  2741. }
  2742. // Deprecated: Use DeliveryGap.ProtoReflect.Descriptor instead.
  2743. func (*DeliveryGap) Descriptor() ([]byte, []int) {
  2744. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{15}
  2745. }
  2746. func (x *DeliveryGap) GetDroppedCount() uint64 {
  2747. if x != nil {
  2748. return x.DroppedCount
  2749. }
  2750. return 0
  2751. }
  2752. func (x *DeliveryGap) GetLastContiguousEventId() uint64 {
  2753. if x != nil {
  2754. return x.LastContiguousEventId
  2755. }
  2756. return 0
  2757. }
  2758. func (x *DeliveryGap) GetRequestedResumeAfterEventId() uint64 {
  2759. if x != nil {
  2760. return x.RequestedResumeAfterEventId
  2761. }
  2762. return 0
  2763. }
  2764. func (x *DeliveryGap) GetOldestAvailableEventId() uint64 {
  2765. if x != nil {
  2766. return x.OldestAvailableEventId
  2767. }
  2768. return 0
  2769. }
  2770. type Event struct {
  2771. state protoimpl.MessageState `protogen:"open.v1"`
  2772. EventId uint64 `protobuf:"varint,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
  2773. Kind EventKind `protobuf:"varint,2,opt,name=kind,proto3,enum=hth.api.v1.EventKind" json:"kind,omitempty"`
  2774. WallTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=wall_time,json=wallTime,proto3" json:"wall_time,omitempty"`
  2775. MonotonicNs uint64 `protobuf:"varint,4,opt,name=monotonic_ns,json=monotonicNs,proto3" json:"monotonic_ns,omitempty"`
  2776. DeviceId string `protobuf:"bytes,5,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  2777. Snapshot *Snapshot `protobuf:"bytes,6,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
  2778. Fault *Fault `protobuf:"bytes,7,opt,name=fault,proto3" json:"fault,omitempty"`
  2779. Message string `protobuf:"bytes,8,opt,name=message,proto3" json:"message,omitempty"`
  2780. ResumeAfterEventId uint64 `protobuf:"varint,9,opt,name=resume_after_event_id,json=resumeAfterEventId,proto3" json:"resume_after_event_id,omitempty"`
  2781. DroppedCount uint64 `protobuf:"varint,10,opt,name=dropped_count,json=droppedCount,proto3" json:"dropped_count,omitempty"`
  2782. SourceEventId uint64 `protobuf:"varint,11,opt,name=source_event_id,json=sourceEventId,proto3" json:"source_event_id,omitempty"`
  2783. SourceCaptureId string `protobuf:"bytes,12,opt,name=source_capture_id,json=sourceCaptureId,proto3" json:"source_capture_id,omitempty"`
  2784. SourceDeviceId string `protobuf:"bytes,13,opt,name=source_device_id,json=sourceDeviceId,proto3" json:"source_device_id,omitempty"`
  2785. SourceDaemonInstanceId string `protobuf:"bytes,14,opt,name=source_daemon_instance_id,json=sourceDaemonInstanceId,proto3" json:"source_daemon_instance_id,omitempty"`
  2786. LastContiguousEventId uint64 `protobuf:"varint,15,opt,name=last_contiguous_event_id,json=lastContiguousEventId,proto3" json:"last_contiguous_event_id,omitempty"`
  2787. // Per-subscriber delivery gap attached to the next real event. Does not
  2788. // consume a global event_id and must not be treated as a device event.
  2789. DeliveryGap *DeliveryGap `protobuf:"bytes,16,opt,name=delivery_gap,json=deliveryGap,proto3" json:"delivery_gap,omitempty"`
  2790. ActionResult *ActionResult `protobuf:"bytes,17,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"`
  2791. PortGeneration uint64 `protobuf:"varint,18,opt,name=port_generation,json=portGeneration,proto3" json:"port_generation,omitempty"`
  2792. unknownFields protoimpl.UnknownFields
  2793. sizeCache protoimpl.SizeCache
  2794. }
  2795. func (x *Event) Reset() {
  2796. *x = Event{}
  2797. mi := &file_hth_api_v1_hth_proto_msgTypes[16]
  2798. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2799. ms.StoreMessageInfo(mi)
  2800. }
  2801. func (x *Event) String() string {
  2802. return protoimpl.X.MessageStringOf(x)
  2803. }
  2804. func (*Event) ProtoMessage() {}
  2805. func (x *Event) ProtoReflect() protoreflect.Message {
  2806. mi := &file_hth_api_v1_hth_proto_msgTypes[16]
  2807. if x != nil {
  2808. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2809. if ms.LoadMessageInfo() == nil {
  2810. ms.StoreMessageInfo(mi)
  2811. }
  2812. return ms
  2813. }
  2814. return mi.MessageOf(x)
  2815. }
  2816. // Deprecated: Use Event.ProtoReflect.Descriptor instead.
  2817. func (*Event) Descriptor() ([]byte, []int) {
  2818. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{16}
  2819. }
  2820. func (x *Event) GetEventId() uint64 {
  2821. if x != nil {
  2822. return x.EventId
  2823. }
  2824. return 0
  2825. }
  2826. func (x *Event) GetKind() EventKind {
  2827. if x != nil {
  2828. return x.Kind
  2829. }
  2830. return EventKind_EVENT_KIND_UNSPECIFIED
  2831. }
  2832. func (x *Event) GetWallTime() *timestamppb.Timestamp {
  2833. if x != nil {
  2834. return x.WallTime
  2835. }
  2836. return nil
  2837. }
  2838. func (x *Event) GetMonotonicNs() uint64 {
  2839. if x != nil {
  2840. return x.MonotonicNs
  2841. }
  2842. return 0
  2843. }
  2844. func (x *Event) GetDeviceId() string {
  2845. if x != nil {
  2846. return x.DeviceId
  2847. }
  2848. return ""
  2849. }
  2850. func (x *Event) GetSnapshot() *Snapshot {
  2851. if x != nil {
  2852. return x.Snapshot
  2853. }
  2854. return nil
  2855. }
  2856. func (x *Event) GetFault() *Fault {
  2857. if x != nil {
  2858. return x.Fault
  2859. }
  2860. return nil
  2861. }
  2862. func (x *Event) GetMessage() string {
  2863. if x != nil {
  2864. return x.Message
  2865. }
  2866. return ""
  2867. }
  2868. func (x *Event) GetResumeAfterEventId() uint64 {
  2869. if x != nil {
  2870. return x.ResumeAfterEventId
  2871. }
  2872. return 0
  2873. }
  2874. func (x *Event) GetDroppedCount() uint64 {
  2875. if x != nil {
  2876. return x.DroppedCount
  2877. }
  2878. return 0
  2879. }
  2880. func (x *Event) GetSourceEventId() uint64 {
  2881. if x != nil {
  2882. return x.SourceEventId
  2883. }
  2884. return 0
  2885. }
  2886. func (x *Event) GetSourceCaptureId() string {
  2887. if x != nil {
  2888. return x.SourceCaptureId
  2889. }
  2890. return ""
  2891. }
  2892. func (x *Event) GetSourceDeviceId() string {
  2893. if x != nil {
  2894. return x.SourceDeviceId
  2895. }
  2896. return ""
  2897. }
  2898. func (x *Event) GetSourceDaemonInstanceId() string {
  2899. if x != nil {
  2900. return x.SourceDaemonInstanceId
  2901. }
  2902. return ""
  2903. }
  2904. func (x *Event) GetLastContiguousEventId() uint64 {
  2905. if x != nil {
  2906. return x.LastContiguousEventId
  2907. }
  2908. return 0
  2909. }
  2910. func (x *Event) GetDeliveryGap() *DeliveryGap {
  2911. if x != nil {
  2912. return x.DeliveryGap
  2913. }
  2914. return nil
  2915. }
  2916. func (x *Event) GetActionResult() *ActionResult {
  2917. if x != nil {
  2918. return x.ActionResult
  2919. }
  2920. return nil
  2921. }
  2922. func (x *Event) GetPortGeneration() uint64 {
  2923. if x != nil {
  2924. return x.PortGeneration
  2925. }
  2926. return 0
  2927. }
  2928. type ContinuousTarget struct {
  2929. state protoimpl.MessageState `protogen:"open.v1"`
  2930. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  2931. Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
  2932. unknownFields protoimpl.UnknownFields
  2933. sizeCache protoimpl.SizeCache
  2934. }
  2935. func (x *ContinuousTarget) Reset() {
  2936. *x = ContinuousTarget{}
  2937. mi := &file_hth_api_v1_hth_proto_msgTypes[17]
  2938. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2939. ms.StoreMessageInfo(mi)
  2940. }
  2941. func (x *ContinuousTarget) String() string {
  2942. return protoimpl.X.MessageStringOf(x)
  2943. }
  2944. func (*ContinuousTarget) ProtoMessage() {}
  2945. func (x *ContinuousTarget) ProtoReflect() protoreflect.Message {
  2946. mi := &file_hth_api_v1_hth_proto_msgTypes[17]
  2947. if x != nil {
  2948. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2949. if ms.LoadMessageInfo() == nil {
  2950. ms.StoreMessageInfo(mi)
  2951. }
  2952. return ms
  2953. }
  2954. return mi.MessageOf(x)
  2955. }
  2956. // Deprecated: Use ContinuousTarget.ProtoReflect.Descriptor instead.
  2957. func (*ContinuousTarget) Descriptor() ([]byte, []int) {
  2958. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{17}
  2959. }
  2960. func (x *ContinuousTarget) GetId() string {
  2961. if x != nil {
  2962. return x.Id
  2963. }
  2964. return ""
  2965. }
  2966. func (x *ContinuousTarget) GetValue() float64 {
  2967. if x != nil {
  2968. return x.Value
  2969. }
  2970. return 0
  2971. }
  2972. type DiscreteCommand struct {
  2973. state protoimpl.MessageState `protogen:"open.v1"`
  2974. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  2975. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  2976. Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"`
  2977. unknownFields protoimpl.UnknownFields
  2978. sizeCache protoimpl.SizeCache
  2979. }
  2980. func (x *DiscreteCommand) Reset() {
  2981. *x = DiscreteCommand{}
  2982. mi := &file_hth_api_v1_hth_proto_msgTypes[18]
  2983. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2984. ms.StoreMessageInfo(mi)
  2985. }
  2986. func (x *DiscreteCommand) String() string {
  2987. return protoimpl.X.MessageStringOf(x)
  2988. }
  2989. func (*DiscreteCommand) ProtoMessage() {}
  2990. func (x *DiscreteCommand) ProtoReflect() protoreflect.Message {
  2991. mi := &file_hth_api_v1_hth_proto_msgTypes[18]
  2992. if x != nil {
  2993. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2994. if ms.LoadMessageInfo() == nil {
  2995. ms.StoreMessageInfo(mi)
  2996. }
  2997. return ms
  2998. }
  2999. return mi.MessageOf(x)
  3000. }
  3001. // Deprecated: Use DiscreteCommand.ProtoReflect.Descriptor instead.
  3002. func (*DiscreteCommand) Descriptor() ([]byte, []int) {
  3003. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{18}
  3004. }
  3005. func (x *DiscreteCommand) GetId() string {
  3006. if x != nil {
  3007. return x.Id
  3008. }
  3009. return ""
  3010. }
  3011. func (x *DiscreteCommand) GetName() string {
  3012. if x != nil {
  3013. return x.Name
  3014. }
  3015. return ""
  3016. }
  3017. func (x *DiscreteCommand) GetValue() float64 {
  3018. if x != nil {
  3019. return x.Value
  3020. }
  3021. return 0
  3022. }
  3023. type ClampRecord struct {
  3024. state protoimpl.MessageState `protogen:"open.v1"`
  3025. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  3026. Original float64 `protobuf:"fixed64,2,opt,name=original,proto3" json:"original,omitempty"`
  3027. Limited float64 `protobuf:"fixed64,3,opt,name=limited,proto3" json:"limited,omitempty"`
  3028. Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
  3029. unknownFields protoimpl.UnknownFields
  3030. sizeCache protoimpl.SizeCache
  3031. }
  3032. func (x *ClampRecord) Reset() {
  3033. *x = ClampRecord{}
  3034. mi := &file_hth_api_v1_hth_proto_msgTypes[19]
  3035. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3036. ms.StoreMessageInfo(mi)
  3037. }
  3038. func (x *ClampRecord) String() string {
  3039. return protoimpl.X.MessageStringOf(x)
  3040. }
  3041. func (*ClampRecord) ProtoMessage() {}
  3042. func (x *ClampRecord) ProtoReflect() protoreflect.Message {
  3043. mi := &file_hth_api_v1_hth_proto_msgTypes[19]
  3044. if x != nil {
  3045. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3046. if ms.LoadMessageInfo() == nil {
  3047. ms.StoreMessageInfo(mi)
  3048. }
  3049. return ms
  3050. }
  3051. return mi.MessageOf(x)
  3052. }
  3053. // Deprecated: Use ClampRecord.ProtoReflect.Descriptor instead.
  3054. func (*ClampRecord) Descriptor() ([]byte, []int) {
  3055. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{19}
  3056. }
  3057. func (x *ClampRecord) GetId() string {
  3058. if x != nil {
  3059. return x.Id
  3060. }
  3061. return ""
  3062. }
  3063. func (x *ClampRecord) GetOriginal() float64 {
  3064. if x != nil {
  3065. return x.Original
  3066. }
  3067. return 0
  3068. }
  3069. func (x *ClampRecord) GetLimited() float64 {
  3070. if x != nil {
  3071. return x.Limited
  3072. }
  3073. return 0
  3074. }
  3075. func (x *ClampRecord) GetReason() string {
  3076. if x != nil {
  3077. return x.Reason
  3078. }
  3079. return ""
  3080. }
  3081. type ActionBatch struct {
  3082. state protoimpl.MessageState `protogen:"open.v1"`
  3083. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  3084. CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
  3085. LeaseId string `protobuf:"bytes,3,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
  3086. LeaseEpoch uint64 `protobuf:"varint,4,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
  3087. BasedOnSnapshotSeq uint64 `protobuf:"varint,5,opt,name=based_on_snapshot_seq,json=basedOnSnapshotSeq,proto3" json:"based_on_snapshot_seq,omitempty"`
  3088. ExpectedControlRevision uint64 `protobuf:"varint,6,opt,name=expected_control_revision,json=expectedControlRevision,proto3" json:"expected_control_revision,omitempty"`
  3089. ValidUntil *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=valid_until,json=validUntil,proto3" json:"valid_until,omitempty"`
  3090. ContinuousTargets []*ContinuousTarget `protobuf:"bytes,8,rep,name=continuous_targets,json=continuousTargets,proto3" json:"continuous_targets,omitempty"`
  3091. DiscreteCommands []*DiscreteCommand `protobuf:"bytes,9,rep,name=discrete_commands,json=discreteCommands,proto3" json:"discrete_commands,omitempty"`
  3092. AllowClamp bool `protobuf:"varint,10,opt,name=allow_clamp,json=allowClamp,proto3" json:"allow_clamp,omitempty"`
  3093. ClientId string `protobuf:"bytes,11,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
  3094. PolicyVersion string `protobuf:"bytes,12,opt,name=policy_version,json=policyVersion,proto3" json:"policy_version,omitempty"`
  3095. unknownFields protoimpl.UnknownFields
  3096. sizeCache protoimpl.SizeCache
  3097. }
  3098. func (x *ActionBatch) Reset() {
  3099. *x = ActionBatch{}
  3100. mi := &file_hth_api_v1_hth_proto_msgTypes[20]
  3101. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3102. ms.StoreMessageInfo(mi)
  3103. }
  3104. func (x *ActionBatch) String() string {
  3105. return protoimpl.X.MessageStringOf(x)
  3106. }
  3107. func (*ActionBatch) ProtoMessage() {}
  3108. func (x *ActionBatch) ProtoReflect() protoreflect.Message {
  3109. mi := &file_hth_api_v1_hth_proto_msgTypes[20]
  3110. if x != nil {
  3111. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3112. if ms.LoadMessageInfo() == nil {
  3113. ms.StoreMessageInfo(mi)
  3114. }
  3115. return ms
  3116. }
  3117. return mi.MessageOf(x)
  3118. }
  3119. // Deprecated: Use ActionBatch.ProtoReflect.Descriptor instead.
  3120. func (*ActionBatch) Descriptor() ([]byte, []int) {
  3121. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{20}
  3122. }
  3123. func (x *ActionBatch) GetDeviceId() string {
  3124. if x != nil {
  3125. return x.DeviceId
  3126. }
  3127. return ""
  3128. }
  3129. func (x *ActionBatch) GetCommandId() string {
  3130. if x != nil {
  3131. return x.CommandId
  3132. }
  3133. return ""
  3134. }
  3135. func (x *ActionBatch) GetLeaseId() string {
  3136. if x != nil {
  3137. return x.LeaseId
  3138. }
  3139. return ""
  3140. }
  3141. func (x *ActionBatch) GetLeaseEpoch() uint64 {
  3142. if x != nil {
  3143. return x.LeaseEpoch
  3144. }
  3145. return 0
  3146. }
  3147. func (x *ActionBatch) GetBasedOnSnapshotSeq() uint64 {
  3148. if x != nil {
  3149. return x.BasedOnSnapshotSeq
  3150. }
  3151. return 0
  3152. }
  3153. func (x *ActionBatch) GetExpectedControlRevision() uint64 {
  3154. if x != nil {
  3155. return x.ExpectedControlRevision
  3156. }
  3157. return 0
  3158. }
  3159. func (x *ActionBatch) GetValidUntil() *timestamppb.Timestamp {
  3160. if x != nil {
  3161. return x.ValidUntil
  3162. }
  3163. return nil
  3164. }
  3165. func (x *ActionBatch) GetContinuousTargets() []*ContinuousTarget {
  3166. if x != nil {
  3167. return x.ContinuousTargets
  3168. }
  3169. return nil
  3170. }
  3171. func (x *ActionBatch) GetDiscreteCommands() []*DiscreteCommand {
  3172. if x != nil {
  3173. return x.DiscreteCommands
  3174. }
  3175. return nil
  3176. }
  3177. func (x *ActionBatch) GetAllowClamp() bool {
  3178. if x != nil {
  3179. return x.AllowClamp
  3180. }
  3181. return false
  3182. }
  3183. func (x *ActionBatch) GetClientId() string {
  3184. if x != nil {
  3185. return x.ClientId
  3186. }
  3187. return ""
  3188. }
  3189. func (x *ActionBatch) GetPolicyVersion() string {
  3190. if x != nil {
  3191. return x.PolicyVersion
  3192. }
  3193. return ""
  3194. }
  3195. type ActionResult struct {
  3196. state protoimpl.MessageState `protogen:"open.v1"`
  3197. CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
  3198. Accepted bool `protobuf:"varint,2,opt,name=accepted,proto3" json:"accepted,omitempty"`
  3199. RejectReason RejectReason `protobuf:"varint,3,opt,name=reject_reason,json=rejectReason,proto3,enum=hth.api.v1.RejectReason" json:"reject_reason,omitempty"`
  3200. Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
  3201. Clamps []*ClampRecord `protobuf:"bytes,5,rep,name=clamps,proto3" json:"clamps,omitempty"`
  3202. // requested is the raw client fields (original floats, only explicit IDs).
  3203. Requested *ActionRecord `protobuf:"bytes,6,opt,name=requested,proto3" json:"requested,omitempty"`
  3204. AcceptedAction *ActionRecord `protobuf:"bytes,7,opt,name=accepted_action,json=acceptedAction,proto3" json:"accepted_action,omitempty"`
  3205. Dispatched *ActionRecord `protobuf:"bytes,8,opt,name=dispatched,proto3" json:"dispatched,omitempty"`
  3206. Confirmation ConfirmationStatus `protobuf:"varint,9,opt,name=confirmation,proto3,enum=hth.api.v1.ConfirmationStatus" json:"confirmation,omitempty"`
  3207. ControlRevision uint64 `protobuf:"varint,10,opt,name=control_revision,json=controlRevision,proto3" json:"control_revision,omitempty"`
  3208. DeviceEpoch uint64 `protobuf:"varint,11,opt,name=device_epoch,json=deviceEpoch,proto3" json:"device_epoch,omitempty"`
  3209. ReplayedFromCache bool `protobuf:"varint,12,opt,name=replayed_from_cache,json=replayedFromCache,proto3" json:"replayed_from_cache,omitempty"`
  3210. RawRequested *ActionRecord `protobuf:"bytes,13,opt,name=raw_requested,json=rawRequested,proto3" json:"raw_requested,omitempty"`
  3211. NormalizedRequested *ActionRecord `protobuf:"bytes,14,opt,name=normalized_requested,json=normalizedRequested,proto3" json:"normalized_requested,omitempty"`
  3212. DispatchState ActionDispatchState `protobuf:"varint,15,opt,name=dispatch_state,json=dispatchState,proto3,enum=hth.api.v1.ActionDispatchState" json:"dispatch_state,omitempty"`
  3213. ActionOrigin string `protobuf:"bytes,16,opt,name=action_origin,json=actionOrigin,proto3" json:"action_origin,omitempty"`
  3214. PortGeneration uint64 `protobuf:"varint,17,opt,name=port_generation,json=portGeneration,proto3" json:"port_generation,omitempty"`
  3215. unknownFields protoimpl.UnknownFields
  3216. sizeCache protoimpl.SizeCache
  3217. }
  3218. func (x *ActionResult) Reset() {
  3219. *x = ActionResult{}
  3220. mi := &file_hth_api_v1_hth_proto_msgTypes[21]
  3221. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3222. ms.StoreMessageInfo(mi)
  3223. }
  3224. func (x *ActionResult) String() string {
  3225. return protoimpl.X.MessageStringOf(x)
  3226. }
  3227. func (*ActionResult) ProtoMessage() {}
  3228. func (x *ActionResult) ProtoReflect() protoreflect.Message {
  3229. mi := &file_hth_api_v1_hth_proto_msgTypes[21]
  3230. if x != nil {
  3231. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3232. if ms.LoadMessageInfo() == nil {
  3233. ms.StoreMessageInfo(mi)
  3234. }
  3235. return ms
  3236. }
  3237. return mi.MessageOf(x)
  3238. }
  3239. // Deprecated: Use ActionResult.ProtoReflect.Descriptor instead.
  3240. func (*ActionResult) Descriptor() ([]byte, []int) {
  3241. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{21}
  3242. }
  3243. func (x *ActionResult) GetCommandId() string {
  3244. if x != nil {
  3245. return x.CommandId
  3246. }
  3247. return ""
  3248. }
  3249. func (x *ActionResult) GetAccepted() bool {
  3250. if x != nil {
  3251. return x.Accepted
  3252. }
  3253. return false
  3254. }
  3255. func (x *ActionResult) GetRejectReason() RejectReason {
  3256. if x != nil {
  3257. return x.RejectReason
  3258. }
  3259. return RejectReason_REJECT_REASON_UNSPECIFIED
  3260. }
  3261. func (x *ActionResult) GetMessage() string {
  3262. if x != nil {
  3263. return x.Message
  3264. }
  3265. return ""
  3266. }
  3267. func (x *ActionResult) GetClamps() []*ClampRecord {
  3268. if x != nil {
  3269. return x.Clamps
  3270. }
  3271. return nil
  3272. }
  3273. func (x *ActionResult) GetRequested() *ActionRecord {
  3274. if x != nil {
  3275. return x.Requested
  3276. }
  3277. return nil
  3278. }
  3279. func (x *ActionResult) GetAcceptedAction() *ActionRecord {
  3280. if x != nil {
  3281. return x.AcceptedAction
  3282. }
  3283. return nil
  3284. }
  3285. func (x *ActionResult) GetDispatched() *ActionRecord {
  3286. if x != nil {
  3287. return x.Dispatched
  3288. }
  3289. return nil
  3290. }
  3291. func (x *ActionResult) GetConfirmation() ConfirmationStatus {
  3292. if x != nil {
  3293. return x.Confirmation
  3294. }
  3295. return ConfirmationStatus_CONFIRMATION_STATUS_UNSPECIFIED
  3296. }
  3297. func (x *ActionResult) GetControlRevision() uint64 {
  3298. if x != nil {
  3299. return x.ControlRevision
  3300. }
  3301. return 0
  3302. }
  3303. func (x *ActionResult) GetDeviceEpoch() uint64 {
  3304. if x != nil {
  3305. return x.DeviceEpoch
  3306. }
  3307. return 0
  3308. }
  3309. func (x *ActionResult) GetReplayedFromCache() bool {
  3310. if x != nil {
  3311. return x.ReplayedFromCache
  3312. }
  3313. return false
  3314. }
  3315. func (x *ActionResult) GetRawRequested() *ActionRecord {
  3316. if x != nil {
  3317. return x.RawRequested
  3318. }
  3319. return nil
  3320. }
  3321. func (x *ActionResult) GetNormalizedRequested() *ActionRecord {
  3322. if x != nil {
  3323. return x.NormalizedRequested
  3324. }
  3325. return nil
  3326. }
  3327. func (x *ActionResult) GetDispatchState() ActionDispatchState {
  3328. if x != nil {
  3329. return x.DispatchState
  3330. }
  3331. return ActionDispatchState_ACTION_DISPATCH_STATE_UNSPECIFIED
  3332. }
  3333. func (x *ActionResult) GetActionOrigin() string {
  3334. if x != nil {
  3335. return x.ActionOrigin
  3336. }
  3337. return ""
  3338. }
  3339. func (x *ActionResult) GetPortGeneration() uint64 {
  3340. if x != nil {
  3341. return x.PortGeneration
  3342. }
  3343. return 0
  3344. }
  3345. type ControlLease struct {
  3346. state protoimpl.MessageState `protogen:"open.v1"`
  3347. LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
  3348. LeaseEpoch uint64 `protobuf:"varint,2,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
  3349. DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  3350. Holder string `protobuf:"bytes,4,opt,name=holder,proto3" json:"holder,omitempty"`
  3351. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
  3352. ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
  3353. MaxTtl *durationpb.Duration `protobuf:"bytes,7,opt,name=max_ttl,json=maxTtl,proto3" json:"max_ttl,omitempty"`
  3354. Active bool `protobuf:"varint,8,opt,name=active,proto3" json:"active,omitempty"`
  3355. unknownFields protoimpl.UnknownFields
  3356. sizeCache protoimpl.SizeCache
  3357. }
  3358. func (x *ControlLease) Reset() {
  3359. *x = ControlLease{}
  3360. mi := &file_hth_api_v1_hth_proto_msgTypes[22]
  3361. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3362. ms.StoreMessageInfo(mi)
  3363. }
  3364. func (x *ControlLease) String() string {
  3365. return protoimpl.X.MessageStringOf(x)
  3366. }
  3367. func (*ControlLease) ProtoMessage() {}
  3368. func (x *ControlLease) ProtoReflect() protoreflect.Message {
  3369. mi := &file_hth_api_v1_hth_proto_msgTypes[22]
  3370. if x != nil {
  3371. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3372. if ms.LoadMessageInfo() == nil {
  3373. ms.StoreMessageInfo(mi)
  3374. }
  3375. return ms
  3376. }
  3377. return mi.MessageOf(x)
  3378. }
  3379. // Deprecated: Use ControlLease.ProtoReflect.Descriptor instead.
  3380. func (*ControlLease) Descriptor() ([]byte, []int) {
  3381. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{22}
  3382. }
  3383. func (x *ControlLease) GetLeaseId() string {
  3384. if x != nil {
  3385. return x.LeaseId
  3386. }
  3387. return ""
  3388. }
  3389. func (x *ControlLease) GetLeaseEpoch() uint64 {
  3390. if x != nil {
  3391. return x.LeaseEpoch
  3392. }
  3393. return 0
  3394. }
  3395. func (x *ControlLease) GetDeviceId() string {
  3396. if x != nil {
  3397. return x.DeviceId
  3398. }
  3399. return ""
  3400. }
  3401. func (x *ControlLease) GetHolder() string {
  3402. if x != nil {
  3403. return x.Holder
  3404. }
  3405. return ""
  3406. }
  3407. func (x *ControlLease) GetCreatedAt() *timestamppb.Timestamp {
  3408. if x != nil {
  3409. return x.CreatedAt
  3410. }
  3411. return nil
  3412. }
  3413. func (x *ControlLease) GetExpiresAt() *timestamppb.Timestamp {
  3414. if x != nil {
  3415. return x.ExpiresAt
  3416. }
  3417. return nil
  3418. }
  3419. func (x *ControlLease) GetMaxTtl() *durationpb.Duration {
  3420. if x != nil {
  3421. return x.MaxTtl
  3422. }
  3423. return nil
  3424. }
  3425. func (x *ControlLease) GetActive() bool {
  3426. if x != nil {
  3427. return x.Active
  3428. }
  3429. return false
  3430. }
  3431. type ListDevicesRequest struct {
  3432. state protoimpl.MessageState `protogen:"open.v1"`
  3433. unknownFields protoimpl.UnknownFields
  3434. sizeCache protoimpl.SizeCache
  3435. }
  3436. func (x *ListDevicesRequest) Reset() {
  3437. *x = ListDevicesRequest{}
  3438. mi := &file_hth_api_v1_hth_proto_msgTypes[23]
  3439. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3440. ms.StoreMessageInfo(mi)
  3441. }
  3442. func (x *ListDevicesRequest) String() string {
  3443. return protoimpl.X.MessageStringOf(x)
  3444. }
  3445. func (*ListDevicesRequest) ProtoMessage() {}
  3446. func (x *ListDevicesRequest) ProtoReflect() protoreflect.Message {
  3447. mi := &file_hth_api_v1_hth_proto_msgTypes[23]
  3448. if x != nil {
  3449. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3450. if ms.LoadMessageInfo() == nil {
  3451. ms.StoreMessageInfo(mi)
  3452. }
  3453. return ms
  3454. }
  3455. return mi.MessageOf(x)
  3456. }
  3457. // Deprecated: Use ListDevicesRequest.ProtoReflect.Descriptor instead.
  3458. func (*ListDevicesRequest) Descriptor() ([]byte, []int) {
  3459. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{23}
  3460. }
  3461. type ListDevicesResponse struct {
  3462. state protoimpl.MessageState `protogen:"open.v1"`
  3463. Devices []*DeviceInfo `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
  3464. unknownFields protoimpl.UnknownFields
  3465. sizeCache protoimpl.SizeCache
  3466. }
  3467. func (x *ListDevicesResponse) Reset() {
  3468. *x = ListDevicesResponse{}
  3469. mi := &file_hth_api_v1_hth_proto_msgTypes[24]
  3470. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3471. ms.StoreMessageInfo(mi)
  3472. }
  3473. func (x *ListDevicesResponse) String() string {
  3474. return protoimpl.X.MessageStringOf(x)
  3475. }
  3476. func (*ListDevicesResponse) ProtoMessage() {}
  3477. func (x *ListDevicesResponse) ProtoReflect() protoreflect.Message {
  3478. mi := &file_hth_api_v1_hth_proto_msgTypes[24]
  3479. if x != nil {
  3480. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3481. if ms.LoadMessageInfo() == nil {
  3482. ms.StoreMessageInfo(mi)
  3483. }
  3484. return ms
  3485. }
  3486. return mi.MessageOf(x)
  3487. }
  3488. // Deprecated: Use ListDevicesResponse.ProtoReflect.Descriptor instead.
  3489. func (*ListDevicesResponse) Descriptor() ([]byte, []int) {
  3490. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{24}
  3491. }
  3492. func (x *ListDevicesResponse) GetDevices() []*DeviceInfo {
  3493. if x != nil {
  3494. return x.Devices
  3495. }
  3496. return nil
  3497. }
  3498. type GetCapabilitiesRequest struct {
  3499. state protoimpl.MessageState `protogen:"open.v1"`
  3500. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  3501. unknownFields protoimpl.UnknownFields
  3502. sizeCache protoimpl.SizeCache
  3503. }
  3504. func (x *GetCapabilitiesRequest) Reset() {
  3505. *x = GetCapabilitiesRequest{}
  3506. mi := &file_hth_api_v1_hth_proto_msgTypes[25]
  3507. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3508. ms.StoreMessageInfo(mi)
  3509. }
  3510. func (x *GetCapabilitiesRequest) String() string {
  3511. return protoimpl.X.MessageStringOf(x)
  3512. }
  3513. func (*GetCapabilitiesRequest) ProtoMessage() {}
  3514. func (x *GetCapabilitiesRequest) ProtoReflect() protoreflect.Message {
  3515. mi := &file_hth_api_v1_hth_proto_msgTypes[25]
  3516. if x != nil {
  3517. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3518. if ms.LoadMessageInfo() == nil {
  3519. ms.StoreMessageInfo(mi)
  3520. }
  3521. return ms
  3522. }
  3523. return mi.MessageOf(x)
  3524. }
  3525. // Deprecated: Use GetCapabilitiesRequest.ProtoReflect.Descriptor instead.
  3526. func (*GetCapabilitiesRequest) Descriptor() ([]byte, []int) {
  3527. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{25}
  3528. }
  3529. func (x *GetCapabilitiesRequest) GetDeviceId() string {
  3530. if x != nil {
  3531. return x.DeviceId
  3532. }
  3533. return ""
  3534. }
  3535. type GetCapabilitiesResponse struct {
  3536. state protoimpl.MessageState `protogen:"open.v1"`
  3537. Capabilities *Capabilities `protobuf:"bytes,1,opt,name=capabilities,proto3" json:"capabilities,omitempty"`
  3538. unknownFields protoimpl.UnknownFields
  3539. sizeCache protoimpl.SizeCache
  3540. }
  3541. func (x *GetCapabilitiesResponse) Reset() {
  3542. *x = GetCapabilitiesResponse{}
  3543. mi := &file_hth_api_v1_hth_proto_msgTypes[26]
  3544. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3545. ms.StoreMessageInfo(mi)
  3546. }
  3547. func (x *GetCapabilitiesResponse) String() string {
  3548. return protoimpl.X.MessageStringOf(x)
  3549. }
  3550. func (*GetCapabilitiesResponse) ProtoMessage() {}
  3551. func (x *GetCapabilitiesResponse) ProtoReflect() protoreflect.Message {
  3552. mi := &file_hth_api_v1_hth_proto_msgTypes[26]
  3553. if x != nil {
  3554. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3555. if ms.LoadMessageInfo() == nil {
  3556. ms.StoreMessageInfo(mi)
  3557. }
  3558. return ms
  3559. }
  3560. return mi.MessageOf(x)
  3561. }
  3562. // Deprecated: Use GetCapabilitiesResponse.ProtoReflect.Descriptor instead.
  3563. func (*GetCapabilitiesResponse) Descriptor() ([]byte, []int) {
  3564. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{26}
  3565. }
  3566. func (x *GetCapabilitiesResponse) GetCapabilities() *Capabilities {
  3567. if x != nil {
  3568. return x.Capabilities
  3569. }
  3570. return nil
  3571. }
  3572. type GetSnapshotRequest struct {
  3573. state protoimpl.MessageState `protogen:"open.v1"`
  3574. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  3575. unknownFields protoimpl.UnknownFields
  3576. sizeCache protoimpl.SizeCache
  3577. }
  3578. func (x *GetSnapshotRequest) Reset() {
  3579. *x = GetSnapshotRequest{}
  3580. mi := &file_hth_api_v1_hth_proto_msgTypes[27]
  3581. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3582. ms.StoreMessageInfo(mi)
  3583. }
  3584. func (x *GetSnapshotRequest) String() string {
  3585. return protoimpl.X.MessageStringOf(x)
  3586. }
  3587. func (*GetSnapshotRequest) ProtoMessage() {}
  3588. func (x *GetSnapshotRequest) ProtoReflect() protoreflect.Message {
  3589. mi := &file_hth_api_v1_hth_proto_msgTypes[27]
  3590. if x != nil {
  3591. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3592. if ms.LoadMessageInfo() == nil {
  3593. ms.StoreMessageInfo(mi)
  3594. }
  3595. return ms
  3596. }
  3597. return mi.MessageOf(x)
  3598. }
  3599. // Deprecated: Use GetSnapshotRequest.ProtoReflect.Descriptor instead.
  3600. func (*GetSnapshotRequest) Descriptor() ([]byte, []int) {
  3601. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{27}
  3602. }
  3603. func (x *GetSnapshotRequest) GetDeviceId() string {
  3604. if x != nil {
  3605. return x.DeviceId
  3606. }
  3607. return ""
  3608. }
  3609. type GetSnapshotResponse struct {
  3610. state protoimpl.MessageState `protogen:"open.v1"`
  3611. Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
  3612. unknownFields protoimpl.UnknownFields
  3613. sizeCache protoimpl.SizeCache
  3614. }
  3615. func (x *GetSnapshotResponse) Reset() {
  3616. *x = GetSnapshotResponse{}
  3617. mi := &file_hth_api_v1_hth_proto_msgTypes[28]
  3618. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3619. ms.StoreMessageInfo(mi)
  3620. }
  3621. func (x *GetSnapshotResponse) String() string {
  3622. return protoimpl.X.MessageStringOf(x)
  3623. }
  3624. func (*GetSnapshotResponse) ProtoMessage() {}
  3625. func (x *GetSnapshotResponse) ProtoReflect() protoreflect.Message {
  3626. mi := &file_hth_api_v1_hth_proto_msgTypes[28]
  3627. if x != nil {
  3628. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3629. if ms.LoadMessageInfo() == nil {
  3630. ms.StoreMessageInfo(mi)
  3631. }
  3632. return ms
  3633. }
  3634. return mi.MessageOf(x)
  3635. }
  3636. // Deprecated: Use GetSnapshotResponse.ProtoReflect.Descriptor instead.
  3637. func (*GetSnapshotResponse) Descriptor() ([]byte, []int) {
  3638. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{28}
  3639. }
  3640. func (x *GetSnapshotResponse) GetSnapshot() *Snapshot {
  3641. if x != nil {
  3642. return x.Snapshot
  3643. }
  3644. return nil
  3645. }
  3646. type SubscribeTelemetryRequest struct {
  3647. state protoimpl.MessageState `protogen:"open.v1"`
  3648. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  3649. ResumeAfterEventId uint64 `protobuf:"varint,2,opt,name=resume_after_event_id,json=resumeAfterEventId,proto3" json:"resume_after_event_id,omitempty"`
  3650. unknownFields protoimpl.UnknownFields
  3651. sizeCache protoimpl.SizeCache
  3652. }
  3653. func (x *SubscribeTelemetryRequest) Reset() {
  3654. *x = SubscribeTelemetryRequest{}
  3655. mi := &file_hth_api_v1_hth_proto_msgTypes[29]
  3656. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3657. ms.StoreMessageInfo(mi)
  3658. }
  3659. func (x *SubscribeTelemetryRequest) String() string {
  3660. return protoimpl.X.MessageStringOf(x)
  3661. }
  3662. func (*SubscribeTelemetryRequest) ProtoMessage() {}
  3663. func (x *SubscribeTelemetryRequest) ProtoReflect() protoreflect.Message {
  3664. mi := &file_hth_api_v1_hth_proto_msgTypes[29]
  3665. if x != nil {
  3666. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3667. if ms.LoadMessageInfo() == nil {
  3668. ms.StoreMessageInfo(mi)
  3669. }
  3670. return ms
  3671. }
  3672. return mi.MessageOf(x)
  3673. }
  3674. // Deprecated: Use SubscribeTelemetryRequest.ProtoReflect.Descriptor instead.
  3675. func (*SubscribeTelemetryRequest) Descriptor() ([]byte, []int) {
  3676. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{29}
  3677. }
  3678. func (x *SubscribeTelemetryRequest) GetDeviceId() string {
  3679. if x != nil {
  3680. return x.DeviceId
  3681. }
  3682. return ""
  3683. }
  3684. func (x *SubscribeTelemetryRequest) GetResumeAfterEventId() uint64 {
  3685. if x != nil {
  3686. return x.ResumeAfterEventId
  3687. }
  3688. return 0
  3689. }
  3690. type SubscribeEventsRequest struct {
  3691. state protoimpl.MessageState `protogen:"open.v1"`
  3692. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  3693. ResumeAfterEventId uint64 `protobuf:"varint,2,opt,name=resume_after_event_id,json=resumeAfterEventId,proto3" json:"resume_after_event_id,omitempty"`
  3694. unknownFields protoimpl.UnknownFields
  3695. sizeCache protoimpl.SizeCache
  3696. }
  3697. func (x *SubscribeEventsRequest) Reset() {
  3698. *x = SubscribeEventsRequest{}
  3699. mi := &file_hth_api_v1_hth_proto_msgTypes[30]
  3700. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3701. ms.StoreMessageInfo(mi)
  3702. }
  3703. func (x *SubscribeEventsRequest) String() string {
  3704. return protoimpl.X.MessageStringOf(x)
  3705. }
  3706. func (*SubscribeEventsRequest) ProtoMessage() {}
  3707. func (x *SubscribeEventsRequest) ProtoReflect() protoreflect.Message {
  3708. mi := &file_hth_api_v1_hth_proto_msgTypes[30]
  3709. if x != nil {
  3710. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3711. if ms.LoadMessageInfo() == nil {
  3712. ms.StoreMessageInfo(mi)
  3713. }
  3714. return ms
  3715. }
  3716. return mi.MessageOf(x)
  3717. }
  3718. // Deprecated: Use SubscribeEventsRequest.ProtoReflect.Descriptor instead.
  3719. func (*SubscribeEventsRequest) Descriptor() ([]byte, []int) {
  3720. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{30}
  3721. }
  3722. func (x *SubscribeEventsRequest) GetDeviceId() string {
  3723. if x != nil {
  3724. return x.DeviceId
  3725. }
  3726. return ""
  3727. }
  3728. func (x *SubscribeEventsRequest) GetResumeAfterEventId() uint64 {
  3729. if x != nil {
  3730. return x.ResumeAfterEventId
  3731. }
  3732. return 0
  3733. }
  3734. type GetFaultsRequest struct {
  3735. state protoimpl.MessageState `protogen:"open.v1"`
  3736. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  3737. IncludeInactive bool `protobuf:"varint,2,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
  3738. unknownFields protoimpl.UnknownFields
  3739. sizeCache protoimpl.SizeCache
  3740. }
  3741. func (x *GetFaultsRequest) Reset() {
  3742. *x = GetFaultsRequest{}
  3743. mi := &file_hth_api_v1_hth_proto_msgTypes[31]
  3744. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3745. ms.StoreMessageInfo(mi)
  3746. }
  3747. func (x *GetFaultsRequest) String() string {
  3748. return protoimpl.X.MessageStringOf(x)
  3749. }
  3750. func (*GetFaultsRequest) ProtoMessage() {}
  3751. func (x *GetFaultsRequest) ProtoReflect() protoreflect.Message {
  3752. mi := &file_hth_api_v1_hth_proto_msgTypes[31]
  3753. if x != nil {
  3754. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3755. if ms.LoadMessageInfo() == nil {
  3756. ms.StoreMessageInfo(mi)
  3757. }
  3758. return ms
  3759. }
  3760. return mi.MessageOf(x)
  3761. }
  3762. // Deprecated: Use GetFaultsRequest.ProtoReflect.Descriptor instead.
  3763. func (*GetFaultsRequest) Descriptor() ([]byte, []int) {
  3764. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{31}
  3765. }
  3766. func (x *GetFaultsRequest) GetDeviceId() string {
  3767. if x != nil {
  3768. return x.DeviceId
  3769. }
  3770. return ""
  3771. }
  3772. func (x *GetFaultsRequest) GetIncludeInactive() bool {
  3773. if x != nil {
  3774. return x.IncludeInactive
  3775. }
  3776. return false
  3777. }
  3778. type GetFaultsResponse struct {
  3779. state protoimpl.MessageState `protogen:"open.v1"`
  3780. Faults []*Fault `protobuf:"bytes,1,rep,name=faults,proto3" json:"faults,omitempty"`
  3781. DeviceFaultQuerySupported bool `protobuf:"varint,2,opt,name=device_fault_query_supported,json=deviceFaultQuerySupported,proto3" json:"device_fault_query_supported,omitempty"`
  3782. HostFaultReportingSupported bool `protobuf:"varint,3,opt,name=host_fault_reporting_supported,json=hostFaultReportingSupported,proto3" json:"host_fault_reporting_supported,omitempty"`
  3783. DeviceNativeFaultQuerySupported bool `protobuf:"varint,4,opt,name=device_native_fault_query_supported,json=deviceNativeFaultQuerySupported,proto3" json:"device_native_fault_query_supported,omitempty"`
  3784. DeviceFaultSource string `protobuf:"bytes,5,opt,name=device_fault_source,json=deviceFaultSource,proto3" json:"device_fault_source,omitempty"`
  3785. unknownFields protoimpl.UnknownFields
  3786. sizeCache protoimpl.SizeCache
  3787. }
  3788. func (x *GetFaultsResponse) Reset() {
  3789. *x = GetFaultsResponse{}
  3790. mi := &file_hth_api_v1_hth_proto_msgTypes[32]
  3791. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3792. ms.StoreMessageInfo(mi)
  3793. }
  3794. func (x *GetFaultsResponse) String() string {
  3795. return protoimpl.X.MessageStringOf(x)
  3796. }
  3797. func (*GetFaultsResponse) ProtoMessage() {}
  3798. func (x *GetFaultsResponse) ProtoReflect() protoreflect.Message {
  3799. mi := &file_hth_api_v1_hth_proto_msgTypes[32]
  3800. if x != nil {
  3801. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3802. if ms.LoadMessageInfo() == nil {
  3803. ms.StoreMessageInfo(mi)
  3804. }
  3805. return ms
  3806. }
  3807. return mi.MessageOf(x)
  3808. }
  3809. // Deprecated: Use GetFaultsResponse.ProtoReflect.Descriptor instead.
  3810. func (*GetFaultsResponse) Descriptor() ([]byte, []int) {
  3811. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{32}
  3812. }
  3813. func (x *GetFaultsResponse) GetFaults() []*Fault {
  3814. if x != nil {
  3815. return x.Faults
  3816. }
  3817. return nil
  3818. }
  3819. func (x *GetFaultsResponse) GetDeviceFaultQuerySupported() bool {
  3820. if x != nil {
  3821. return x.DeviceFaultQuerySupported
  3822. }
  3823. return false
  3824. }
  3825. func (x *GetFaultsResponse) GetHostFaultReportingSupported() bool {
  3826. if x != nil {
  3827. return x.HostFaultReportingSupported
  3828. }
  3829. return false
  3830. }
  3831. func (x *GetFaultsResponse) GetDeviceNativeFaultQuerySupported() bool {
  3832. if x != nil {
  3833. return x.DeviceNativeFaultQuerySupported
  3834. }
  3835. return false
  3836. }
  3837. func (x *GetFaultsResponse) GetDeviceFaultSource() string {
  3838. if x != nil {
  3839. return x.DeviceFaultSource
  3840. }
  3841. return ""
  3842. }
  3843. type WatchHealthRequest struct {
  3844. state protoimpl.MessageState `protogen:"open.v1"`
  3845. unknownFields protoimpl.UnknownFields
  3846. sizeCache protoimpl.SizeCache
  3847. }
  3848. func (x *WatchHealthRequest) Reset() {
  3849. *x = WatchHealthRequest{}
  3850. mi := &file_hth_api_v1_hth_proto_msgTypes[33]
  3851. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3852. ms.StoreMessageInfo(mi)
  3853. }
  3854. func (x *WatchHealthRequest) String() string {
  3855. return protoimpl.X.MessageStringOf(x)
  3856. }
  3857. func (*WatchHealthRequest) ProtoMessage() {}
  3858. func (x *WatchHealthRequest) ProtoReflect() protoreflect.Message {
  3859. mi := &file_hth_api_v1_hth_proto_msgTypes[33]
  3860. if x != nil {
  3861. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3862. if ms.LoadMessageInfo() == nil {
  3863. ms.StoreMessageInfo(mi)
  3864. }
  3865. return ms
  3866. }
  3867. return mi.MessageOf(x)
  3868. }
  3869. // Deprecated: Use WatchHealthRequest.ProtoReflect.Descriptor instead.
  3870. func (*WatchHealthRequest) Descriptor() ([]byte, []int) {
  3871. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{33}
  3872. }
  3873. type HealthStatus struct {
  3874. state protoimpl.MessageState `protogen:"open.v1"`
  3875. Host HostHealth `protobuf:"varint,1,opt,name=host,proto3,enum=hth.api.v1.HostHealth" json:"host,omitempty"`
  3876. Devices []*DeviceInfo `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
  3877. Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
  3878. ObserveService HostHealth `protobuf:"varint,4,opt,name=observe_service,json=observeService,proto3,enum=hth.api.v1.HostHealth" json:"observe_service,omitempty"`
  3879. ControlService HostHealth `protobuf:"varint,5,opt,name=control_service,json=controlService,proto3,enum=hth.api.v1.HostHealth" json:"control_service,omitempty"`
  3880. TransportState TransportState `protobuf:"varint,6,opt,name=transport_state,json=transportState,proto3,enum=hth.api.v1.TransportState" json:"transport_state,omitempty"`
  3881. DeviceReadiness DeviceReadiness `protobuf:"varint,7,opt,name=device_readiness,json=deviceReadiness,proto3,enum=hth.api.v1.DeviceReadiness" json:"device_readiness,omitempty"`
  3882. SafetyControlMode SafetyControlMode `protobuf:"varint,8,opt,name=safety_control_mode,json=safetyControlMode,proto3,enum=hth.api.v1.SafetyControlMode" json:"safety_control_mode,omitempty"`
  3883. unknownFields protoimpl.UnknownFields
  3884. sizeCache protoimpl.SizeCache
  3885. }
  3886. func (x *HealthStatus) Reset() {
  3887. *x = HealthStatus{}
  3888. mi := &file_hth_api_v1_hth_proto_msgTypes[34]
  3889. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3890. ms.StoreMessageInfo(mi)
  3891. }
  3892. func (x *HealthStatus) String() string {
  3893. return protoimpl.X.MessageStringOf(x)
  3894. }
  3895. func (*HealthStatus) ProtoMessage() {}
  3896. func (x *HealthStatus) ProtoReflect() protoreflect.Message {
  3897. mi := &file_hth_api_v1_hth_proto_msgTypes[34]
  3898. if x != nil {
  3899. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3900. if ms.LoadMessageInfo() == nil {
  3901. ms.StoreMessageInfo(mi)
  3902. }
  3903. return ms
  3904. }
  3905. return mi.MessageOf(x)
  3906. }
  3907. // Deprecated: Use HealthStatus.ProtoReflect.Descriptor instead.
  3908. func (*HealthStatus) Descriptor() ([]byte, []int) {
  3909. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{34}
  3910. }
  3911. func (x *HealthStatus) GetHost() HostHealth {
  3912. if x != nil {
  3913. return x.Host
  3914. }
  3915. return HostHealth_HOST_HEALTH_UNSPECIFIED
  3916. }
  3917. func (x *HealthStatus) GetDevices() []*DeviceInfo {
  3918. if x != nil {
  3919. return x.Devices
  3920. }
  3921. return nil
  3922. }
  3923. func (x *HealthStatus) GetMessage() string {
  3924. if x != nil {
  3925. return x.Message
  3926. }
  3927. return ""
  3928. }
  3929. func (x *HealthStatus) GetObserveService() HostHealth {
  3930. if x != nil {
  3931. return x.ObserveService
  3932. }
  3933. return HostHealth_HOST_HEALTH_UNSPECIFIED
  3934. }
  3935. func (x *HealthStatus) GetControlService() HostHealth {
  3936. if x != nil {
  3937. return x.ControlService
  3938. }
  3939. return HostHealth_HOST_HEALTH_UNSPECIFIED
  3940. }
  3941. func (x *HealthStatus) GetTransportState() TransportState {
  3942. if x != nil {
  3943. return x.TransportState
  3944. }
  3945. return TransportState_TRANSPORT_STATE_UNSPECIFIED
  3946. }
  3947. func (x *HealthStatus) GetDeviceReadiness() DeviceReadiness {
  3948. if x != nil {
  3949. return x.DeviceReadiness
  3950. }
  3951. return DeviceReadiness_DEVICE_READINESS_UNSPECIFIED
  3952. }
  3953. func (x *HealthStatus) GetSafetyControlMode() SafetyControlMode {
  3954. if x != nil {
  3955. return x.SafetyControlMode
  3956. }
  3957. return SafetyControlMode_SAFETY_CONTROL_MODE_UNSPECIFIED
  3958. }
  3959. type AcquireControlLeaseRequest struct {
  3960. state protoimpl.MessageState `protogen:"open.v1"`
  3961. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  3962. Holder string `protobuf:"bytes,2,opt,name=holder,proto3" json:"holder,omitempty"`
  3963. Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
  3964. unknownFields protoimpl.UnknownFields
  3965. sizeCache protoimpl.SizeCache
  3966. }
  3967. func (x *AcquireControlLeaseRequest) Reset() {
  3968. *x = AcquireControlLeaseRequest{}
  3969. mi := &file_hth_api_v1_hth_proto_msgTypes[35]
  3970. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3971. ms.StoreMessageInfo(mi)
  3972. }
  3973. func (x *AcquireControlLeaseRequest) String() string {
  3974. return protoimpl.X.MessageStringOf(x)
  3975. }
  3976. func (*AcquireControlLeaseRequest) ProtoMessage() {}
  3977. func (x *AcquireControlLeaseRequest) ProtoReflect() protoreflect.Message {
  3978. mi := &file_hth_api_v1_hth_proto_msgTypes[35]
  3979. if x != nil {
  3980. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3981. if ms.LoadMessageInfo() == nil {
  3982. ms.StoreMessageInfo(mi)
  3983. }
  3984. return ms
  3985. }
  3986. return mi.MessageOf(x)
  3987. }
  3988. // Deprecated: Use AcquireControlLeaseRequest.ProtoReflect.Descriptor instead.
  3989. func (*AcquireControlLeaseRequest) Descriptor() ([]byte, []int) {
  3990. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{35}
  3991. }
  3992. func (x *AcquireControlLeaseRequest) GetDeviceId() string {
  3993. if x != nil {
  3994. return x.DeviceId
  3995. }
  3996. return ""
  3997. }
  3998. func (x *AcquireControlLeaseRequest) GetHolder() string {
  3999. if x != nil {
  4000. return x.Holder
  4001. }
  4002. return ""
  4003. }
  4004. func (x *AcquireControlLeaseRequest) GetTtl() *durationpb.Duration {
  4005. if x != nil {
  4006. return x.Ttl
  4007. }
  4008. return nil
  4009. }
  4010. type RenewControlLeaseRequest struct {
  4011. state protoimpl.MessageState `protogen:"open.v1"`
  4012. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  4013. LeaseId string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
  4014. LeaseEpoch uint64 `protobuf:"varint,3,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
  4015. Ttl *durationpb.Duration `protobuf:"bytes,4,opt,name=ttl,proto3" json:"ttl,omitempty"`
  4016. unknownFields protoimpl.UnknownFields
  4017. sizeCache protoimpl.SizeCache
  4018. }
  4019. func (x *RenewControlLeaseRequest) Reset() {
  4020. *x = RenewControlLeaseRequest{}
  4021. mi := &file_hth_api_v1_hth_proto_msgTypes[36]
  4022. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4023. ms.StoreMessageInfo(mi)
  4024. }
  4025. func (x *RenewControlLeaseRequest) String() string {
  4026. return protoimpl.X.MessageStringOf(x)
  4027. }
  4028. func (*RenewControlLeaseRequest) ProtoMessage() {}
  4029. func (x *RenewControlLeaseRequest) ProtoReflect() protoreflect.Message {
  4030. mi := &file_hth_api_v1_hth_proto_msgTypes[36]
  4031. if x != nil {
  4032. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4033. if ms.LoadMessageInfo() == nil {
  4034. ms.StoreMessageInfo(mi)
  4035. }
  4036. return ms
  4037. }
  4038. return mi.MessageOf(x)
  4039. }
  4040. // Deprecated: Use RenewControlLeaseRequest.ProtoReflect.Descriptor instead.
  4041. func (*RenewControlLeaseRequest) Descriptor() ([]byte, []int) {
  4042. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{36}
  4043. }
  4044. func (x *RenewControlLeaseRequest) GetDeviceId() string {
  4045. if x != nil {
  4046. return x.DeviceId
  4047. }
  4048. return ""
  4049. }
  4050. func (x *RenewControlLeaseRequest) GetLeaseId() string {
  4051. if x != nil {
  4052. return x.LeaseId
  4053. }
  4054. return ""
  4055. }
  4056. func (x *RenewControlLeaseRequest) GetLeaseEpoch() uint64 {
  4057. if x != nil {
  4058. return x.LeaseEpoch
  4059. }
  4060. return 0
  4061. }
  4062. func (x *RenewControlLeaseRequest) GetTtl() *durationpb.Duration {
  4063. if x != nil {
  4064. return x.Ttl
  4065. }
  4066. return nil
  4067. }
  4068. type ReleaseControlLeaseRequest struct {
  4069. state protoimpl.MessageState `protogen:"open.v1"`
  4070. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  4071. LeaseId string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
  4072. LeaseEpoch uint64 `protobuf:"varint,3,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
  4073. unknownFields protoimpl.UnknownFields
  4074. sizeCache protoimpl.SizeCache
  4075. }
  4076. func (x *ReleaseControlLeaseRequest) Reset() {
  4077. *x = ReleaseControlLeaseRequest{}
  4078. mi := &file_hth_api_v1_hth_proto_msgTypes[37]
  4079. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4080. ms.StoreMessageInfo(mi)
  4081. }
  4082. func (x *ReleaseControlLeaseRequest) String() string {
  4083. return protoimpl.X.MessageStringOf(x)
  4084. }
  4085. func (*ReleaseControlLeaseRequest) ProtoMessage() {}
  4086. func (x *ReleaseControlLeaseRequest) ProtoReflect() protoreflect.Message {
  4087. mi := &file_hth_api_v1_hth_proto_msgTypes[37]
  4088. if x != nil {
  4089. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4090. if ms.LoadMessageInfo() == nil {
  4091. ms.StoreMessageInfo(mi)
  4092. }
  4093. return ms
  4094. }
  4095. return mi.MessageOf(x)
  4096. }
  4097. // Deprecated: Use ReleaseControlLeaseRequest.ProtoReflect.Descriptor instead.
  4098. func (*ReleaseControlLeaseRequest) Descriptor() ([]byte, []int) {
  4099. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{37}
  4100. }
  4101. func (x *ReleaseControlLeaseRequest) GetDeviceId() string {
  4102. if x != nil {
  4103. return x.DeviceId
  4104. }
  4105. return ""
  4106. }
  4107. func (x *ReleaseControlLeaseRequest) GetLeaseId() string {
  4108. if x != nil {
  4109. return x.LeaseId
  4110. }
  4111. return ""
  4112. }
  4113. func (x *ReleaseControlLeaseRequest) GetLeaseEpoch() uint64 {
  4114. if x != nil {
  4115. return x.LeaseEpoch
  4116. }
  4117. return 0
  4118. }
  4119. type LeaseResponse struct {
  4120. state protoimpl.MessageState `protogen:"open.v1"`
  4121. Lease *ControlLease `protobuf:"bytes,1,opt,name=lease,proto3" json:"lease,omitempty"`
  4122. unknownFields protoimpl.UnknownFields
  4123. sizeCache protoimpl.SizeCache
  4124. }
  4125. func (x *LeaseResponse) Reset() {
  4126. *x = LeaseResponse{}
  4127. mi := &file_hth_api_v1_hth_proto_msgTypes[38]
  4128. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4129. ms.StoreMessageInfo(mi)
  4130. }
  4131. func (x *LeaseResponse) String() string {
  4132. return protoimpl.X.MessageStringOf(x)
  4133. }
  4134. func (*LeaseResponse) ProtoMessage() {}
  4135. func (x *LeaseResponse) ProtoReflect() protoreflect.Message {
  4136. mi := &file_hth_api_v1_hth_proto_msgTypes[38]
  4137. if x != nil {
  4138. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4139. if ms.LoadMessageInfo() == nil {
  4140. ms.StoreMessageInfo(mi)
  4141. }
  4142. return ms
  4143. }
  4144. return mi.MessageOf(x)
  4145. }
  4146. // Deprecated: Use LeaseResponse.ProtoReflect.Descriptor instead.
  4147. func (*LeaseResponse) Descriptor() ([]byte, []int) {
  4148. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{38}
  4149. }
  4150. func (x *LeaseResponse) GetLease() *ControlLease {
  4151. if x != nil {
  4152. return x.Lease
  4153. }
  4154. return nil
  4155. }
  4156. type ValidateActionRequest struct {
  4157. state protoimpl.MessageState `protogen:"open.v1"`
  4158. Batch *ActionBatch `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"`
  4159. unknownFields protoimpl.UnknownFields
  4160. sizeCache protoimpl.SizeCache
  4161. }
  4162. func (x *ValidateActionRequest) Reset() {
  4163. *x = ValidateActionRequest{}
  4164. mi := &file_hth_api_v1_hth_proto_msgTypes[39]
  4165. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4166. ms.StoreMessageInfo(mi)
  4167. }
  4168. func (x *ValidateActionRequest) String() string {
  4169. return protoimpl.X.MessageStringOf(x)
  4170. }
  4171. func (*ValidateActionRequest) ProtoMessage() {}
  4172. func (x *ValidateActionRequest) ProtoReflect() protoreflect.Message {
  4173. mi := &file_hth_api_v1_hth_proto_msgTypes[39]
  4174. if x != nil {
  4175. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4176. if ms.LoadMessageInfo() == nil {
  4177. ms.StoreMessageInfo(mi)
  4178. }
  4179. return ms
  4180. }
  4181. return mi.MessageOf(x)
  4182. }
  4183. // Deprecated: Use ValidateActionRequest.ProtoReflect.Descriptor instead.
  4184. func (*ValidateActionRequest) Descriptor() ([]byte, []int) {
  4185. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{39}
  4186. }
  4187. func (x *ValidateActionRequest) GetBatch() *ActionBatch {
  4188. if x != nil {
  4189. return x.Batch
  4190. }
  4191. return nil
  4192. }
  4193. type ApplyActionRequest struct {
  4194. state protoimpl.MessageState `protogen:"open.v1"`
  4195. Batch *ActionBatch `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"`
  4196. unknownFields protoimpl.UnknownFields
  4197. sizeCache protoimpl.SizeCache
  4198. }
  4199. func (x *ApplyActionRequest) Reset() {
  4200. *x = ApplyActionRequest{}
  4201. mi := &file_hth_api_v1_hth_proto_msgTypes[40]
  4202. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4203. ms.StoreMessageInfo(mi)
  4204. }
  4205. func (x *ApplyActionRequest) String() string {
  4206. return protoimpl.X.MessageStringOf(x)
  4207. }
  4208. func (*ApplyActionRequest) ProtoMessage() {}
  4209. func (x *ApplyActionRequest) ProtoReflect() protoreflect.Message {
  4210. mi := &file_hth_api_v1_hth_proto_msgTypes[40]
  4211. if x != nil {
  4212. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4213. if ms.LoadMessageInfo() == nil {
  4214. ms.StoreMessageInfo(mi)
  4215. }
  4216. return ms
  4217. }
  4218. return mi.MessageOf(x)
  4219. }
  4220. // Deprecated: Use ApplyActionRequest.ProtoReflect.Descriptor instead.
  4221. func (*ApplyActionRequest) Descriptor() ([]byte, []int) {
  4222. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{40}
  4223. }
  4224. func (x *ApplyActionRequest) GetBatch() *ActionBatch {
  4225. if x != nil {
  4226. return x.Batch
  4227. }
  4228. return nil
  4229. }
  4230. type EnterSafeModeRequest struct {
  4231. state protoimpl.MessageState `protogen:"open.v1"`
  4232. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  4233. LeaseId string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
  4234. LeaseEpoch uint64 `protobuf:"varint,3,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
  4235. Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
  4236. unknownFields protoimpl.UnknownFields
  4237. sizeCache protoimpl.SizeCache
  4238. }
  4239. func (x *EnterSafeModeRequest) Reset() {
  4240. *x = EnterSafeModeRequest{}
  4241. mi := &file_hth_api_v1_hth_proto_msgTypes[41]
  4242. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4243. ms.StoreMessageInfo(mi)
  4244. }
  4245. func (x *EnterSafeModeRequest) String() string {
  4246. return protoimpl.X.MessageStringOf(x)
  4247. }
  4248. func (*EnterSafeModeRequest) ProtoMessage() {}
  4249. func (x *EnterSafeModeRequest) ProtoReflect() protoreflect.Message {
  4250. mi := &file_hth_api_v1_hth_proto_msgTypes[41]
  4251. if x != nil {
  4252. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4253. if ms.LoadMessageInfo() == nil {
  4254. ms.StoreMessageInfo(mi)
  4255. }
  4256. return ms
  4257. }
  4258. return mi.MessageOf(x)
  4259. }
  4260. // Deprecated: Use EnterSafeModeRequest.ProtoReflect.Descriptor instead.
  4261. func (*EnterSafeModeRequest) Descriptor() ([]byte, []int) {
  4262. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{41}
  4263. }
  4264. func (x *EnterSafeModeRequest) GetDeviceId() string {
  4265. if x != nil {
  4266. return x.DeviceId
  4267. }
  4268. return ""
  4269. }
  4270. func (x *EnterSafeModeRequest) GetLeaseId() string {
  4271. if x != nil {
  4272. return x.LeaseId
  4273. }
  4274. return ""
  4275. }
  4276. func (x *EnterSafeModeRequest) GetLeaseEpoch() uint64 {
  4277. if x != nil {
  4278. return x.LeaseEpoch
  4279. }
  4280. return 0
  4281. }
  4282. func (x *EnterSafeModeRequest) GetReason() string {
  4283. if x != nil {
  4284. return x.Reason
  4285. }
  4286. return ""
  4287. }
  4288. type ResumeFromSafeRequest struct {
  4289. state protoimpl.MessageState `protogen:"open.v1"`
  4290. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  4291. LeaseId string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
  4292. LeaseEpoch uint64 `protobuf:"varint,3,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
  4293. Batch *ActionBatch `protobuf:"bytes,4,opt,name=batch,proto3" json:"batch,omitempty"`
  4294. unknownFields protoimpl.UnknownFields
  4295. sizeCache protoimpl.SizeCache
  4296. }
  4297. func (x *ResumeFromSafeRequest) Reset() {
  4298. *x = ResumeFromSafeRequest{}
  4299. mi := &file_hth_api_v1_hth_proto_msgTypes[42]
  4300. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4301. ms.StoreMessageInfo(mi)
  4302. }
  4303. func (x *ResumeFromSafeRequest) String() string {
  4304. return protoimpl.X.MessageStringOf(x)
  4305. }
  4306. func (*ResumeFromSafeRequest) ProtoMessage() {}
  4307. func (x *ResumeFromSafeRequest) ProtoReflect() protoreflect.Message {
  4308. mi := &file_hth_api_v1_hth_proto_msgTypes[42]
  4309. if x != nil {
  4310. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4311. if ms.LoadMessageInfo() == nil {
  4312. ms.StoreMessageInfo(mi)
  4313. }
  4314. return ms
  4315. }
  4316. return mi.MessageOf(x)
  4317. }
  4318. // Deprecated: Use ResumeFromSafeRequest.ProtoReflect.Descriptor instead.
  4319. func (*ResumeFromSafeRequest) Descriptor() ([]byte, []int) {
  4320. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{42}
  4321. }
  4322. func (x *ResumeFromSafeRequest) GetDeviceId() string {
  4323. if x != nil {
  4324. return x.DeviceId
  4325. }
  4326. return ""
  4327. }
  4328. func (x *ResumeFromSafeRequest) GetLeaseId() string {
  4329. if x != nil {
  4330. return x.LeaseId
  4331. }
  4332. return ""
  4333. }
  4334. func (x *ResumeFromSafeRequest) GetLeaseEpoch() uint64 {
  4335. if x != nil {
  4336. return x.LeaseEpoch
  4337. }
  4338. return 0
  4339. }
  4340. func (x *ResumeFromSafeRequest) GetBatch() *ActionBatch {
  4341. if x != nil {
  4342. return x.Batch
  4343. }
  4344. return nil
  4345. }
  4346. type StepReplayRequest struct {
  4347. state protoimpl.MessageState `protogen:"open.v1"`
  4348. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  4349. unknownFields protoimpl.UnknownFields
  4350. sizeCache protoimpl.SizeCache
  4351. }
  4352. func (x *StepReplayRequest) Reset() {
  4353. *x = StepReplayRequest{}
  4354. mi := &file_hth_api_v1_hth_proto_msgTypes[43]
  4355. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4356. ms.StoreMessageInfo(mi)
  4357. }
  4358. func (x *StepReplayRequest) String() string {
  4359. return protoimpl.X.MessageStringOf(x)
  4360. }
  4361. func (*StepReplayRequest) ProtoMessage() {}
  4362. func (x *StepReplayRequest) ProtoReflect() protoreflect.Message {
  4363. mi := &file_hth_api_v1_hth_proto_msgTypes[43]
  4364. if x != nil {
  4365. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4366. if ms.LoadMessageInfo() == nil {
  4367. ms.StoreMessageInfo(mi)
  4368. }
  4369. return ms
  4370. }
  4371. return mi.MessageOf(x)
  4372. }
  4373. // Deprecated: Use StepReplayRequest.ProtoReflect.Descriptor instead.
  4374. func (*StepReplayRequest) Descriptor() ([]byte, []int) {
  4375. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{43}
  4376. }
  4377. func (x *StepReplayRequest) GetDeviceId() string {
  4378. if x != nil {
  4379. return x.DeviceId
  4380. }
  4381. return ""
  4382. }
  4383. type StepReplayResponse struct {
  4384. state protoimpl.MessageState `protogen:"open.v1"`
  4385. Advanced bool `protobuf:"varint,1,opt,name=advanced,proto3" json:"advanced,omitempty"`
  4386. Event *Event `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
  4387. Snapshot *Snapshot `protobuf:"bytes,3,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
  4388. Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
  4389. unknownFields protoimpl.UnknownFields
  4390. sizeCache protoimpl.SizeCache
  4391. }
  4392. func (x *StepReplayResponse) Reset() {
  4393. *x = StepReplayResponse{}
  4394. mi := &file_hth_api_v1_hth_proto_msgTypes[44]
  4395. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4396. ms.StoreMessageInfo(mi)
  4397. }
  4398. func (x *StepReplayResponse) String() string {
  4399. return protoimpl.X.MessageStringOf(x)
  4400. }
  4401. func (*StepReplayResponse) ProtoMessage() {}
  4402. func (x *StepReplayResponse) ProtoReflect() protoreflect.Message {
  4403. mi := &file_hth_api_v1_hth_proto_msgTypes[44]
  4404. if x != nil {
  4405. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4406. if ms.LoadMessageInfo() == nil {
  4407. ms.StoreMessageInfo(mi)
  4408. }
  4409. return ms
  4410. }
  4411. return mi.MessageOf(x)
  4412. }
  4413. // Deprecated: Use StepReplayResponse.ProtoReflect.Descriptor instead.
  4414. func (*StepReplayResponse) Descriptor() ([]byte, []int) {
  4415. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{44}
  4416. }
  4417. func (x *StepReplayResponse) GetAdvanced() bool {
  4418. if x != nil {
  4419. return x.Advanced
  4420. }
  4421. return false
  4422. }
  4423. func (x *StepReplayResponse) GetEvent() *Event {
  4424. if x != nil {
  4425. return x.Event
  4426. }
  4427. return nil
  4428. }
  4429. func (x *StepReplayResponse) GetSnapshot() *Snapshot {
  4430. if x != nil {
  4431. return x.Snapshot
  4432. }
  4433. return nil
  4434. }
  4435. func (x *StepReplayResponse) GetMessage() string {
  4436. if x != nil {
  4437. return x.Message
  4438. }
  4439. return ""
  4440. }
  4441. // 6400-front-rear-v1 API. These messages describe the daemon API only; the
  4442. // CPLD wire protocol remains the fixed A5 5A framing contract without version,
  4443. // sequence, capability, or NACK fields.
  4444. type SetThermalTargetRequest struct {
  4445. state protoimpl.MessageState `protogen:"open.v1"`
  4446. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  4447. TemperatureC uint32 `protobuf:"varint,2,opt,name=temperature_c,json=temperatureC,proto3" json:"temperature_c,omitempty"`
  4448. unknownFields protoimpl.UnknownFields
  4449. sizeCache protoimpl.SizeCache
  4450. }
  4451. func (x *SetThermalTargetRequest) Reset() {
  4452. *x = SetThermalTargetRequest{}
  4453. mi := &file_hth_api_v1_hth_proto_msgTypes[45]
  4454. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4455. ms.StoreMessageInfo(mi)
  4456. }
  4457. func (x *SetThermalTargetRequest) String() string {
  4458. return protoimpl.X.MessageStringOf(x)
  4459. }
  4460. func (*SetThermalTargetRequest) ProtoMessage() {}
  4461. func (x *SetThermalTargetRequest) ProtoReflect() protoreflect.Message {
  4462. mi := &file_hth_api_v1_hth_proto_msgTypes[45]
  4463. if x != nil {
  4464. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4465. if ms.LoadMessageInfo() == nil {
  4466. ms.StoreMessageInfo(mi)
  4467. }
  4468. return ms
  4469. }
  4470. return mi.MessageOf(x)
  4471. }
  4472. // Deprecated: Use SetThermalTargetRequest.ProtoReflect.Descriptor instead.
  4473. func (*SetThermalTargetRequest) Descriptor() ([]byte, []int) {
  4474. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{45}
  4475. }
  4476. func (x *SetThermalTargetRequest) GetDeviceId() string {
  4477. if x != nil {
  4478. return x.DeviceId
  4479. }
  4480. return ""
  4481. }
  4482. func (x *SetThermalTargetRequest) GetTemperatureC() uint32 {
  4483. if x != nil {
  4484. return x.TemperatureC
  4485. }
  4486. return 0
  4487. }
  4488. type StopThermalRequest struct {
  4489. state protoimpl.MessageState `protogen:"open.v1"`
  4490. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  4491. unknownFields protoimpl.UnknownFields
  4492. sizeCache protoimpl.SizeCache
  4493. }
  4494. func (x *StopThermalRequest) Reset() {
  4495. *x = StopThermalRequest{}
  4496. mi := &file_hth_api_v1_hth_proto_msgTypes[46]
  4497. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4498. ms.StoreMessageInfo(mi)
  4499. }
  4500. func (x *StopThermalRequest) String() string {
  4501. return protoimpl.X.MessageStringOf(x)
  4502. }
  4503. func (*StopThermalRequest) ProtoMessage() {}
  4504. func (x *StopThermalRequest) ProtoReflect() protoreflect.Message {
  4505. mi := &file_hth_api_v1_hth_proto_msgTypes[46]
  4506. if x != nil {
  4507. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4508. if ms.LoadMessageInfo() == nil {
  4509. ms.StoreMessageInfo(mi)
  4510. }
  4511. return ms
  4512. }
  4513. return mi.MessageOf(x)
  4514. }
  4515. // Deprecated: Use StopThermalRequest.ProtoReflect.Descriptor instead.
  4516. func (*StopThermalRequest) Descriptor() ([]byte, []int) {
  4517. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{46}
  4518. }
  4519. func (x *StopThermalRequest) GetDeviceId() string {
  4520. if x != nil {
  4521. return x.DeviceId
  4522. }
  4523. return ""
  4524. }
  4525. type ThermalCommandResult struct {
  4526. state protoimpl.MessageState `protogen:"open.v1"`
  4527. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  4528. FirmwareProfile string `protobuf:"bytes,2,opt,name=firmware_profile,json=firmwareProfile,proto3" json:"firmware_profile,omitempty"`
  4529. ContractSha256 string `protobuf:"bytes,3,opt,name=contract_sha256,json=contractSha256,proto3" json:"contract_sha256,omitempty"`
  4530. Committed bool `protobuf:"varint,4,opt,name=committed,proto3" json:"committed,omitempty"`
  4531. TargetTemperatureC uint32 `protobuf:"varint,5,opt,name=target_temperature_c,json=targetTemperatureC,proto3" json:"target_temperature_c,omitempty"`
  4532. RequestMonotonicNs uint64 `protobuf:"varint,6,opt,name=request_monotonic_ns,json=requestMonotonicNs,proto3" json:"request_monotonic_ns,omitempty"`
  4533. ResponseMonotonicNs uint64 `protobuf:"varint,7,opt,name=response_monotonic_ns,json=responseMonotonicNs,proto3" json:"response_monotonic_ns,omitempty"`
  4534. unknownFields protoimpl.UnknownFields
  4535. sizeCache protoimpl.SizeCache
  4536. }
  4537. func (x *ThermalCommandResult) Reset() {
  4538. *x = ThermalCommandResult{}
  4539. mi := &file_hth_api_v1_hth_proto_msgTypes[47]
  4540. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4541. ms.StoreMessageInfo(mi)
  4542. }
  4543. func (x *ThermalCommandResult) String() string {
  4544. return protoimpl.X.MessageStringOf(x)
  4545. }
  4546. func (*ThermalCommandResult) ProtoMessage() {}
  4547. func (x *ThermalCommandResult) ProtoReflect() protoreflect.Message {
  4548. mi := &file_hth_api_v1_hth_proto_msgTypes[47]
  4549. if x != nil {
  4550. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4551. if ms.LoadMessageInfo() == nil {
  4552. ms.StoreMessageInfo(mi)
  4553. }
  4554. return ms
  4555. }
  4556. return mi.MessageOf(x)
  4557. }
  4558. // Deprecated: Use ThermalCommandResult.ProtoReflect.Descriptor instead.
  4559. func (*ThermalCommandResult) Descriptor() ([]byte, []int) {
  4560. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{47}
  4561. }
  4562. func (x *ThermalCommandResult) GetDeviceId() string {
  4563. if x != nil {
  4564. return x.DeviceId
  4565. }
  4566. return ""
  4567. }
  4568. func (x *ThermalCommandResult) GetFirmwareProfile() string {
  4569. if x != nil {
  4570. return x.FirmwareProfile
  4571. }
  4572. return ""
  4573. }
  4574. func (x *ThermalCommandResult) GetContractSha256() string {
  4575. if x != nil {
  4576. return x.ContractSha256
  4577. }
  4578. return ""
  4579. }
  4580. func (x *ThermalCommandResult) GetCommitted() bool {
  4581. if x != nil {
  4582. return x.Committed
  4583. }
  4584. return false
  4585. }
  4586. func (x *ThermalCommandResult) GetTargetTemperatureC() uint32 {
  4587. if x != nil {
  4588. return x.TargetTemperatureC
  4589. }
  4590. return 0
  4591. }
  4592. func (x *ThermalCommandResult) GetRequestMonotonicNs() uint64 {
  4593. if x != nil {
  4594. return x.RequestMonotonicNs
  4595. }
  4596. return 0
  4597. }
  4598. func (x *ThermalCommandResult) GetResponseMonotonicNs() uint64 {
  4599. if x != nil {
  4600. return x.ResponseMonotonicNs
  4601. }
  4602. return 0
  4603. }
  4604. type GetThermalSnapshotRequest struct {
  4605. state protoimpl.MessageState `protogen:"open.v1"`
  4606. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  4607. unknownFields protoimpl.UnknownFields
  4608. sizeCache protoimpl.SizeCache
  4609. }
  4610. func (x *GetThermalSnapshotRequest) Reset() {
  4611. *x = GetThermalSnapshotRequest{}
  4612. mi := &file_hth_api_v1_hth_proto_msgTypes[48]
  4613. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4614. ms.StoreMessageInfo(mi)
  4615. }
  4616. func (x *GetThermalSnapshotRequest) String() string {
  4617. return protoimpl.X.MessageStringOf(x)
  4618. }
  4619. func (*GetThermalSnapshotRequest) ProtoMessage() {}
  4620. func (x *GetThermalSnapshotRequest) ProtoReflect() protoreflect.Message {
  4621. mi := &file_hth_api_v1_hth_proto_msgTypes[48]
  4622. if x != nil {
  4623. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4624. if ms.LoadMessageInfo() == nil {
  4625. ms.StoreMessageInfo(mi)
  4626. }
  4627. return ms
  4628. }
  4629. return mi.MessageOf(x)
  4630. }
  4631. // Deprecated: Use GetThermalSnapshotRequest.ProtoReflect.Descriptor instead.
  4632. func (*GetThermalSnapshotRequest) Descriptor() ([]byte, []int) {
  4633. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{48}
  4634. }
  4635. func (x *GetThermalSnapshotRequest) GetDeviceId() string {
  4636. if x != nil {
  4637. return x.DeviceId
  4638. }
  4639. return ""
  4640. }
  4641. type ThermalSnapshot struct {
  4642. state protoimpl.MessageState `protogen:"open.v1"`
  4643. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  4644. FirmwareProfile string `protobuf:"bytes,2,opt,name=firmware_profile,json=firmwareProfile,proto3" json:"firmware_profile,omitempty"`
  4645. ContractSha256 string `protobuf:"bytes,3,opt,name=contract_sha256,json=contractSha256,proto3" json:"contract_sha256,omitempty"`
  4646. RawPayload []byte `protobuf:"bytes,4,opt,name=raw_payload,json=rawPayload,proto3" json:"raw_payload,omitempty"`
  4647. RequestMonotonicNs uint64 `protobuf:"varint,5,opt,name=request_monotonic_ns,json=requestMonotonicNs,proto3" json:"request_monotonic_ns,omitempty"`
  4648. ResponseMonotonicNs uint64 `protobuf:"varint,6,opt,name=response_monotonic_ns,json=responseMonotonicNs,proto3" json:"response_monotonic_ns,omitempty"`
  4649. ControlState uint32 `protobuf:"varint,7,opt,name=control_state,json=controlState,proto3" json:"control_state,omitempty"`
  4650. FaultFlags uint32 `protobuf:"varint,8,opt,name=fault_flags,json=faultFlags,proto3" json:"fault_flags,omitempty"`
  4651. CurrentTarget uint32 `protobuf:"varint,9,opt,name=current_target,json=currentTarget,proto3" json:"current_target,omitempty"`
  4652. HostTargetSeen bool `protobuf:"varint,10,opt,name=host_target_seen,json=hostTargetSeen,proto3" json:"host_target_seen,omitempty"`
  4653. BmcEpoch uint32 `protobuf:"varint,11,opt,name=bmc_epoch,json=bmcEpoch,proto3" json:"bmc_epoch,omitempty"`
  4654. CtEpoch uint32 `protobuf:"varint,12,opt,name=ct_epoch,json=ctEpoch,proto3" json:"ct_epoch,omitempty"`
  4655. ControlEpoch uint32 `protobuf:"varint,13,opt,name=control_epoch,json=controlEpoch,proto3" json:"control_epoch,omitempty"`
  4656. BmcAge uint32 `protobuf:"varint,14,opt,name=bmc_age,json=bmcAge,proto3" json:"bmc_age,omitempty"`
  4657. CtAge uint32 `protobuf:"varint,15,opt,name=ct_age,json=ctAge,proto3" json:"ct_age,omitempty"`
  4658. BmcRaw []uint32 `protobuf:"varint,16,rep,packed,name=bmc_raw,json=bmcRaw,proto3" json:"bmc_raw,omitempty"`
  4659. BmcValid []bool `protobuf:"varint,17,rep,packed,name=bmc_valid,json=bmcValid,proto3" json:"bmc_valid,omitempty"`
  4660. CtRaw []uint32 `protobuf:"varint,18,rep,packed,name=ct_raw,json=ctRaw,proto3" json:"ct_raw,omitempty"`
  4661. CtValid []bool `protobuf:"varint,19,rep,packed,name=ct_valid,json=ctValid,proto3" json:"ct_valid,omitempty"`
  4662. PtcRequested []uint32 `protobuf:"varint,20,rep,packed,name=ptc_requested,json=ptcRequested,proto3" json:"ptc_requested,omitempty"`
  4663. PtcApplied []uint32 `protobuf:"varint,21,rep,packed,name=ptc_applied,json=ptcApplied,proto3" json:"ptc_applied,omitempty"`
  4664. FrontRequested []uint32 `protobuf:"varint,22,rep,packed,name=front_requested,json=frontRequested,proto3" json:"front_requested,omitempty"`
  4665. FrontApplied []uint32 `protobuf:"varint,23,rep,packed,name=front_applied,json=frontApplied,proto3" json:"front_applied,omitempty"`
  4666. RearRequested []uint32 `protobuf:"varint,24,rep,packed,name=rear_requested,json=rearRequested,proto3" json:"rear_requested,omitempty"`
  4667. RearApplied []uint32 `protobuf:"varint,25,rep,packed,name=rear_applied,json=rearApplied,proto3" json:"rear_applied,omitempty"`
  4668. SafetyOverride []bool `protobuf:"varint,26,rep,packed,name=safety_override,json=safetyOverride,proto3" json:"safety_override,omitempty"`
  4669. LaneFault []bool `protobuf:"varint,27,rep,packed,name=lane_fault,json=laneFault,proto3" json:"lane_fault,omitempty"`
  4670. GlobalFault bool `protobuf:"varint,28,opt,name=global_fault,json=globalFault,proto3" json:"global_fault,omitempty"`
  4671. unknownFields protoimpl.UnknownFields
  4672. sizeCache protoimpl.SizeCache
  4673. }
  4674. func (x *ThermalSnapshot) Reset() {
  4675. *x = ThermalSnapshot{}
  4676. mi := &file_hth_api_v1_hth_proto_msgTypes[49]
  4677. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4678. ms.StoreMessageInfo(mi)
  4679. }
  4680. func (x *ThermalSnapshot) String() string {
  4681. return protoimpl.X.MessageStringOf(x)
  4682. }
  4683. func (*ThermalSnapshot) ProtoMessage() {}
  4684. func (x *ThermalSnapshot) ProtoReflect() protoreflect.Message {
  4685. mi := &file_hth_api_v1_hth_proto_msgTypes[49]
  4686. if x != nil {
  4687. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4688. if ms.LoadMessageInfo() == nil {
  4689. ms.StoreMessageInfo(mi)
  4690. }
  4691. return ms
  4692. }
  4693. return mi.MessageOf(x)
  4694. }
  4695. // Deprecated: Use ThermalSnapshot.ProtoReflect.Descriptor instead.
  4696. func (*ThermalSnapshot) Descriptor() ([]byte, []int) {
  4697. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{49}
  4698. }
  4699. func (x *ThermalSnapshot) GetDeviceId() string {
  4700. if x != nil {
  4701. return x.DeviceId
  4702. }
  4703. return ""
  4704. }
  4705. func (x *ThermalSnapshot) GetFirmwareProfile() string {
  4706. if x != nil {
  4707. return x.FirmwareProfile
  4708. }
  4709. return ""
  4710. }
  4711. func (x *ThermalSnapshot) GetContractSha256() string {
  4712. if x != nil {
  4713. return x.ContractSha256
  4714. }
  4715. return ""
  4716. }
  4717. func (x *ThermalSnapshot) GetRawPayload() []byte {
  4718. if x != nil {
  4719. return x.RawPayload
  4720. }
  4721. return nil
  4722. }
  4723. func (x *ThermalSnapshot) GetRequestMonotonicNs() uint64 {
  4724. if x != nil {
  4725. return x.RequestMonotonicNs
  4726. }
  4727. return 0
  4728. }
  4729. func (x *ThermalSnapshot) GetResponseMonotonicNs() uint64 {
  4730. if x != nil {
  4731. return x.ResponseMonotonicNs
  4732. }
  4733. return 0
  4734. }
  4735. func (x *ThermalSnapshot) GetControlState() uint32 {
  4736. if x != nil {
  4737. return x.ControlState
  4738. }
  4739. return 0
  4740. }
  4741. func (x *ThermalSnapshot) GetFaultFlags() uint32 {
  4742. if x != nil {
  4743. return x.FaultFlags
  4744. }
  4745. return 0
  4746. }
  4747. func (x *ThermalSnapshot) GetCurrentTarget() uint32 {
  4748. if x != nil {
  4749. return x.CurrentTarget
  4750. }
  4751. return 0
  4752. }
  4753. func (x *ThermalSnapshot) GetHostTargetSeen() bool {
  4754. if x != nil {
  4755. return x.HostTargetSeen
  4756. }
  4757. return false
  4758. }
  4759. func (x *ThermalSnapshot) GetBmcEpoch() uint32 {
  4760. if x != nil {
  4761. return x.BmcEpoch
  4762. }
  4763. return 0
  4764. }
  4765. func (x *ThermalSnapshot) GetCtEpoch() uint32 {
  4766. if x != nil {
  4767. return x.CtEpoch
  4768. }
  4769. return 0
  4770. }
  4771. func (x *ThermalSnapshot) GetControlEpoch() uint32 {
  4772. if x != nil {
  4773. return x.ControlEpoch
  4774. }
  4775. return 0
  4776. }
  4777. func (x *ThermalSnapshot) GetBmcAge() uint32 {
  4778. if x != nil {
  4779. return x.BmcAge
  4780. }
  4781. return 0
  4782. }
  4783. func (x *ThermalSnapshot) GetCtAge() uint32 {
  4784. if x != nil {
  4785. return x.CtAge
  4786. }
  4787. return 0
  4788. }
  4789. func (x *ThermalSnapshot) GetBmcRaw() []uint32 {
  4790. if x != nil {
  4791. return x.BmcRaw
  4792. }
  4793. return nil
  4794. }
  4795. func (x *ThermalSnapshot) GetBmcValid() []bool {
  4796. if x != nil {
  4797. return x.BmcValid
  4798. }
  4799. return nil
  4800. }
  4801. func (x *ThermalSnapshot) GetCtRaw() []uint32 {
  4802. if x != nil {
  4803. return x.CtRaw
  4804. }
  4805. return nil
  4806. }
  4807. func (x *ThermalSnapshot) GetCtValid() []bool {
  4808. if x != nil {
  4809. return x.CtValid
  4810. }
  4811. return nil
  4812. }
  4813. func (x *ThermalSnapshot) GetPtcRequested() []uint32 {
  4814. if x != nil {
  4815. return x.PtcRequested
  4816. }
  4817. return nil
  4818. }
  4819. func (x *ThermalSnapshot) GetPtcApplied() []uint32 {
  4820. if x != nil {
  4821. return x.PtcApplied
  4822. }
  4823. return nil
  4824. }
  4825. func (x *ThermalSnapshot) GetFrontRequested() []uint32 {
  4826. if x != nil {
  4827. return x.FrontRequested
  4828. }
  4829. return nil
  4830. }
  4831. func (x *ThermalSnapshot) GetFrontApplied() []uint32 {
  4832. if x != nil {
  4833. return x.FrontApplied
  4834. }
  4835. return nil
  4836. }
  4837. func (x *ThermalSnapshot) GetRearRequested() []uint32 {
  4838. if x != nil {
  4839. return x.RearRequested
  4840. }
  4841. return nil
  4842. }
  4843. func (x *ThermalSnapshot) GetRearApplied() []uint32 {
  4844. if x != nil {
  4845. return x.RearApplied
  4846. }
  4847. return nil
  4848. }
  4849. func (x *ThermalSnapshot) GetSafetyOverride() []bool {
  4850. if x != nil {
  4851. return x.SafetyOverride
  4852. }
  4853. return nil
  4854. }
  4855. func (x *ThermalSnapshot) GetLaneFault() []bool {
  4856. if x != nil {
  4857. return x.LaneFault
  4858. }
  4859. return nil
  4860. }
  4861. func (x *ThermalSnapshot) GetGlobalFault() bool {
  4862. if x != nil {
  4863. return x.GlobalFault
  4864. }
  4865. return false
  4866. }
  4867. type GetThermalSnapshotResponse struct {
  4868. state protoimpl.MessageState `protogen:"open.v1"`
  4869. Snapshot *ThermalSnapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
  4870. unknownFields protoimpl.UnknownFields
  4871. sizeCache protoimpl.SizeCache
  4872. }
  4873. func (x *GetThermalSnapshotResponse) Reset() {
  4874. *x = GetThermalSnapshotResponse{}
  4875. mi := &file_hth_api_v1_hth_proto_msgTypes[50]
  4876. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4877. ms.StoreMessageInfo(mi)
  4878. }
  4879. func (x *GetThermalSnapshotResponse) String() string {
  4880. return protoimpl.X.MessageStringOf(x)
  4881. }
  4882. func (*GetThermalSnapshotResponse) ProtoMessage() {}
  4883. func (x *GetThermalSnapshotResponse) ProtoReflect() protoreflect.Message {
  4884. mi := &file_hth_api_v1_hth_proto_msgTypes[50]
  4885. if x != nil {
  4886. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4887. if ms.LoadMessageInfo() == nil {
  4888. ms.StoreMessageInfo(mi)
  4889. }
  4890. return ms
  4891. }
  4892. return mi.MessageOf(x)
  4893. }
  4894. // Deprecated: Use GetThermalSnapshotResponse.ProtoReflect.Descriptor instead.
  4895. func (*GetThermalSnapshotResponse) Descriptor() ([]byte, []int) {
  4896. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{50}
  4897. }
  4898. func (x *GetThermalSnapshotResponse) GetSnapshot() *ThermalSnapshot {
  4899. if x != nil {
  4900. return x.Snapshot
  4901. }
  4902. return nil
  4903. }
  4904. type RunThermalStimulusRequest struct {
  4905. state protoimpl.MessageState `protogen:"open.v1"`
  4906. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  4907. DurationSeconds uint32 `protobuf:"varint,2,opt,name=duration_seconds,json=durationSeconds,proto3" json:"duration_seconds,omitempty"`
  4908. PtcDuty []uint32 `protobuf:"varint,3,rep,packed,name=ptc_duty,json=ptcDuty,proto3" json:"ptc_duty,omitempty"`
  4909. FrontFanDuty []uint32 `protobuf:"varint,4,rep,packed,name=front_fan_duty,json=frontFanDuty,proto3" json:"front_fan_duty,omitempty"`
  4910. RearFanDuty []uint32 `protobuf:"varint,5,rep,packed,name=rear_fan_duty,json=rearFanDuty,proto3" json:"rear_fan_duty,omitempty"`
  4911. unknownFields protoimpl.UnknownFields
  4912. sizeCache protoimpl.SizeCache
  4913. }
  4914. func (x *RunThermalStimulusRequest) Reset() {
  4915. *x = RunThermalStimulusRequest{}
  4916. mi := &file_hth_api_v1_hth_proto_msgTypes[51]
  4917. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4918. ms.StoreMessageInfo(mi)
  4919. }
  4920. func (x *RunThermalStimulusRequest) String() string {
  4921. return protoimpl.X.MessageStringOf(x)
  4922. }
  4923. func (*RunThermalStimulusRequest) ProtoMessage() {}
  4924. func (x *RunThermalStimulusRequest) ProtoReflect() protoreflect.Message {
  4925. mi := &file_hth_api_v1_hth_proto_msgTypes[51]
  4926. if x != nil {
  4927. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4928. if ms.LoadMessageInfo() == nil {
  4929. ms.StoreMessageInfo(mi)
  4930. }
  4931. return ms
  4932. }
  4933. return mi.MessageOf(x)
  4934. }
  4935. // Deprecated: Use RunThermalStimulusRequest.ProtoReflect.Descriptor instead.
  4936. func (*RunThermalStimulusRequest) Descriptor() ([]byte, []int) {
  4937. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{51}
  4938. }
  4939. func (x *RunThermalStimulusRequest) GetDeviceId() string {
  4940. if x != nil {
  4941. return x.DeviceId
  4942. }
  4943. return ""
  4944. }
  4945. func (x *RunThermalStimulusRequest) GetDurationSeconds() uint32 {
  4946. if x != nil {
  4947. return x.DurationSeconds
  4948. }
  4949. return 0
  4950. }
  4951. func (x *RunThermalStimulusRequest) GetPtcDuty() []uint32 {
  4952. if x != nil {
  4953. return x.PtcDuty
  4954. }
  4955. return nil
  4956. }
  4957. func (x *RunThermalStimulusRequest) GetFrontFanDuty() []uint32 {
  4958. if x != nil {
  4959. return x.FrontFanDuty
  4960. }
  4961. return nil
  4962. }
  4963. func (x *RunThermalStimulusRequest) GetRearFanDuty() []uint32 {
  4964. if x != nil {
  4965. return x.RearFanDuty
  4966. }
  4967. return nil
  4968. }
  4969. var File_hth_api_v1_hth_proto protoreflect.FileDescriptor
  4970. const file_hth_api_v1_hth_proto_rawDesc = "" +
  4971. "\n" +
  4972. "\x14hth/api/v1/hth.proto\x12\n" +
  4973. "hth.api.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xaf\x03\n" +
  4974. "\vMeasurement\x12\x0e\n" +
  4975. "\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
  4976. "\x05value\x18\x02 \x01(\x01R\x05value\x12\x12\n" +
  4977. "\x04unit\x18\x03 \x01(\tR\x04unit\x121\n" +
  4978. "\aquality\x18\x04 \x01(\x0e2\x17.hth.api.v1.DataQualityR\aquality\x12%\n" +
  4979. "\x0equality_reason\x18\x05 \x01(\tR\rqualityReason\x12+\n" +
  4980. "\x03age\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\x03age\x127\n" +
  4981. "\thost_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\bhostTime\x12<\n" +
  4982. "\x1asource_timestamp_available\x18\b \x01(\bR\x18sourceTimestampAvailable\x12;\n" +
  4983. "\vsource_time\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\n" +
  4984. "sourceTime\x12\x1e\n" +
  4985. "\braw_code\x18\n" +
  4986. " \x01(\x05H\x00R\arawCode\x88\x01\x01B\v\n" +
  4987. "\t_raw_code\"\xec\x03\n" +
  4988. "\n" +
  4989. "TimeWindow\x12=\n" +
  4990. "\frequest_sent\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\vrequestSent\x12A\n" +
  4991. "\x0eresponse_start\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\rresponseStart\x12G\n" +
  4992. "\x11response_complete\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x10responseComplete\x12=\n" +
  4993. "\fhost_receive\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\vhostReceive\x12L\n" +
  4994. "\x14approx_acquire_start\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\x12approxAcquireStart\x12H\n" +
  4995. "\x12approx_acquire_end\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\x10approxAcquireEnd\x12<\n" +
  4996. "\x1asource_timestamp_available\x18\a \x01(\bR\x18sourceTimestampAvailable\"\xf3\x01\n" +
  4997. "\x0eDeviceIdentity\x12\x1b\n" +
  4998. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12!\n" +
  4999. "\fdisplay_name\x18\x02 \x01(\tR\vdisplayName\x12\x1d\n" +
  5000. "\n" +
  5001. "profile_id\x18\x03 \x01(\tR\tprofileId\x12)\n" +
  5002. "\x10profile_revision\x18\x04 \x01(\tR\x0fprofileRevision\x124\n" +
  5003. "\x16protocol_contract_hash\x18\x05 \x01(\tR\x14protocolContractHash\x12!\n" +
  5004. "\fbackend_kind\x18\x06 \x01(\tR\vbackendKind\"\xa7\x01\n" +
  5005. "\n" +
  5006. "DeviceInfo\x126\n" +
  5007. "\bidentity\x18\x01 \x01(\v2\x1a.hth.api.v1.DeviceIdentityR\bidentity\x12>\n" +
  5008. "\tlifecycle\x18\x02 \x01(\x0e2 .hth.api.v1.DeviceLifecycleStateR\tlifecycle\x12!\n" +
  5009. "\fdevice_epoch\x18\x03 \x01(\x04R\vdeviceEpoch\"+\n" +
  5010. "\x05Range\x12\x10\n" +
  5011. "\x03min\x18\x01 \x01(\x01R\x03min\x12\x10\n" +
  5012. "\x03max\x18\x02 \x01(\x01R\x03max\"\x8f\x05\n" +
  5013. "\x10SensorCapability\x12\x0e\n" +
  5014. "\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n" +
  5015. "\aaliases\x18\x02 \x03(\tR\aaliases\x12!\n" +
  5016. "\fdisplay_name\x18\x03 \x01(\tR\vdisplayName\x12*\n" +
  5017. "\x04kind\x18\x04 \x01(\x0e2\x16.hth.api.v1.SensorKindR\x04kind\x12\x12\n" +
  5018. "\x04unit\x18\x05 \x01(\tR\x04unit\x122\n" +
  5019. "\vvalid_range\x18\x06 \x01(\v2\x11.hth.api.v1.RangeR\n" +
  5020. "validRange\x12\x1e\n" +
  5021. "\n" +
  5022. "resolution\x18\a \x01(\x01R\n" +
  5023. "resolution\x12)\n" +
  5024. "\x10source_timestamp\x18\b \x01(\bR\x0fsourceTimestamp\x12-\n" +
  5025. "\x12mapping_confidence\x18\t \x01(\tR\x11mappingConfidence\x12\x17\n" +
  5026. "\ahood_id\x18\n" +
  5027. " \x01(\tR\x06hoodId\x12\x1d\n" +
  5028. "\n" +
  5029. "chamber_id\x18\v \x01(\tR\tchamberId\x12\x17\n" +
  5030. "\adimm_id\x18\f \x01(\tR\x06dimmId\x12\x1c\n" +
  5031. "\tconnector\x18\r \x01(\tR\tconnector\x12!\n" +
  5032. "\fsource_index\x18\x0e \x01(\x05R\vsourceIndex\x12>\n" +
  5033. "\rupdate_period\x18\x0f \x01(\v2\x19.google.protobuf.DurationR\fupdatePeriod\x12/\n" +
  5034. "\x13calibration_version\x18\x10 \x01(\tR\x12calibrationVersion\x12=\n" +
  5035. "\rfeedback_mode\x18\x11 \x01(\x0e2\x18.hth.api.v1.FeedbackModeR\ffeedbackMode\"\x9c\x05\n" +
  5036. "\x12ActuatorCapability\x12\x0e\n" +
  5037. "\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n" +
  5038. "\aaliases\x18\x02 \x03(\tR\aaliases\x12!\n" +
  5039. "\fdisplay_name\x18\x03 \x01(\tR\vdisplayName\x12,\n" +
  5040. "\x04kind\x18\x04 \x01(\x0e2\x18.hth.api.v1.ActuatorKindR\x04kind\x12\x12\n" +
  5041. "\x04unit\x18\x05 \x01(\tR\x04unit\x126\n" +
  5042. "\rcommand_range\x18\x06 \x01(\v2\x11.hth.api.v1.RangeR\fcommandRange\x12\x1e\n" +
  5043. "\n" +
  5044. "resolution\x18\a \x01(\x01R\n" +
  5045. "resolution\x12:\n" +
  5046. "\fcontrol_mode\x18\b \x01(\x0e2\x17.hth.api.v1.ControlModeR\vcontrolMode\x12=\n" +
  5047. "\rfeedback_mode\x18\t \x01(\x0e2\x18.hth.api.v1.FeedbackModeR\ffeedbackMode\x12\x1e\n" +
  5048. "\n" +
  5049. "idempotent\x18\n" +
  5050. " \x01(\bR\n" +
  5051. "idempotent\x12\x19\n" +
  5052. "\bone_shot\x18\v \x01(\bR\aoneShot\x12%\n" +
  5053. "\x0esafety_default\x18\f \x01(\x01R\rsafetyDefault\x12-\n" +
  5054. "\x13max_slew_per_second\x18\r \x01(\x01R\x10maxSlewPerSecond\x12'\n" +
  5055. "\x0factual_feedback\x18\x0e \x01(\bR\x0eactualFeedback\x12\x17\n" +
  5056. "\ahood_id\x18\x0f \x01(\tR\x06hoodId\x12\x1d\n" +
  5057. "\n" +
  5058. "chamber_id\x18\x10 \x01(\tR\tchamberId\x12\x1c\n" +
  5059. "\tconnector\x18\x11 \x01(\tR\tconnector\x12\x14\n" +
  5060. "\x05notes\x18\x12 \x01(\tR\x05notes\"\x8a\n" +
  5061. "\n" +
  5062. "\fCapabilities\x12\x1b\n" +
  5063. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x1d\n" +
  5064. "\n" +
  5065. "profile_id\x18\x02 \x01(\tR\tprofileId\x12)\n" +
  5066. "\x10profile_revision\x18\x03 \x01(\tR\x0fprofileRevision\x124\n" +
  5067. "\x16protocol_contract_hash\x18\x04 \x01(\tR\x14protocolContractHash\x12'\n" +
  5068. "\x0fcapability_hash\x18\x05 \x01(\tR\x0ecapabilityHash\x12\x1f\n" +
  5069. "\vapi_version\x18\x06 \x01(\tR\n" +
  5070. "apiVersion\x12)\n" +
  5071. "\x10firmware_version\x18\a \x01(\tR\x0ffirmwareVersion\x12Q\n" +
  5072. "\x18firmware_version_quality\x18\b \x01(\x0e2\x17.hth.api.v1.DataQualityR\x16firmwareVersionQuality\x12\x1d\n" +
  5073. "\n" +
  5074. "hood_count\x18\t \x01(\x05R\thoodCount\x12#\n" +
  5075. "\rchamber_count\x18\n" +
  5076. " \x01(\x05R\fchamberCount\x126\n" +
  5077. "\asensors\x18\v \x03(\v2\x1c.hth.api.v1.SensorCapabilityR\asensors\x12<\n" +
  5078. "\tactuators\x18\f \x03(\v2\x1e.hth.api.v1.ActuatorCapabilityR\tactuators\x12U\n" +
  5079. "\x19recommended_sample_period\x18\r \x01(\v2\x19.google.protobuf.DurationR\x17recommendedSamplePeriod\x12#\n" +
  5080. "\rack_supported\x18\x0e \x01(\bR\fackSupported\x124\n" +
  5081. "\x16status_query_supported\x18\x0f \x01(\bR\x14statusQuerySupported\x12>\n" +
  5082. "\x1bposition_feedback_supported\x18\x10 \x01(\bR\x19positionFeedbackSupported\x124\n" +
  5083. "\x16rpm_feedback_supported\x18\x11 \x01(\bR\x14rpmFeedbackSupported\x12?\n" +
  5084. "\x1cdevice_fault_query_supported\x18\x12 \x01(\bR\x19deviceFaultQuerySupported\x128\n" +
  5085. "\x18limit_readback_supported\x18\x13 \x01(\bR\x16limitReadbackSupported\x12'\n" +
  5086. "\x0freadiness_probe\x18\x14 \x01(\tR\x0ereadinessProbe\x12\x14\n" +
  5087. "\x05notes\x18\x15 \x01(\tR\x05notes\x126\n" +
  5088. "\x06timing\x18\x16 \x01(\v2\x1e.hth.api.v1.TimingCapabilitiesR\x06timing\x12C\n" +
  5089. "\x1ehost_fault_reporting_supported\x18\x17 \x01(\bR\x1bhostFaultReportingSupported\x12L\n" +
  5090. "#device_native_fault_query_supported\x18\x18 \x01(\bR\x1fdeviceNativeFaultQuerySupported\x12.\n" +
  5091. "\x13device_fault_source\x18\x19 \x01(\tR\x11deviceFaultSource\"\xf6\x06\n" +
  5092. "\x12TimingCapabilities\x12P\n" +
  5093. "%temperature_transaction_worst_case_ms\x18\x01 \x01(\rR!temperatureTransactionWorstCaseMs\x12:\n" +
  5094. "\x1amotor_status_worst_case_ms\x18\x02 \x01(\rR\x16motorStatusWorstCaseMs\x12B\n" +
  5095. "\x1econtrol_dispatch_worst_case_ms\x18\x03 \x01(\rR\x1acontrolDispatchWorstCaseMs\x12=\n" +
  5096. "\x1brecommended_rpc_deadline_ms\x18\x04 \x01(\rR\x18recommendedRpcDeadlineMs\x129\n" +
  5097. "\x19recommended_action_ttl_ms\x18\x05 \x01(\rR\x16recommendedActionTtlMs\x129\n" +
  5098. "\x19minimum_control_period_ms\x18\x06 \x01(\rR\x16minimumControlPeriodMs\x12?\n" +
  5099. "\x1crecommended_sample_period_ms\x18\a \x01(\rR\x19recommendedSamplePeriodMs\x12G\n" +
  5100. " max_unpreemptable_transaction_ms\x18\b \x01(\rR\x1dmaxUnpreemptableTransactionMs\x12*\n" +
  5101. "\x11control_window_ms\x18\t \x01(\rR\x0fcontrolWindowMs\x12.\n" +
  5102. "\x13scheduler_margin_ms\x18\n" +
  5103. " \x01(\rR\x11schedulerMarginMs\x12C\n" +
  5104. "\x1emax_pending_continuous_actions\x18\v \x01(\rR\x1bmaxPendingContinuousActions\x12P\n" +
  5105. "%physical_temperature_update_period_ms\x18\f \x01(\rR!physicalTemperatureUpdatePeriodMs\x12\\\n" +
  5106. "+recommended_snapshot_subscription_period_ms\x18\r \x01(\rR'recommendedSnapshotSubscriptionPeriodMs\"\xf4\x02\n" +
  5107. "\x11CommandedActuator\x12\x0e\n" +
  5108. "\x02id\x18\x01 \x01(\tR\x02id\x12)\n" +
  5109. "\x10commanded_target\x18\x02 \x01(\x01R\x0fcommandedTarget\x12>\n" +
  5110. "\x0eactual_quality\x18\x03 \x01(\x0e2\x17.hth.api.v1.DataQualityR\ractualQuality\x12&\n" +
  5111. "\factual_value\x18\x04 \x01(\x01H\x00R\vactualValue\x88\x01\x01\x12#\n" +
  5112. "\ractual_reason\x18\x05 \x01(\tR\factualReason\x12!\n" +
  5113. "\ftarget_epoch\x18\x06 \x01(\x04R\vtargetEpoch\x12#\n" +
  5114. "\rtarget_source\x18\a \x01(\tR\ftargetSource\x12>\n" +
  5115. "\x0etarget_quality\x18\b \x01(\x0e2\x17.hth.api.v1.DataQualityR\rtargetQualityB\x0f\n" +
  5116. "\r_actual_value\"\xd6\x01\n" +
  5117. "\n" +
  5118. "FieldAudit\x12\x0e\n" +
  5119. "\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n" +
  5120. "\bexplicit\x18\x02 \x01(\bR\bexplicit\x12\x1b\n" +
  5121. "\traw_value\x18\x03 \x01(\x01R\brawValue\x12!\n" +
  5122. "\fbefore_clamp\x18\x04 \x01(\x01R\vbeforeClamp\x12\x1f\n" +
  5123. "\vafter_clamp\x18\x05 \x01(\x01R\n" +
  5124. "afterClamp\x12\x18\n" +
  5125. "\aclamped\x18\x06 \x01(\bR\aclamped\x12!\n" +
  5126. "\fclamp_reason\x18\a \x01(\tR\vclampReason\"\xec\x04\n" +
  5127. "\fActionRecord\x12\x1d\n" +
  5128. "\n" +
  5129. "command_id\x18\x01 \x01(\tR\tcommandId\x12\x1b\n" +
  5130. "\tclient_id\x18\x02 \x01(\tR\bclientId\x12.\n" +
  5131. "\x04time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x04time\x12B\n" +
  5132. "\fconfirmation\x18\x04 \x01(\x0e2\x1e.hth.api.v1.ConfirmationStatusR\fconfirmation\x12;\n" +
  5133. "\tactuators\x18\x05 \x03(\v2\x1d.hth.api.v1.CommandedActuatorR\tactuators\x12\x16\n" +
  5134. "\x06origin\x18\x06 \x01(\tR\x06origin\x129\n" +
  5135. "\ffield_audits\x18\a \x03(\v2\x16.hth.api.v1.FieldAuditR\vfieldAudits\x127\n" +
  5136. "\vaction_mode\x18\b \x01(\x0e2\x16.hth.api.v1.ActionModeR\n" +
  5137. "actionMode\x12\x19\n" +
  5138. "\bpeer_uid\x18\t \x01(\x05R\apeerUid\x12\x19\n" +
  5139. "\bpeer_gid\x18\n" +
  5140. " \x01(\x05R\apeerGid\x12\x19\n" +
  5141. "\bpeer_pid\x18\v \x01(\x05R\apeerPid\x12F\n" +
  5142. "\x0edispatch_state\x18\f \x01(\x0e2\x1f.hth.api.v1.ActionDispatchStateR\rdispatchState\x12!\n" +
  5143. "\faction_epoch\x18\r \x01(\x04R\vactionEpoch\x12'\n" +
  5144. "\x0fport_generation\x18\x0e \x01(\x04R\x0eportGeneration\"\xb5\x01\n" +
  5145. "\fLeaseSummary\x12\x19\n" +
  5146. "\blease_id\x18\x01 \x01(\tR\aleaseId\x12\x1f\n" +
  5147. "\vlease_epoch\x18\x02 \x01(\x04R\n" +
  5148. "leaseEpoch\x12\x16\n" +
  5149. "\x06holder\x18\x03 \x01(\tR\x06holder\x129\n" +
  5150. "\n" +
  5151. "expires_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\x12\x16\n" +
  5152. "\x06active\x18\x05 \x01(\bR\x06active\"\xe1\f\n" +
  5153. "\bSnapshot\x12\x1b\n" +
  5154. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12,\n" +
  5155. "\x12daemon_instance_id\x18\x02 \x01(\tR\x10daemonInstanceId\x12!\n" +
  5156. "\fdevice_epoch\x18\x03 \x01(\x04R\vdeviceEpoch\x12!\n" +
  5157. "\fsnapshot_seq\x18\x04 \x01(\x04R\vsnapshotSeq\x12)\n" +
  5158. "\x10control_revision\x18\x05 \x01(\x04R\x0fcontrolRevision\x12\x19\n" +
  5159. "\bevent_id\x18\x06 \x01(\x04R\aeventId\x127\n" +
  5160. "\twall_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\bwallTime\x12!\n" +
  5161. "\fmonotonic_ns\x18\b \x01(\x04R\vmonotonicNs\x12=\n" +
  5162. "\x0ecapture_window\x18\t \x01(\v2\x16.hth.api.v1.TimeWindowR\rcaptureWindow\x12>\n" +
  5163. "\tlifecycle\x18\n" +
  5164. " \x01(\x0e2 .hth.api.v1.DeviceLifecycleStateR\tlifecycle\x12;\n" +
  5165. "\fmeasurements\x18\v \x03(\v2\x17.hth.api.v1.MeasurementR\fmeasurements\x12L\n" +
  5166. "\x12continuous_targets\x18\f \x03(\v2\x1d.hth.api.v1.CommandedActuatorR\x11continuousTargets\x12?\n" +
  5167. "\x0elast_requested\x18\r \x01(\v2\x18.hth.api.v1.ActionRecordR\rlastRequested\x12=\n" +
  5168. "\rlast_accepted\x18\x0e \x01(\v2\x18.hth.api.v1.ActionRecordR\flastAccepted\x12A\n" +
  5169. "\x0flast_dispatched\x18\x0f \x01(\v2\x18.hth.api.v1.ActionRecordR\x0elastDispatched\x12O\n" +
  5170. "\x13device_confirmation\x18\x10 \x01(\x0e2\x1e.hth.api.v1.ConfirmationStatusR\x12deviceConfirmation\x126\n" +
  5171. "\ractive_faults\x18\x11 \x03(\v2\x11.hth.api.v1.FaultR\factiveFaults\x12.\n" +
  5172. "\x05lease\x18\x12 \x01(\v2\x18.hth.api.v1.LeaseSummaryR\x05lease\x126\n" +
  5173. "\x17dropped_telemetry_count\x18\x13 \x01(\x04R\x15droppedTelemetryCount\x12\x19\n" +
  5174. "\bdata_gap\x18\x14 \x01(\bR\adataGap\x12C\n" +
  5175. "\x0ftransport_state\x18\x15 \x01(\x0e2\x1a.hth.api.v1.TransportStateR\x0etransportState\x12F\n" +
  5176. "\x10device_readiness\x18\x16 \x01(\x0e2\x1b.hth.api.v1.DeviceReadinessR\x0fdeviceReadiness\x12M\n" +
  5177. "\x13safety_control_mode\x18\x17 \x01(\x0e2\x1d.hth.api.v1.SafetyControlModeR\x11safetyControlMode\x12g\n" +
  5178. "\"last_successful_hardware_heartbeat\x18\x18 \x01(\v2\x1a.google.protobuf.TimestampR\x1flastSuccessfulHardwareHeartbeat\x12?\n" +
  5179. "\x1chardware_watchdog_timeout_ms\x18\x19 \x01(\rR\x19hardwareWatchdogTimeoutMs\x12?\n" +
  5180. "\x1cremaining_watchdog_margin_ms\x18\x1a \x01(\rR\x19remainingWatchdogMarginMs\x12Y\n" +
  5181. "\x18heartbeat_delivery_state\x18\x1b \x01(\x0e2\x1f.hth.api.v1.ActionDispatchStateR\x16heartbeatDeliveryState\x12'\n" +
  5182. "\x0fport_generation\x18\x1c \x01(\x04R\x0eportGeneration\"\xd3\x04\n" +
  5183. "\x05Fault\x12\x19\n" +
  5184. "\bfault_id\x18\x01 \x01(\tR\afaultId\x12)\n" +
  5185. "\x04type\x18\x02 \x01(\x0e2\x15.hth.api.v1.FaultTypeR\x04type\x125\n" +
  5186. "\bseverity\x18\x03 \x01(\x0e2\x19.hth.api.v1.FaultSeverityR\bseverity\x12,\n" +
  5187. "\x05class\x18\x04 \x01(\x0e2\x16.hth.api.v1.FaultClassR\x05class\x129\n" +
  5188. "\n" +
  5189. "first_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tfirstTime\x127\n" +
  5190. "\tlast_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\blastTime\x12\x16\n" +
  5191. "\x06active\x18\a \x01(\bR\x06active\x12\x18\n" +
  5192. "\alatched\x18\b \x01(\bR\alatched\x12\x14\n" +
  5193. "\x05count\x18\t \x01(\x04R\x05count\x12\x1b\n" +
  5194. "\tdevice_id\x18\n" +
  5195. " \x01(\tR\bdeviceId\x12\x1d\n" +
  5196. "\n" +
  5197. "command_id\x18\v \x01(\tR\tcommandId\x12!\n" +
  5198. "\fhuman_reason\x18\f \x01(\tR\vhumanReason\x12D\n" +
  5199. "\vdiagnostics\x18\r \x03(\v2\".hth.api.v1.Fault.DiagnosticsEntryR\vdiagnostics\x1a>\n" +
  5200. "\x10DiagnosticsEntry\x12\x10\n" +
  5201. "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
  5202. "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xec\x01\n" +
  5203. "\vDeliveryGap\x12#\n" +
  5204. "\rdropped_count\x18\x01 \x01(\x04R\fdroppedCount\x127\n" +
  5205. "\x18last_contiguous_event_id\x18\x02 \x01(\x04R\x15lastContiguousEventId\x12D\n" +
  5206. "\x1frequested_resume_after_event_id\x18\x03 \x01(\x04R\x1brequestedResumeAfterEventId\x129\n" +
  5207. "\x19oldest_available_event_id\x18\x04 \x01(\x04R\x16oldestAvailableEventId\"\xa9\x06\n" +
  5208. "\x05Event\x12\x19\n" +
  5209. "\bevent_id\x18\x01 \x01(\x04R\aeventId\x12)\n" +
  5210. "\x04kind\x18\x02 \x01(\x0e2\x15.hth.api.v1.EventKindR\x04kind\x127\n" +
  5211. "\twall_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\bwallTime\x12!\n" +
  5212. "\fmonotonic_ns\x18\x04 \x01(\x04R\vmonotonicNs\x12\x1b\n" +
  5213. "\tdevice_id\x18\x05 \x01(\tR\bdeviceId\x120\n" +
  5214. "\bsnapshot\x18\x06 \x01(\v2\x14.hth.api.v1.SnapshotR\bsnapshot\x12'\n" +
  5215. "\x05fault\x18\a \x01(\v2\x11.hth.api.v1.FaultR\x05fault\x12\x18\n" +
  5216. "\amessage\x18\b \x01(\tR\amessage\x121\n" +
  5217. "\x15resume_after_event_id\x18\t \x01(\x04R\x12resumeAfterEventId\x12#\n" +
  5218. "\rdropped_count\x18\n" +
  5219. " \x01(\x04R\fdroppedCount\x12&\n" +
  5220. "\x0fsource_event_id\x18\v \x01(\x04R\rsourceEventId\x12*\n" +
  5221. "\x11source_capture_id\x18\f \x01(\tR\x0fsourceCaptureId\x12(\n" +
  5222. "\x10source_device_id\x18\r \x01(\tR\x0esourceDeviceId\x129\n" +
  5223. "\x19source_daemon_instance_id\x18\x0e \x01(\tR\x16sourceDaemonInstanceId\x127\n" +
  5224. "\x18last_contiguous_event_id\x18\x0f \x01(\x04R\x15lastContiguousEventId\x12:\n" +
  5225. "\fdelivery_gap\x18\x10 \x01(\v2\x17.hth.api.v1.DeliveryGapR\vdeliveryGap\x12=\n" +
  5226. "\raction_result\x18\x11 \x01(\v2\x18.hth.api.v1.ActionResultR\factionResult\x12'\n" +
  5227. "\x0fport_generation\x18\x12 \x01(\x04R\x0eportGeneration\"8\n" +
  5228. "\x10ContinuousTarget\x12\x0e\n" +
  5229. "\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
  5230. "\x05value\x18\x02 \x01(\x01R\x05value\"K\n" +
  5231. "\x0fDiscreteCommand\x12\x0e\n" +
  5232. "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
  5233. "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
  5234. "\x05value\x18\x03 \x01(\x01R\x05value\"k\n" +
  5235. "\vClampRecord\x12\x0e\n" +
  5236. "\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n" +
  5237. "\boriginal\x18\x02 \x01(\x01R\boriginal\x12\x18\n" +
  5238. "\alimited\x18\x03 \x01(\x01R\alimited\x12\x16\n" +
  5239. "\x06reason\x18\x04 \x01(\tR\x06reason\"\xad\x04\n" +
  5240. "\vActionBatch\x12\x1b\n" +
  5241. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x1d\n" +
  5242. "\n" +
  5243. "command_id\x18\x02 \x01(\tR\tcommandId\x12\x19\n" +
  5244. "\blease_id\x18\x03 \x01(\tR\aleaseId\x12\x1f\n" +
  5245. "\vlease_epoch\x18\x04 \x01(\x04R\n" +
  5246. "leaseEpoch\x121\n" +
  5247. "\x15based_on_snapshot_seq\x18\x05 \x01(\x04R\x12basedOnSnapshotSeq\x12:\n" +
  5248. "\x19expected_control_revision\x18\x06 \x01(\x04R\x17expectedControlRevision\x12;\n" +
  5249. "\vvalid_until\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\n" +
  5250. "validUntil\x12K\n" +
  5251. "\x12continuous_targets\x18\b \x03(\v2\x1c.hth.api.v1.ContinuousTargetR\x11continuousTargets\x12H\n" +
  5252. "\x11discrete_commands\x18\t \x03(\v2\x1b.hth.api.v1.DiscreteCommandR\x10discreteCommands\x12\x1f\n" +
  5253. "\vallow_clamp\x18\n" +
  5254. " \x01(\bR\n" +
  5255. "allowClamp\x12\x1b\n" +
  5256. "\tclient_id\x18\v \x01(\tR\bclientId\x12%\n" +
  5257. "\x0epolicy_version\x18\f \x01(\tR\rpolicyVersion\"\xec\x06\n" +
  5258. "\fActionResult\x12\x1d\n" +
  5259. "\n" +
  5260. "command_id\x18\x01 \x01(\tR\tcommandId\x12\x1a\n" +
  5261. "\baccepted\x18\x02 \x01(\bR\baccepted\x12=\n" +
  5262. "\rreject_reason\x18\x03 \x01(\x0e2\x18.hth.api.v1.RejectReasonR\frejectReason\x12\x18\n" +
  5263. "\amessage\x18\x04 \x01(\tR\amessage\x12/\n" +
  5264. "\x06clamps\x18\x05 \x03(\v2\x17.hth.api.v1.ClampRecordR\x06clamps\x126\n" +
  5265. "\trequested\x18\x06 \x01(\v2\x18.hth.api.v1.ActionRecordR\trequested\x12A\n" +
  5266. "\x0faccepted_action\x18\a \x01(\v2\x18.hth.api.v1.ActionRecordR\x0eacceptedAction\x128\n" +
  5267. "\n" +
  5268. "dispatched\x18\b \x01(\v2\x18.hth.api.v1.ActionRecordR\n" +
  5269. "dispatched\x12B\n" +
  5270. "\fconfirmation\x18\t \x01(\x0e2\x1e.hth.api.v1.ConfirmationStatusR\fconfirmation\x12)\n" +
  5271. "\x10control_revision\x18\n" +
  5272. " \x01(\x04R\x0fcontrolRevision\x12!\n" +
  5273. "\fdevice_epoch\x18\v \x01(\x04R\vdeviceEpoch\x12.\n" +
  5274. "\x13replayed_from_cache\x18\f \x01(\bR\x11replayedFromCache\x12=\n" +
  5275. "\rraw_requested\x18\r \x01(\v2\x18.hth.api.v1.ActionRecordR\frawRequested\x12K\n" +
  5276. "\x14normalized_requested\x18\x0e \x01(\v2\x18.hth.api.v1.ActionRecordR\x13normalizedRequested\x12F\n" +
  5277. "\x0edispatch_state\x18\x0f \x01(\x0e2\x1f.hth.api.v1.ActionDispatchStateR\rdispatchState\x12#\n" +
  5278. "\raction_origin\x18\x10 \x01(\tR\factionOrigin\x12'\n" +
  5279. "\x0fport_generation\x18\x11 \x01(\x04R\x0eportGeneration\"\xc1\x02\n" +
  5280. "\fControlLease\x12\x19\n" +
  5281. "\blease_id\x18\x01 \x01(\tR\aleaseId\x12\x1f\n" +
  5282. "\vlease_epoch\x18\x02 \x01(\x04R\n" +
  5283. "leaseEpoch\x12\x1b\n" +
  5284. "\tdevice_id\x18\x03 \x01(\tR\bdeviceId\x12\x16\n" +
  5285. "\x06holder\x18\x04 \x01(\tR\x06holder\x129\n" +
  5286. "\n" +
  5287. "created_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
  5288. "\n" +
  5289. "expires_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\x122\n" +
  5290. "\amax_ttl\x18\a \x01(\v2\x19.google.protobuf.DurationR\x06maxTtl\x12\x16\n" +
  5291. "\x06active\x18\b \x01(\bR\x06active\"\x14\n" +
  5292. "\x12ListDevicesRequest\"G\n" +
  5293. "\x13ListDevicesResponse\x120\n" +
  5294. "\adevices\x18\x01 \x03(\v2\x16.hth.api.v1.DeviceInfoR\adevices\"5\n" +
  5295. "\x16GetCapabilitiesRequest\x12\x1b\n" +
  5296. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\"W\n" +
  5297. "\x17GetCapabilitiesResponse\x12<\n" +
  5298. "\fcapabilities\x18\x01 \x01(\v2\x18.hth.api.v1.CapabilitiesR\fcapabilities\"1\n" +
  5299. "\x12GetSnapshotRequest\x12\x1b\n" +
  5300. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\"G\n" +
  5301. "\x13GetSnapshotResponse\x120\n" +
  5302. "\bsnapshot\x18\x01 \x01(\v2\x14.hth.api.v1.SnapshotR\bsnapshot\"k\n" +
  5303. "\x19SubscribeTelemetryRequest\x12\x1b\n" +
  5304. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x121\n" +
  5305. "\x15resume_after_event_id\x18\x02 \x01(\x04R\x12resumeAfterEventId\"h\n" +
  5306. "\x16SubscribeEventsRequest\x12\x1b\n" +
  5307. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x121\n" +
  5308. "\x15resume_after_event_id\x18\x02 \x01(\x04R\x12resumeAfterEventId\"Z\n" +
  5309. "\x10GetFaultsRequest\x12\x1b\n" +
  5310. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12)\n" +
  5311. "\x10include_inactive\x18\x02 \x01(\bR\x0fincludeInactive\"\xc2\x02\n" +
  5312. "\x11GetFaultsResponse\x12)\n" +
  5313. "\x06faults\x18\x01 \x03(\v2\x11.hth.api.v1.FaultR\x06faults\x12?\n" +
  5314. "\x1cdevice_fault_query_supported\x18\x02 \x01(\bR\x19deviceFaultQuerySupported\x12C\n" +
  5315. "\x1ehost_fault_reporting_supported\x18\x03 \x01(\bR\x1bhostFaultReportingSupported\x12L\n" +
  5316. "#device_native_fault_query_supported\x18\x04 \x01(\bR\x1fdeviceNativeFaultQuerySupported\x12.\n" +
  5317. "\x13device_fault_source\x18\x05 \x01(\tR\x11deviceFaultSource\"\x14\n" +
  5318. "\x12WatchHealthRequest\"\xe4\x03\n" +
  5319. "\fHealthStatus\x12*\n" +
  5320. "\x04host\x18\x01 \x01(\x0e2\x16.hth.api.v1.HostHealthR\x04host\x120\n" +
  5321. "\adevices\x18\x02 \x03(\v2\x16.hth.api.v1.DeviceInfoR\adevices\x12\x18\n" +
  5322. "\amessage\x18\x03 \x01(\tR\amessage\x12?\n" +
  5323. "\x0fobserve_service\x18\x04 \x01(\x0e2\x16.hth.api.v1.HostHealthR\x0eobserveService\x12?\n" +
  5324. "\x0fcontrol_service\x18\x05 \x01(\x0e2\x16.hth.api.v1.HostHealthR\x0econtrolService\x12C\n" +
  5325. "\x0ftransport_state\x18\x06 \x01(\x0e2\x1a.hth.api.v1.TransportStateR\x0etransportState\x12F\n" +
  5326. "\x10device_readiness\x18\a \x01(\x0e2\x1b.hth.api.v1.DeviceReadinessR\x0fdeviceReadiness\x12M\n" +
  5327. "\x13safety_control_mode\x18\b \x01(\x0e2\x1d.hth.api.v1.SafetyControlModeR\x11safetyControlMode\"~\n" +
  5328. "\x1aAcquireControlLeaseRequest\x12\x1b\n" +
  5329. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x16\n" +
  5330. "\x06holder\x18\x02 \x01(\tR\x06holder\x12+\n" +
  5331. "\x03ttl\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\x03ttl\"\xa0\x01\n" +
  5332. "\x18RenewControlLeaseRequest\x12\x1b\n" +
  5333. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x19\n" +
  5334. "\blease_id\x18\x02 \x01(\tR\aleaseId\x12\x1f\n" +
  5335. "\vlease_epoch\x18\x03 \x01(\x04R\n" +
  5336. "leaseEpoch\x12+\n" +
  5337. "\x03ttl\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\x03ttl\"u\n" +
  5338. "\x1aReleaseControlLeaseRequest\x12\x1b\n" +
  5339. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x19\n" +
  5340. "\blease_id\x18\x02 \x01(\tR\aleaseId\x12\x1f\n" +
  5341. "\vlease_epoch\x18\x03 \x01(\x04R\n" +
  5342. "leaseEpoch\"?\n" +
  5343. "\rLeaseResponse\x12.\n" +
  5344. "\x05lease\x18\x01 \x01(\v2\x18.hth.api.v1.ControlLeaseR\x05lease\"F\n" +
  5345. "\x15ValidateActionRequest\x12-\n" +
  5346. "\x05batch\x18\x01 \x01(\v2\x17.hth.api.v1.ActionBatchR\x05batch\"C\n" +
  5347. "\x12ApplyActionRequest\x12-\n" +
  5348. "\x05batch\x18\x01 \x01(\v2\x17.hth.api.v1.ActionBatchR\x05batch\"\x87\x01\n" +
  5349. "\x14EnterSafeModeRequest\x12\x1b\n" +
  5350. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x19\n" +
  5351. "\blease_id\x18\x02 \x01(\tR\aleaseId\x12\x1f\n" +
  5352. "\vlease_epoch\x18\x03 \x01(\x04R\n" +
  5353. "leaseEpoch\x12\x16\n" +
  5354. "\x06reason\x18\x04 \x01(\tR\x06reason\"\x9f\x01\n" +
  5355. "\x15ResumeFromSafeRequest\x12\x1b\n" +
  5356. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x19\n" +
  5357. "\blease_id\x18\x02 \x01(\tR\aleaseId\x12\x1f\n" +
  5358. "\vlease_epoch\x18\x03 \x01(\x04R\n" +
  5359. "leaseEpoch\x12-\n" +
  5360. "\x05batch\x18\x04 \x01(\v2\x17.hth.api.v1.ActionBatchR\x05batch\"0\n" +
  5361. "\x11StepReplayRequest\x12\x1b\n" +
  5362. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\"\xa5\x01\n" +
  5363. "\x12StepReplayResponse\x12\x1a\n" +
  5364. "\badvanced\x18\x01 \x01(\bR\badvanced\x12'\n" +
  5365. "\x05event\x18\x02 \x01(\v2\x11.hth.api.v1.EventR\x05event\x120\n" +
  5366. "\bsnapshot\x18\x03 \x01(\v2\x14.hth.api.v1.SnapshotR\bsnapshot\x12\x18\n" +
  5367. "\amessage\x18\x04 \x01(\tR\amessage\"[\n" +
  5368. "\x17SetThermalTargetRequest\x12\x1b\n" +
  5369. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12#\n" +
  5370. "\rtemperature_c\x18\x02 \x01(\rR\ftemperatureC\"1\n" +
  5371. "\x12StopThermalRequest\x12\x1b\n" +
  5372. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\"\xbd\x02\n" +
  5373. "\x14ThermalCommandResult\x12\x1b\n" +
  5374. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12)\n" +
  5375. "\x10firmware_profile\x18\x02 \x01(\tR\x0ffirmwareProfile\x12'\n" +
  5376. "\x0fcontract_sha256\x18\x03 \x01(\tR\x0econtractSha256\x12\x1c\n" +
  5377. "\tcommitted\x18\x04 \x01(\bR\tcommitted\x120\n" +
  5378. "\x14target_temperature_c\x18\x05 \x01(\rR\x12targetTemperatureC\x120\n" +
  5379. "\x14request_monotonic_ns\x18\x06 \x01(\x04R\x12requestMonotonicNs\x122\n" +
  5380. "\x15response_monotonic_ns\x18\a \x01(\x04R\x13responseMonotonicNs\"8\n" +
  5381. "\x19GetThermalSnapshotRequest\x12\x1b\n" +
  5382. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\"\xde\a\n" +
  5383. "\x0fThermalSnapshot\x12\x1b\n" +
  5384. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12)\n" +
  5385. "\x10firmware_profile\x18\x02 \x01(\tR\x0ffirmwareProfile\x12'\n" +
  5386. "\x0fcontract_sha256\x18\x03 \x01(\tR\x0econtractSha256\x12\x1f\n" +
  5387. "\vraw_payload\x18\x04 \x01(\fR\n" +
  5388. "rawPayload\x120\n" +
  5389. "\x14request_monotonic_ns\x18\x05 \x01(\x04R\x12requestMonotonicNs\x122\n" +
  5390. "\x15response_monotonic_ns\x18\x06 \x01(\x04R\x13responseMonotonicNs\x12#\n" +
  5391. "\rcontrol_state\x18\a \x01(\rR\fcontrolState\x12\x1f\n" +
  5392. "\vfault_flags\x18\b \x01(\rR\n" +
  5393. "faultFlags\x12%\n" +
  5394. "\x0ecurrent_target\x18\t \x01(\rR\rcurrentTarget\x12(\n" +
  5395. "\x10host_target_seen\x18\n" +
  5396. " \x01(\bR\x0ehostTargetSeen\x12\x1b\n" +
  5397. "\tbmc_epoch\x18\v \x01(\rR\bbmcEpoch\x12\x19\n" +
  5398. "\bct_epoch\x18\f \x01(\rR\actEpoch\x12#\n" +
  5399. "\rcontrol_epoch\x18\r \x01(\rR\fcontrolEpoch\x12\x17\n" +
  5400. "\abmc_age\x18\x0e \x01(\rR\x06bmcAge\x12\x15\n" +
  5401. "\x06ct_age\x18\x0f \x01(\rR\x05ctAge\x12\x17\n" +
  5402. "\abmc_raw\x18\x10 \x03(\rR\x06bmcRaw\x12\x1b\n" +
  5403. "\tbmc_valid\x18\x11 \x03(\bR\bbmcValid\x12\x15\n" +
  5404. "\x06ct_raw\x18\x12 \x03(\rR\x05ctRaw\x12\x19\n" +
  5405. "\bct_valid\x18\x13 \x03(\bR\actValid\x12#\n" +
  5406. "\rptc_requested\x18\x14 \x03(\rR\fptcRequested\x12\x1f\n" +
  5407. "\vptc_applied\x18\x15 \x03(\rR\n" +
  5408. "ptcApplied\x12'\n" +
  5409. "\x0ffront_requested\x18\x16 \x03(\rR\x0efrontRequested\x12#\n" +
  5410. "\rfront_applied\x18\x17 \x03(\rR\ffrontApplied\x12%\n" +
  5411. "\x0erear_requested\x18\x18 \x03(\rR\rrearRequested\x12!\n" +
  5412. "\frear_applied\x18\x19 \x03(\rR\vrearApplied\x12'\n" +
  5413. "\x0fsafety_override\x18\x1a \x03(\bR\x0esafetyOverride\x12\x1d\n" +
  5414. "\n" +
  5415. "lane_fault\x18\x1b \x03(\bR\tlaneFault\x12!\n" +
  5416. "\fglobal_fault\x18\x1c \x01(\bR\vglobalFault\"U\n" +
  5417. "\x1aGetThermalSnapshotResponse\x127\n" +
  5418. "\bsnapshot\x18\x01 \x01(\v2\x1b.hth.api.v1.ThermalSnapshotR\bsnapshot\"\xc8\x01\n" +
  5419. "\x19RunThermalStimulusRequest\x12\x1b\n" +
  5420. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12)\n" +
  5421. "\x10duration_seconds\x18\x02 \x01(\rR\x0fdurationSeconds\x12\x19\n" +
  5422. "\bptc_duty\x18\x03 \x03(\rR\aptcDuty\x12$\n" +
  5423. "\x0efront_fan_duty\x18\x04 \x03(\rR\ffrontFanDuty\x12\"\n" +
  5424. "\rrear_fan_duty\x18\x05 \x03(\rR\vrearFanDuty*\xe2\x02\n" +
  5425. "\x14DeviceLifecycleState\x12&\n" +
  5426. "\"DEVICE_LIFECYCLE_STATE_UNSPECIFIED\x10\x00\x12#\n" +
  5427. "\x1fDEVICE_LIFECYCLE_STATE_STARTING\x10\x01\x12%\n" +
  5428. "!DEVICE_LIFECYCLE_STATE_CONNECTING\x10\x02\x12\"\n" +
  5429. "\x1eDEVICE_LIFECYCLE_STATE_PROBING\x10\x03\x12 \n" +
  5430. "\x1cDEVICE_LIFECYCLE_STATE_READY\x10\x04\x12#\n" +
  5431. "\x1fDEVICE_LIFECYCLE_STATE_DEGRADED\x10\x05\x12\x1f\n" +
  5432. "\x1bDEVICE_LIFECYCLE_STATE_SAFE\x10\x06\x12&\n" +
  5433. "\"DEVICE_LIFECYCLE_STATE_UNAVAILABLE\x10\a\x12\"\n" +
  5434. "\x1eDEVICE_LIFECYCLE_STATE_UNKNOWN\x10\b*\xe5\x01\n" +
  5435. "\vDataQuality\x12\x1c\n" +
  5436. "\x18DATA_QUALITY_UNSPECIFIED\x10\x00\x12\x16\n" +
  5437. "\x12DATA_QUALITY_VALID\x10\x01\x12\x16\n" +
  5438. "\x12DATA_QUALITY_STALE\x10\x02\x12\x18\n" +
  5439. "\x14DATA_QUALITY_MISSING\x10\x03\x12\x18\n" +
  5440. "\x14DATA_QUALITY_INVALID\x10\x04\x12\x1a\n" +
  5441. "\x16DATA_QUALITY_ESTIMATED\x10\x05\x12\x1e\n" +
  5442. "\x1aDATA_QUALITY_NOT_SUPPORTED\x10\x06\x12\x18\n" +
  5443. "\x14DATA_QUALITY_UNKNOWN\x10\a*\x9a\x02\n" +
  5444. "\x12ConfirmationStatus\x12#\n" +
  5445. "\x1fCONFIRMATION_STATUS_UNSPECIFIED\x10\x00\x12!\n" +
  5446. "\x1dCONFIRMATION_STATUS_CONFIRMED\x10\x01\x12#\n" +
  5447. "\x1fCONFIRMATION_STATUS_UNCONFIRMED\x10\x02\x12'\n" +
  5448. "#CONFIRMATION_STATUS_OUTCOME_UNKNOWN\x10\x03\x12 \n" +
  5449. "\x1cCONFIRMATION_STATUS_REJECTED\x10\x04\x12%\n" +
  5450. "!CONFIRMATION_STATUS_NOT_SUPPORTED\x10\x05\x12%\n" +
  5451. "!CONFIRMATION_STATUS_NOT_DELIVERED\x10\x06*\x92\x01\n" +
  5452. "\x0eTransportState\x12\x1f\n" +
  5453. "\x1bTRANSPORT_STATE_UNSPECIFIED\x10\x00\x12 \n" +
  5454. "\x1cTRANSPORT_STATE_DISCONNECTED\x10\x01\x12\x1e\n" +
  5455. "\x1aTRANSPORT_STATE_CONNECTING\x10\x02\x12\x1d\n" +
  5456. "\x19TRANSPORT_STATE_CONNECTED\x10\x03*\xab\x01\n" +
  5457. "\x0fDeviceReadiness\x12 \n" +
  5458. "\x1cDEVICE_READINESS_UNSPECIFIED\x10\x00\x12\x1d\n" +
  5459. "\x19DEVICE_READINESS_STARTING\x10\x01\x12\x1c\n" +
  5460. "\x18DEVICE_READINESS_PROBING\x10\x02\x12\x1a\n" +
  5461. "\x16DEVICE_READINESS_READY\x10\x03\x12\x1d\n" +
  5462. "\x19DEVICE_READINESS_DEGRADED\x10\x04*\xc4\x01\n" +
  5463. "\x11SafetyControlMode\x12#\n" +
  5464. "\x1fSAFETY_CONTROL_MODE_UNSPECIFIED\x10\x00\x12\x1e\n" +
  5465. "\x1aSAFETY_CONTROL_MODE_NORMAL\x10\x01\x12$\n" +
  5466. " SAFETY_CONTROL_MODE_SAFE_PENDING\x10\x02\x12\x1c\n" +
  5467. "\x18SAFETY_CONTROL_MODE_SAFE\x10\x03\x12&\n" +
  5468. "\"SAFETY_CONTROL_MODE_RESUME_PENDING\x10\x04*\xe3\x03\n" +
  5469. "\x13ActionDispatchState\x12%\n" +
  5470. "!ACTION_DISPATCH_STATE_UNSPECIFIED\x10\x00\x12#\n" +
  5471. "\x1fACTION_DISPATCH_STATE_REQUESTED\x10\x01\x12\"\n" +
  5472. "\x1eACTION_DISPATCH_STATE_ACCEPTED\x10\x02\x12 \n" +
  5473. "\x1cACTION_DISPATCH_STATE_QUEUED\x10\x03\x12*\n" +
  5474. "&ACTION_DISPATCH_STATE_DISPATCH_STARTED\x10\x04\x12$\n" +
  5475. " ACTION_DISPATCH_STATE_DISPATCHED\x10\x05\x12%\n" +
  5476. "!ACTION_DISPATCH_STATE_UNCONFIRMED\x10\x06\x12#\n" +
  5477. "\x1fACTION_DISPATCH_STATE_CONFIRMED\x10\a\x12)\n" +
  5478. "%ACTION_DISPATCH_STATE_OUTCOME_UNKNOWN\x10\b\x12'\n" +
  5479. "#ACTION_DISPATCH_STATE_NOT_DELIVERED\x10\t\x12\"\n" +
  5480. "\x1eACTION_DISPATCH_STATE_REJECTED\x10\n" +
  5481. "\x12$\n" +
  5482. " ACTION_DISPATCH_STATE_SUPERSEDED\x10\v*\x88\x01\n" +
  5483. "\vControlMode\x12\x1c\n" +
  5484. "\x18CONTROL_MODE_UNSPECIFIED\x10\x00\x12\x19\n" +
  5485. "\x15CONTROL_MODE_JOG_ONLY\x10\x01\x12\x1e\n" +
  5486. "\x1aCONTROL_MODE_PERCENT_CLOSE\x10\x02\x12 \n" +
  5487. "\x1cCONTROL_MODE_CONTINUOUS_DUTY\x10\x03*\xa7\x01\n" +
  5488. "\fFeedbackMode\x12\x1d\n" +
  5489. "\x19FEEDBACK_MODE_UNSPECIFIED\x10\x00\x12\x16\n" +
  5490. "\x12FEEDBACK_MODE_NONE\x10\x01\x12%\n" +
  5491. "!FEEDBACK_MODE_ESTIMATED_OPEN_LOOP\x10\x02\x12\x1e\n" +
  5492. "\x1aFEEDBACK_MODE_LIMIT_SWITCH\x10\x03\x12\x19\n" +
  5493. "\x15FEEDBACK_MODE_ENCODER\x10\x04*v\n" +
  5494. "\fActuatorKind\x12\x1d\n" +
  5495. "\x19ACTUATOR_KIND_UNSPECIFIED\x10\x00\x12\x15\n" +
  5496. "\x11ACTUATOR_KIND_FAN\x10\x01\x12\x18\n" +
  5497. "\x14ACTUATOR_KIND_HEATER\x10\x02\x12\x16\n" +
  5498. "\x12ACTUATOR_KIND_DOOR\x10\x03*\x88\x01\n" +
  5499. "\n" +
  5500. "SensorKind\x12\x1b\n" +
  5501. "\x17SENSOR_KIND_UNSPECIFIED\x10\x00\x12\x1b\n" +
  5502. "\x17SENSOR_KIND_TEMPERATURE\x10\x01\x12\x1c\n" +
  5503. "\x18SENSOR_KIND_LIMIT_SWITCH\x10\x02\x12\"\n" +
  5504. "\x1eSENSOR_KIND_ESTIMATED_POSITION\x10\x03*\x9b\x01\n" +
  5505. "\rFaultSeverity\x12\x1e\n" +
  5506. "\x1aFAULT_SEVERITY_UNSPECIFIED\x10\x00\x12\x17\n" +
  5507. "\x13FAULT_SEVERITY_INFO\x10\x01\x12\x1a\n" +
  5508. "\x16FAULT_SEVERITY_WARNING\x10\x02\x12\x18\n" +
  5509. "\x14FAULT_SEVERITY_ERROR\x10\x03\x12\x1b\n" +
  5510. "\x17FAULT_SEVERITY_CRITICAL\x10\x04*\xbe\x01\n" +
  5511. "\n" +
  5512. "FaultClass\x12\x1b\n" +
  5513. "\x17FAULT_CLASS_UNSPECIFIED\x10\x00\x12\x1f\n" +
  5514. "\x1bFAULT_CLASS_DEVICE_REPORTED\x10\x01\x12\x1d\n" +
  5515. "\x19FAULT_CLASS_HOST_INFERRED\x10\x02\x12\x16\n" +
  5516. "\x12FAULT_CLASS_CONFIG\x10\x03\x12\x1d\n" +
  5517. "\x19FAULT_CLASS_COMMUNICATION\x10\x04\x12\x1c\n" +
  5518. "\x18FAULT_CLASS_DATA_QUALITY\x10\x05*\x85\x06\n" +
  5519. "\tFaultType\x12\x1a\n" +
  5520. "\x16FAULT_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n" +
  5521. "\x19FAULT_TYPE_CONFIG_INVALID\x10\x01\x12\x1e\n" +
  5522. "\x1aFAULT_TYPE_PROFILE_INVALID\x10\x02\x12(\n" +
  5523. "$FAULT_TYPE_PROFILE_CONTRACT_MISMATCH\x10\x03\x12&\n" +
  5524. "\"FAULT_TYPE_SERIAL_DEVICE_NOT_FOUND\x10\x04\x12'\n" +
  5525. "#FAULT_TYPE_SERIAL_PERMISSION_DENIED\x10\x05\x12\"\n" +
  5526. "\x1eFAULT_TYPE_SERIAL_DISCONNECTED\x10\x06\x12\"\n" +
  5527. "\x1eFAULT_TYPE_SERIAL_RECONNECTING\x10\a\x12#\n" +
  5528. "\x1fFAULT_TYPE_FRAME_LENGTH_INVALID\x10\b\x12 \n" +
  5529. "\x1cFAULT_TYPE_FRAME_CRC_INVALID\x10\t\x12!\n" +
  5530. "\x1dFAULT_TYPE_FRAME_TYPE_UNKNOWN\x10\n" +
  5531. "\x12\x1f\n" +
  5532. "\x1bFAULT_TYPE_RESPONSE_TIMEOUT\x10\v\x12'\n" +
  5533. "#FAULT_TYPE_TEMPERATURE_DATA_INVALID\x10\f\x12\x1e\n" +
  5534. "\x1aFAULT_TYPE_TELEMETRY_STALE\x10\r\x12$\n" +
  5535. " FAULT_TYPE_CONTROL_LEASE_EXPIRED\x10\x0e\x12'\n" +
  5536. "#FAULT_TYPE_CONTROL_COMMAND_REJECTED\x10\x0f\x12&\n" +
  5537. "\"FAULT_TYPE_CONTROL_OUTCOME_UNKNOWN\x10\x10\x12(\n" +
  5538. "$FAULT_TYPE_SAFE_ACTION_NOT_DELIVERED\x10\x11\x12\"\n" +
  5539. "\x1eFAULT_TYPE_SUBSCRIBER_DATA_GAP\x10\x12\x12 \n" +
  5540. "\x1cFAULT_TYPE_DEVICE_AXIS_FAULT\x10\x13\x12\x1f\n" +
  5541. "\x1bFAULT_TYPE_WATCHDOG_TRIPPED\x10\x14*\xba\x04\n" +
  5542. "\tEventKind\x12\x1a\n" +
  5543. "\x16EVENT_KIND_UNSPECIFIED\x10\x00\x12\x17\n" +
  5544. "\x13EVENT_KIND_SNAPSHOT\x10\x01\x12\x1b\n" +
  5545. "\x17EVENT_KIND_FAULT_RAISED\x10\x02\x12\x1c\n" +
  5546. "\x18EVENT_KIND_FAULT_CLEARED\x10\x03\x12\x1d\n" +
  5547. "\x19EVENT_KIND_LEASE_ACQUIRED\x10\x04\x12\x1c\n" +
  5548. "\x18EVENT_KIND_LEASE_RENEWED\x10\x05\x12\x1d\n" +
  5549. "\x19EVENT_KIND_LEASE_RELEASED\x10\x06\x12\x1c\n" +
  5550. "\x18EVENT_KIND_LEASE_EXPIRED\x10\a\x12#\n" +
  5551. "\x1fEVENT_KIND_DEVICE_EPOCH_CHANGED\x10\b\x12\x17\n" +
  5552. "\x13EVENT_KIND_DATA_GAP\x10\t\x12 \n" +
  5553. "\x1cEVENT_KIND_SAFE_MODE_ENTERED\x10\n" +
  5554. "\x12!\n" +
  5555. "\x1dEVENT_KIND_WATCHDOG_HEARTBEAT\x10\v\x12\x1c\n" +
  5556. "\x18EVENT_KIND_ACTION_RESULT\x10\f\x12\x1c\n" +
  5557. "\x18EVENT_KIND_BACKEND_STATE\x10\r\x12\x1c\n" +
  5558. "\x18EVENT_KIND_FAULT_UPDATED\x10\x0e\x12!\n" +
  5559. "\x1dEVENT_KIND_FAULT_ACKNOWLEDGED\x10\x0f\x12\"\n" +
  5560. "\x1eEVENT_KIND_SAFETY_MODE_CHANGED\x10\x10\x12\x1f\n" +
  5561. "\x1bEVENT_KIND_RESUME_FROM_SAFE\x10\x11*y\n" +
  5562. "\n" +
  5563. "HostHealth\x12\x1b\n" +
  5564. "\x17HOST_HEALTH_UNSPECIFIED\x10\x00\x12\x17\n" +
  5565. "\x13HOST_HEALTH_SERVING\x10\x01\x12\x1b\n" +
  5566. "\x17HOST_HEALTH_NOT_SERVING\x10\x02\x12\x18\n" +
  5567. "\x14HOST_HEALTH_DEGRADED\x10\x03*r\n" +
  5568. "\n" +
  5569. "ActionMode\x12\x1b\n" +
  5570. "\x17ACTION_MODE_UNSPECIFIED\x10\x00\x12\x16\n" +
  5571. "\x12ACTION_MODE_NORMAL\x10\x01\x12\x14\n" +
  5572. "\x10ACTION_MODE_SAFE\x10\x02\x12\x19\n" +
  5573. "\x15ACTION_MODE_HEARTBEAT\x10\x03*\x8d\x06\n" +
  5574. "\fRejectReason\x12\x1d\n" +
  5575. "\x19REJECT_REASON_UNSPECIFIED\x10\x00\x12\"\n" +
  5576. "\x1eREJECT_REASON_INVALID_ARGUMENT\x10\x01\x12\x1c\n" +
  5577. "\x18REJECT_REASON_UNKNOWN_ID\x10\x02\x12\x1f\n" +
  5578. "\x1bREJECT_REASON_NOT_SUPPORTED\x10\x03\x12\x1e\n" +
  5579. "\x1aREJECT_REASON_OUT_OF_RANGE\x10\x04\x12 \n" +
  5580. "\x1cREJECT_REASON_CLAMP_REQUIRED\x10\x05\x12\x1f\n" +
  5581. "\x1bREJECT_REASON_LEASE_MISSING\x10\x06\x12 \n" +
  5582. "\x1cREJECT_REASON_LEASE_MISMATCH\x10\a\x12\x1f\n" +
  5583. "\x1bREJECT_REASON_LEASE_EXPIRED\x10\b\x12 \n" +
  5584. "\x1cREJECT_REASON_STALE_SNAPSHOT\x10\t\x12(\n" +
  5585. "$REJECT_REASON_STALE_CONTROL_REVISION\x10\n" +
  5586. "\x12\"\n" +
  5587. "\x1eREJECT_REASON_EXPIRED_DEADLINE\x10\v\x12&\n" +
  5588. "\"REJECT_REASON_IDEMPOTENCY_CONFLICT\x10\f\x12\"\n" +
  5589. "\x1eREJECT_REASON_DEVICE_NOT_READY\x10\r\x12\x1c\n" +
  5590. "\x18REJECT_REASON_QUEUE_FULL\x10\x0e\x12%\n" +
  5591. "!REJECT_REASON_ATOMIC_BATCH_FAILED\x10\x0f\x12\x1e\n" +
  5592. "\x1aREJECT_REASON_SLEW_LIMITED\x10\x10\x12\"\n" +
  5593. "\x1eREJECT_REASON_SAFE_MODE_ACTIVE\x10\x11\x12!\n" +
  5594. "\x1dREJECT_REASON_RESUME_REQUIRED\x10\x12\x12%\n" +
  5595. "!REJECT_REASON_PARTIAL_NOT_ALLOWED\x10\x13\x12\x1c\n" +
  5596. "\x18REJECT_REASON_SUPERSEDED\x10\x14\x12(\n" +
  5597. "$REJECT_REASON_SUPERSEDED_BY_SHUTDOWN\x10\x152\x94\x05\n" +
  5598. "\x0eObserveService\x12N\n" +
  5599. "\vListDevices\x12\x1e.hth.api.v1.ListDevicesRequest\x1a\x1f.hth.api.v1.ListDevicesResponse\x12Z\n" +
  5600. "\x0fGetCapabilities\x12\".hth.api.v1.GetCapabilitiesRequest\x1a#.hth.api.v1.GetCapabilitiesResponse\x12N\n" +
  5601. "\vGetSnapshot\x12\x1e.hth.api.v1.GetSnapshotRequest\x1a\x1f.hth.api.v1.GetSnapshotResponse\x12S\n" +
  5602. "\x12SubscribeTelemetry\x12%.hth.api.v1.SubscribeTelemetryRequest\x1a\x14.hth.api.v1.Snapshot0\x01\x12J\n" +
  5603. "\x0fSubscribeEvents\x12\".hth.api.v1.SubscribeEventsRequest\x1a\x11.hth.api.v1.Event0\x01\x12H\n" +
  5604. "\tGetFaults\x12\x1c.hth.api.v1.GetFaultsRequest\x1a\x1d.hth.api.v1.GetFaultsResponse\x12I\n" +
  5605. "\vWatchHealth\x12\x1e.hth.api.v1.WatchHealthRequest\x1a\x18.hth.api.v1.HealthStatus0\x01\x12P\n" +
  5606. "\n" +
  5607. "StepReplay\x12\x1d.hth.api.v1.StepReplayRequest\x1a\x1e.hth.api.v1.StepReplayResponse\"\x03\x88\x02\x012\x9b\x05\n" +
  5608. "\x0eControlService\x12X\n" +
  5609. "\x13AcquireControlLease\x12&.hth.api.v1.AcquireControlLeaseRequest\x1a\x19.hth.api.v1.LeaseResponse\x12T\n" +
  5610. "\x11RenewControlLease\x12$.hth.api.v1.RenewControlLeaseRequest\x1a\x19.hth.api.v1.LeaseResponse\x12X\n" +
  5611. "\x13ReleaseControlLease\x12&.hth.api.v1.ReleaseControlLeaseRequest\x1a\x19.hth.api.v1.LeaseResponse\x12M\n" +
  5612. "\x0eValidateAction\x12!.hth.api.v1.ValidateActionRequest\x1a\x18.hth.api.v1.ActionResult\x12G\n" +
  5613. "\vApplyAction\x12\x1e.hth.api.v1.ApplyActionRequest\x1a\x18.hth.api.v1.ActionResult\x12K\n" +
  5614. "\rEnterSafeMode\x12 .hth.api.v1.EnterSafeModeRequest\x1a\x18.hth.api.v1.ActionResult\x12M\n" +
  5615. "\x0eResumeFromSafe\x12!.hth.api.v1.ResumeFromSafeRequest\x1a\x18.hth.api.v1.ActionResult\x12K\n" +
  5616. "\n" +
  5617. "StepReplay\x12\x1d.hth.api.v1.StepReplayRequest\x1a\x1e.hth.api.v1.StepReplayResponse2\xd7\x01\n" +
  5618. "\x15ThermalObserveService\x12\\\n" +
  5619. "\vGetSnapshot\x12%.hth.api.v1.GetThermalSnapshotRequest\x1a&.hth.api.v1.GetThermalSnapshotResponse\x12`\n" +
  5620. "\x0fCaptureSnapshot\x12%.hth.api.v1.GetThermalSnapshotRequest\x1a&.hth.api.v1.GetThermalSnapshotResponse2\x8d\x02\n" +
  5621. "\x15ThermalControlService\x12R\n" +
  5622. "\tSetTarget\x12#.hth.api.v1.SetThermalTargetRequest\x1a .hth.api.v1.ThermalCommandResult\x12H\n" +
  5623. "\x04Stop\x12\x1e.hth.api.v1.StopThermalRequest\x1a .hth.api.v1.ThermalCommandResult\x12V\n" +
  5624. "\vRunStimulus\x12%.hth.api.v1.RunThermalStimulusRequest\x1a .hth.api.v1.ThermalCommandResultB#Z!hth/internal/gen/hth/api/v1;hthv1b\x06proto3"
  5625. var (
  5626. file_hth_api_v1_hth_proto_rawDescOnce sync.Once
  5627. file_hth_api_v1_hth_proto_rawDescData []byte
  5628. )
  5629. func file_hth_api_v1_hth_proto_rawDescGZIP() []byte {
  5630. file_hth_api_v1_hth_proto_rawDescOnce.Do(func() {
  5631. file_hth_api_v1_hth_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_hth_api_v1_hth_proto_rawDesc), len(file_hth_api_v1_hth_proto_rawDesc)))
  5632. })
  5633. return file_hth_api_v1_hth_proto_rawDescData
  5634. }
  5635. var file_hth_api_v1_hth_proto_enumTypes = make([]protoimpl.EnumInfo, 18)
  5636. var file_hth_api_v1_hth_proto_msgTypes = make([]protoimpl.MessageInfo, 53)
  5637. var file_hth_api_v1_hth_proto_goTypes = []any{
  5638. (DeviceLifecycleState)(0), // 0: hth.api.v1.DeviceLifecycleState
  5639. (DataQuality)(0), // 1: hth.api.v1.DataQuality
  5640. (ConfirmationStatus)(0), // 2: hth.api.v1.ConfirmationStatus
  5641. (TransportState)(0), // 3: hth.api.v1.TransportState
  5642. (DeviceReadiness)(0), // 4: hth.api.v1.DeviceReadiness
  5643. (SafetyControlMode)(0), // 5: hth.api.v1.SafetyControlMode
  5644. (ActionDispatchState)(0), // 6: hth.api.v1.ActionDispatchState
  5645. (ControlMode)(0), // 7: hth.api.v1.ControlMode
  5646. (FeedbackMode)(0), // 8: hth.api.v1.FeedbackMode
  5647. (ActuatorKind)(0), // 9: hth.api.v1.ActuatorKind
  5648. (SensorKind)(0), // 10: hth.api.v1.SensorKind
  5649. (FaultSeverity)(0), // 11: hth.api.v1.FaultSeverity
  5650. (FaultClass)(0), // 12: hth.api.v1.FaultClass
  5651. (FaultType)(0), // 13: hth.api.v1.FaultType
  5652. (EventKind)(0), // 14: hth.api.v1.EventKind
  5653. (HostHealth)(0), // 15: hth.api.v1.HostHealth
  5654. (ActionMode)(0), // 16: hth.api.v1.ActionMode
  5655. (RejectReason)(0), // 17: hth.api.v1.RejectReason
  5656. (*Measurement)(nil), // 18: hth.api.v1.Measurement
  5657. (*TimeWindow)(nil), // 19: hth.api.v1.TimeWindow
  5658. (*DeviceIdentity)(nil), // 20: hth.api.v1.DeviceIdentity
  5659. (*DeviceInfo)(nil), // 21: hth.api.v1.DeviceInfo
  5660. (*Range)(nil), // 22: hth.api.v1.Range
  5661. (*SensorCapability)(nil), // 23: hth.api.v1.SensorCapability
  5662. (*ActuatorCapability)(nil), // 24: hth.api.v1.ActuatorCapability
  5663. (*Capabilities)(nil), // 25: hth.api.v1.Capabilities
  5664. (*TimingCapabilities)(nil), // 26: hth.api.v1.TimingCapabilities
  5665. (*CommandedActuator)(nil), // 27: hth.api.v1.CommandedActuator
  5666. (*FieldAudit)(nil), // 28: hth.api.v1.FieldAudit
  5667. (*ActionRecord)(nil), // 29: hth.api.v1.ActionRecord
  5668. (*LeaseSummary)(nil), // 30: hth.api.v1.LeaseSummary
  5669. (*Snapshot)(nil), // 31: hth.api.v1.Snapshot
  5670. (*Fault)(nil), // 32: hth.api.v1.Fault
  5671. (*DeliveryGap)(nil), // 33: hth.api.v1.DeliveryGap
  5672. (*Event)(nil), // 34: hth.api.v1.Event
  5673. (*ContinuousTarget)(nil), // 35: hth.api.v1.ContinuousTarget
  5674. (*DiscreteCommand)(nil), // 36: hth.api.v1.DiscreteCommand
  5675. (*ClampRecord)(nil), // 37: hth.api.v1.ClampRecord
  5676. (*ActionBatch)(nil), // 38: hth.api.v1.ActionBatch
  5677. (*ActionResult)(nil), // 39: hth.api.v1.ActionResult
  5678. (*ControlLease)(nil), // 40: hth.api.v1.ControlLease
  5679. (*ListDevicesRequest)(nil), // 41: hth.api.v1.ListDevicesRequest
  5680. (*ListDevicesResponse)(nil), // 42: hth.api.v1.ListDevicesResponse
  5681. (*GetCapabilitiesRequest)(nil), // 43: hth.api.v1.GetCapabilitiesRequest
  5682. (*GetCapabilitiesResponse)(nil), // 44: hth.api.v1.GetCapabilitiesResponse
  5683. (*GetSnapshotRequest)(nil), // 45: hth.api.v1.GetSnapshotRequest
  5684. (*GetSnapshotResponse)(nil), // 46: hth.api.v1.GetSnapshotResponse
  5685. (*SubscribeTelemetryRequest)(nil), // 47: hth.api.v1.SubscribeTelemetryRequest
  5686. (*SubscribeEventsRequest)(nil), // 48: hth.api.v1.SubscribeEventsRequest
  5687. (*GetFaultsRequest)(nil), // 49: hth.api.v1.GetFaultsRequest
  5688. (*GetFaultsResponse)(nil), // 50: hth.api.v1.GetFaultsResponse
  5689. (*WatchHealthRequest)(nil), // 51: hth.api.v1.WatchHealthRequest
  5690. (*HealthStatus)(nil), // 52: hth.api.v1.HealthStatus
  5691. (*AcquireControlLeaseRequest)(nil), // 53: hth.api.v1.AcquireControlLeaseRequest
  5692. (*RenewControlLeaseRequest)(nil), // 54: hth.api.v1.RenewControlLeaseRequest
  5693. (*ReleaseControlLeaseRequest)(nil), // 55: hth.api.v1.ReleaseControlLeaseRequest
  5694. (*LeaseResponse)(nil), // 56: hth.api.v1.LeaseResponse
  5695. (*ValidateActionRequest)(nil), // 57: hth.api.v1.ValidateActionRequest
  5696. (*ApplyActionRequest)(nil), // 58: hth.api.v1.ApplyActionRequest
  5697. (*EnterSafeModeRequest)(nil), // 59: hth.api.v1.EnterSafeModeRequest
  5698. (*ResumeFromSafeRequest)(nil), // 60: hth.api.v1.ResumeFromSafeRequest
  5699. (*StepReplayRequest)(nil), // 61: hth.api.v1.StepReplayRequest
  5700. (*StepReplayResponse)(nil), // 62: hth.api.v1.StepReplayResponse
  5701. (*SetThermalTargetRequest)(nil), // 63: hth.api.v1.SetThermalTargetRequest
  5702. (*StopThermalRequest)(nil), // 64: hth.api.v1.StopThermalRequest
  5703. (*ThermalCommandResult)(nil), // 65: hth.api.v1.ThermalCommandResult
  5704. (*GetThermalSnapshotRequest)(nil), // 66: hth.api.v1.GetThermalSnapshotRequest
  5705. (*ThermalSnapshot)(nil), // 67: hth.api.v1.ThermalSnapshot
  5706. (*GetThermalSnapshotResponse)(nil), // 68: hth.api.v1.GetThermalSnapshotResponse
  5707. (*RunThermalStimulusRequest)(nil), // 69: hth.api.v1.RunThermalStimulusRequest
  5708. nil, // 70: hth.api.v1.Fault.DiagnosticsEntry
  5709. (*durationpb.Duration)(nil), // 71: google.protobuf.Duration
  5710. (*timestamppb.Timestamp)(nil), // 72: google.protobuf.Timestamp
  5711. }
  5712. var file_hth_api_v1_hth_proto_depIdxs = []int32{
  5713. 1, // 0: hth.api.v1.Measurement.quality:type_name -> hth.api.v1.DataQuality
  5714. 71, // 1: hth.api.v1.Measurement.age:type_name -> google.protobuf.Duration
  5715. 72, // 2: hth.api.v1.Measurement.host_time:type_name -> google.protobuf.Timestamp
  5716. 72, // 3: hth.api.v1.Measurement.source_time:type_name -> google.protobuf.Timestamp
  5717. 72, // 4: hth.api.v1.TimeWindow.request_sent:type_name -> google.protobuf.Timestamp
  5718. 72, // 5: hth.api.v1.TimeWindow.response_start:type_name -> google.protobuf.Timestamp
  5719. 72, // 6: hth.api.v1.TimeWindow.response_complete:type_name -> google.protobuf.Timestamp
  5720. 72, // 7: hth.api.v1.TimeWindow.host_receive:type_name -> google.protobuf.Timestamp
  5721. 72, // 8: hth.api.v1.TimeWindow.approx_acquire_start:type_name -> google.protobuf.Timestamp
  5722. 72, // 9: hth.api.v1.TimeWindow.approx_acquire_end:type_name -> google.protobuf.Timestamp
  5723. 20, // 10: hth.api.v1.DeviceInfo.identity:type_name -> hth.api.v1.DeviceIdentity
  5724. 0, // 11: hth.api.v1.DeviceInfo.lifecycle:type_name -> hth.api.v1.DeviceLifecycleState
  5725. 10, // 12: hth.api.v1.SensorCapability.kind:type_name -> hth.api.v1.SensorKind
  5726. 22, // 13: hth.api.v1.SensorCapability.valid_range:type_name -> hth.api.v1.Range
  5727. 71, // 14: hth.api.v1.SensorCapability.update_period:type_name -> google.protobuf.Duration
  5728. 8, // 15: hth.api.v1.SensorCapability.feedback_mode:type_name -> hth.api.v1.FeedbackMode
  5729. 9, // 16: hth.api.v1.ActuatorCapability.kind:type_name -> hth.api.v1.ActuatorKind
  5730. 22, // 17: hth.api.v1.ActuatorCapability.command_range:type_name -> hth.api.v1.Range
  5731. 7, // 18: hth.api.v1.ActuatorCapability.control_mode:type_name -> hth.api.v1.ControlMode
  5732. 8, // 19: hth.api.v1.ActuatorCapability.feedback_mode:type_name -> hth.api.v1.FeedbackMode
  5733. 1, // 20: hth.api.v1.Capabilities.firmware_version_quality:type_name -> hth.api.v1.DataQuality
  5734. 23, // 21: hth.api.v1.Capabilities.sensors:type_name -> hth.api.v1.SensorCapability
  5735. 24, // 22: hth.api.v1.Capabilities.actuators:type_name -> hth.api.v1.ActuatorCapability
  5736. 71, // 23: hth.api.v1.Capabilities.recommended_sample_period:type_name -> google.protobuf.Duration
  5737. 26, // 24: hth.api.v1.Capabilities.timing:type_name -> hth.api.v1.TimingCapabilities
  5738. 1, // 25: hth.api.v1.CommandedActuator.actual_quality:type_name -> hth.api.v1.DataQuality
  5739. 1, // 26: hth.api.v1.CommandedActuator.target_quality:type_name -> hth.api.v1.DataQuality
  5740. 72, // 27: hth.api.v1.ActionRecord.time:type_name -> google.protobuf.Timestamp
  5741. 2, // 28: hth.api.v1.ActionRecord.confirmation:type_name -> hth.api.v1.ConfirmationStatus
  5742. 27, // 29: hth.api.v1.ActionRecord.actuators:type_name -> hth.api.v1.CommandedActuator
  5743. 28, // 30: hth.api.v1.ActionRecord.field_audits:type_name -> hth.api.v1.FieldAudit
  5744. 16, // 31: hth.api.v1.ActionRecord.action_mode:type_name -> hth.api.v1.ActionMode
  5745. 6, // 32: hth.api.v1.ActionRecord.dispatch_state:type_name -> hth.api.v1.ActionDispatchState
  5746. 72, // 33: hth.api.v1.LeaseSummary.expires_at:type_name -> google.protobuf.Timestamp
  5747. 72, // 34: hth.api.v1.Snapshot.wall_time:type_name -> google.protobuf.Timestamp
  5748. 19, // 35: hth.api.v1.Snapshot.capture_window:type_name -> hth.api.v1.TimeWindow
  5749. 0, // 36: hth.api.v1.Snapshot.lifecycle:type_name -> hth.api.v1.DeviceLifecycleState
  5750. 18, // 37: hth.api.v1.Snapshot.measurements:type_name -> hth.api.v1.Measurement
  5751. 27, // 38: hth.api.v1.Snapshot.continuous_targets:type_name -> hth.api.v1.CommandedActuator
  5752. 29, // 39: hth.api.v1.Snapshot.last_requested:type_name -> hth.api.v1.ActionRecord
  5753. 29, // 40: hth.api.v1.Snapshot.last_accepted:type_name -> hth.api.v1.ActionRecord
  5754. 29, // 41: hth.api.v1.Snapshot.last_dispatched:type_name -> hth.api.v1.ActionRecord
  5755. 2, // 42: hth.api.v1.Snapshot.device_confirmation:type_name -> hth.api.v1.ConfirmationStatus
  5756. 32, // 43: hth.api.v1.Snapshot.active_faults:type_name -> hth.api.v1.Fault
  5757. 30, // 44: hth.api.v1.Snapshot.lease:type_name -> hth.api.v1.LeaseSummary
  5758. 3, // 45: hth.api.v1.Snapshot.transport_state:type_name -> hth.api.v1.TransportState
  5759. 4, // 46: hth.api.v1.Snapshot.device_readiness:type_name -> hth.api.v1.DeviceReadiness
  5760. 5, // 47: hth.api.v1.Snapshot.safety_control_mode:type_name -> hth.api.v1.SafetyControlMode
  5761. 72, // 48: hth.api.v1.Snapshot.last_successful_hardware_heartbeat:type_name -> google.protobuf.Timestamp
  5762. 6, // 49: hth.api.v1.Snapshot.heartbeat_delivery_state:type_name -> hth.api.v1.ActionDispatchState
  5763. 13, // 50: hth.api.v1.Fault.type:type_name -> hth.api.v1.FaultType
  5764. 11, // 51: hth.api.v1.Fault.severity:type_name -> hth.api.v1.FaultSeverity
  5765. 12, // 52: hth.api.v1.Fault.class:type_name -> hth.api.v1.FaultClass
  5766. 72, // 53: hth.api.v1.Fault.first_time:type_name -> google.protobuf.Timestamp
  5767. 72, // 54: hth.api.v1.Fault.last_time:type_name -> google.protobuf.Timestamp
  5768. 70, // 55: hth.api.v1.Fault.diagnostics:type_name -> hth.api.v1.Fault.DiagnosticsEntry
  5769. 14, // 56: hth.api.v1.Event.kind:type_name -> hth.api.v1.EventKind
  5770. 72, // 57: hth.api.v1.Event.wall_time:type_name -> google.protobuf.Timestamp
  5771. 31, // 58: hth.api.v1.Event.snapshot:type_name -> hth.api.v1.Snapshot
  5772. 32, // 59: hth.api.v1.Event.fault:type_name -> hth.api.v1.Fault
  5773. 33, // 60: hth.api.v1.Event.delivery_gap:type_name -> hth.api.v1.DeliveryGap
  5774. 39, // 61: hth.api.v1.Event.action_result:type_name -> hth.api.v1.ActionResult
  5775. 72, // 62: hth.api.v1.ActionBatch.valid_until:type_name -> google.protobuf.Timestamp
  5776. 35, // 63: hth.api.v1.ActionBatch.continuous_targets:type_name -> hth.api.v1.ContinuousTarget
  5777. 36, // 64: hth.api.v1.ActionBatch.discrete_commands:type_name -> hth.api.v1.DiscreteCommand
  5778. 17, // 65: hth.api.v1.ActionResult.reject_reason:type_name -> hth.api.v1.RejectReason
  5779. 37, // 66: hth.api.v1.ActionResult.clamps:type_name -> hth.api.v1.ClampRecord
  5780. 29, // 67: hth.api.v1.ActionResult.requested:type_name -> hth.api.v1.ActionRecord
  5781. 29, // 68: hth.api.v1.ActionResult.accepted_action:type_name -> hth.api.v1.ActionRecord
  5782. 29, // 69: hth.api.v1.ActionResult.dispatched:type_name -> hth.api.v1.ActionRecord
  5783. 2, // 70: hth.api.v1.ActionResult.confirmation:type_name -> hth.api.v1.ConfirmationStatus
  5784. 29, // 71: hth.api.v1.ActionResult.raw_requested:type_name -> hth.api.v1.ActionRecord
  5785. 29, // 72: hth.api.v1.ActionResult.normalized_requested:type_name -> hth.api.v1.ActionRecord
  5786. 6, // 73: hth.api.v1.ActionResult.dispatch_state:type_name -> hth.api.v1.ActionDispatchState
  5787. 72, // 74: hth.api.v1.ControlLease.created_at:type_name -> google.protobuf.Timestamp
  5788. 72, // 75: hth.api.v1.ControlLease.expires_at:type_name -> google.protobuf.Timestamp
  5789. 71, // 76: hth.api.v1.ControlLease.max_ttl:type_name -> google.protobuf.Duration
  5790. 21, // 77: hth.api.v1.ListDevicesResponse.devices:type_name -> hth.api.v1.DeviceInfo
  5791. 25, // 78: hth.api.v1.GetCapabilitiesResponse.capabilities:type_name -> hth.api.v1.Capabilities
  5792. 31, // 79: hth.api.v1.GetSnapshotResponse.snapshot:type_name -> hth.api.v1.Snapshot
  5793. 32, // 80: hth.api.v1.GetFaultsResponse.faults:type_name -> hth.api.v1.Fault
  5794. 15, // 81: hth.api.v1.HealthStatus.host:type_name -> hth.api.v1.HostHealth
  5795. 21, // 82: hth.api.v1.HealthStatus.devices:type_name -> hth.api.v1.DeviceInfo
  5796. 15, // 83: hth.api.v1.HealthStatus.observe_service:type_name -> hth.api.v1.HostHealth
  5797. 15, // 84: hth.api.v1.HealthStatus.control_service:type_name -> hth.api.v1.HostHealth
  5798. 3, // 85: hth.api.v1.HealthStatus.transport_state:type_name -> hth.api.v1.TransportState
  5799. 4, // 86: hth.api.v1.HealthStatus.device_readiness:type_name -> hth.api.v1.DeviceReadiness
  5800. 5, // 87: hth.api.v1.HealthStatus.safety_control_mode:type_name -> hth.api.v1.SafetyControlMode
  5801. 71, // 88: hth.api.v1.AcquireControlLeaseRequest.ttl:type_name -> google.protobuf.Duration
  5802. 71, // 89: hth.api.v1.RenewControlLeaseRequest.ttl:type_name -> google.protobuf.Duration
  5803. 40, // 90: hth.api.v1.LeaseResponse.lease:type_name -> hth.api.v1.ControlLease
  5804. 38, // 91: hth.api.v1.ValidateActionRequest.batch:type_name -> hth.api.v1.ActionBatch
  5805. 38, // 92: hth.api.v1.ApplyActionRequest.batch:type_name -> hth.api.v1.ActionBatch
  5806. 38, // 93: hth.api.v1.ResumeFromSafeRequest.batch:type_name -> hth.api.v1.ActionBatch
  5807. 34, // 94: hth.api.v1.StepReplayResponse.event:type_name -> hth.api.v1.Event
  5808. 31, // 95: hth.api.v1.StepReplayResponse.snapshot:type_name -> hth.api.v1.Snapshot
  5809. 67, // 96: hth.api.v1.GetThermalSnapshotResponse.snapshot:type_name -> hth.api.v1.ThermalSnapshot
  5810. 41, // 97: hth.api.v1.ObserveService.ListDevices:input_type -> hth.api.v1.ListDevicesRequest
  5811. 43, // 98: hth.api.v1.ObserveService.GetCapabilities:input_type -> hth.api.v1.GetCapabilitiesRequest
  5812. 45, // 99: hth.api.v1.ObserveService.GetSnapshot:input_type -> hth.api.v1.GetSnapshotRequest
  5813. 47, // 100: hth.api.v1.ObserveService.SubscribeTelemetry:input_type -> hth.api.v1.SubscribeTelemetryRequest
  5814. 48, // 101: hth.api.v1.ObserveService.SubscribeEvents:input_type -> hth.api.v1.SubscribeEventsRequest
  5815. 49, // 102: hth.api.v1.ObserveService.GetFaults:input_type -> hth.api.v1.GetFaultsRequest
  5816. 51, // 103: hth.api.v1.ObserveService.WatchHealth:input_type -> hth.api.v1.WatchHealthRequest
  5817. 61, // 104: hth.api.v1.ObserveService.StepReplay:input_type -> hth.api.v1.StepReplayRequest
  5818. 53, // 105: hth.api.v1.ControlService.AcquireControlLease:input_type -> hth.api.v1.AcquireControlLeaseRequest
  5819. 54, // 106: hth.api.v1.ControlService.RenewControlLease:input_type -> hth.api.v1.RenewControlLeaseRequest
  5820. 55, // 107: hth.api.v1.ControlService.ReleaseControlLease:input_type -> hth.api.v1.ReleaseControlLeaseRequest
  5821. 57, // 108: hth.api.v1.ControlService.ValidateAction:input_type -> hth.api.v1.ValidateActionRequest
  5822. 58, // 109: hth.api.v1.ControlService.ApplyAction:input_type -> hth.api.v1.ApplyActionRequest
  5823. 59, // 110: hth.api.v1.ControlService.EnterSafeMode:input_type -> hth.api.v1.EnterSafeModeRequest
  5824. 60, // 111: hth.api.v1.ControlService.ResumeFromSafe:input_type -> hth.api.v1.ResumeFromSafeRequest
  5825. 61, // 112: hth.api.v1.ControlService.StepReplay:input_type -> hth.api.v1.StepReplayRequest
  5826. 66, // 113: hth.api.v1.ThermalObserveService.GetSnapshot:input_type -> hth.api.v1.GetThermalSnapshotRequest
  5827. 66, // 114: hth.api.v1.ThermalObserveService.CaptureSnapshot:input_type -> hth.api.v1.GetThermalSnapshotRequest
  5828. 63, // 115: hth.api.v1.ThermalControlService.SetTarget:input_type -> hth.api.v1.SetThermalTargetRequest
  5829. 64, // 116: hth.api.v1.ThermalControlService.Stop:input_type -> hth.api.v1.StopThermalRequest
  5830. 69, // 117: hth.api.v1.ThermalControlService.RunStimulus:input_type -> hth.api.v1.RunThermalStimulusRequest
  5831. 42, // 118: hth.api.v1.ObserveService.ListDevices:output_type -> hth.api.v1.ListDevicesResponse
  5832. 44, // 119: hth.api.v1.ObserveService.GetCapabilities:output_type -> hth.api.v1.GetCapabilitiesResponse
  5833. 46, // 120: hth.api.v1.ObserveService.GetSnapshot:output_type -> hth.api.v1.GetSnapshotResponse
  5834. 31, // 121: hth.api.v1.ObserveService.SubscribeTelemetry:output_type -> hth.api.v1.Snapshot
  5835. 34, // 122: hth.api.v1.ObserveService.SubscribeEvents:output_type -> hth.api.v1.Event
  5836. 50, // 123: hth.api.v1.ObserveService.GetFaults:output_type -> hth.api.v1.GetFaultsResponse
  5837. 52, // 124: hth.api.v1.ObserveService.WatchHealth:output_type -> hth.api.v1.HealthStatus
  5838. 62, // 125: hth.api.v1.ObserveService.StepReplay:output_type -> hth.api.v1.StepReplayResponse
  5839. 56, // 126: hth.api.v1.ControlService.AcquireControlLease:output_type -> hth.api.v1.LeaseResponse
  5840. 56, // 127: hth.api.v1.ControlService.RenewControlLease:output_type -> hth.api.v1.LeaseResponse
  5841. 56, // 128: hth.api.v1.ControlService.ReleaseControlLease:output_type -> hth.api.v1.LeaseResponse
  5842. 39, // 129: hth.api.v1.ControlService.ValidateAction:output_type -> hth.api.v1.ActionResult
  5843. 39, // 130: hth.api.v1.ControlService.ApplyAction:output_type -> hth.api.v1.ActionResult
  5844. 39, // 131: hth.api.v1.ControlService.EnterSafeMode:output_type -> hth.api.v1.ActionResult
  5845. 39, // 132: hth.api.v1.ControlService.ResumeFromSafe:output_type -> hth.api.v1.ActionResult
  5846. 62, // 133: hth.api.v1.ControlService.StepReplay:output_type -> hth.api.v1.StepReplayResponse
  5847. 68, // 134: hth.api.v1.ThermalObserveService.GetSnapshot:output_type -> hth.api.v1.GetThermalSnapshotResponse
  5848. 68, // 135: hth.api.v1.ThermalObserveService.CaptureSnapshot:output_type -> hth.api.v1.GetThermalSnapshotResponse
  5849. 65, // 136: hth.api.v1.ThermalControlService.SetTarget:output_type -> hth.api.v1.ThermalCommandResult
  5850. 65, // 137: hth.api.v1.ThermalControlService.Stop:output_type -> hth.api.v1.ThermalCommandResult
  5851. 65, // 138: hth.api.v1.ThermalControlService.RunStimulus:output_type -> hth.api.v1.ThermalCommandResult
  5852. 118, // [118:139] is the sub-list for method output_type
  5853. 97, // [97:118] is the sub-list for method input_type
  5854. 97, // [97:97] is the sub-list for extension type_name
  5855. 97, // [97:97] is the sub-list for extension extendee
  5856. 0, // [0:97] is the sub-list for field type_name
  5857. }
  5858. func init() { file_hth_api_v1_hth_proto_init() }
  5859. func file_hth_api_v1_hth_proto_init() {
  5860. if File_hth_api_v1_hth_proto != nil {
  5861. return
  5862. }
  5863. file_hth_api_v1_hth_proto_msgTypes[0].OneofWrappers = []any{}
  5864. file_hth_api_v1_hth_proto_msgTypes[9].OneofWrappers = []any{}
  5865. type x struct{}
  5866. out := protoimpl.TypeBuilder{
  5867. File: protoimpl.DescBuilder{
  5868. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  5869. RawDescriptor: unsafe.Slice(unsafe.StringData(file_hth_api_v1_hth_proto_rawDesc), len(file_hth_api_v1_hth_proto_rawDesc)),
  5870. NumEnums: 18,
  5871. NumMessages: 53,
  5872. NumExtensions: 0,
  5873. NumServices: 4,
  5874. },
  5875. GoTypes: file_hth_api_v1_hth_proto_goTypes,
  5876. DependencyIndexes: file_hth_api_v1_hth_proto_depIdxs,
  5877. EnumInfos: file_hth_api_v1_hth_proto_enumTypes,
  5878. MessageInfos: file_hth_api_v1_hth_proto_msgTypes,
  5879. }.Build()
  5880. File_hth_api_v1_hth_proto = out.File
  5881. file_hth_api_v1_hth_proto_goTypes = nil
  5882. file_hth_api_v1_hth_proto_depIdxs = nil
  5883. }