hth.pb.go 204 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.10
  4. // protoc v5.29.3
  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. unknownFields protoimpl.UnknownFields
  1898. sizeCache protoimpl.SizeCache
  1899. }
  1900. func (x *TimingCapabilities) Reset() {
  1901. *x = TimingCapabilities{}
  1902. mi := &file_hth_api_v1_hth_proto_msgTypes[8]
  1903. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1904. ms.StoreMessageInfo(mi)
  1905. }
  1906. func (x *TimingCapabilities) String() string {
  1907. return protoimpl.X.MessageStringOf(x)
  1908. }
  1909. func (*TimingCapabilities) ProtoMessage() {}
  1910. func (x *TimingCapabilities) ProtoReflect() protoreflect.Message {
  1911. mi := &file_hth_api_v1_hth_proto_msgTypes[8]
  1912. if x != nil {
  1913. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1914. if ms.LoadMessageInfo() == nil {
  1915. ms.StoreMessageInfo(mi)
  1916. }
  1917. return ms
  1918. }
  1919. return mi.MessageOf(x)
  1920. }
  1921. // Deprecated: Use TimingCapabilities.ProtoReflect.Descriptor instead.
  1922. func (*TimingCapabilities) Descriptor() ([]byte, []int) {
  1923. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{8}
  1924. }
  1925. func (x *TimingCapabilities) GetTemperatureTransactionWorstCaseMs() uint32 {
  1926. if x != nil {
  1927. return x.TemperatureTransactionWorstCaseMs
  1928. }
  1929. return 0
  1930. }
  1931. func (x *TimingCapabilities) GetMotorStatusWorstCaseMs() uint32 {
  1932. if x != nil {
  1933. return x.MotorStatusWorstCaseMs
  1934. }
  1935. return 0
  1936. }
  1937. func (x *TimingCapabilities) GetControlDispatchWorstCaseMs() uint32 {
  1938. if x != nil {
  1939. return x.ControlDispatchWorstCaseMs
  1940. }
  1941. return 0
  1942. }
  1943. func (x *TimingCapabilities) GetRecommendedRpcDeadlineMs() uint32 {
  1944. if x != nil {
  1945. return x.RecommendedRpcDeadlineMs
  1946. }
  1947. return 0
  1948. }
  1949. func (x *TimingCapabilities) GetRecommendedActionTtlMs() uint32 {
  1950. if x != nil {
  1951. return x.RecommendedActionTtlMs
  1952. }
  1953. return 0
  1954. }
  1955. func (x *TimingCapabilities) GetMinimumControlPeriodMs() uint32 {
  1956. if x != nil {
  1957. return x.MinimumControlPeriodMs
  1958. }
  1959. return 0
  1960. }
  1961. func (x *TimingCapabilities) GetRecommendedSamplePeriodMs() uint32 {
  1962. if x != nil {
  1963. return x.RecommendedSamplePeriodMs
  1964. }
  1965. return 0
  1966. }
  1967. func (x *TimingCapabilities) GetMaxUnpreemptableTransactionMs() uint32 {
  1968. if x != nil {
  1969. return x.MaxUnpreemptableTransactionMs
  1970. }
  1971. return 0
  1972. }
  1973. func (x *TimingCapabilities) GetControlWindowMs() uint32 {
  1974. if x != nil {
  1975. return x.ControlWindowMs
  1976. }
  1977. return 0
  1978. }
  1979. func (x *TimingCapabilities) GetSchedulerMarginMs() uint32 {
  1980. if x != nil {
  1981. return x.SchedulerMarginMs
  1982. }
  1983. return 0
  1984. }
  1985. func (x *TimingCapabilities) GetMaxPendingContinuousActions() uint32 {
  1986. if x != nil {
  1987. return x.MaxPendingContinuousActions
  1988. }
  1989. return 0
  1990. }
  1991. type CommandedActuator struct {
  1992. state protoimpl.MessageState `protogen:"open.v1"`
  1993. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  1994. CommandedTarget float64 `protobuf:"fixed64,2,opt,name=commanded_target,json=commandedTarget,proto3" json:"commanded_target,omitempty"`
  1995. ActualQuality DataQuality `protobuf:"varint,3,opt,name=actual_quality,json=actualQuality,proto3,enum=hth.api.v1.DataQuality" json:"actual_quality,omitempty"`
  1996. ActualValue *float64 `protobuf:"fixed64,4,opt,name=actual_value,json=actualValue,proto3,oneof" json:"actual_value,omitempty"`
  1997. ActualReason string `protobuf:"bytes,5,opt,name=actual_reason,json=actualReason,proto3" json:"actual_reason,omitempty"`
  1998. TargetEpoch uint64 `protobuf:"varint,6,opt,name=target_epoch,json=targetEpoch,proto3" json:"target_epoch,omitempty"`
  1999. TargetSource string `protobuf:"bytes,7,opt,name=target_source,json=targetSource,proto3" json:"target_source,omitempty"`
  2000. TargetQuality DataQuality `protobuf:"varint,8,opt,name=target_quality,json=targetQuality,proto3,enum=hth.api.v1.DataQuality" json:"target_quality,omitempty"`
  2001. unknownFields protoimpl.UnknownFields
  2002. sizeCache protoimpl.SizeCache
  2003. }
  2004. func (x *CommandedActuator) Reset() {
  2005. *x = CommandedActuator{}
  2006. mi := &file_hth_api_v1_hth_proto_msgTypes[9]
  2007. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2008. ms.StoreMessageInfo(mi)
  2009. }
  2010. func (x *CommandedActuator) String() string {
  2011. return protoimpl.X.MessageStringOf(x)
  2012. }
  2013. func (*CommandedActuator) ProtoMessage() {}
  2014. func (x *CommandedActuator) ProtoReflect() protoreflect.Message {
  2015. mi := &file_hth_api_v1_hth_proto_msgTypes[9]
  2016. if x != nil {
  2017. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2018. if ms.LoadMessageInfo() == nil {
  2019. ms.StoreMessageInfo(mi)
  2020. }
  2021. return ms
  2022. }
  2023. return mi.MessageOf(x)
  2024. }
  2025. // Deprecated: Use CommandedActuator.ProtoReflect.Descriptor instead.
  2026. func (*CommandedActuator) Descriptor() ([]byte, []int) {
  2027. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{9}
  2028. }
  2029. func (x *CommandedActuator) GetId() string {
  2030. if x != nil {
  2031. return x.Id
  2032. }
  2033. return ""
  2034. }
  2035. func (x *CommandedActuator) GetCommandedTarget() float64 {
  2036. if x != nil {
  2037. return x.CommandedTarget
  2038. }
  2039. return 0
  2040. }
  2041. func (x *CommandedActuator) GetActualQuality() DataQuality {
  2042. if x != nil {
  2043. return x.ActualQuality
  2044. }
  2045. return DataQuality_DATA_QUALITY_UNSPECIFIED
  2046. }
  2047. func (x *CommandedActuator) GetActualValue() float64 {
  2048. if x != nil && x.ActualValue != nil {
  2049. return *x.ActualValue
  2050. }
  2051. return 0
  2052. }
  2053. func (x *CommandedActuator) GetActualReason() string {
  2054. if x != nil {
  2055. return x.ActualReason
  2056. }
  2057. return ""
  2058. }
  2059. func (x *CommandedActuator) GetTargetEpoch() uint64 {
  2060. if x != nil {
  2061. return x.TargetEpoch
  2062. }
  2063. return 0
  2064. }
  2065. func (x *CommandedActuator) GetTargetSource() string {
  2066. if x != nil {
  2067. return x.TargetSource
  2068. }
  2069. return ""
  2070. }
  2071. func (x *CommandedActuator) GetTargetQuality() DataQuality {
  2072. if x != nil {
  2073. return x.TargetQuality
  2074. }
  2075. return DataQuality_DATA_QUALITY_UNSPECIFIED
  2076. }
  2077. type FieldAudit struct {
  2078. state protoimpl.MessageState `protogen:"open.v1"`
  2079. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  2080. Explicit bool `protobuf:"varint,2,opt,name=explicit,proto3" json:"explicit,omitempty"`
  2081. RawValue float64 `protobuf:"fixed64,3,opt,name=raw_value,json=rawValue,proto3" json:"raw_value,omitempty"`
  2082. BeforeClamp float64 `protobuf:"fixed64,4,opt,name=before_clamp,json=beforeClamp,proto3" json:"before_clamp,omitempty"`
  2083. AfterClamp float64 `protobuf:"fixed64,5,opt,name=after_clamp,json=afterClamp,proto3" json:"after_clamp,omitempty"`
  2084. Clamped bool `protobuf:"varint,6,opt,name=clamped,proto3" json:"clamped,omitempty"`
  2085. ClampReason string `protobuf:"bytes,7,opt,name=clamp_reason,json=clampReason,proto3" json:"clamp_reason,omitempty"`
  2086. unknownFields protoimpl.UnknownFields
  2087. sizeCache protoimpl.SizeCache
  2088. }
  2089. func (x *FieldAudit) Reset() {
  2090. *x = FieldAudit{}
  2091. mi := &file_hth_api_v1_hth_proto_msgTypes[10]
  2092. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2093. ms.StoreMessageInfo(mi)
  2094. }
  2095. func (x *FieldAudit) String() string {
  2096. return protoimpl.X.MessageStringOf(x)
  2097. }
  2098. func (*FieldAudit) ProtoMessage() {}
  2099. func (x *FieldAudit) ProtoReflect() protoreflect.Message {
  2100. mi := &file_hth_api_v1_hth_proto_msgTypes[10]
  2101. if x != nil {
  2102. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2103. if ms.LoadMessageInfo() == nil {
  2104. ms.StoreMessageInfo(mi)
  2105. }
  2106. return ms
  2107. }
  2108. return mi.MessageOf(x)
  2109. }
  2110. // Deprecated: Use FieldAudit.ProtoReflect.Descriptor instead.
  2111. func (*FieldAudit) Descriptor() ([]byte, []int) {
  2112. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{10}
  2113. }
  2114. func (x *FieldAudit) GetId() string {
  2115. if x != nil {
  2116. return x.Id
  2117. }
  2118. return ""
  2119. }
  2120. func (x *FieldAudit) GetExplicit() bool {
  2121. if x != nil {
  2122. return x.Explicit
  2123. }
  2124. return false
  2125. }
  2126. func (x *FieldAudit) GetRawValue() float64 {
  2127. if x != nil {
  2128. return x.RawValue
  2129. }
  2130. return 0
  2131. }
  2132. func (x *FieldAudit) GetBeforeClamp() float64 {
  2133. if x != nil {
  2134. return x.BeforeClamp
  2135. }
  2136. return 0
  2137. }
  2138. func (x *FieldAudit) GetAfterClamp() float64 {
  2139. if x != nil {
  2140. return x.AfterClamp
  2141. }
  2142. return 0
  2143. }
  2144. func (x *FieldAudit) GetClamped() bool {
  2145. if x != nil {
  2146. return x.Clamped
  2147. }
  2148. return false
  2149. }
  2150. func (x *FieldAudit) GetClampReason() string {
  2151. if x != nil {
  2152. return x.ClampReason
  2153. }
  2154. return ""
  2155. }
  2156. type ActionRecord struct {
  2157. state protoimpl.MessageState `protogen:"open.v1"`
  2158. CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
  2159. ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
  2160. Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
  2161. Confirmation ConfirmationStatus `protobuf:"varint,4,opt,name=confirmation,proto3,enum=hth.api.v1.ConfirmationStatus" json:"confirmation,omitempty"`
  2162. Actuators []*CommandedActuator `protobuf:"bytes,5,rep,name=actuators,proto3" json:"actuators,omitempty"`
  2163. Origin string `protobuf:"bytes,6,opt,name=origin,proto3" json:"origin,omitempty"`
  2164. FieldAudits []*FieldAudit `protobuf:"bytes,7,rep,name=field_audits,json=fieldAudits,proto3" json:"field_audits,omitempty"`
  2165. ActionMode ActionMode `protobuf:"varint,8,opt,name=action_mode,json=actionMode,proto3,enum=hth.api.v1.ActionMode" json:"action_mode,omitempty"`
  2166. PeerUid int32 `protobuf:"varint,9,opt,name=peer_uid,json=peerUid,proto3" json:"peer_uid,omitempty"`
  2167. PeerGid int32 `protobuf:"varint,10,opt,name=peer_gid,json=peerGid,proto3" json:"peer_gid,omitempty"`
  2168. PeerPid int32 `protobuf:"varint,11,opt,name=peer_pid,json=peerPid,proto3" json:"peer_pid,omitempty"`
  2169. DispatchState ActionDispatchState `protobuf:"varint,12,opt,name=dispatch_state,json=dispatchState,proto3,enum=hth.api.v1.ActionDispatchState" json:"dispatch_state,omitempty"`
  2170. ActionEpoch uint64 `protobuf:"varint,13,opt,name=action_epoch,json=actionEpoch,proto3" json:"action_epoch,omitempty"`
  2171. PortGeneration uint64 `protobuf:"varint,14,opt,name=port_generation,json=portGeneration,proto3" json:"port_generation,omitempty"`
  2172. unknownFields protoimpl.UnknownFields
  2173. sizeCache protoimpl.SizeCache
  2174. }
  2175. func (x *ActionRecord) Reset() {
  2176. *x = ActionRecord{}
  2177. mi := &file_hth_api_v1_hth_proto_msgTypes[11]
  2178. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2179. ms.StoreMessageInfo(mi)
  2180. }
  2181. func (x *ActionRecord) String() string {
  2182. return protoimpl.X.MessageStringOf(x)
  2183. }
  2184. func (*ActionRecord) ProtoMessage() {}
  2185. func (x *ActionRecord) ProtoReflect() protoreflect.Message {
  2186. mi := &file_hth_api_v1_hth_proto_msgTypes[11]
  2187. if x != nil {
  2188. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2189. if ms.LoadMessageInfo() == nil {
  2190. ms.StoreMessageInfo(mi)
  2191. }
  2192. return ms
  2193. }
  2194. return mi.MessageOf(x)
  2195. }
  2196. // Deprecated: Use ActionRecord.ProtoReflect.Descriptor instead.
  2197. func (*ActionRecord) Descriptor() ([]byte, []int) {
  2198. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{11}
  2199. }
  2200. func (x *ActionRecord) GetCommandId() string {
  2201. if x != nil {
  2202. return x.CommandId
  2203. }
  2204. return ""
  2205. }
  2206. func (x *ActionRecord) GetClientId() string {
  2207. if x != nil {
  2208. return x.ClientId
  2209. }
  2210. return ""
  2211. }
  2212. func (x *ActionRecord) GetTime() *timestamppb.Timestamp {
  2213. if x != nil {
  2214. return x.Time
  2215. }
  2216. return nil
  2217. }
  2218. func (x *ActionRecord) GetConfirmation() ConfirmationStatus {
  2219. if x != nil {
  2220. return x.Confirmation
  2221. }
  2222. return ConfirmationStatus_CONFIRMATION_STATUS_UNSPECIFIED
  2223. }
  2224. func (x *ActionRecord) GetActuators() []*CommandedActuator {
  2225. if x != nil {
  2226. return x.Actuators
  2227. }
  2228. return nil
  2229. }
  2230. func (x *ActionRecord) GetOrigin() string {
  2231. if x != nil {
  2232. return x.Origin
  2233. }
  2234. return ""
  2235. }
  2236. func (x *ActionRecord) GetFieldAudits() []*FieldAudit {
  2237. if x != nil {
  2238. return x.FieldAudits
  2239. }
  2240. return nil
  2241. }
  2242. func (x *ActionRecord) GetActionMode() ActionMode {
  2243. if x != nil {
  2244. return x.ActionMode
  2245. }
  2246. return ActionMode_ACTION_MODE_UNSPECIFIED
  2247. }
  2248. func (x *ActionRecord) GetPeerUid() int32 {
  2249. if x != nil {
  2250. return x.PeerUid
  2251. }
  2252. return 0
  2253. }
  2254. func (x *ActionRecord) GetPeerGid() int32 {
  2255. if x != nil {
  2256. return x.PeerGid
  2257. }
  2258. return 0
  2259. }
  2260. func (x *ActionRecord) GetPeerPid() int32 {
  2261. if x != nil {
  2262. return x.PeerPid
  2263. }
  2264. return 0
  2265. }
  2266. func (x *ActionRecord) GetDispatchState() ActionDispatchState {
  2267. if x != nil {
  2268. return x.DispatchState
  2269. }
  2270. return ActionDispatchState_ACTION_DISPATCH_STATE_UNSPECIFIED
  2271. }
  2272. func (x *ActionRecord) GetActionEpoch() uint64 {
  2273. if x != nil {
  2274. return x.ActionEpoch
  2275. }
  2276. return 0
  2277. }
  2278. func (x *ActionRecord) GetPortGeneration() uint64 {
  2279. if x != nil {
  2280. return x.PortGeneration
  2281. }
  2282. return 0
  2283. }
  2284. type LeaseSummary struct {
  2285. state protoimpl.MessageState `protogen:"open.v1"`
  2286. LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
  2287. LeaseEpoch uint64 `protobuf:"varint,2,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
  2288. Holder string `protobuf:"bytes,3,opt,name=holder,proto3" json:"holder,omitempty"`
  2289. ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
  2290. Active bool `protobuf:"varint,5,opt,name=active,proto3" json:"active,omitempty"`
  2291. unknownFields protoimpl.UnknownFields
  2292. sizeCache protoimpl.SizeCache
  2293. }
  2294. func (x *LeaseSummary) Reset() {
  2295. *x = LeaseSummary{}
  2296. mi := &file_hth_api_v1_hth_proto_msgTypes[12]
  2297. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2298. ms.StoreMessageInfo(mi)
  2299. }
  2300. func (x *LeaseSummary) String() string {
  2301. return protoimpl.X.MessageStringOf(x)
  2302. }
  2303. func (*LeaseSummary) ProtoMessage() {}
  2304. func (x *LeaseSummary) ProtoReflect() protoreflect.Message {
  2305. mi := &file_hth_api_v1_hth_proto_msgTypes[12]
  2306. if x != nil {
  2307. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2308. if ms.LoadMessageInfo() == nil {
  2309. ms.StoreMessageInfo(mi)
  2310. }
  2311. return ms
  2312. }
  2313. return mi.MessageOf(x)
  2314. }
  2315. // Deprecated: Use LeaseSummary.ProtoReflect.Descriptor instead.
  2316. func (*LeaseSummary) Descriptor() ([]byte, []int) {
  2317. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{12}
  2318. }
  2319. func (x *LeaseSummary) GetLeaseId() string {
  2320. if x != nil {
  2321. return x.LeaseId
  2322. }
  2323. return ""
  2324. }
  2325. func (x *LeaseSummary) GetLeaseEpoch() uint64 {
  2326. if x != nil {
  2327. return x.LeaseEpoch
  2328. }
  2329. return 0
  2330. }
  2331. func (x *LeaseSummary) GetHolder() string {
  2332. if x != nil {
  2333. return x.Holder
  2334. }
  2335. return ""
  2336. }
  2337. func (x *LeaseSummary) GetExpiresAt() *timestamppb.Timestamp {
  2338. if x != nil {
  2339. return x.ExpiresAt
  2340. }
  2341. return nil
  2342. }
  2343. func (x *LeaseSummary) GetActive() bool {
  2344. if x != nil {
  2345. return x.Active
  2346. }
  2347. return false
  2348. }
  2349. type Snapshot struct {
  2350. state protoimpl.MessageState `protogen:"open.v1"`
  2351. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  2352. DaemonInstanceId string `protobuf:"bytes,2,opt,name=daemon_instance_id,json=daemonInstanceId,proto3" json:"daemon_instance_id,omitempty"`
  2353. DeviceEpoch uint64 `protobuf:"varint,3,opt,name=device_epoch,json=deviceEpoch,proto3" json:"device_epoch,omitempty"`
  2354. SnapshotSeq uint64 `protobuf:"varint,4,opt,name=snapshot_seq,json=snapshotSeq,proto3" json:"snapshot_seq,omitempty"`
  2355. ControlRevision uint64 `protobuf:"varint,5,opt,name=control_revision,json=controlRevision,proto3" json:"control_revision,omitempty"`
  2356. EventId uint64 `protobuf:"varint,6,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
  2357. WallTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=wall_time,json=wallTime,proto3" json:"wall_time,omitempty"`
  2358. MonotonicNs uint64 `protobuf:"varint,8,opt,name=monotonic_ns,json=monotonicNs,proto3" json:"monotonic_ns,omitempty"`
  2359. CaptureWindow *TimeWindow `protobuf:"bytes,9,opt,name=capture_window,json=captureWindow,proto3" json:"capture_window,omitempty"`
  2360. Lifecycle DeviceLifecycleState `protobuf:"varint,10,opt,name=lifecycle,proto3,enum=hth.api.v1.DeviceLifecycleState" json:"lifecycle,omitempty"`
  2361. Measurements []*Measurement `protobuf:"bytes,11,rep,name=measurements,proto3" json:"measurements,omitempty"`
  2362. ContinuousTargets []*CommandedActuator `protobuf:"bytes,12,rep,name=continuous_targets,json=continuousTargets,proto3" json:"continuous_targets,omitempty"`
  2363. LastRequested *ActionRecord `protobuf:"bytes,13,opt,name=last_requested,json=lastRequested,proto3" json:"last_requested,omitempty"`
  2364. LastAccepted *ActionRecord `protobuf:"bytes,14,opt,name=last_accepted,json=lastAccepted,proto3" json:"last_accepted,omitempty"`
  2365. LastDispatched *ActionRecord `protobuf:"bytes,15,opt,name=last_dispatched,json=lastDispatched,proto3" json:"last_dispatched,omitempty"`
  2366. DeviceConfirmation ConfirmationStatus `protobuf:"varint,16,opt,name=device_confirmation,json=deviceConfirmation,proto3,enum=hth.api.v1.ConfirmationStatus" json:"device_confirmation,omitempty"`
  2367. ActiveFaults []*Fault `protobuf:"bytes,17,rep,name=active_faults,json=activeFaults,proto3" json:"active_faults,omitempty"`
  2368. Lease *LeaseSummary `protobuf:"bytes,18,opt,name=lease,proto3" json:"lease,omitempty"`
  2369. DroppedTelemetryCount uint64 `protobuf:"varint,19,opt,name=dropped_telemetry_count,json=droppedTelemetryCount,proto3" json:"dropped_telemetry_count,omitempty"`
  2370. DataGap bool `protobuf:"varint,20,opt,name=data_gap,json=dataGap,proto3" json:"data_gap,omitempty"`
  2371. TransportState TransportState `protobuf:"varint,21,opt,name=transport_state,json=transportState,proto3,enum=hth.api.v1.TransportState" json:"transport_state,omitempty"`
  2372. DeviceReadiness DeviceReadiness `protobuf:"varint,22,opt,name=device_readiness,json=deviceReadiness,proto3,enum=hth.api.v1.DeviceReadiness" json:"device_readiness,omitempty"`
  2373. SafetyControlMode SafetyControlMode `protobuf:"varint,23,opt,name=safety_control_mode,json=safetyControlMode,proto3,enum=hth.api.v1.SafetyControlMode" json:"safety_control_mode,omitempty"`
  2374. LastSuccessfulHardwareHeartbeat *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=last_successful_hardware_heartbeat,json=lastSuccessfulHardwareHeartbeat,proto3" json:"last_successful_hardware_heartbeat,omitempty"`
  2375. HardwareWatchdogTimeoutMs uint32 `protobuf:"varint,25,opt,name=hardware_watchdog_timeout_ms,json=hardwareWatchdogTimeoutMs,proto3" json:"hardware_watchdog_timeout_ms,omitempty"`
  2376. RemainingWatchdogMarginMs uint32 `protobuf:"varint,26,opt,name=remaining_watchdog_margin_ms,json=remainingWatchdogMarginMs,proto3" json:"remaining_watchdog_margin_ms,omitempty"`
  2377. HeartbeatDeliveryState ActionDispatchState `protobuf:"varint,27,opt,name=heartbeat_delivery_state,json=heartbeatDeliveryState,proto3,enum=hth.api.v1.ActionDispatchState" json:"heartbeat_delivery_state,omitempty"`
  2378. PortGeneration uint64 `protobuf:"varint,28,opt,name=port_generation,json=portGeneration,proto3" json:"port_generation,omitempty"`
  2379. unknownFields protoimpl.UnknownFields
  2380. sizeCache protoimpl.SizeCache
  2381. }
  2382. func (x *Snapshot) Reset() {
  2383. *x = Snapshot{}
  2384. mi := &file_hth_api_v1_hth_proto_msgTypes[13]
  2385. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2386. ms.StoreMessageInfo(mi)
  2387. }
  2388. func (x *Snapshot) String() string {
  2389. return protoimpl.X.MessageStringOf(x)
  2390. }
  2391. func (*Snapshot) ProtoMessage() {}
  2392. func (x *Snapshot) ProtoReflect() protoreflect.Message {
  2393. mi := &file_hth_api_v1_hth_proto_msgTypes[13]
  2394. if x != nil {
  2395. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2396. if ms.LoadMessageInfo() == nil {
  2397. ms.StoreMessageInfo(mi)
  2398. }
  2399. return ms
  2400. }
  2401. return mi.MessageOf(x)
  2402. }
  2403. // Deprecated: Use Snapshot.ProtoReflect.Descriptor instead.
  2404. func (*Snapshot) Descriptor() ([]byte, []int) {
  2405. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{13}
  2406. }
  2407. func (x *Snapshot) GetDeviceId() string {
  2408. if x != nil {
  2409. return x.DeviceId
  2410. }
  2411. return ""
  2412. }
  2413. func (x *Snapshot) GetDaemonInstanceId() string {
  2414. if x != nil {
  2415. return x.DaemonInstanceId
  2416. }
  2417. return ""
  2418. }
  2419. func (x *Snapshot) GetDeviceEpoch() uint64 {
  2420. if x != nil {
  2421. return x.DeviceEpoch
  2422. }
  2423. return 0
  2424. }
  2425. func (x *Snapshot) GetSnapshotSeq() uint64 {
  2426. if x != nil {
  2427. return x.SnapshotSeq
  2428. }
  2429. return 0
  2430. }
  2431. func (x *Snapshot) GetControlRevision() uint64 {
  2432. if x != nil {
  2433. return x.ControlRevision
  2434. }
  2435. return 0
  2436. }
  2437. func (x *Snapshot) GetEventId() uint64 {
  2438. if x != nil {
  2439. return x.EventId
  2440. }
  2441. return 0
  2442. }
  2443. func (x *Snapshot) GetWallTime() *timestamppb.Timestamp {
  2444. if x != nil {
  2445. return x.WallTime
  2446. }
  2447. return nil
  2448. }
  2449. func (x *Snapshot) GetMonotonicNs() uint64 {
  2450. if x != nil {
  2451. return x.MonotonicNs
  2452. }
  2453. return 0
  2454. }
  2455. func (x *Snapshot) GetCaptureWindow() *TimeWindow {
  2456. if x != nil {
  2457. return x.CaptureWindow
  2458. }
  2459. return nil
  2460. }
  2461. func (x *Snapshot) GetLifecycle() DeviceLifecycleState {
  2462. if x != nil {
  2463. return x.Lifecycle
  2464. }
  2465. return DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_UNSPECIFIED
  2466. }
  2467. func (x *Snapshot) GetMeasurements() []*Measurement {
  2468. if x != nil {
  2469. return x.Measurements
  2470. }
  2471. return nil
  2472. }
  2473. func (x *Snapshot) GetContinuousTargets() []*CommandedActuator {
  2474. if x != nil {
  2475. return x.ContinuousTargets
  2476. }
  2477. return nil
  2478. }
  2479. func (x *Snapshot) GetLastRequested() *ActionRecord {
  2480. if x != nil {
  2481. return x.LastRequested
  2482. }
  2483. return nil
  2484. }
  2485. func (x *Snapshot) GetLastAccepted() *ActionRecord {
  2486. if x != nil {
  2487. return x.LastAccepted
  2488. }
  2489. return nil
  2490. }
  2491. func (x *Snapshot) GetLastDispatched() *ActionRecord {
  2492. if x != nil {
  2493. return x.LastDispatched
  2494. }
  2495. return nil
  2496. }
  2497. func (x *Snapshot) GetDeviceConfirmation() ConfirmationStatus {
  2498. if x != nil {
  2499. return x.DeviceConfirmation
  2500. }
  2501. return ConfirmationStatus_CONFIRMATION_STATUS_UNSPECIFIED
  2502. }
  2503. func (x *Snapshot) GetActiveFaults() []*Fault {
  2504. if x != nil {
  2505. return x.ActiveFaults
  2506. }
  2507. return nil
  2508. }
  2509. func (x *Snapshot) GetLease() *LeaseSummary {
  2510. if x != nil {
  2511. return x.Lease
  2512. }
  2513. return nil
  2514. }
  2515. func (x *Snapshot) GetDroppedTelemetryCount() uint64 {
  2516. if x != nil {
  2517. return x.DroppedTelemetryCount
  2518. }
  2519. return 0
  2520. }
  2521. func (x *Snapshot) GetDataGap() bool {
  2522. if x != nil {
  2523. return x.DataGap
  2524. }
  2525. return false
  2526. }
  2527. func (x *Snapshot) GetTransportState() TransportState {
  2528. if x != nil {
  2529. return x.TransportState
  2530. }
  2531. return TransportState_TRANSPORT_STATE_UNSPECIFIED
  2532. }
  2533. func (x *Snapshot) GetDeviceReadiness() DeviceReadiness {
  2534. if x != nil {
  2535. return x.DeviceReadiness
  2536. }
  2537. return DeviceReadiness_DEVICE_READINESS_UNSPECIFIED
  2538. }
  2539. func (x *Snapshot) GetSafetyControlMode() SafetyControlMode {
  2540. if x != nil {
  2541. return x.SafetyControlMode
  2542. }
  2543. return SafetyControlMode_SAFETY_CONTROL_MODE_UNSPECIFIED
  2544. }
  2545. func (x *Snapshot) GetLastSuccessfulHardwareHeartbeat() *timestamppb.Timestamp {
  2546. if x != nil {
  2547. return x.LastSuccessfulHardwareHeartbeat
  2548. }
  2549. return nil
  2550. }
  2551. func (x *Snapshot) GetHardwareWatchdogTimeoutMs() uint32 {
  2552. if x != nil {
  2553. return x.HardwareWatchdogTimeoutMs
  2554. }
  2555. return 0
  2556. }
  2557. func (x *Snapshot) GetRemainingWatchdogMarginMs() uint32 {
  2558. if x != nil {
  2559. return x.RemainingWatchdogMarginMs
  2560. }
  2561. return 0
  2562. }
  2563. func (x *Snapshot) GetHeartbeatDeliveryState() ActionDispatchState {
  2564. if x != nil {
  2565. return x.HeartbeatDeliveryState
  2566. }
  2567. return ActionDispatchState_ACTION_DISPATCH_STATE_UNSPECIFIED
  2568. }
  2569. func (x *Snapshot) GetPortGeneration() uint64 {
  2570. if x != nil {
  2571. return x.PortGeneration
  2572. }
  2573. return 0
  2574. }
  2575. type Fault struct {
  2576. state protoimpl.MessageState `protogen:"open.v1"`
  2577. FaultId string `protobuf:"bytes,1,opt,name=fault_id,json=faultId,proto3" json:"fault_id,omitempty"`
  2578. Type FaultType `protobuf:"varint,2,opt,name=type,proto3,enum=hth.api.v1.FaultType" json:"type,omitempty"`
  2579. Severity FaultSeverity `protobuf:"varint,3,opt,name=severity,proto3,enum=hth.api.v1.FaultSeverity" json:"severity,omitempty"`
  2580. Class FaultClass `protobuf:"varint,4,opt,name=class,proto3,enum=hth.api.v1.FaultClass" json:"class,omitempty"`
  2581. FirstTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=first_time,json=firstTime,proto3" json:"first_time,omitempty"`
  2582. LastTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_time,json=lastTime,proto3" json:"last_time,omitempty"`
  2583. Active bool `protobuf:"varint,7,opt,name=active,proto3" json:"active,omitempty"`
  2584. Latched bool `protobuf:"varint,8,opt,name=latched,proto3" json:"latched,omitempty"`
  2585. Count uint64 `protobuf:"varint,9,opt,name=count,proto3" json:"count,omitempty"`
  2586. DeviceId string `protobuf:"bytes,10,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  2587. CommandId string `protobuf:"bytes,11,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
  2588. HumanReason string `protobuf:"bytes,12,opt,name=human_reason,json=humanReason,proto3" json:"human_reason,omitempty"`
  2589. 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"`
  2590. unknownFields protoimpl.UnknownFields
  2591. sizeCache protoimpl.SizeCache
  2592. }
  2593. func (x *Fault) Reset() {
  2594. *x = Fault{}
  2595. mi := &file_hth_api_v1_hth_proto_msgTypes[14]
  2596. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2597. ms.StoreMessageInfo(mi)
  2598. }
  2599. func (x *Fault) String() string {
  2600. return protoimpl.X.MessageStringOf(x)
  2601. }
  2602. func (*Fault) ProtoMessage() {}
  2603. func (x *Fault) ProtoReflect() protoreflect.Message {
  2604. mi := &file_hth_api_v1_hth_proto_msgTypes[14]
  2605. if x != nil {
  2606. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2607. if ms.LoadMessageInfo() == nil {
  2608. ms.StoreMessageInfo(mi)
  2609. }
  2610. return ms
  2611. }
  2612. return mi.MessageOf(x)
  2613. }
  2614. // Deprecated: Use Fault.ProtoReflect.Descriptor instead.
  2615. func (*Fault) Descriptor() ([]byte, []int) {
  2616. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{14}
  2617. }
  2618. func (x *Fault) GetFaultId() string {
  2619. if x != nil {
  2620. return x.FaultId
  2621. }
  2622. return ""
  2623. }
  2624. func (x *Fault) GetType() FaultType {
  2625. if x != nil {
  2626. return x.Type
  2627. }
  2628. return FaultType_FAULT_TYPE_UNSPECIFIED
  2629. }
  2630. func (x *Fault) GetSeverity() FaultSeverity {
  2631. if x != nil {
  2632. return x.Severity
  2633. }
  2634. return FaultSeverity_FAULT_SEVERITY_UNSPECIFIED
  2635. }
  2636. func (x *Fault) GetClass() FaultClass {
  2637. if x != nil {
  2638. return x.Class
  2639. }
  2640. return FaultClass_FAULT_CLASS_UNSPECIFIED
  2641. }
  2642. func (x *Fault) GetFirstTime() *timestamppb.Timestamp {
  2643. if x != nil {
  2644. return x.FirstTime
  2645. }
  2646. return nil
  2647. }
  2648. func (x *Fault) GetLastTime() *timestamppb.Timestamp {
  2649. if x != nil {
  2650. return x.LastTime
  2651. }
  2652. return nil
  2653. }
  2654. func (x *Fault) GetActive() bool {
  2655. if x != nil {
  2656. return x.Active
  2657. }
  2658. return false
  2659. }
  2660. func (x *Fault) GetLatched() bool {
  2661. if x != nil {
  2662. return x.Latched
  2663. }
  2664. return false
  2665. }
  2666. func (x *Fault) GetCount() uint64 {
  2667. if x != nil {
  2668. return x.Count
  2669. }
  2670. return 0
  2671. }
  2672. func (x *Fault) GetDeviceId() string {
  2673. if x != nil {
  2674. return x.DeviceId
  2675. }
  2676. return ""
  2677. }
  2678. func (x *Fault) GetCommandId() string {
  2679. if x != nil {
  2680. return x.CommandId
  2681. }
  2682. return ""
  2683. }
  2684. func (x *Fault) GetHumanReason() string {
  2685. if x != nil {
  2686. return x.HumanReason
  2687. }
  2688. return ""
  2689. }
  2690. func (x *Fault) GetDiagnostics() map[string]string {
  2691. if x != nil {
  2692. return x.Diagnostics
  2693. }
  2694. return nil
  2695. }
  2696. type DeliveryGap struct {
  2697. state protoimpl.MessageState `protogen:"open.v1"`
  2698. DroppedCount uint64 `protobuf:"varint,1,opt,name=dropped_count,json=droppedCount,proto3" json:"dropped_count,omitempty"`
  2699. LastContiguousEventId uint64 `protobuf:"varint,2,opt,name=last_contiguous_event_id,json=lastContiguousEventId,proto3" json:"last_contiguous_event_id,omitempty"`
  2700. RequestedResumeAfterEventId uint64 `protobuf:"varint,3,opt,name=requested_resume_after_event_id,json=requestedResumeAfterEventId,proto3" json:"requested_resume_after_event_id,omitempty"`
  2701. OldestAvailableEventId uint64 `protobuf:"varint,4,opt,name=oldest_available_event_id,json=oldestAvailableEventId,proto3" json:"oldest_available_event_id,omitempty"`
  2702. unknownFields protoimpl.UnknownFields
  2703. sizeCache protoimpl.SizeCache
  2704. }
  2705. func (x *DeliveryGap) Reset() {
  2706. *x = DeliveryGap{}
  2707. mi := &file_hth_api_v1_hth_proto_msgTypes[15]
  2708. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2709. ms.StoreMessageInfo(mi)
  2710. }
  2711. func (x *DeliveryGap) String() string {
  2712. return protoimpl.X.MessageStringOf(x)
  2713. }
  2714. func (*DeliveryGap) ProtoMessage() {}
  2715. func (x *DeliveryGap) ProtoReflect() protoreflect.Message {
  2716. mi := &file_hth_api_v1_hth_proto_msgTypes[15]
  2717. if x != nil {
  2718. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2719. if ms.LoadMessageInfo() == nil {
  2720. ms.StoreMessageInfo(mi)
  2721. }
  2722. return ms
  2723. }
  2724. return mi.MessageOf(x)
  2725. }
  2726. // Deprecated: Use DeliveryGap.ProtoReflect.Descriptor instead.
  2727. func (*DeliveryGap) Descriptor() ([]byte, []int) {
  2728. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{15}
  2729. }
  2730. func (x *DeliveryGap) GetDroppedCount() uint64 {
  2731. if x != nil {
  2732. return x.DroppedCount
  2733. }
  2734. return 0
  2735. }
  2736. func (x *DeliveryGap) GetLastContiguousEventId() uint64 {
  2737. if x != nil {
  2738. return x.LastContiguousEventId
  2739. }
  2740. return 0
  2741. }
  2742. func (x *DeliveryGap) GetRequestedResumeAfterEventId() uint64 {
  2743. if x != nil {
  2744. return x.RequestedResumeAfterEventId
  2745. }
  2746. return 0
  2747. }
  2748. func (x *DeliveryGap) GetOldestAvailableEventId() uint64 {
  2749. if x != nil {
  2750. return x.OldestAvailableEventId
  2751. }
  2752. return 0
  2753. }
  2754. type Event struct {
  2755. state protoimpl.MessageState `protogen:"open.v1"`
  2756. EventId uint64 `protobuf:"varint,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
  2757. Kind EventKind `protobuf:"varint,2,opt,name=kind,proto3,enum=hth.api.v1.EventKind" json:"kind,omitempty"`
  2758. WallTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=wall_time,json=wallTime,proto3" json:"wall_time,omitempty"`
  2759. MonotonicNs uint64 `protobuf:"varint,4,opt,name=monotonic_ns,json=monotonicNs,proto3" json:"monotonic_ns,omitempty"`
  2760. DeviceId string `protobuf:"bytes,5,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  2761. Snapshot *Snapshot `protobuf:"bytes,6,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
  2762. Fault *Fault `protobuf:"bytes,7,opt,name=fault,proto3" json:"fault,omitempty"`
  2763. Message string `protobuf:"bytes,8,opt,name=message,proto3" json:"message,omitempty"`
  2764. ResumeAfterEventId uint64 `protobuf:"varint,9,opt,name=resume_after_event_id,json=resumeAfterEventId,proto3" json:"resume_after_event_id,omitempty"`
  2765. DroppedCount uint64 `protobuf:"varint,10,opt,name=dropped_count,json=droppedCount,proto3" json:"dropped_count,omitempty"`
  2766. SourceEventId uint64 `protobuf:"varint,11,opt,name=source_event_id,json=sourceEventId,proto3" json:"source_event_id,omitempty"`
  2767. SourceCaptureId string `protobuf:"bytes,12,opt,name=source_capture_id,json=sourceCaptureId,proto3" json:"source_capture_id,omitempty"`
  2768. SourceDeviceId string `protobuf:"bytes,13,opt,name=source_device_id,json=sourceDeviceId,proto3" json:"source_device_id,omitempty"`
  2769. SourceDaemonInstanceId string `protobuf:"bytes,14,opt,name=source_daemon_instance_id,json=sourceDaemonInstanceId,proto3" json:"source_daemon_instance_id,omitempty"`
  2770. LastContiguousEventId uint64 `protobuf:"varint,15,opt,name=last_contiguous_event_id,json=lastContiguousEventId,proto3" json:"last_contiguous_event_id,omitempty"`
  2771. // Per-subscriber delivery gap attached to the next real event. Does not
  2772. // consume a global event_id and must not be treated as a device event.
  2773. DeliveryGap *DeliveryGap `protobuf:"bytes,16,opt,name=delivery_gap,json=deliveryGap,proto3" json:"delivery_gap,omitempty"`
  2774. ActionResult *ActionResult `protobuf:"bytes,17,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"`
  2775. PortGeneration uint64 `protobuf:"varint,18,opt,name=port_generation,json=portGeneration,proto3" json:"port_generation,omitempty"`
  2776. unknownFields protoimpl.UnknownFields
  2777. sizeCache protoimpl.SizeCache
  2778. }
  2779. func (x *Event) Reset() {
  2780. *x = Event{}
  2781. mi := &file_hth_api_v1_hth_proto_msgTypes[16]
  2782. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2783. ms.StoreMessageInfo(mi)
  2784. }
  2785. func (x *Event) String() string {
  2786. return protoimpl.X.MessageStringOf(x)
  2787. }
  2788. func (*Event) ProtoMessage() {}
  2789. func (x *Event) ProtoReflect() protoreflect.Message {
  2790. mi := &file_hth_api_v1_hth_proto_msgTypes[16]
  2791. if x != nil {
  2792. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2793. if ms.LoadMessageInfo() == nil {
  2794. ms.StoreMessageInfo(mi)
  2795. }
  2796. return ms
  2797. }
  2798. return mi.MessageOf(x)
  2799. }
  2800. // Deprecated: Use Event.ProtoReflect.Descriptor instead.
  2801. func (*Event) Descriptor() ([]byte, []int) {
  2802. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{16}
  2803. }
  2804. func (x *Event) GetEventId() uint64 {
  2805. if x != nil {
  2806. return x.EventId
  2807. }
  2808. return 0
  2809. }
  2810. func (x *Event) GetKind() EventKind {
  2811. if x != nil {
  2812. return x.Kind
  2813. }
  2814. return EventKind_EVENT_KIND_UNSPECIFIED
  2815. }
  2816. func (x *Event) GetWallTime() *timestamppb.Timestamp {
  2817. if x != nil {
  2818. return x.WallTime
  2819. }
  2820. return nil
  2821. }
  2822. func (x *Event) GetMonotonicNs() uint64 {
  2823. if x != nil {
  2824. return x.MonotonicNs
  2825. }
  2826. return 0
  2827. }
  2828. func (x *Event) GetDeviceId() string {
  2829. if x != nil {
  2830. return x.DeviceId
  2831. }
  2832. return ""
  2833. }
  2834. func (x *Event) GetSnapshot() *Snapshot {
  2835. if x != nil {
  2836. return x.Snapshot
  2837. }
  2838. return nil
  2839. }
  2840. func (x *Event) GetFault() *Fault {
  2841. if x != nil {
  2842. return x.Fault
  2843. }
  2844. return nil
  2845. }
  2846. func (x *Event) GetMessage() string {
  2847. if x != nil {
  2848. return x.Message
  2849. }
  2850. return ""
  2851. }
  2852. func (x *Event) GetResumeAfterEventId() uint64 {
  2853. if x != nil {
  2854. return x.ResumeAfterEventId
  2855. }
  2856. return 0
  2857. }
  2858. func (x *Event) GetDroppedCount() uint64 {
  2859. if x != nil {
  2860. return x.DroppedCount
  2861. }
  2862. return 0
  2863. }
  2864. func (x *Event) GetSourceEventId() uint64 {
  2865. if x != nil {
  2866. return x.SourceEventId
  2867. }
  2868. return 0
  2869. }
  2870. func (x *Event) GetSourceCaptureId() string {
  2871. if x != nil {
  2872. return x.SourceCaptureId
  2873. }
  2874. return ""
  2875. }
  2876. func (x *Event) GetSourceDeviceId() string {
  2877. if x != nil {
  2878. return x.SourceDeviceId
  2879. }
  2880. return ""
  2881. }
  2882. func (x *Event) GetSourceDaemonInstanceId() string {
  2883. if x != nil {
  2884. return x.SourceDaemonInstanceId
  2885. }
  2886. return ""
  2887. }
  2888. func (x *Event) GetLastContiguousEventId() uint64 {
  2889. if x != nil {
  2890. return x.LastContiguousEventId
  2891. }
  2892. return 0
  2893. }
  2894. func (x *Event) GetDeliveryGap() *DeliveryGap {
  2895. if x != nil {
  2896. return x.DeliveryGap
  2897. }
  2898. return nil
  2899. }
  2900. func (x *Event) GetActionResult() *ActionResult {
  2901. if x != nil {
  2902. return x.ActionResult
  2903. }
  2904. return nil
  2905. }
  2906. func (x *Event) GetPortGeneration() uint64 {
  2907. if x != nil {
  2908. return x.PortGeneration
  2909. }
  2910. return 0
  2911. }
  2912. type ContinuousTarget struct {
  2913. state protoimpl.MessageState `protogen:"open.v1"`
  2914. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  2915. Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
  2916. unknownFields protoimpl.UnknownFields
  2917. sizeCache protoimpl.SizeCache
  2918. }
  2919. func (x *ContinuousTarget) Reset() {
  2920. *x = ContinuousTarget{}
  2921. mi := &file_hth_api_v1_hth_proto_msgTypes[17]
  2922. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2923. ms.StoreMessageInfo(mi)
  2924. }
  2925. func (x *ContinuousTarget) String() string {
  2926. return protoimpl.X.MessageStringOf(x)
  2927. }
  2928. func (*ContinuousTarget) ProtoMessage() {}
  2929. func (x *ContinuousTarget) ProtoReflect() protoreflect.Message {
  2930. mi := &file_hth_api_v1_hth_proto_msgTypes[17]
  2931. if x != nil {
  2932. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2933. if ms.LoadMessageInfo() == nil {
  2934. ms.StoreMessageInfo(mi)
  2935. }
  2936. return ms
  2937. }
  2938. return mi.MessageOf(x)
  2939. }
  2940. // Deprecated: Use ContinuousTarget.ProtoReflect.Descriptor instead.
  2941. func (*ContinuousTarget) Descriptor() ([]byte, []int) {
  2942. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{17}
  2943. }
  2944. func (x *ContinuousTarget) GetId() string {
  2945. if x != nil {
  2946. return x.Id
  2947. }
  2948. return ""
  2949. }
  2950. func (x *ContinuousTarget) GetValue() float64 {
  2951. if x != nil {
  2952. return x.Value
  2953. }
  2954. return 0
  2955. }
  2956. type DiscreteCommand struct {
  2957. state protoimpl.MessageState `protogen:"open.v1"`
  2958. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  2959. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  2960. Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"`
  2961. unknownFields protoimpl.UnknownFields
  2962. sizeCache protoimpl.SizeCache
  2963. }
  2964. func (x *DiscreteCommand) Reset() {
  2965. *x = DiscreteCommand{}
  2966. mi := &file_hth_api_v1_hth_proto_msgTypes[18]
  2967. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2968. ms.StoreMessageInfo(mi)
  2969. }
  2970. func (x *DiscreteCommand) String() string {
  2971. return protoimpl.X.MessageStringOf(x)
  2972. }
  2973. func (*DiscreteCommand) ProtoMessage() {}
  2974. func (x *DiscreteCommand) ProtoReflect() protoreflect.Message {
  2975. mi := &file_hth_api_v1_hth_proto_msgTypes[18]
  2976. if x != nil {
  2977. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2978. if ms.LoadMessageInfo() == nil {
  2979. ms.StoreMessageInfo(mi)
  2980. }
  2981. return ms
  2982. }
  2983. return mi.MessageOf(x)
  2984. }
  2985. // Deprecated: Use DiscreteCommand.ProtoReflect.Descriptor instead.
  2986. func (*DiscreteCommand) Descriptor() ([]byte, []int) {
  2987. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{18}
  2988. }
  2989. func (x *DiscreteCommand) GetId() string {
  2990. if x != nil {
  2991. return x.Id
  2992. }
  2993. return ""
  2994. }
  2995. func (x *DiscreteCommand) GetName() string {
  2996. if x != nil {
  2997. return x.Name
  2998. }
  2999. return ""
  3000. }
  3001. func (x *DiscreteCommand) GetValue() float64 {
  3002. if x != nil {
  3003. return x.Value
  3004. }
  3005. return 0
  3006. }
  3007. type ClampRecord struct {
  3008. state protoimpl.MessageState `protogen:"open.v1"`
  3009. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  3010. Original float64 `protobuf:"fixed64,2,opt,name=original,proto3" json:"original,omitempty"`
  3011. Limited float64 `protobuf:"fixed64,3,opt,name=limited,proto3" json:"limited,omitempty"`
  3012. Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
  3013. unknownFields protoimpl.UnknownFields
  3014. sizeCache protoimpl.SizeCache
  3015. }
  3016. func (x *ClampRecord) Reset() {
  3017. *x = ClampRecord{}
  3018. mi := &file_hth_api_v1_hth_proto_msgTypes[19]
  3019. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3020. ms.StoreMessageInfo(mi)
  3021. }
  3022. func (x *ClampRecord) String() string {
  3023. return protoimpl.X.MessageStringOf(x)
  3024. }
  3025. func (*ClampRecord) ProtoMessage() {}
  3026. func (x *ClampRecord) ProtoReflect() protoreflect.Message {
  3027. mi := &file_hth_api_v1_hth_proto_msgTypes[19]
  3028. if x != nil {
  3029. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3030. if ms.LoadMessageInfo() == nil {
  3031. ms.StoreMessageInfo(mi)
  3032. }
  3033. return ms
  3034. }
  3035. return mi.MessageOf(x)
  3036. }
  3037. // Deprecated: Use ClampRecord.ProtoReflect.Descriptor instead.
  3038. func (*ClampRecord) Descriptor() ([]byte, []int) {
  3039. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{19}
  3040. }
  3041. func (x *ClampRecord) GetId() string {
  3042. if x != nil {
  3043. return x.Id
  3044. }
  3045. return ""
  3046. }
  3047. func (x *ClampRecord) GetOriginal() float64 {
  3048. if x != nil {
  3049. return x.Original
  3050. }
  3051. return 0
  3052. }
  3053. func (x *ClampRecord) GetLimited() float64 {
  3054. if x != nil {
  3055. return x.Limited
  3056. }
  3057. return 0
  3058. }
  3059. func (x *ClampRecord) GetReason() string {
  3060. if x != nil {
  3061. return x.Reason
  3062. }
  3063. return ""
  3064. }
  3065. type ActionBatch struct {
  3066. state protoimpl.MessageState `protogen:"open.v1"`
  3067. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  3068. CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
  3069. LeaseId string `protobuf:"bytes,3,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
  3070. LeaseEpoch uint64 `protobuf:"varint,4,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
  3071. BasedOnSnapshotSeq uint64 `protobuf:"varint,5,opt,name=based_on_snapshot_seq,json=basedOnSnapshotSeq,proto3" json:"based_on_snapshot_seq,omitempty"`
  3072. ExpectedControlRevision uint64 `protobuf:"varint,6,opt,name=expected_control_revision,json=expectedControlRevision,proto3" json:"expected_control_revision,omitempty"`
  3073. ValidUntil *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=valid_until,json=validUntil,proto3" json:"valid_until,omitempty"`
  3074. ContinuousTargets []*ContinuousTarget `protobuf:"bytes,8,rep,name=continuous_targets,json=continuousTargets,proto3" json:"continuous_targets,omitempty"`
  3075. DiscreteCommands []*DiscreteCommand `protobuf:"bytes,9,rep,name=discrete_commands,json=discreteCommands,proto3" json:"discrete_commands,omitempty"`
  3076. AllowClamp bool `protobuf:"varint,10,opt,name=allow_clamp,json=allowClamp,proto3" json:"allow_clamp,omitempty"`
  3077. ClientId string `protobuf:"bytes,11,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
  3078. PolicyVersion string `protobuf:"bytes,12,opt,name=policy_version,json=policyVersion,proto3" json:"policy_version,omitempty"`
  3079. unknownFields protoimpl.UnknownFields
  3080. sizeCache protoimpl.SizeCache
  3081. }
  3082. func (x *ActionBatch) Reset() {
  3083. *x = ActionBatch{}
  3084. mi := &file_hth_api_v1_hth_proto_msgTypes[20]
  3085. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3086. ms.StoreMessageInfo(mi)
  3087. }
  3088. func (x *ActionBatch) String() string {
  3089. return protoimpl.X.MessageStringOf(x)
  3090. }
  3091. func (*ActionBatch) ProtoMessage() {}
  3092. func (x *ActionBatch) ProtoReflect() protoreflect.Message {
  3093. mi := &file_hth_api_v1_hth_proto_msgTypes[20]
  3094. if x != nil {
  3095. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3096. if ms.LoadMessageInfo() == nil {
  3097. ms.StoreMessageInfo(mi)
  3098. }
  3099. return ms
  3100. }
  3101. return mi.MessageOf(x)
  3102. }
  3103. // Deprecated: Use ActionBatch.ProtoReflect.Descriptor instead.
  3104. func (*ActionBatch) Descriptor() ([]byte, []int) {
  3105. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{20}
  3106. }
  3107. func (x *ActionBatch) GetDeviceId() string {
  3108. if x != nil {
  3109. return x.DeviceId
  3110. }
  3111. return ""
  3112. }
  3113. func (x *ActionBatch) GetCommandId() string {
  3114. if x != nil {
  3115. return x.CommandId
  3116. }
  3117. return ""
  3118. }
  3119. func (x *ActionBatch) GetLeaseId() string {
  3120. if x != nil {
  3121. return x.LeaseId
  3122. }
  3123. return ""
  3124. }
  3125. func (x *ActionBatch) GetLeaseEpoch() uint64 {
  3126. if x != nil {
  3127. return x.LeaseEpoch
  3128. }
  3129. return 0
  3130. }
  3131. func (x *ActionBatch) GetBasedOnSnapshotSeq() uint64 {
  3132. if x != nil {
  3133. return x.BasedOnSnapshotSeq
  3134. }
  3135. return 0
  3136. }
  3137. func (x *ActionBatch) GetExpectedControlRevision() uint64 {
  3138. if x != nil {
  3139. return x.ExpectedControlRevision
  3140. }
  3141. return 0
  3142. }
  3143. func (x *ActionBatch) GetValidUntil() *timestamppb.Timestamp {
  3144. if x != nil {
  3145. return x.ValidUntil
  3146. }
  3147. return nil
  3148. }
  3149. func (x *ActionBatch) GetContinuousTargets() []*ContinuousTarget {
  3150. if x != nil {
  3151. return x.ContinuousTargets
  3152. }
  3153. return nil
  3154. }
  3155. func (x *ActionBatch) GetDiscreteCommands() []*DiscreteCommand {
  3156. if x != nil {
  3157. return x.DiscreteCommands
  3158. }
  3159. return nil
  3160. }
  3161. func (x *ActionBatch) GetAllowClamp() bool {
  3162. if x != nil {
  3163. return x.AllowClamp
  3164. }
  3165. return false
  3166. }
  3167. func (x *ActionBatch) GetClientId() string {
  3168. if x != nil {
  3169. return x.ClientId
  3170. }
  3171. return ""
  3172. }
  3173. func (x *ActionBatch) GetPolicyVersion() string {
  3174. if x != nil {
  3175. return x.PolicyVersion
  3176. }
  3177. return ""
  3178. }
  3179. type ActionResult struct {
  3180. state protoimpl.MessageState `protogen:"open.v1"`
  3181. CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
  3182. Accepted bool `protobuf:"varint,2,opt,name=accepted,proto3" json:"accepted,omitempty"`
  3183. RejectReason RejectReason `protobuf:"varint,3,opt,name=reject_reason,json=rejectReason,proto3,enum=hth.api.v1.RejectReason" json:"reject_reason,omitempty"`
  3184. Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
  3185. Clamps []*ClampRecord `protobuf:"bytes,5,rep,name=clamps,proto3" json:"clamps,omitempty"`
  3186. // requested is the raw client fields (original floats, only explicit IDs).
  3187. Requested *ActionRecord `protobuf:"bytes,6,opt,name=requested,proto3" json:"requested,omitempty"`
  3188. AcceptedAction *ActionRecord `protobuf:"bytes,7,opt,name=accepted_action,json=acceptedAction,proto3" json:"accepted_action,omitempty"`
  3189. Dispatched *ActionRecord `protobuf:"bytes,8,opt,name=dispatched,proto3" json:"dispatched,omitempty"`
  3190. Confirmation ConfirmationStatus `protobuf:"varint,9,opt,name=confirmation,proto3,enum=hth.api.v1.ConfirmationStatus" json:"confirmation,omitempty"`
  3191. ControlRevision uint64 `protobuf:"varint,10,opt,name=control_revision,json=controlRevision,proto3" json:"control_revision,omitempty"`
  3192. DeviceEpoch uint64 `protobuf:"varint,11,opt,name=device_epoch,json=deviceEpoch,proto3" json:"device_epoch,omitempty"`
  3193. ReplayedFromCache bool `protobuf:"varint,12,opt,name=replayed_from_cache,json=replayedFromCache,proto3" json:"replayed_from_cache,omitempty"`
  3194. RawRequested *ActionRecord `protobuf:"bytes,13,opt,name=raw_requested,json=rawRequested,proto3" json:"raw_requested,omitempty"`
  3195. NormalizedRequested *ActionRecord `protobuf:"bytes,14,opt,name=normalized_requested,json=normalizedRequested,proto3" json:"normalized_requested,omitempty"`
  3196. DispatchState ActionDispatchState `protobuf:"varint,15,opt,name=dispatch_state,json=dispatchState,proto3,enum=hth.api.v1.ActionDispatchState" json:"dispatch_state,omitempty"`
  3197. ActionOrigin string `protobuf:"bytes,16,opt,name=action_origin,json=actionOrigin,proto3" json:"action_origin,omitempty"`
  3198. PortGeneration uint64 `protobuf:"varint,17,opt,name=port_generation,json=portGeneration,proto3" json:"port_generation,omitempty"`
  3199. unknownFields protoimpl.UnknownFields
  3200. sizeCache protoimpl.SizeCache
  3201. }
  3202. func (x *ActionResult) Reset() {
  3203. *x = ActionResult{}
  3204. mi := &file_hth_api_v1_hth_proto_msgTypes[21]
  3205. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3206. ms.StoreMessageInfo(mi)
  3207. }
  3208. func (x *ActionResult) String() string {
  3209. return protoimpl.X.MessageStringOf(x)
  3210. }
  3211. func (*ActionResult) ProtoMessage() {}
  3212. func (x *ActionResult) ProtoReflect() protoreflect.Message {
  3213. mi := &file_hth_api_v1_hth_proto_msgTypes[21]
  3214. if x != nil {
  3215. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3216. if ms.LoadMessageInfo() == nil {
  3217. ms.StoreMessageInfo(mi)
  3218. }
  3219. return ms
  3220. }
  3221. return mi.MessageOf(x)
  3222. }
  3223. // Deprecated: Use ActionResult.ProtoReflect.Descriptor instead.
  3224. func (*ActionResult) Descriptor() ([]byte, []int) {
  3225. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{21}
  3226. }
  3227. func (x *ActionResult) GetCommandId() string {
  3228. if x != nil {
  3229. return x.CommandId
  3230. }
  3231. return ""
  3232. }
  3233. func (x *ActionResult) GetAccepted() bool {
  3234. if x != nil {
  3235. return x.Accepted
  3236. }
  3237. return false
  3238. }
  3239. func (x *ActionResult) GetRejectReason() RejectReason {
  3240. if x != nil {
  3241. return x.RejectReason
  3242. }
  3243. return RejectReason_REJECT_REASON_UNSPECIFIED
  3244. }
  3245. func (x *ActionResult) GetMessage() string {
  3246. if x != nil {
  3247. return x.Message
  3248. }
  3249. return ""
  3250. }
  3251. func (x *ActionResult) GetClamps() []*ClampRecord {
  3252. if x != nil {
  3253. return x.Clamps
  3254. }
  3255. return nil
  3256. }
  3257. func (x *ActionResult) GetRequested() *ActionRecord {
  3258. if x != nil {
  3259. return x.Requested
  3260. }
  3261. return nil
  3262. }
  3263. func (x *ActionResult) GetAcceptedAction() *ActionRecord {
  3264. if x != nil {
  3265. return x.AcceptedAction
  3266. }
  3267. return nil
  3268. }
  3269. func (x *ActionResult) GetDispatched() *ActionRecord {
  3270. if x != nil {
  3271. return x.Dispatched
  3272. }
  3273. return nil
  3274. }
  3275. func (x *ActionResult) GetConfirmation() ConfirmationStatus {
  3276. if x != nil {
  3277. return x.Confirmation
  3278. }
  3279. return ConfirmationStatus_CONFIRMATION_STATUS_UNSPECIFIED
  3280. }
  3281. func (x *ActionResult) GetControlRevision() uint64 {
  3282. if x != nil {
  3283. return x.ControlRevision
  3284. }
  3285. return 0
  3286. }
  3287. func (x *ActionResult) GetDeviceEpoch() uint64 {
  3288. if x != nil {
  3289. return x.DeviceEpoch
  3290. }
  3291. return 0
  3292. }
  3293. func (x *ActionResult) GetReplayedFromCache() bool {
  3294. if x != nil {
  3295. return x.ReplayedFromCache
  3296. }
  3297. return false
  3298. }
  3299. func (x *ActionResult) GetRawRequested() *ActionRecord {
  3300. if x != nil {
  3301. return x.RawRequested
  3302. }
  3303. return nil
  3304. }
  3305. func (x *ActionResult) GetNormalizedRequested() *ActionRecord {
  3306. if x != nil {
  3307. return x.NormalizedRequested
  3308. }
  3309. return nil
  3310. }
  3311. func (x *ActionResult) GetDispatchState() ActionDispatchState {
  3312. if x != nil {
  3313. return x.DispatchState
  3314. }
  3315. return ActionDispatchState_ACTION_DISPATCH_STATE_UNSPECIFIED
  3316. }
  3317. func (x *ActionResult) GetActionOrigin() string {
  3318. if x != nil {
  3319. return x.ActionOrigin
  3320. }
  3321. return ""
  3322. }
  3323. func (x *ActionResult) GetPortGeneration() uint64 {
  3324. if x != nil {
  3325. return x.PortGeneration
  3326. }
  3327. return 0
  3328. }
  3329. type ControlLease struct {
  3330. state protoimpl.MessageState `protogen:"open.v1"`
  3331. LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
  3332. LeaseEpoch uint64 `protobuf:"varint,2,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
  3333. DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  3334. Holder string `protobuf:"bytes,4,opt,name=holder,proto3" json:"holder,omitempty"`
  3335. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
  3336. ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
  3337. MaxTtl *durationpb.Duration `protobuf:"bytes,7,opt,name=max_ttl,json=maxTtl,proto3" json:"max_ttl,omitempty"`
  3338. Active bool `protobuf:"varint,8,opt,name=active,proto3" json:"active,omitempty"`
  3339. unknownFields protoimpl.UnknownFields
  3340. sizeCache protoimpl.SizeCache
  3341. }
  3342. func (x *ControlLease) Reset() {
  3343. *x = ControlLease{}
  3344. mi := &file_hth_api_v1_hth_proto_msgTypes[22]
  3345. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3346. ms.StoreMessageInfo(mi)
  3347. }
  3348. func (x *ControlLease) String() string {
  3349. return protoimpl.X.MessageStringOf(x)
  3350. }
  3351. func (*ControlLease) ProtoMessage() {}
  3352. func (x *ControlLease) ProtoReflect() protoreflect.Message {
  3353. mi := &file_hth_api_v1_hth_proto_msgTypes[22]
  3354. if x != nil {
  3355. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3356. if ms.LoadMessageInfo() == nil {
  3357. ms.StoreMessageInfo(mi)
  3358. }
  3359. return ms
  3360. }
  3361. return mi.MessageOf(x)
  3362. }
  3363. // Deprecated: Use ControlLease.ProtoReflect.Descriptor instead.
  3364. func (*ControlLease) Descriptor() ([]byte, []int) {
  3365. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{22}
  3366. }
  3367. func (x *ControlLease) GetLeaseId() string {
  3368. if x != nil {
  3369. return x.LeaseId
  3370. }
  3371. return ""
  3372. }
  3373. func (x *ControlLease) GetLeaseEpoch() uint64 {
  3374. if x != nil {
  3375. return x.LeaseEpoch
  3376. }
  3377. return 0
  3378. }
  3379. func (x *ControlLease) GetDeviceId() string {
  3380. if x != nil {
  3381. return x.DeviceId
  3382. }
  3383. return ""
  3384. }
  3385. func (x *ControlLease) GetHolder() string {
  3386. if x != nil {
  3387. return x.Holder
  3388. }
  3389. return ""
  3390. }
  3391. func (x *ControlLease) GetCreatedAt() *timestamppb.Timestamp {
  3392. if x != nil {
  3393. return x.CreatedAt
  3394. }
  3395. return nil
  3396. }
  3397. func (x *ControlLease) GetExpiresAt() *timestamppb.Timestamp {
  3398. if x != nil {
  3399. return x.ExpiresAt
  3400. }
  3401. return nil
  3402. }
  3403. func (x *ControlLease) GetMaxTtl() *durationpb.Duration {
  3404. if x != nil {
  3405. return x.MaxTtl
  3406. }
  3407. return nil
  3408. }
  3409. func (x *ControlLease) GetActive() bool {
  3410. if x != nil {
  3411. return x.Active
  3412. }
  3413. return false
  3414. }
  3415. type ListDevicesRequest struct {
  3416. state protoimpl.MessageState `protogen:"open.v1"`
  3417. unknownFields protoimpl.UnknownFields
  3418. sizeCache protoimpl.SizeCache
  3419. }
  3420. func (x *ListDevicesRequest) Reset() {
  3421. *x = ListDevicesRequest{}
  3422. mi := &file_hth_api_v1_hth_proto_msgTypes[23]
  3423. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3424. ms.StoreMessageInfo(mi)
  3425. }
  3426. func (x *ListDevicesRequest) String() string {
  3427. return protoimpl.X.MessageStringOf(x)
  3428. }
  3429. func (*ListDevicesRequest) ProtoMessage() {}
  3430. func (x *ListDevicesRequest) ProtoReflect() protoreflect.Message {
  3431. mi := &file_hth_api_v1_hth_proto_msgTypes[23]
  3432. if x != nil {
  3433. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3434. if ms.LoadMessageInfo() == nil {
  3435. ms.StoreMessageInfo(mi)
  3436. }
  3437. return ms
  3438. }
  3439. return mi.MessageOf(x)
  3440. }
  3441. // Deprecated: Use ListDevicesRequest.ProtoReflect.Descriptor instead.
  3442. func (*ListDevicesRequest) Descriptor() ([]byte, []int) {
  3443. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{23}
  3444. }
  3445. type ListDevicesResponse struct {
  3446. state protoimpl.MessageState `protogen:"open.v1"`
  3447. Devices []*DeviceInfo `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
  3448. unknownFields protoimpl.UnknownFields
  3449. sizeCache protoimpl.SizeCache
  3450. }
  3451. func (x *ListDevicesResponse) Reset() {
  3452. *x = ListDevicesResponse{}
  3453. mi := &file_hth_api_v1_hth_proto_msgTypes[24]
  3454. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3455. ms.StoreMessageInfo(mi)
  3456. }
  3457. func (x *ListDevicesResponse) String() string {
  3458. return protoimpl.X.MessageStringOf(x)
  3459. }
  3460. func (*ListDevicesResponse) ProtoMessage() {}
  3461. func (x *ListDevicesResponse) ProtoReflect() protoreflect.Message {
  3462. mi := &file_hth_api_v1_hth_proto_msgTypes[24]
  3463. if x != nil {
  3464. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3465. if ms.LoadMessageInfo() == nil {
  3466. ms.StoreMessageInfo(mi)
  3467. }
  3468. return ms
  3469. }
  3470. return mi.MessageOf(x)
  3471. }
  3472. // Deprecated: Use ListDevicesResponse.ProtoReflect.Descriptor instead.
  3473. func (*ListDevicesResponse) Descriptor() ([]byte, []int) {
  3474. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{24}
  3475. }
  3476. func (x *ListDevicesResponse) GetDevices() []*DeviceInfo {
  3477. if x != nil {
  3478. return x.Devices
  3479. }
  3480. return nil
  3481. }
  3482. type GetCapabilitiesRequest struct {
  3483. state protoimpl.MessageState `protogen:"open.v1"`
  3484. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  3485. unknownFields protoimpl.UnknownFields
  3486. sizeCache protoimpl.SizeCache
  3487. }
  3488. func (x *GetCapabilitiesRequest) Reset() {
  3489. *x = GetCapabilitiesRequest{}
  3490. mi := &file_hth_api_v1_hth_proto_msgTypes[25]
  3491. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3492. ms.StoreMessageInfo(mi)
  3493. }
  3494. func (x *GetCapabilitiesRequest) String() string {
  3495. return protoimpl.X.MessageStringOf(x)
  3496. }
  3497. func (*GetCapabilitiesRequest) ProtoMessage() {}
  3498. func (x *GetCapabilitiesRequest) ProtoReflect() protoreflect.Message {
  3499. mi := &file_hth_api_v1_hth_proto_msgTypes[25]
  3500. if x != nil {
  3501. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3502. if ms.LoadMessageInfo() == nil {
  3503. ms.StoreMessageInfo(mi)
  3504. }
  3505. return ms
  3506. }
  3507. return mi.MessageOf(x)
  3508. }
  3509. // Deprecated: Use GetCapabilitiesRequest.ProtoReflect.Descriptor instead.
  3510. func (*GetCapabilitiesRequest) Descriptor() ([]byte, []int) {
  3511. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{25}
  3512. }
  3513. func (x *GetCapabilitiesRequest) GetDeviceId() string {
  3514. if x != nil {
  3515. return x.DeviceId
  3516. }
  3517. return ""
  3518. }
  3519. type GetCapabilitiesResponse struct {
  3520. state protoimpl.MessageState `protogen:"open.v1"`
  3521. Capabilities *Capabilities `protobuf:"bytes,1,opt,name=capabilities,proto3" json:"capabilities,omitempty"`
  3522. unknownFields protoimpl.UnknownFields
  3523. sizeCache protoimpl.SizeCache
  3524. }
  3525. func (x *GetCapabilitiesResponse) Reset() {
  3526. *x = GetCapabilitiesResponse{}
  3527. mi := &file_hth_api_v1_hth_proto_msgTypes[26]
  3528. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3529. ms.StoreMessageInfo(mi)
  3530. }
  3531. func (x *GetCapabilitiesResponse) String() string {
  3532. return protoimpl.X.MessageStringOf(x)
  3533. }
  3534. func (*GetCapabilitiesResponse) ProtoMessage() {}
  3535. func (x *GetCapabilitiesResponse) ProtoReflect() protoreflect.Message {
  3536. mi := &file_hth_api_v1_hth_proto_msgTypes[26]
  3537. if x != nil {
  3538. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3539. if ms.LoadMessageInfo() == nil {
  3540. ms.StoreMessageInfo(mi)
  3541. }
  3542. return ms
  3543. }
  3544. return mi.MessageOf(x)
  3545. }
  3546. // Deprecated: Use GetCapabilitiesResponse.ProtoReflect.Descriptor instead.
  3547. func (*GetCapabilitiesResponse) Descriptor() ([]byte, []int) {
  3548. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{26}
  3549. }
  3550. func (x *GetCapabilitiesResponse) GetCapabilities() *Capabilities {
  3551. if x != nil {
  3552. return x.Capabilities
  3553. }
  3554. return nil
  3555. }
  3556. type GetSnapshotRequest struct {
  3557. state protoimpl.MessageState `protogen:"open.v1"`
  3558. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  3559. unknownFields protoimpl.UnknownFields
  3560. sizeCache protoimpl.SizeCache
  3561. }
  3562. func (x *GetSnapshotRequest) Reset() {
  3563. *x = GetSnapshotRequest{}
  3564. mi := &file_hth_api_v1_hth_proto_msgTypes[27]
  3565. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3566. ms.StoreMessageInfo(mi)
  3567. }
  3568. func (x *GetSnapshotRequest) String() string {
  3569. return protoimpl.X.MessageStringOf(x)
  3570. }
  3571. func (*GetSnapshotRequest) ProtoMessage() {}
  3572. func (x *GetSnapshotRequest) ProtoReflect() protoreflect.Message {
  3573. mi := &file_hth_api_v1_hth_proto_msgTypes[27]
  3574. if x != nil {
  3575. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3576. if ms.LoadMessageInfo() == nil {
  3577. ms.StoreMessageInfo(mi)
  3578. }
  3579. return ms
  3580. }
  3581. return mi.MessageOf(x)
  3582. }
  3583. // Deprecated: Use GetSnapshotRequest.ProtoReflect.Descriptor instead.
  3584. func (*GetSnapshotRequest) Descriptor() ([]byte, []int) {
  3585. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{27}
  3586. }
  3587. func (x *GetSnapshotRequest) GetDeviceId() string {
  3588. if x != nil {
  3589. return x.DeviceId
  3590. }
  3591. return ""
  3592. }
  3593. type GetSnapshotResponse struct {
  3594. state protoimpl.MessageState `protogen:"open.v1"`
  3595. Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
  3596. unknownFields protoimpl.UnknownFields
  3597. sizeCache protoimpl.SizeCache
  3598. }
  3599. func (x *GetSnapshotResponse) Reset() {
  3600. *x = GetSnapshotResponse{}
  3601. mi := &file_hth_api_v1_hth_proto_msgTypes[28]
  3602. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3603. ms.StoreMessageInfo(mi)
  3604. }
  3605. func (x *GetSnapshotResponse) String() string {
  3606. return protoimpl.X.MessageStringOf(x)
  3607. }
  3608. func (*GetSnapshotResponse) ProtoMessage() {}
  3609. func (x *GetSnapshotResponse) ProtoReflect() protoreflect.Message {
  3610. mi := &file_hth_api_v1_hth_proto_msgTypes[28]
  3611. if x != nil {
  3612. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3613. if ms.LoadMessageInfo() == nil {
  3614. ms.StoreMessageInfo(mi)
  3615. }
  3616. return ms
  3617. }
  3618. return mi.MessageOf(x)
  3619. }
  3620. // Deprecated: Use GetSnapshotResponse.ProtoReflect.Descriptor instead.
  3621. func (*GetSnapshotResponse) Descriptor() ([]byte, []int) {
  3622. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{28}
  3623. }
  3624. func (x *GetSnapshotResponse) GetSnapshot() *Snapshot {
  3625. if x != nil {
  3626. return x.Snapshot
  3627. }
  3628. return nil
  3629. }
  3630. type SubscribeTelemetryRequest struct {
  3631. state protoimpl.MessageState `protogen:"open.v1"`
  3632. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  3633. ResumeAfterEventId uint64 `protobuf:"varint,2,opt,name=resume_after_event_id,json=resumeAfterEventId,proto3" json:"resume_after_event_id,omitempty"`
  3634. unknownFields protoimpl.UnknownFields
  3635. sizeCache protoimpl.SizeCache
  3636. }
  3637. func (x *SubscribeTelemetryRequest) Reset() {
  3638. *x = SubscribeTelemetryRequest{}
  3639. mi := &file_hth_api_v1_hth_proto_msgTypes[29]
  3640. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3641. ms.StoreMessageInfo(mi)
  3642. }
  3643. func (x *SubscribeTelemetryRequest) String() string {
  3644. return protoimpl.X.MessageStringOf(x)
  3645. }
  3646. func (*SubscribeTelemetryRequest) ProtoMessage() {}
  3647. func (x *SubscribeTelemetryRequest) ProtoReflect() protoreflect.Message {
  3648. mi := &file_hth_api_v1_hth_proto_msgTypes[29]
  3649. if x != nil {
  3650. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3651. if ms.LoadMessageInfo() == nil {
  3652. ms.StoreMessageInfo(mi)
  3653. }
  3654. return ms
  3655. }
  3656. return mi.MessageOf(x)
  3657. }
  3658. // Deprecated: Use SubscribeTelemetryRequest.ProtoReflect.Descriptor instead.
  3659. func (*SubscribeTelemetryRequest) Descriptor() ([]byte, []int) {
  3660. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{29}
  3661. }
  3662. func (x *SubscribeTelemetryRequest) GetDeviceId() string {
  3663. if x != nil {
  3664. return x.DeviceId
  3665. }
  3666. return ""
  3667. }
  3668. func (x *SubscribeTelemetryRequest) GetResumeAfterEventId() uint64 {
  3669. if x != nil {
  3670. return x.ResumeAfterEventId
  3671. }
  3672. return 0
  3673. }
  3674. type SubscribeEventsRequest struct {
  3675. state protoimpl.MessageState `protogen:"open.v1"`
  3676. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  3677. ResumeAfterEventId uint64 `protobuf:"varint,2,opt,name=resume_after_event_id,json=resumeAfterEventId,proto3" json:"resume_after_event_id,omitempty"`
  3678. unknownFields protoimpl.UnknownFields
  3679. sizeCache protoimpl.SizeCache
  3680. }
  3681. func (x *SubscribeEventsRequest) Reset() {
  3682. *x = SubscribeEventsRequest{}
  3683. mi := &file_hth_api_v1_hth_proto_msgTypes[30]
  3684. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3685. ms.StoreMessageInfo(mi)
  3686. }
  3687. func (x *SubscribeEventsRequest) String() string {
  3688. return protoimpl.X.MessageStringOf(x)
  3689. }
  3690. func (*SubscribeEventsRequest) ProtoMessage() {}
  3691. func (x *SubscribeEventsRequest) ProtoReflect() protoreflect.Message {
  3692. mi := &file_hth_api_v1_hth_proto_msgTypes[30]
  3693. if x != nil {
  3694. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3695. if ms.LoadMessageInfo() == nil {
  3696. ms.StoreMessageInfo(mi)
  3697. }
  3698. return ms
  3699. }
  3700. return mi.MessageOf(x)
  3701. }
  3702. // Deprecated: Use SubscribeEventsRequest.ProtoReflect.Descriptor instead.
  3703. func (*SubscribeEventsRequest) Descriptor() ([]byte, []int) {
  3704. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{30}
  3705. }
  3706. func (x *SubscribeEventsRequest) GetDeviceId() string {
  3707. if x != nil {
  3708. return x.DeviceId
  3709. }
  3710. return ""
  3711. }
  3712. func (x *SubscribeEventsRequest) GetResumeAfterEventId() uint64 {
  3713. if x != nil {
  3714. return x.ResumeAfterEventId
  3715. }
  3716. return 0
  3717. }
  3718. type GetFaultsRequest struct {
  3719. state protoimpl.MessageState `protogen:"open.v1"`
  3720. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  3721. IncludeInactive bool `protobuf:"varint,2,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
  3722. unknownFields protoimpl.UnknownFields
  3723. sizeCache protoimpl.SizeCache
  3724. }
  3725. func (x *GetFaultsRequest) Reset() {
  3726. *x = GetFaultsRequest{}
  3727. mi := &file_hth_api_v1_hth_proto_msgTypes[31]
  3728. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3729. ms.StoreMessageInfo(mi)
  3730. }
  3731. func (x *GetFaultsRequest) String() string {
  3732. return protoimpl.X.MessageStringOf(x)
  3733. }
  3734. func (*GetFaultsRequest) ProtoMessage() {}
  3735. func (x *GetFaultsRequest) ProtoReflect() protoreflect.Message {
  3736. mi := &file_hth_api_v1_hth_proto_msgTypes[31]
  3737. if x != nil {
  3738. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3739. if ms.LoadMessageInfo() == nil {
  3740. ms.StoreMessageInfo(mi)
  3741. }
  3742. return ms
  3743. }
  3744. return mi.MessageOf(x)
  3745. }
  3746. // Deprecated: Use GetFaultsRequest.ProtoReflect.Descriptor instead.
  3747. func (*GetFaultsRequest) Descriptor() ([]byte, []int) {
  3748. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{31}
  3749. }
  3750. func (x *GetFaultsRequest) GetDeviceId() string {
  3751. if x != nil {
  3752. return x.DeviceId
  3753. }
  3754. return ""
  3755. }
  3756. func (x *GetFaultsRequest) GetIncludeInactive() bool {
  3757. if x != nil {
  3758. return x.IncludeInactive
  3759. }
  3760. return false
  3761. }
  3762. type GetFaultsResponse struct {
  3763. state protoimpl.MessageState `protogen:"open.v1"`
  3764. Faults []*Fault `protobuf:"bytes,1,rep,name=faults,proto3" json:"faults,omitempty"`
  3765. DeviceFaultQuerySupported bool `protobuf:"varint,2,opt,name=device_fault_query_supported,json=deviceFaultQuerySupported,proto3" json:"device_fault_query_supported,omitempty"`
  3766. HostFaultReportingSupported bool `protobuf:"varint,3,opt,name=host_fault_reporting_supported,json=hostFaultReportingSupported,proto3" json:"host_fault_reporting_supported,omitempty"`
  3767. DeviceNativeFaultQuerySupported bool `protobuf:"varint,4,opt,name=device_native_fault_query_supported,json=deviceNativeFaultQuerySupported,proto3" json:"device_native_fault_query_supported,omitempty"`
  3768. DeviceFaultSource string `protobuf:"bytes,5,opt,name=device_fault_source,json=deviceFaultSource,proto3" json:"device_fault_source,omitempty"`
  3769. unknownFields protoimpl.UnknownFields
  3770. sizeCache protoimpl.SizeCache
  3771. }
  3772. func (x *GetFaultsResponse) Reset() {
  3773. *x = GetFaultsResponse{}
  3774. mi := &file_hth_api_v1_hth_proto_msgTypes[32]
  3775. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3776. ms.StoreMessageInfo(mi)
  3777. }
  3778. func (x *GetFaultsResponse) String() string {
  3779. return protoimpl.X.MessageStringOf(x)
  3780. }
  3781. func (*GetFaultsResponse) ProtoMessage() {}
  3782. func (x *GetFaultsResponse) ProtoReflect() protoreflect.Message {
  3783. mi := &file_hth_api_v1_hth_proto_msgTypes[32]
  3784. if x != nil {
  3785. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3786. if ms.LoadMessageInfo() == nil {
  3787. ms.StoreMessageInfo(mi)
  3788. }
  3789. return ms
  3790. }
  3791. return mi.MessageOf(x)
  3792. }
  3793. // Deprecated: Use GetFaultsResponse.ProtoReflect.Descriptor instead.
  3794. func (*GetFaultsResponse) Descriptor() ([]byte, []int) {
  3795. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{32}
  3796. }
  3797. func (x *GetFaultsResponse) GetFaults() []*Fault {
  3798. if x != nil {
  3799. return x.Faults
  3800. }
  3801. return nil
  3802. }
  3803. func (x *GetFaultsResponse) GetDeviceFaultQuerySupported() bool {
  3804. if x != nil {
  3805. return x.DeviceFaultQuerySupported
  3806. }
  3807. return false
  3808. }
  3809. func (x *GetFaultsResponse) GetHostFaultReportingSupported() bool {
  3810. if x != nil {
  3811. return x.HostFaultReportingSupported
  3812. }
  3813. return false
  3814. }
  3815. func (x *GetFaultsResponse) GetDeviceNativeFaultQuerySupported() bool {
  3816. if x != nil {
  3817. return x.DeviceNativeFaultQuerySupported
  3818. }
  3819. return false
  3820. }
  3821. func (x *GetFaultsResponse) GetDeviceFaultSource() string {
  3822. if x != nil {
  3823. return x.DeviceFaultSource
  3824. }
  3825. return ""
  3826. }
  3827. type WatchHealthRequest struct {
  3828. state protoimpl.MessageState `protogen:"open.v1"`
  3829. unknownFields protoimpl.UnknownFields
  3830. sizeCache protoimpl.SizeCache
  3831. }
  3832. func (x *WatchHealthRequest) Reset() {
  3833. *x = WatchHealthRequest{}
  3834. mi := &file_hth_api_v1_hth_proto_msgTypes[33]
  3835. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3836. ms.StoreMessageInfo(mi)
  3837. }
  3838. func (x *WatchHealthRequest) String() string {
  3839. return protoimpl.X.MessageStringOf(x)
  3840. }
  3841. func (*WatchHealthRequest) ProtoMessage() {}
  3842. func (x *WatchHealthRequest) ProtoReflect() protoreflect.Message {
  3843. mi := &file_hth_api_v1_hth_proto_msgTypes[33]
  3844. if x != nil {
  3845. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3846. if ms.LoadMessageInfo() == nil {
  3847. ms.StoreMessageInfo(mi)
  3848. }
  3849. return ms
  3850. }
  3851. return mi.MessageOf(x)
  3852. }
  3853. // Deprecated: Use WatchHealthRequest.ProtoReflect.Descriptor instead.
  3854. func (*WatchHealthRequest) Descriptor() ([]byte, []int) {
  3855. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{33}
  3856. }
  3857. type HealthStatus struct {
  3858. state protoimpl.MessageState `protogen:"open.v1"`
  3859. Host HostHealth `protobuf:"varint,1,opt,name=host,proto3,enum=hth.api.v1.HostHealth" json:"host,omitempty"`
  3860. Devices []*DeviceInfo `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
  3861. Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
  3862. ObserveService HostHealth `protobuf:"varint,4,opt,name=observe_service,json=observeService,proto3,enum=hth.api.v1.HostHealth" json:"observe_service,omitempty"`
  3863. ControlService HostHealth `protobuf:"varint,5,opt,name=control_service,json=controlService,proto3,enum=hth.api.v1.HostHealth" json:"control_service,omitempty"`
  3864. TransportState TransportState `protobuf:"varint,6,opt,name=transport_state,json=transportState,proto3,enum=hth.api.v1.TransportState" json:"transport_state,omitempty"`
  3865. DeviceReadiness DeviceReadiness `protobuf:"varint,7,opt,name=device_readiness,json=deviceReadiness,proto3,enum=hth.api.v1.DeviceReadiness" json:"device_readiness,omitempty"`
  3866. SafetyControlMode SafetyControlMode `protobuf:"varint,8,opt,name=safety_control_mode,json=safetyControlMode,proto3,enum=hth.api.v1.SafetyControlMode" json:"safety_control_mode,omitempty"`
  3867. unknownFields protoimpl.UnknownFields
  3868. sizeCache protoimpl.SizeCache
  3869. }
  3870. func (x *HealthStatus) Reset() {
  3871. *x = HealthStatus{}
  3872. mi := &file_hth_api_v1_hth_proto_msgTypes[34]
  3873. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3874. ms.StoreMessageInfo(mi)
  3875. }
  3876. func (x *HealthStatus) String() string {
  3877. return protoimpl.X.MessageStringOf(x)
  3878. }
  3879. func (*HealthStatus) ProtoMessage() {}
  3880. func (x *HealthStatus) ProtoReflect() protoreflect.Message {
  3881. mi := &file_hth_api_v1_hth_proto_msgTypes[34]
  3882. if x != nil {
  3883. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3884. if ms.LoadMessageInfo() == nil {
  3885. ms.StoreMessageInfo(mi)
  3886. }
  3887. return ms
  3888. }
  3889. return mi.MessageOf(x)
  3890. }
  3891. // Deprecated: Use HealthStatus.ProtoReflect.Descriptor instead.
  3892. func (*HealthStatus) Descriptor() ([]byte, []int) {
  3893. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{34}
  3894. }
  3895. func (x *HealthStatus) GetHost() HostHealth {
  3896. if x != nil {
  3897. return x.Host
  3898. }
  3899. return HostHealth_HOST_HEALTH_UNSPECIFIED
  3900. }
  3901. func (x *HealthStatus) GetDevices() []*DeviceInfo {
  3902. if x != nil {
  3903. return x.Devices
  3904. }
  3905. return nil
  3906. }
  3907. func (x *HealthStatus) GetMessage() string {
  3908. if x != nil {
  3909. return x.Message
  3910. }
  3911. return ""
  3912. }
  3913. func (x *HealthStatus) GetObserveService() HostHealth {
  3914. if x != nil {
  3915. return x.ObserveService
  3916. }
  3917. return HostHealth_HOST_HEALTH_UNSPECIFIED
  3918. }
  3919. func (x *HealthStatus) GetControlService() HostHealth {
  3920. if x != nil {
  3921. return x.ControlService
  3922. }
  3923. return HostHealth_HOST_HEALTH_UNSPECIFIED
  3924. }
  3925. func (x *HealthStatus) GetTransportState() TransportState {
  3926. if x != nil {
  3927. return x.TransportState
  3928. }
  3929. return TransportState_TRANSPORT_STATE_UNSPECIFIED
  3930. }
  3931. func (x *HealthStatus) GetDeviceReadiness() DeviceReadiness {
  3932. if x != nil {
  3933. return x.DeviceReadiness
  3934. }
  3935. return DeviceReadiness_DEVICE_READINESS_UNSPECIFIED
  3936. }
  3937. func (x *HealthStatus) GetSafetyControlMode() SafetyControlMode {
  3938. if x != nil {
  3939. return x.SafetyControlMode
  3940. }
  3941. return SafetyControlMode_SAFETY_CONTROL_MODE_UNSPECIFIED
  3942. }
  3943. type AcquireControlLeaseRequest struct {
  3944. state protoimpl.MessageState `protogen:"open.v1"`
  3945. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  3946. Holder string `protobuf:"bytes,2,opt,name=holder,proto3" json:"holder,omitempty"`
  3947. Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
  3948. unknownFields protoimpl.UnknownFields
  3949. sizeCache protoimpl.SizeCache
  3950. }
  3951. func (x *AcquireControlLeaseRequest) Reset() {
  3952. *x = AcquireControlLeaseRequest{}
  3953. mi := &file_hth_api_v1_hth_proto_msgTypes[35]
  3954. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3955. ms.StoreMessageInfo(mi)
  3956. }
  3957. func (x *AcquireControlLeaseRequest) String() string {
  3958. return protoimpl.X.MessageStringOf(x)
  3959. }
  3960. func (*AcquireControlLeaseRequest) ProtoMessage() {}
  3961. func (x *AcquireControlLeaseRequest) ProtoReflect() protoreflect.Message {
  3962. mi := &file_hth_api_v1_hth_proto_msgTypes[35]
  3963. if x != nil {
  3964. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3965. if ms.LoadMessageInfo() == nil {
  3966. ms.StoreMessageInfo(mi)
  3967. }
  3968. return ms
  3969. }
  3970. return mi.MessageOf(x)
  3971. }
  3972. // Deprecated: Use AcquireControlLeaseRequest.ProtoReflect.Descriptor instead.
  3973. func (*AcquireControlLeaseRequest) Descriptor() ([]byte, []int) {
  3974. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{35}
  3975. }
  3976. func (x *AcquireControlLeaseRequest) GetDeviceId() string {
  3977. if x != nil {
  3978. return x.DeviceId
  3979. }
  3980. return ""
  3981. }
  3982. func (x *AcquireControlLeaseRequest) GetHolder() string {
  3983. if x != nil {
  3984. return x.Holder
  3985. }
  3986. return ""
  3987. }
  3988. func (x *AcquireControlLeaseRequest) GetTtl() *durationpb.Duration {
  3989. if x != nil {
  3990. return x.Ttl
  3991. }
  3992. return nil
  3993. }
  3994. type RenewControlLeaseRequest struct {
  3995. state protoimpl.MessageState `protogen:"open.v1"`
  3996. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  3997. LeaseId string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
  3998. LeaseEpoch uint64 `protobuf:"varint,3,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
  3999. Ttl *durationpb.Duration `protobuf:"bytes,4,opt,name=ttl,proto3" json:"ttl,omitempty"`
  4000. unknownFields protoimpl.UnknownFields
  4001. sizeCache protoimpl.SizeCache
  4002. }
  4003. func (x *RenewControlLeaseRequest) Reset() {
  4004. *x = RenewControlLeaseRequest{}
  4005. mi := &file_hth_api_v1_hth_proto_msgTypes[36]
  4006. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4007. ms.StoreMessageInfo(mi)
  4008. }
  4009. func (x *RenewControlLeaseRequest) String() string {
  4010. return protoimpl.X.MessageStringOf(x)
  4011. }
  4012. func (*RenewControlLeaseRequest) ProtoMessage() {}
  4013. func (x *RenewControlLeaseRequest) ProtoReflect() protoreflect.Message {
  4014. mi := &file_hth_api_v1_hth_proto_msgTypes[36]
  4015. if x != nil {
  4016. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4017. if ms.LoadMessageInfo() == nil {
  4018. ms.StoreMessageInfo(mi)
  4019. }
  4020. return ms
  4021. }
  4022. return mi.MessageOf(x)
  4023. }
  4024. // Deprecated: Use RenewControlLeaseRequest.ProtoReflect.Descriptor instead.
  4025. func (*RenewControlLeaseRequest) Descriptor() ([]byte, []int) {
  4026. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{36}
  4027. }
  4028. func (x *RenewControlLeaseRequest) GetDeviceId() string {
  4029. if x != nil {
  4030. return x.DeviceId
  4031. }
  4032. return ""
  4033. }
  4034. func (x *RenewControlLeaseRequest) GetLeaseId() string {
  4035. if x != nil {
  4036. return x.LeaseId
  4037. }
  4038. return ""
  4039. }
  4040. func (x *RenewControlLeaseRequest) GetLeaseEpoch() uint64 {
  4041. if x != nil {
  4042. return x.LeaseEpoch
  4043. }
  4044. return 0
  4045. }
  4046. func (x *RenewControlLeaseRequest) GetTtl() *durationpb.Duration {
  4047. if x != nil {
  4048. return x.Ttl
  4049. }
  4050. return nil
  4051. }
  4052. type ReleaseControlLeaseRequest struct {
  4053. state protoimpl.MessageState `protogen:"open.v1"`
  4054. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  4055. LeaseId string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
  4056. LeaseEpoch uint64 `protobuf:"varint,3,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
  4057. unknownFields protoimpl.UnknownFields
  4058. sizeCache protoimpl.SizeCache
  4059. }
  4060. func (x *ReleaseControlLeaseRequest) Reset() {
  4061. *x = ReleaseControlLeaseRequest{}
  4062. mi := &file_hth_api_v1_hth_proto_msgTypes[37]
  4063. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4064. ms.StoreMessageInfo(mi)
  4065. }
  4066. func (x *ReleaseControlLeaseRequest) String() string {
  4067. return protoimpl.X.MessageStringOf(x)
  4068. }
  4069. func (*ReleaseControlLeaseRequest) ProtoMessage() {}
  4070. func (x *ReleaseControlLeaseRequest) ProtoReflect() protoreflect.Message {
  4071. mi := &file_hth_api_v1_hth_proto_msgTypes[37]
  4072. if x != nil {
  4073. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4074. if ms.LoadMessageInfo() == nil {
  4075. ms.StoreMessageInfo(mi)
  4076. }
  4077. return ms
  4078. }
  4079. return mi.MessageOf(x)
  4080. }
  4081. // Deprecated: Use ReleaseControlLeaseRequest.ProtoReflect.Descriptor instead.
  4082. func (*ReleaseControlLeaseRequest) Descriptor() ([]byte, []int) {
  4083. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{37}
  4084. }
  4085. func (x *ReleaseControlLeaseRequest) GetDeviceId() string {
  4086. if x != nil {
  4087. return x.DeviceId
  4088. }
  4089. return ""
  4090. }
  4091. func (x *ReleaseControlLeaseRequest) GetLeaseId() string {
  4092. if x != nil {
  4093. return x.LeaseId
  4094. }
  4095. return ""
  4096. }
  4097. func (x *ReleaseControlLeaseRequest) GetLeaseEpoch() uint64 {
  4098. if x != nil {
  4099. return x.LeaseEpoch
  4100. }
  4101. return 0
  4102. }
  4103. type LeaseResponse struct {
  4104. state protoimpl.MessageState `protogen:"open.v1"`
  4105. Lease *ControlLease `protobuf:"bytes,1,opt,name=lease,proto3" json:"lease,omitempty"`
  4106. unknownFields protoimpl.UnknownFields
  4107. sizeCache protoimpl.SizeCache
  4108. }
  4109. func (x *LeaseResponse) Reset() {
  4110. *x = LeaseResponse{}
  4111. mi := &file_hth_api_v1_hth_proto_msgTypes[38]
  4112. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4113. ms.StoreMessageInfo(mi)
  4114. }
  4115. func (x *LeaseResponse) String() string {
  4116. return protoimpl.X.MessageStringOf(x)
  4117. }
  4118. func (*LeaseResponse) ProtoMessage() {}
  4119. func (x *LeaseResponse) ProtoReflect() protoreflect.Message {
  4120. mi := &file_hth_api_v1_hth_proto_msgTypes[38]
  4121. if x != nil {
  4122. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4123. if ms.LoadMessageInfo() == nil {
  4124. ms.StoreMessageInfo(mi)
  4125. }
  4126. return ms
  4127. }
  4128. return mi.MessageOf(x)
  4129. }
  4130. // Deprecated: Use LeaseResponse.ProtoReflect.Descriptor instead.
  4131. func (*LeaseResponse) Descriptor() ([]byte, []int) {
  4132. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{38}
  4133. }
  4134. func (x *LeaseResponse) GetLease() *ControlLease {
  4135. if x != nil {
  4136. return x.Lease
  4137. }
  4138. return nil
  4139. }
  4140. type ValidateActionRequest struct {
  4141. state protoimpl.MessageState `protogen:"open.v1"`
  4142. Batch *ActionBatch `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"`
  4143. unknownFields protoimpl.UnknownFields
  4144. sizeCache protoimpl.SizeCache
  4145. }
  4146. func (x *ValidateActionRequest) Reset() {
  4147. *x = ValidateActionRequest{}
  4148. mi := &file_hth_api_v1_hth_proto_msgTypes[39]
  4149. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4150. ms.StoreMessageInfo(mi)
  4151. }
  4152. func (x *ValidateActionRequest) String() string {
  4153. return protoimpl.X.MessageStringOf(x)
  4154. }
  4155. func (*ValidateActionRequest) ProtoMessage() {}
  4156. func (x *ValidateActionRequest) ProtoReflect() protoreflect.Message {
  4157. mi := &file_hth_api_v1_hth_proto_msgTypes[39]
  4158. if x != nil {
  4159. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4160. if ms.LoadMessageInfo() == nil {
  4161. ms.StoreMessageInfo(mi)
  4162. }
  4163. return ms
  4164. }
  4165. return mi.MessageOf(x)
  4166. }
  4167. // Deprecated: Use ValidateActionRequest.ProtoReflect.Descriptor instead.
  4168. func (*ValidateActionRequest) Descriptor() ([]byte, []int) {
  4169. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{39}
  4170. }
  4171. func (x *ValidateActionRequest) GetBatch() *ActionBatch {
  4172. if x != nil {
  4173. return x.Batch
  4174. }
  4175. return nil
  4176. }
  4177. type ApplyActionRequest struct {
  4178. state protoimpl.MessageState `protogen:"open.v1"`
  4179. Batch *ActionBatch `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"`
  4180. unknownFields protoimpl.UnknownFields
  4181. sizeCache protoimpl.SizeCache
  4182. }
  4183. func (x *ApplyActionRequest) Reset() {
  4184. *x = ApplyActionRequest{}
  4185. mi := &file_hth_api_v1_hth_proto_msgTypes[40]
  4186. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4187. ms.StoreMessageInfo(mi)
  4188. }
  4189. func (x *ApplyActionRequest) String() string {
  4190. return protoimpl.X.MessageStringOf(x)
  4191. }
  4192. func (*ApplyActionRequest) ProtoMessage() {}
  4193. func (x *ApplyActionRequest) ProtoReflect() protoreflect.Message {
  4194. mi := &file_hth_api_v1_hth_proto_msgTypes[40]
  4195. if x != nil {
  4196. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4197. if ms.LoadMessageInfo() == nil {
  4198. ms.StoreMessageInfo(mi)
  4199. }
  4200. return ms
  4201. }
  4202. return mi.MessageOf(x)
  4203. }
  4204. // Deprecated: Use ApplyActionRequest.ProtoReflect.Descriptor instead.
  4205. func (*ApplyActionRequest) Descriptor() ([]byte, []int) {
  4206. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{40}
  4207. }
  4208. func (x *ApplyActionRequest) GetBatch() *ActionBatch {
  4209. if x != nil {
  4210. return x.Batch
  4211. }
  4212. return nil
  4213. }
  4214. type EnterSafeModeRequest struct {
  4215. state protoimpl.MessageState `protogen:"open.v1"`
  4216. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  4217. LeaseId string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
  4218. LeaseEpoch uint64 `protobuf:"varint,3,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
  4219. Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
  4220. unknownFields protoimpl.UnknownFields
  4221. sizeCache protoimpl.SizeCache
  4222. }
  4223. func (x *EnterSafeModeRequest) Reset() {
  4224. *x = EnterSafeModeRequest{}
  4225. mi := &file_hth_api_v1_hth_proto_msgTypes[41]
  4226. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4227. ms.StoreMessageInfo(mi)
  4228. }
  4229. func (x *EnterSafeModeRequest) String() string {
  4230. return protoimpl.X.MessageStringOf(x)
  4231. }
  4232. func (*EnterSafeModeRequest) ProtoMessage() {}
  4233. func (x *EnterSafeModeRequest) ProtoReflect() protoreflect.Message {
  4234. mi := &file_hth_api_v1_hth_proto_msgTypes[41]
  4235. if x != nil {
  4236. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4237. if ms.LoadMessageInfo() == nil {
  4238. ms.StoreMessageInfo(mi)
  4239. }
  4240. return ms
  4241. }
  4242. return mi.MessageOf(x)
  4243. }
  4244. // Deprecated: Use EnterSafeModeRequest.ProtoReflect.Descriptor instead.
  4245. func (*EnterSafeModeRequest) Descriptor() ([]byte, []int) {
  4246. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{41}
  4247. }
  4248. func (x *EnterSafeModeRequest) GetDeviceId() string {
  4249. if x != nil {
  4250. return x.DeviceId
  4251. }
  4252. return ""
  4253. }
  4254. func (x *EnterSafeModeRequest) GetLeaseId() string {
  4255. if x != nil {
  4256. return x.LeaseId
  4257. }
  4258. return ""
  4259. }
  4260. func (x *EnterSafeModeRequest) GetLeaseEpoch() uint64 {
  4261. if x != nil {
  4262. return x.LeaseEpoch
  4263. }
  4264. return 0
  4265. }
  4266. func (x *EnterSafeModeRequest) GetReason() string {
  4267. if x != nil {
  4268. return x.Reason
  4269. }
  4270. return ""
  4271. }
  4272. type ResumeFromSafeRequest struct {
  4273. state protoimpl.MessageState `protogen:"open.v1"`
  4274. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  4275. LeaseId string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
  4276. LeaseEpoch uint64 `protobuf:"varint,3,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
  4277. Batch *ActionBatch `protobuf:"bytes,4,opt,name=batch,proto3" json:"batch,omitempty"`
  4278. unknownFields protoimpl.UnknownFields
  4279. sizeCache protoimpl.SizeCache
  4280. }
  4281. func (x *ResumeFromSafeRequest) Reset() {
  4282. *x = ResumeFromSafeRequest{}
  4283. mi := &file_hth_api_v1_hth_proto_msgTypes[42]
  4284. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4285. ms.StoreMessageInfo(mi)
  4286. }
  4287. func (x *ResumeFromSafeRequest) String() string {
  4288. return protoimpl.X.MessageStringOf(x)
  4289. }
  4290. func (*ResumeFromSafeRequest) ProtoMessage() {}
  4291. func (x *ResumeFromSafeRequest) ProtoReflect() protoreflect.Message {
  4292. mi := &file_hth_api_v1_hth_proto_msgTypes[42]
  4293. if x != nil {
  4294. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4295. if ms.LoadMessageInfo() == nil {
  4296. ms.StoreMessageInfo(mi)
  4297. }
  4298. return ms
  4299. }
  4300. return mi.MessageOf(x)
  4301. }
  4302. // Deprecated: Use ResumeFromSafeRequest.ProtoReflect.Descriptor instead.
  4303. func (*ResumeFromSafeRequest) Descriptor() ([]byte, []int) {
  4304. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{42}
  4305. }
  4306. func (x *ResumeFromSafeRequest) GetDeviceId() string {
  4307. if x != nil {
  4308. return x.DeviceId
  4309. }
  4310. return ""
  4311. }
  4312. func (x *ResumeFromSafeRequest) GetLeaseId() string {
  4313. if x != nil {
  4314. return x.LeaseId
  4315. }
  4316. return ""
  4317. }
  4318. func (x *ResumeFromSafeRequest) GetLeaseEpoch() uint64 {
  4319. if x != nil {
  4320. return x.LeaseEpoch
  4321. }
  4322. return 0
  4323. }
  4324. func (x *ResumeFromSafeRequest) GetBatch() *ActionBatch {
  4325. if x != nil {
  4326. return x.Batch
  4327. }
  4328. return nil
  4329. }
  4330. type StepReplayRequest struct {
  4331. state protoimpl.MessageState `protogen:"open.v1"`
  4332. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
  4333. unknownFields protoimpl.UnknownFields
  4334. sizeCache protoimpl.SizeCache
  4335. }
  4336. func (x *StepReplayRequest) Reset() {
  4337. *x = StepReplayRequest{}
  4338. mi := &file_hth_api_v1_hth_proto_msgTypes[43]
  4339. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4340. ms.StoreMessageInfo(mi)
  4341. }
  4342. func (x *StepReplayRequest) String() string {
  4343. return protoimpl.X.MessageStringOf(x)
  4344. }
  4345. func (*StepReplayRequest) ProtoMessage() {}
  4346. func (x *StepReplayRequest) ProtoReflect() protoreflect.Message {
  4347. mi := &file_hth_api_v1_hth_proto_msgTypes[43]
  4348. if x != nil {
  4349. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4350. if ms.LoadMessageInfo() == nil {
  4351. ms.StoreMessageInfo(mi)
  4352. }
  4353. return ms
  4354. }
  4355. return mi.MessageOf(x)
  4356. }
  4357. // Deprecated: Use StepReplayRequest.ProtoReflect.Descriptor instead.
  4358. func (*StepReplayRequest) Descriptor() ([]byte, []int) {
  4359. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{43}
  4360. }
  4361. func (x *StepReplayRequest) GetDeviceId() string {
  4362. if x != nil {
  4363. return x.DeviceId
  4364. }
  4365. return ""
  4366. }
  4367. type StepReplayResponse struct {
  4368. state protoimpl.MessageState `protogen:"open.v1"`
  4369. Advanced bool `protobuf:"varint,1,opt,name=advanced,proto3" json:"advanced,omitempty"`
  4370. Event *Event `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
  4371. Snapshot *Snapshot `protobuf:"bytes,3,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
  4372. Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
  4373. unknownFields protoimpl.UnknownFields
  4374. sizeCache protoimpl.SizeCache
  4375. }
  4376. func (x *StepReplayResponse) Reset() {
  4377. *x = StepReplayResponse{}
  4378. mi := &file_hth_api_v1_hth_proto_msgTypes[44]
  4379. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4380. ms.StoreMessageInfo(mi)
  4381. }
  4382. func (x *StepReplayResponse) String() string {
  4383. return protoimpl.X.MessageStringOf(x)
  4384. }
  4385. func (*StepReplayResponse) ProtoMessage() {}
  4386. func (x *StepReplayResponse) ProtoReflect() protoreflect.Message {
  4387. mi := &file_hth_api_v1_hth_proto_msgTypes[44]
  4388. if x != nil {
  4389. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  4390. if ms.LoadMessageInfo() == nil {
  4391. ms.StoreMessageInfo(mi)
  4392. }
  4393. return ms
  4394. }
  4395. return mi.MessageOf(x)
  4396. }
  4397. // Deprecated: Use StepReplayResponse.ProtoReflect.Descriptor instead.
  4398. func (*StepReplayResponse) Descriptor() ([]byte, []int) {
  4399. return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{44}
  4400. }
  4401. func (x *StepReplayResponse) GetAdvanced() bool {
  4402. if x != nil {
  4403. return x.Advanced
  4404. }
  4405. return false
  4406. }
  4407. func (x *StepReplayResponse) GetEvent() *Event {
  4408. if x != nil {
  4409. return x.Event
  4410. }
  4411. return nil
  4412. }
  4413. func (x *StepReplayResponse) GetSnapshot() *Snapshot {
  4414. if x != nil {
  4415. return x.Snapshot
  4416. }
  4417. return nil
  4418. }
  4419. func (x *StepReplayResponse) GetMessage() string {
  4420. if x != nil {
  4421. return x.Message
  4422. }
  4423. return ""
  4424. }
  4425. var File_hth_api_v1_hth_proto protoreflect.FileDescriptor
  4426. const file_hth_api_v1_hth_proto_rawDesc = "" +
  4427. "\n" +
  4428. "\x14hth/api/v1/hth.proto\x12\n" +
  4429. "hth.api.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xaf\x03\n" +
  4430. "\vMeasurement\x12\x0e\n" +
  4431. "\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
  4432. "\x05value\x18\x02 \x01(\x01R\x05value\x12\x12\n" +
  4433. "\x04unit\x18\x03 \x01(\tR\x04unit\x121\n" +
  4434. "\aquality\x18\x04 \x01(\x0e2\x17.hth.api.v1.DataQualityR\aquality\x12%\n" +
  4435. "\x0equality_reason\x18\x05 \x01(\tR\rqualityReason\x12+\n" +
  4436. "\x03age\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\x03age\x127\n" +
  4437. "\thost_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\bhostTime\x12<\n" +
  4438. "\x1asource_timestamp_available\x18\b \x01(\bR\x18sourceTimestampAvailable\x12;\n" +
  4439. "\vsource_time\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\n" +
  4440. "sourceTime\x12\x1e\n" +
  4441. "\braw_code\x18\n" +
  4442. " \x01(\x05H\x00R\arawCode\x88\x01\x01B\v\n" +
  4443. "\t_raw_code\"\xec\x03\n" +
  4444. "\n" +
  4445. "TimeWindow\x12=\n" +
  4446. "\frequest_sent\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\vrequestSent\x12A\n" +
  4447. "\x0eresponse_start\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\rresponseStart\x12G\n" +
  4448. "\x11response_complete\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x10responseComplete\x12=\n" +
  4449. "\fhost_receive\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\vhostReceive\x12L\n" +
  4450. "\x14approx_acquire_start\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\x12approxAcquireStart\x12H\n" +
  4451. "\x12approx_acquire_end\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\x10approxAcquireEnd\x12<\n" +
  4452. "\x1asource_timestamp_available\x18\a \x01(\bR\x18sourceTimestampAvailable\"\xf3\x01\n" +
  4453. "\x0eDeviceIdentity\x12\x1b\n" +
  4454. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12!\n" +
  4455. "\fdisplay_name\x18\x02 \x01(\tR\vdisplayName\x12\x1d\n" +
  4456. "\n" +
  4457. "profile_id\x18\x03 \x01(\tR\tprofileId\x12)\n" +
  4458. "\x10profile_revision\x18\x04 \x01(\tR\x0fprofileRevision\x124\n" +
  4459. "\x16protocol_contract_hash\x18\x05 \x01(\tR\x14protocolContractHash\x12!\n" +
  4460. "\fbackend_kind\x18\x06 \x01(\tR\vbackendKind\"\xa7\x01\n" +
  4461. "\n" +
  4462. "DeviceInfo\x126\n" +
  4463. "\bidentity\x18\x01 \x01(\v2\x1a.hth.api.v1.DeviceIdentityR\bidentity\x12>\n" +
  4464. "\tlifecycle\x18\x02 \x01(\x0e2 .hth.api.v1.DeviceLifecycleStateR\tlifecycle\x12!\n" +
  4465. "\fdevice_epoch\x18\x03 \x01(\x04R\vdeviceEpoch\"+\n" +
  4466. "\x05Range\x12\x10\n" +
  4467. "\x03min\x18\x01 \x01(\x01R\x03min\x12\x10\n" +
  4468. "\x03max\x18\x02 \x01(\x01R\x03max\"\x8f\x05\n" +
  4469. "\x10SensorCapability\x12\x0e\n" +
  4470. "\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n" +
  4471. "\aaliases\x18\x02 \x03(\tR\aaliases\x12!\n" +
  4472. "\fdisplay_name\x18\x03 \x01(\tR\vdisplayName\x12*\n" +
  4473. "\x04kind\x18\x04 \x01(\x0e2\x16.hth.api.v1.SensorKindR\x04kind\x12\x12\n" +
  4474. "\x04unit\x18\x05 \x01(\tR\x04unit\x122\n" +
  4475. "\vvalid_range\x18\x06 \x01(\v2\x11.hth.api.v1.RangeR\n" +
  4476. "validRange\x12\x1e\n" +
  4477. "\n" +
  4478. "resolution\x18\a \x01(\x01R\n" +
  4479. "resolution\x12)\n" +
  4480. "\x10source_timestamp\x18\b \x01(\bR\x0fsourceTimestamp\x12-\n" +
  4481. "\x12mapping_confidence\x18\t \x01(\tR\x11mappingConfidence\x12\x17\n" +
  4482. "\ahood_id\x18\n" +
  4483. " \x01(\tR\x06hoodId\x12\x1d\n" +
  4484. "\n" +
  4485. "chamber_id\x18\v \x01(\tR\tchamberId\x12\x17\n" +
  4486. "\adimm_id\x18\f \x01(\tR\x06dimmId\x12\x1c\n" +
  4487. "\tconnector\x18\r \x01(\tR\tconnector\x12!\n" +
  4488. "\fsource_index\x18\x0e \x01(\x05R\vsourceIndex\x12>\n" +
  4489. "\rupdate_period\x18\x0f \x01(\v2\x19.google.protobuf.DurationR\fupdatePeriod\x12/\n" +
  4490. "\x13calibration_version\x18\x10 \x01(\tR\x12calibrationVersion\x12=\n" +
  4491. "\rfeedback_mode\x18\x11 \x01(\x0e2\x18.hth.api.v1.FeedbackModeR\ffeedbackMode\"\x9c\x05\n" +
  4492. "\x12ActuatorCapability\x12\x0e\n" +
  4493. "\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n" +
  4494. "\aaliases\x18\x02 \x03(\tR\aaliases\x12!\n" +
  4495. "\fdisplay_name\x18\x03 \x01(\tR\vdisplayName\x12,\n" +
  4496. "\x04kind\x18\x04 \x01(\x0e2\x18.hth.api.v1.ActuatorKindR\x04kind\x12\x12\n" +
  4497. "\x04unit\x18\x05 \x01(\tR\x04unit\x126\n" +
  4498. "\rcommand_range\x18\x06 \x01(\v2\x11.hth.api.v1.RangeR\fcommandRange\x12\x1e\n" +
  4499. "\n" +
  4500. "resolution\x18\a \x01(\x01R\n" +
  4501. "resolution\x12:\n" +
  4502. "\fcontrol_mode\x18\b \x01(\x0e2\x17.hth.api.v1.ControlModeR\vcontrolMode\x12=\n" +
  4503. "\rfeedback_mode\x18\t \x01(\x0e2\x18.hth.api.v1.FeedbackModeR\ffeedbackMode\x12\x1e\n" +
  4504. "\n" +
  4505. "idempotent\x18\n" +
  4506. " \x01(\bR\n" +
  4507. "idempotent\x12\x19\n" +
  4508. "\bone_shot\x18\v \x01(\bR\aoneShot\x12%\n" +
  4509. "\x0esafety_default\x18\f \x01(\x01R\rsafetyDefault\x12-\n" +
  4510. "\x13max_slew_per_second\x18\r \x01(\x01R\x10maxSlewPerSecond\x12'\n" +
  4511. "\x0factual_feedback\x18\x0e \x01(\bR\x0eactualFeedback\x12\x17\n" +
  4512. "\ahood_id\x18\x0f \x01(\tR\x06hoodId\x12\x1d\n" +
  4513. "\n" +
  4514. "chamber_id\x18\x10 \x01(\tR\tchamberId\x12\x1c\n" +
  4515. "\tconnector\x18\x11 \x01(\tR\tconnector\x12\x14\n" +
  4516. "\x05notes\x18\x12 \x01(\tR\x05notes\"\x8a\n" +
  4517. "\n" +
  4518. "\fCapabilities\x12\x1b\n" +
  4519. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x1d\n" +
  4520. "\n" +
  4521. "profile_id\x18\x02 \x01(\tR\tprofileId\x12)\n" +
  4522. "\x10profile_revision\x18\x03 \x01(\tR\x0fprofileRevision\x124\n" +
  4523. "\x16protocol_contract_hash\x18\x04 \x01(\tR\x14protocolContractHash\x12'\n" +
  4524. "\x0fcapability_hash\x18\x05 \x01(\tR\x0ecapabilityHash\x12\x1f\n" +
  4525. "\vapi_version\x18\x06 \x01(\tR\n" +
  4526. "apiVersion\x12)\n" +
  4527. "\x10firmware_version\x18\a \x01(\tR\x0ffirmwareVersion\x12Q\n" +
  4528. "\x18firmware_version_quality\x18\b \x01(\x0e2\x17.hth.api.v1.DataQualityR\x16firmwareVersionQuality\x12\x1d\n" +
  4529. "\n" +
  4530. "hood_count\x18\t \x01(\x05R\thoodCount\x12#\n" +
  4531. "\rchamber_count\x18\n" +
  4532. " \x01(\x05R\fchamberCount\x126\n" +
  4533. "\asensors\x18\v \x03(\v2\x1c.hth.api.v1.SensorCapabilityR\asensors\x12<\n" +
  4534. "\tactuators\x18\f \x03(\v2\x1e.hth.api.v1.ActuatorCapabilityR\tactuators\x12U\n" +
  4535. "\x19recommended_sample_period\x18\r \x01(\v2\x19.google.protobuf.DurationR\x17recommendedSamplePeriod\x12#\n" +
  4536. "\rack_supported\x18\x0e \x01(\bR\fackSupported\x124\n" +
  4537. "\x16status_query_supported\x18\x0f \x01(\bR\x14statusQuerySupported\x12>\n" +
  4538. "\x1bposition_feedback_supported\x18\x10 \x01(\bR\x19positionFeedbackSupported\x124\n" +
  4539. "\x16rpm_feedback_supported\x18\x11 \x01(\bR\x14rpmFeedbackSupported\x12?\n" +
  4540. "\x1cdevice_fault_query_supported\x18\x12 \x01(\bR\x19deviceFaultQuerySupported\x128\n" +
  4541. "\x18limit_readback_supported\x18\x13 \x01(\bR\x16limitReadbackSupported\x12'\n" +
  4542. "\x0freadiness_probe\x18\x14 \x01(\tR\x0ereadinessProbe\x12\x14\n" +
  4543. "\x05notes\x18\x15 \x01(\tR\x05notes\x126\n" +
  4544. "\x06timing\x18\x16 \x01(\v2\x1e.hth.api.v1.TimingCapabilitiesR\x06timing\x12C\n" +
  4545. "\x1ehost_fault_reporting_supported\x18\x17 \x01(\bR\x1bhostFaultReportingSupported\x12L\n" +
  4546. "#device_native_fault_query_supported\x18\x18 \x01(\bR\x1fdeviceNativeFaultQuerySupported\x12.\n" +
  4547. "\x13device_fault_source\x18\x19 \x01(\tR\x11deviceFaultSource\"\xc6\x05\n" +
  4548. "\x12TimingCapabilities\x12P\n" +
  4549. "%temperature_transaction_worst_case_ms\x18\x01 \x01(\rR!temperatureTransactionWorstCaseMs\x12:\n" +
  4550. "\x1amotor_status_worst_case_ms\x18\x02 \x01(\rR\x16motorStatusWorstCaseMs\x12B\n" +
  4551. "\x1econtrol_dispatch_worst_case_ms\x18\x03 \x01(\rR\x1acontrolDispatchWorstCaseMs\x12=\n" +
  4552. "\x1brecommended_rpc_deadline_ms\x18\x04 \x01(\rR\x18recommendedRpcDeadlineMs\x129\n" +
  4553. "\x19recommended_action_ttl_ms\x18\x05 \x01(\rR\x16recommendedActionTtlMs\x129\n" +
  4554. "\x19minimum_control_period_ms\x18\x06 \x01(\rR\x16minimumControlPeriodMs\x12?\n" +
  4555. "\x1crecommended_sample_period_ms\x18\a \x01(\rR\x19recommendedSamplePeriodMs\x12G\n" +
  4556. " max_unpreemptable_transaction_ms\x18\b \x01(\rR\x1dmaxUnpreemptableTransactionMs\x12*\n" +
  4557. "\x11control_window_ms\x18\t \x01(\rR\x0fcontrolWindowMs\x12.\n" +
  4558. "\x13scheduler_margin_ms\x18\n" +
  4559. " \x01(\rR\x11schedulerMarginMs\x12C\n" +
  4560. "\x1emax_pending_continuous_actions\x18\v \x01(\rR\x1bmaxPendingContinuousActions\"\xf4\x02\n" +
  4561. "\x11CommandedActuator\x12\x0e\n" +
  4562. "\x02id\x18\x01 \x01(\tR\x02id\x12)\n" +
  4563. "\x10commanded_target\x18\x02 \x01(\x01R\x0fcommandedTarget\x12>\n" +
  4564. "\x0eactual_quality\x18\x03 \x01(\x0e2\x17.hth.api.v1.DataQualityR\ractualQuality\x12&\n" +
  4565. "\factual_value\x18\x04 \x01(\x01H\x00R\vactualValue\x88\x01\x01\x12#\n" +
  4566. "\ractual_reason\x18\x05 \x01(\tR\factualReason\x12!\n" +
  4567. "\ftarget_epoch\x18\x06 \x01(\x04R\vtargetEpoch\x12#\n" +
  4568. "\rtarget_source\x18\a \x01(\tR\ftargetSource\x12>\n" +
  4569. "\x0etarget_quality\x18\b \x01(\x0e2\x17.hth.api.v1.DataQualityR\rtargetQualityB\x0f\n" +
  4570. "\r_actual_value\"\xd6\x01\n" +
  4571. "\n" +
  4572. "FieldAudit\x12\x0e\n" +
  4573. "\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n" +
  4574. "\bexplicit\x18\x02 \x01(\bR\bexplicit\x12\x1b\n" +
  4575. "\traw_value\x18\x03 \x01(\x01R\brawValue\x12!\n" +
  4576. "\fbefore_clamp\x18\x04 \x01(\x01R\vbeforeClamp\x12\x1f\n" +
  4577. "\vafter_clamp\x18\x05 \x01(\x01R\n" +
  4578. "afterClamp\x12\x18\n" +
  4579. "\aclamped\x18\x06 \x01(\bR\aclamped\x12!\n" +
  4580. "\fclamp_reason\x18\a \x01(\tR\vclampReason\"\xec\x04\n" +
  4581. "\fActionRecord\x12\x1d\n" +
  4582. "\n" +
  4583. "command_id\x18\x01 \x01(\tR\tcommandId\x12\x1b\n" +
  4584. "\tclient_id\x18\x02 \x01(\tR\bclientId\x12.\n" +
  4585. "\x04time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x04time\x12B\n" +
  4586. "\fconfirmation\x18\x04 \x01(\x0e2\x1e.hth.api.v1.ConfirmationStatusR\fconfirmation\x12;\n" +
  4587. "\tactuators\x18\x05 \x03(\v2\x1d.hth.api.v1.CommandedActuatorR\tactuators\x12\x16\n" +
  4588. "\x06origin\x18\x06 \x01(\tR\x06origin\x129\n" +
  4589. "\ffield_audits\x18\a \x03(\v2\x16.hth.api.v1.FieldAuditR\vfieldAudits\x127\n" +
  4590. "\vaction_mode\x18\b \x01(\x0e2\x16.hth.api.v1.ActionModeR\n" +
  4591. "actionMode\x12\x19\n" +
  4592. "\bpeer_uid\x18\t \x01(\x05R\apeerUid\x12\x19\n" +
  4593. "\bpeer_gid\x18\n" +
  4594. " \x01(\x05R\apeerGid\x12\x19\n" +
  4595. "\bpeer_pid\x18\v \x01(\x05R\apeerPid\x12F\n" +
  4596. "\x0edispatch_state\x18\f \x01(\x0e2\x1f.hth.api.v1.ActionDispatchStateR\rdispatchState\x12!\n" +
  4597. "\faction_epoch\x18\r \x01(\x04R\vactionEpoch\x12'\n" +
  4598. "\x0fport_generation\x18\x0e \x01(\x04R\x0eportGeneration\"\xb5\x01\n" +
  4599. "\fLeaseSummary\x12\x19\n" +
  4600. "\blease_id\x18\x01 \x01(\tR\aleaseId\x12\x1f\n" +
  4601. "\vlease_epoch\x18\x02 \x01(\x04R\n" +
  4602. "leaseEpoch\x12\x16\n" +
  4603. "\x06holder\x18\x03 \x01(\tR\x06holder\x129\n" +
  4604. "\n" +
  4605. "expires_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\x12\x16\n" +
  4606. "\x06active\x18\x05 \x01(\bR\x06active\"\xe1\f\n" +
  4607. "\bSnapshot\x12\x1b\n" +
  4608. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12,\n" +
  4609. "\x12daemon_instance_id\x18\x02 \x01(\tR\x10daemonInstanceId\x12!\n" +
  4610. "\fdevice_epoch\x18\x03 \x01(\x04R\vdeviceEpoch\x12!\n" +
  4611. "\fsnapshot_seq\x18\x04 \x01(\x04R\vsnapshotSeq\x12)\n" +
  4612. "\x10control_revision\x18\x05 \x01(\x04R\x0fcontrolRevision\x12\x19\n" +
  4613. "\bevent_id\x18\x06 \x01(\x04R\aeventId\x127\n" +
  4614. "\twall_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\bwallTime\x12!\n" +
  4615. "\fmonotonic_ns\x18\b \x01(\x04R\vmonotonicNs\x12=\n" +
  4616. "\x0ecapture_window\x18\t \x01(\v2\x16.hth.api.v1.TimeWindowR\rcaptureWindow\x12>\n" +
  4617. "\tlifecycle\x18\n" +
  4618. " \x01(\x0e2 .hth.api.v1.DeviceLifecycleStateR\tlifecycle\x12;\n" +
  4619. "\fmeasurements\x18\v \x03(\v2\x17.hth.api.v1.MeasurementR\fmeasurements\x12L\n" +
  4620. "\x12continuous_targets\x18\f \x03(\v2\x1d.hth.api.v1.CommandedActuatorR\x11continuousTargets\x12?\n" +
  4621. "\x0elast_requested\x18\r \x01(\v2\x18.hth.api.v1.ActionRecordR\rlastRequested\x12=\n" +
  4622. "\rlast_accepted\x18\x0e \x01(\v2\x18.hth.api.v1.ActionRecordR\flastAccepted\x12A\n" +
  4623. "\x0flast_dispatched\x18\x0f \x01(\v2\x18.hth.api.v1.ActionRecordR\x0elastDispatched\x12O\n" +
  4624. "\x13device_confirmation\x18\x10 \x01(\x0e2\x1e.hth.api.v1.ConfirmationStatusR\x12deviceConfirmation\x126\n" +
  4625. "\ractive_faults\x18\x11 \x03(\v2\x11.hth.api.v1.FaultR\factiveFaults\x12.\n" +
  4626. "\x05lease\x18\x12 \x01(\v2\x18.hth.api.v1.LeaseSummaryR\x05lease\x126\n" +
  4627. "\x17dropped_telemetry_count\x18\x13 \x01(\x04R\x15droppedTelemetryCount\x12\x19\n" +
  4628. "\bdata_gap\x18\x14 \x01(\bR\adataGap\x12C\n" +
  4629. "\x0ftransport_state\x18\x15 \x01(\x0e2\x1a.hth.api.v1.TransportStateR\x0etransportState\x12F\n" +
  4630. "\x10device_readiness\x18\x16 \x01(\x0e2\x1b.hth.api.v1.DeviceReadinessR\x0fdeviceReadiness\x12M\n" +
  4631. "\x13safety_control_mode\x18\x17 \x01(\x0e2\x1d.hth.api.v1.SafetyControlModeR\x11safetyControlMode\x12g\n" +
  4632. "\"last_successful_hardware_heartbeat\x18\x18 \x01(\v2\x1a.google.protobuf.TimestampR\x1flastSuccessfulHardwareHeartbeat\x12?\n" +
  4633. "\x1chardware_watchdog_timeout_ms\x18\x19 \x01(\rR\x19hardwareWatchdogTimeoutMs\x12?\n" +
  4634. "\x1cremaining_watchdog_margin_ms\x18\x1a \x01(\rR\x19remainingWatchdogMarginMs\x12Y\n" +
  4635. "\x18heartbeat_delivery_state\x18\x1b \x01(\x0e2\x1f.hth.api.v1.ActionDispatchStateR\x16heartbeatDeliveryState\x12'\n" +
  4636. "\x0fport_generation\x18\x1c \x01(\x04R\x0eportGeneration\"\xd3\x04\n" +
  4637. "\x05Fault\x12\x19\n" +
  4638. "\bfault_id\x18\x01 \x01(\tR\afaultId\x12)\n" +
  4639. "\x04type\x18\x02 \x01(\x0e2\x15.hth.api.v1.FaultTypeR\x04type\x125\n" +
  4640. "\bseverity\x18\x03 \x01(\x0e2\x19.hth.api.v1.FaultSeverityR\bseverity\x12,\n" +
  4641. "\x05class\x18\x04 \x01(\x0e2\x16.hth.api.v1.FaultClassR\x05class\x129\n" +
  4642. "\n" +
  4643. "first_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tfirstTime\x127\n" +
  4644. "\tlast_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\blastTime\x12\x16\n" +
  4645. "\x06active\x18\a \x01(\bR\x06active\x12\x18\n" +
  4646. "\alatched\x18\b \x01(\bR\alatched\x12\x14\n" +
  4647. "\x05count\x18\t \x01(\x04R\x05count\x12\x1b\n" +
  4648. "\tdevice_id\x18\n" +
  4649. " \x01(\tR\bdeviceId\x12\x1d\n" +
  4650. "\n" +
  4651. "command_id\x18\v \x01(\tR\tcommandId\x12!\n" +
  4652. "\fhuman_reason\x18\f \x01(\tR\vhumanReason\x12D\n" +
  4653. "\vdiagnostics\x18\r \x03(\v2\".hth.api.v1.Fault.DiagnosticsEntryR\vdiagnostics\x1a>\n" +
  4654. "\x10DiagnosticsEntry\x12\x10\n" +
  4655. "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
  4656. "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xec\x01\n" +
  4657. "\vDeliveryGap\x12#\n" +
  4658. "\rdropped_count\x18\x01 \x01(\x04R\fdroppedCount\x127\n" +
  4659. "\x18last_contiguous_event_id\x18\x02 \x01(\x04R\x15lastContiguousEventId\x12D\n" +
  4660. "\x1frequested_resume_after_event_id\x18\x03 \x01(\x04R\x1brequestedResumeAfterEventId\x129\n" +
  4661. "\x19oldest_available_event_id\x18\x04 \x01(\x04R\x16oldestAvailableEventId\"\xa9\x06\n" +
  4662. "\x05Event\x12\x19\n" +
  4663. "\bevent_id\x18\x01 \x01(\x04R\aeventId\x12)\n" +
  4664. "\x04kind\x18\x02 \x01(\x0e2\x15.hth.api.v1.EventKindR\x04kind\x127\n" +
  4665. "\twall_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\bwallTime\x12!\n" +
  4666. "\fmonotonic_ns\x18\x04 \x01(\x04R\vmonotonicNs\x12\x1b\n" +
  4667. "\tdevice_id\x18\x05 \x01(\tR\bdeviceId\x120\n" +
  4668. "\bsnapshot\x18\x06 \x01(\v2\x14.hth.api.v1.SnapshotR\bsnapshot\x12'\n" +
  4669. "\x05fault\x18\a \x01(\v2\x11.hth.api.v1.FaultR\x05fault\x12\x18\n" +
  4670. "\amessage\x18\b \x01(\tR\amessage\x121\n" +
  4671. "\x15resume_after_event_id\x18\t \x01(\x04R\x12resumeAfterEventId\x12#\n" +
  4672. "\rdropped_count\x18\n" +
  4673. " \x01(\x04R\fdroppedCount\x12&\n" +
  4674. "\x0fsource_event_id\x18\v \x01(\x04R\rsourceEventId\x12*\n" +
  4675. "\x11source_capture_id\x18\f \x01(\tR\x0fsourceCaptureId\x12(\n" +
  4676. "\x10source_device_id\x18\r \x01(\tR\x0esourceDeviceId\x129\n" +
  4677. "\x19source_daemon_instance_id\x18\x0e \x01(\tR\x16sourceDaemonInstanceId\x127\n" +
  4678. "\x18last_contiguous_event_id\x18\x0f \x01(\x04R\x15lastContiguousEventId\x12:\n" +
  4679. "\fdelivery_gap\x18\x10 \x01(\v2\x17.hth.api.v1.DeliveryGapR\vdeliveryGap\x12=\n" +
  4680. "\raction_result\x18\x11 \x01(\v2\x18.hth.api.v1.ActionResultR\factionResult\x12'\n" +
  4681. "\x0fport_generation\x18\x12 \x01(\x04R\x0eportGeneration\"8\n" +
  4682. "\x10ContinuousTarget\x12\x0e\n" +
  4683. "\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
  4684. "\x05value\x18\x02 \x01(\x01R\x05value\"K\n" +
  4685. "\x0fDiscreteCommand\x12\x0e\n" +
  4686. "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
  4687. "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
  4688. "\x05value\x18\x03 \x01(\x01R\x05value\"k\n" +
  4689. "\vClampRecord\x12\x0e\n" +
  4690. "\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n" +
  4691. "\boriginal\x18\x02 \x01(\x01R\boriginal\x12\x18\n" +
  4692. "\alimited\x18\x03 \x01(\x01R\alimited\x12\x16\n" +
  4693. "\x06reason\x18\x04 \x01(\tR\x06reason\"\xad\x04\n" +
  4694. "\vActionBatch\x12\x1b\n" +
  4695. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x1d\n" +
  4696. "\n" +
  4697. "command_id\x18\x02 \x01(\tR\tcommandId\x12\x19\n" +
  4698. "\blease_id\x18\x03 \x01(\tR\aleaseId\x12\x1f\n" +
  4699. "\vlease_epoch\x18\x04 \x01(\x04R\n" +
  4700. "leaseEpoch\x121\n" +
  4701. "\x15based_on_snapshot_seq\x18\x05 \x01(\x04R\x12basedOnSnapshotSeq\x12:\n" +
  4702. "\x19expected_control_revision\x18\x06 \x01(\x04R\x17expectedControlRevision\x12;\n" +
  4703. "\vvalid_until\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\n" +
  4704. "validUntil\x12K\n" +
  4705. "\x12continuous_targets\x18\b \x03(\v2\x1c.hth.api.v1.ContinuousTargetR\x11continuousTargets\x12H\n" +
  4706. "\x11discrete_commands\x18\t \x03(\v2\x1b.hth.api.v1.DiscreteCommandR\x10discreteCommands\x12\x1f\n" +
  4707. "\vallow_clamp\x18\n" +
  4708. " \x01(\bR\n" +
  4709. "allowClamp\x12\x1b\n" +
  4710. "\tclient_id\x18\v \x01(\tR\bclientId\x12%\n" +
  4711. "\x0epolicy_version\x18\f \x01(\tR\rpolicyVersion\"\xec\x06\n" +
  4712. "\fActionResult\x12\x1d\n" +
  4713. "\n" +
  4714. "command_id\x18\x01 \x01(\tR\tcommandId\x12\x1a\n" +
  4715. "\baccepted\x18\x02 \x01(\bR\baccepted\x12=\n" +
  4716. "\rreject_reason\x18\x03 \x01(\x0e2\x18.hth.api.v1.RejectReasonR\frejectReason\x12\x18\n" +
  4717. "\amessage\x18\x04 \x01(\tR\amessage\x12/\n" +
  4718. "\x06clamps\x18\x05 \x03(\v2\x17.hth.api.v1.ClampRecordR\x06clamps\x126\n" +
  4719. "\trequested\x18\x06 \x01(\v2\x18.hth.api.v1.ActionRecordR\trequested\x12A\n" +
  4720. "\x0faccepted_action\x18\a \x01(\v2\x18.hth.api.v1.ActionRecordR\x0eacceptedAction\x128\n" +
  4721. "\n" +
  4722. "dispatched\x18\b \x01(\v2\x18.hth.api.v1.ActionRecordR\n" +
  4723. "dispatched\x12B\n" +
  4724. "\fconfirmation\x18\t \x01(\x0e2\x1e.hth.api.v1.ConfirmationStatusR\fconfirmation\x12)\n" +
  4725. "\x10control_revision\x18\n" +
  4726. " \x01(\x04R\x0fcontrolRevision\x12!\n" +
  4727. "\fdevice_epoch\x18\v \x01(\x04R\vdeviceEpoch\x12.\n" +
  4728. "\x13replayed_from_cache\x18\f \x01(\bR\x11replayedFromCache\x12=\n" +
  4729. "\rraw_requested\x18\r \x01(\v2\x18.hth.api.v1.ActionRecordR\frawRequested\x12K\n" +
  4730. "\x14normalized_requested\x18\x0e \x01(\v2\x18.hth.api.v1.ActionRecordR\x13normalizedRequested\x12F\n" +
  4731. "\x0edispatch_state\x18\x0f \x01(\x0e2\x1f.hth.api.v1.ActionDispatchStateR\rdispatchState\x12#\n" +
  4732. "\raction_origin\x18\x10 \x01(\tR\factionOrigin\x12'\n" +
  4733. "\x0fport_generation\x18\x11 \x01(\x04R\x0eportGeneration\"\xc1\x02\n" +
  4734. "\fControlLease\x12\x19\n" +
  4735. "\blease_id\x18\x01 \x01(\tR\aleaseId\x12\x1f\n" +
  4736. "\vlease_epoch\x18\x02 \x01(\x04R\n" +
  4737. "leaseEpoch\x12\x1b\n" +
  4738. "\tdevice_id\x18\x03 \x01(\tR\bdeviceId\x12\x16\n" +
  4739. "\x06holder\x18\x04 \x01(\tR\x06holder\x129\n" +
  4740. "\n" +
  4741. "created_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
  4742. "\n" +
  4743. "expires_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\x122\n" +
  4744. "\amax_ttl\x18\a \x01(\v2\x19.google.protobuf.DurationR\x06maxTtl\x12\x16\n" +
  4745. "\x06active\x18\b \x01(\bR\x06active\"\x14\n" +
  4746. "\x12ListDevicesRequest\"G\n" +
  4747. "\x13ListDevicesResponse\x120\n" +
  4748. "\adevices\x18\x01 \x03(\v2\x16.hth.api.v1.DeviceInfoR\adevices\"5\n" +
  4749. "\x16GetCapabilitiesRequest\x12\x1b\n" +
  4750. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\"W\n" +
  4751. "\x17GetCapabilitiesResponse\x12<\n" +
  4752. "\fcapabilities\x18\x01 \x01(\v2\x18.hth.api.v1.CapabilitiesR\fcapabilities\"1\n" +
  4753. "\x12GetSnapshotRequest\x12\x1b\n" +
  4754. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\"G\n" +
  4755. "\x13GetSnapshotResponse\x120\n" +
  4756. "\bsnapshot\x18\x01 \x01(\v2\x14.hth.api.v1.SnapshotR\bsnapshot\"k\n" +
  4757. "\x19SubscribeTelemetryRequest\x12\x1b\n" +
  4758. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x121\n" +
  4759. "\x15resume_after_event_id\x18\x02 \x01(\x04R\x12resumeAfterEventId\"h\n" +
  4760. "\x16SubscribeEventsRequest\x12\x1b\n" +
  4761. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x121\n" +
  4762. "\x15resume_after_event_id\x18\x02 \x01(\x04R\x12resumeAfterEventId\"Z\n" +
  4763. "\x10GetFaultsRequest\x12\x1b\n" +
  4764. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12)\n" +
  4765. "\x10include_inactive\x18\x02 \x01(\bR\x0fincludeInactive\"\xc2\x02\n" +
  4766. "\x11GetFaultsResponse\x12)\n" +
  4767. "\x06faults\x18\x01 \x03(\v2\x11.hth.api.v1.FaultR\x06faults\x12?\n" +
  4768. "\x1cdevice_fault_query_supported\x18\x02 \x01(\bR\x19deviceFaultQuerySupported\x12C\n" +
  4769. "\x1ehost_fault_reporting_supported\x18\x03 \x01(\bR\x1bhostFaultReportingSupported\x12L\n" +
  4770. "#device_native_fault_query_supported\x18\x04 \x01(\bR\x1fdeviceNativeFaultQuerySupported\x12.\n" +
  4771. "\x13device_fault_source\x18\x05 \x01(\tR\x11deviceFaultSource\"\x14\n" +
  4772. "\x12WatchHealthRequest\"\xe4\x03\n" +
  4773. "\fHealthStatus\x12*\n" +
  4774. "\x04host\x18\x01 \x01(\x0e2\x16.hth.api.v1.HostHealthR\x04host\x120\n" +
  4775. "\adevices\x18\x02 \x03(\v2\x16.hth.api.v1.DeviceInfoR\adevices\x12\x18\n" +
  4776. "\amessage\x18\x03 \x01(\tR\amessage\x12?\n" +
  4777. "\x0fobserve_service\x18\x04 \x01(\x0e2\x16.hth.api.v1.HostHealthR\x0eobserveService\x12?\n" +
  4778. "\x0fcontrol_service\x18\x05 \x01(\x0e2\x16.hth.api.v1.HostHealthR\x0econtrolService\x12C\n" +
  4779. "\x0ftransport_state\x18\x06 \x01(\x0e2\x1a.hth.api.v1.TransportStateR\x0etransportState\x12F\n" +
  4780. "\x10device_readiness\x18\a \x01(\x0e2\x1b.hth.api.v1.DeviceReadinessR\x0fdeviceReadiness\x12M\n" +
  4781. "\x13safety_control_mode\x18\b \x01(\x0e2\x1d.hth.api.v1.SafetyControlModeR\x11safetyControlMode\"~\n" +
  4782. "\x1aAcquireControlLeaseRequest\x12\x1b\n" +
  4783. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x16\n" +
  4784. "\x06holder\x18\x02 \x01(\tR\x06holder\x12+\n" +
  4785. "\x03ttl\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\x03ttl\"\xa0\x01\n" +
  4786. "\x18RenewControlLeaseRequest\x12\x1b\n" +
  4787. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x19\n" +
  4788. "\blease_id\x18\x02 \x01(\tR\aleaseId\x12\x1f\n" +
  4789. "\vlease_epoch\x18\x03 \x01(\x04R\n" +
  4790. "leaseEpoch\x12+\n" +
  4791. "\x03ttl\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\x03ttl\"u\n" +
  4792. "\x1aReleaseControlLeaseRequest\x12\x1b\n" +
  4793. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x19\n" +
  4794. "\blease_id\x18\x02 \x01(\tR\aleaseId\x12\x1f\n" +
  4795. "\vlease_epoch\x18\x03 \x01(\x04R\n" +
  4796. "leaseEpoch\"?\n" +
  4797. "\rLeaseResponse\x12.\n" +
  4798. "\x05lease\x18\x01 \x01(\v2\x18.hth.api.v1.ControlLeaseR\x05lease\"F\n" +
  4799. "\x15ValidateActionRequest\x12-\n" +
  4800. "\x05batch\x18\x01 \x01(\v2\x17.hth.api.v1.ActionBatchR\x05batch\"C\n" +
  4801. "\x12ApplyActionRequest\x12-\n" +
  4802. "\x05batch\x18\x01 \x01(\v2\x17.hth.api.v1.ActionBatchR\x05batch\"\x87\x01\n" +
  4803. "\x14EnterSafeModeRequest\x12\x1b\n" +
  4804. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x19\n" +
  4805. "\blease_id\x18\x02 \x01(\tR\aleaseId\x12\x1f\n" +
  4806. "\vlease_epoch\x18\x03 \x01(\x04R\n" +
  4807. "leaseEpoch\x12\x16\n" +
  4808. "\x06reason\x18\x04 \x01(\tR\x06reason\"\x9f\x01\n" +
  4809. "\x15ResumeFromSafeRequest\x12\x1b\n" +
  4810. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x19\n" +
  4811. "\blease_id\x18\x02 \x01(\tR\aleaseId\x12\x1f\n" +
  4812. "\vlease_epoch\x18\x03 \x01(\x04R\n" +
  4813. "leaseEpoch\x12-\n" +
  4814. "\x05batch\x18\x04 \x01(\v2\x17.hth.api.v1.ActionBatchR\x05batch\"0\n" +
  4815. "\x11StepReplayRequest\x12\x1b\n" +
  4816. "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\"\xa5\x01\n" +
  4817. "\x12StepReplayResponse\x12\x1a\n" +
  4818. "\badvanced\x18\x01 \x01(\bR\badvanced\x12'\n" +
  4819. "\x05event\x18\x02 \x01(\v2\x11.hth.api.v1.EventR\x05event\x120\n" +
  4820. "\bsnapshot\x18\x03 \x01(\v2\x14.hth.api.v1.SnapshotR\bsnapshot\x12\x18\n" +
  4821. "\amessage\x18\x04 \x01(\tR\amessage*\xe2\x02\n" +
  4822. "\x14DeviceLifecycleState\x12&\n" +
  4823. "\"DEVICE_LIFECYCLE_STATE_UNSPECIFIED\x10\x00\x12#\n" +
  4824. "\x1fDEVICE_LIFECYCLE_STATE_STARTING\x10\x01\x12%\n" +
  4825. "!DEVICE_LIFECYCLE_STATE_CONNECTING\x10\x02\x12\"\n" +
  4826. "\x1eDEVICE_LIFECYCLE_STATE_PROBING\x10\x03\x12 \n" +
  4827. "\x1cDEVICE_LIFECYCLE_STATE_READY\x10\x04\x12#\n" +
  4828. "\x1fDEVICE_LIFECYCLE_STATE_DEGRADED\x10\x05\x12\x1f\n" +
  4829. "\x1bDEVICE_LIFECYCLE_STATE_SAFE\x10\x06\x12&\n" +
  4830. "\"DEVICE_LIFECYCLE_STATE_UNAVAILABLE\x10\a\x12\"\n" +
  4831. "\x1eDEVICE_LIFECYCLE_STATE_UNKNOWN\x10\b*\xe5\x01\n" +
  4832. "\vDataQuality\x12\x1c\n" +
  4833. "\x18DATA_QUALITY_UNSPECIFIED\x10\x00\x12\x16\n" +
  4834. "\x12DATA_QUALITY_VALID\x10\x01\x12\x16\n" +
  4835. "\x12DATA_QUALITY_STALE\x10\x02\x12\x18\n" +
  4836. "\x14DATA_QUALITY_MISSING\x10\x03\x12\x18\n" +
  4837. "\x14DATA_QUALITY_INVALID\x10\x04\x12\x1a\n" +
  4838. "\x16DATA_QUALITY_ESTIMATED\x10\x05\x12\x1e\n" +
  4839. "\x1aDATA_QUALITY_NOT_SUPPORTED\x10\x06\x12\x18\n" +
  4840. "\x14DATA_QUALITY_UNKNOWN\x10\a*\x9a\x02\n" +
  4841. "\x12ConfirmationStatus\x12#\n" +
  4842. "\x1fCONFIRMATION_STATUS_UNSPECIFIED\x10\x00\x12!\n" +
  4843. "\x1dCONFIRMATION_STATUS_CONFIRMED\x10\x01\x12#\n" +
  4844. "\x1fCONFIRMATION_STATUS_UNCONFIRMED\x10\x02\x12'\n" +
  4845. "#CONFIRMATION_STATUS_OUTCOME_UNKNOWN\x10\x03\x12 \n" +
  4846. "\x1cCONFIRMATION_STATUS_REJECTED\x10\x04\x12%\n" +
  4847. "!CONFIRMATION_STATUS_NOT_SUPPORTED\x10\x05\x12%\n" +
  4848. "!CONFIRMATION_STATUS_NOT_DELIVERED\x10\x06*\x92\x01\n" +
  4849. "\x0eTransportState\x12\x1f\n" +
  4850. "\x1bTRANSPORT_STATE_UNSPECIFIED\x10\x00\x12 \n" +
  4851. "\x1cTRANSPORT_STATE_DISCONNECTED\x10\x01\x12\x1e\n" +
  4852. "\x1aTRANSPORT_STATE_CONNECTING\x10\x02\x12\x1d\n" +
  4853. "\x19TRANSPORT_STATE_CONNECTED\x10\x03*\xab\x01\n" +
  4854. "\x0fDeviceReadiness\x12 \n" +
  4855. "\x1cDEVICE_READINESS_UNSPECIFIED\x10\x00\x12\x1d\n" +
  4856. "\x19DEVICE_READINESS_STARTING\x10\x01\x12\x1c\n" +
  4857. "\x18DEVICE_READINESS_PROBING\x10\x02\x12\x1a\n" +
  4858. "\x16DEVICE_READINESS_READY\x10\x03\x12\x1d\n" +
  4859. "\x19DEVICE_READINESS_DEGRADED\x10\x04*\xc4\x01\n" +
  4860. "\x11SafetyControlMode\x12#\n" +
  4861. "\x1fSAFETY_CONTROL_MODE_UNSPECIFIED\x10\x00\x12\x1e\n" +
  4862. "\x1aSAFETY_CONTROL_MODE_NORMAL\x10\x01\x12$\n" +
  4863. " SAFETY_CONTROL_MODE_SAFE_PENDING\x10\x02\x12\x1c\n" +
  4864. "\x18SAFETY_CONTROL_MODE_SAFE\x10\x03\x12&\n" +
  4865. "\"SAFETY_CONTROL_MODE_RESUME_PENDING\x10\x04*\xe3\x03\n" +
  4866. "\x13ActionDispatchState\x12%\n" +
  4867. "!ACTION_DISPATCH_STATE_UNSPECIFIED\x10\x00\x12#\n" +
  4868. "\x1fACTION_DISPATCH_STATE_REQUESTED\x10\x01\x12\"\n" +
  4869. "\x1eACTION_DISPATCH_STATE_ACCEPTED\x10\x02\x12 \n" +
  4870. "\x1cACTION_DISPATCH_STATE_QUEUED\x10\x03\x12*\n" +
  4871. "&ACTION_DISPATCH_STATE_DISPATCH_STARTED\x10\x04\x12$\n" +
  4872. " ACTION_DISPATCH_STATE_DISPATCHED\x10\x05\x12%\n" +
  4873. "!ACTION_DISPATCH_STATE_UNCONFIRMED\x10\x06\x12#\n" +
  4874. "\x1fACTION_DISPATCH_STATE_CONFIRMED\x10\a\x12)\n" +
  4875. "%ACTION_DISPATCH_STATE_OUTCOME_UNKNOWN\x10\b\x12'\n" +
  4876. "#ACTION_DISPATCH_STATE_NOT_DELIVERED\x10\t\x12\"\n" +
  4877. "\x1eACTION_DISPATCH_STATE_REJECTED\x10\n" +
  4878. "\x12$\n" +
  4879. " ACTION_DISPATCH_STATE_SUPERSEDED\x10\v*\x88\x01\n" +
  4880. "\vControlMode\x12\x1c\n" +
  4881. "\x18CONTROL_MODE_UNSPECIFIED\x10\x00\x12\x19\n" +
  4882. "\x15CONTROL_MODE_JOG_ONLY\x10\x01\x12\x1e\n" +
  4883. "\x1aCONTROL_MODE_PERCENT_CLOSE\x10\x02\x12 \n" +
  4884. "\x1cCONTROL_MODE_CONTINUOUS_DUTY\x10\x03*\xa7\x01\n" +
  4885. "\fFeedbackMode\x12\x1d\n" +
  4886. "\x19FEEDBACK_MODE_UNSPECIFIED\x10\x00\x12\x16\n" +
  4887. "\x12FEEDBACK_MODE_NONE\x10\x01\x12%\n" +
  4888. "!FEEDBACK_MODE_ESTIMATED_OPEN_LOOP\x10\x02\x12\x1e\n" +
  4889. "\x1aFEEDBACK_MODE_LIMIT_SWITCH\x10\x03\x12\x19\n" +
  4890. "\x15FEEDBACK_MODE_ENCODER\x10\x04*v\n" +
  4891. "\fActuatorKind\x12\x1d\n" +
  4892. "\x19ACTUATOR_KIND_UNSPECIFIED\x10\x00\x12\x15\n" +
  4893. "\x11ACTUATOR_KIND_FAN\x10\x01\x12\x18\n" +
  4894. "\x14ACTUATOR_KIND_HEATER\x10\x02\x12\x16\n" +
  4895. "\x12ACTUATOR_KIND_DOOR\x10\x03*\x88\x01\n" +
  4896. "\n" +
  4897. "SensorKind\x12\x1b\n" +
  4898. "\x17SENSOR_KIND_UNSPECIFIED\x10\x00\x12\x1b\n" +
  4899. "\x17SENSOR_KIND_TEMPERATURE\x10\x01\x12\x1c\n" +
  4900. "\x18SENSOR_KIND_LIMIT_SWITCH\x10\x02\x12\"\n" +
  4901. "\x1eSENSOR_KIND_ESTIMATED_POSITION\x10\x03*\x9b\x01\n" +
  4902. "\rFaultSeverity\x12\x1e\n" +
  4903. "\x1aFAULT_SEVERITY_UNSPECIFIED\x10\x00\x12\x17\n" +
  4904. "\x13FAULT_SEVERITY_INFO\x10\x01\x12\x1a\n" +
  4905. "\x16FAULT_SEVERITY_WARNING\x10\x02\x12\x18\n" +
  4906. "\x14FAULT_SEVERITY_ERROR\x10\x03\x12\x1b\n" +
  4907. "\x17FAULT_SEVERITY_CRITICAL\x10\x04*\xbe\x01\n" +
  4908. "\n" +
  4909. "FaultClass\x12\x1b\n" +
  4910. "\x17FAULT_CLASS_UNSPECIFIED\x10\x00\x12\x1f\n" +
  4911. "\x1bFAULT_CLASS_DEVICE_REPORTED\x10\x01\x12\x1d\n" +
  4912. "\x19FAULT_CLASS_HOST_INFERRED\x10\x02\x12\x16\n" +
  4913. "\x12FAULT_CLASS_CONFIG\x10\x03\x12\x1d\n" +
  4914. "\x19FAULT_CLASS_COMMUNICATION\x10\x04\x12\x1c\n" +
  4915. "\x18FAULT_CLASS_DATA_QUALITY\x10\x05*\x85\x06\n" +
  4916. "\tFaultType\x12\x1a\n" +
  4917. "\x16FAULT_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n" +
  4918. "\x19FAULT_TYPE_CONFIG_INVALID\x10\x01\x12\x1e\n" +
  4919. "\x1aFAULT_TYPE_PROFILE_INVALID\x10\x02\x12(\n" +
  4920. "$FAULT_TYPE_PROFILE_CONTRACT_MISMATCH\x10\x03\x12&\n" +
  4921. "\"FAULT_TYPE_SERIAL_DEVICE_NOT_FOUND\x10\x04\x12'\n" +
  4922. "#FAULT_TYPE_SERIAL_PERMISSION_DENIED\x10\x05\x12\"\n" +
  4923. "\x1eFAULT_TYPE_SERIAL_DISCONNECTED\x10\x06\x12\"\n" +
  4924. "\x1eFAULT_TYPE_SERIAL_RECONNECTING\x10\a\x12#\n" +
  4925. "\x1fFAULT_TYPE_FRAME_LENGTH_INVALID\x10\b\x12 \n" +
  4926. "\x1cFAULT_TYPE_FRAME_CRC_INVALID\x10\t\x12!\n" +
  4927. "\x1dFAULT_TYPE_FRAME_TYPE_UNKNOWN\x10\n" +
  4928. "\x12\x1f\n" +
  4929. "\x1bFAULT_TYPE_RESPONSE_TIMEOUT\x10\v\x12'\n" +
  4930. "#FAULT_TYPE_TEMPERATURE_DATA_INVALID\x10\f\x12\x1e\n" +
  4931. "\x1aFAULT_TYPE_TELEMETRY_STALE\x10\r\x12$\n" +
  4932. " FAULT_TYPE_CONTROL_LEASE_EXPIRED\x10\x0e\x12'\n" +
  4933. "#FAULT_TYPE_CONTROL_COMMAND_REJECTED\x10\x0f\x12&\n" +
  4934. "\"FAULT_TYPE_CONTROL_OUTCOME_UNKNOWN\x10\x10\x12(\n" +
  4935. "$FAULT_TYPE_SAFE_ACTION_NOT_DELIVERED\x10\x11\x12\"\n" +
  4936. "\x1eFAULT_TYPE_SUBSCRIBER_DATA_GAP\x10\x12\x12 \n" +
  4937. "\x1cFAULT_TYPE_DEVICE_AXIS_FAULT\x10\x13\x12\x1f\n" +
  4938. "\x1bFAULT_TYPE_WATCHDOG_TRIPPED\x10\x14*\xba\x04\n" +
  4939. "\tEventKind\x12\x1a\n" +
  4940. "\x16EVENT_KIND_UNSPECIFIED\x10\x00\x12\x17\n" +
  4941. "\x13EVENT_KIND_SNAPSHOT\x10\x01\x12\x1b\n" +
  4942. "\x17EVENT_KIND_FAULT_RAISED\x10\x02\x12\x1c\n" +
  4943. "\x18EVENT_KIND_FAULT_CLEARED\x10\x03\x12\x1d\n" +
  4944. "\x19EVENT_KIND_LEASE_ACQUIRED\x10\x04\x12\x1c\n" +
  4945. "\x18EVENT_KIND_LEASE_RENEWED\x10\x05\x12\x1d\n" +
  4946. "\x19EVENT_KIND_LEASE_RELEASED\x10\x06\x12\x1c\n" +
  4947. "\x18EVENT_KIND_LEASE_EXPIRED\x10\a\x12#\n" +
  4948. "\x1fEVENT_KIND_DEVICE_EPOCH_CHANGED\x10\b\x12\x17\n" +
  4949. "\x13EVENT_KIND_DATA_GAP\x10\t\x12 \n" +
  4950. "\x1cEVENT_KIND_SAFE_MODE_ENTERED\x10\n" +
  4951. "\x12!\n" +
  4952. "\x1dEVENT_KIND_WATCHDOG_HEARTBEAT\x10\v\x12\x1c\n" +
  4953. "\x18EVENT_KIND_ACTION_RESULT\x10\f\x12\x1c\n" +
  4954. "\x18EVENT_KIND_BACKEND_STATE\x10\r\x12\x1c\n" +
  4955. "\x18EVENT_KIND_FAULT_UPDATED\x10\x0e\x12!\n" +
  4956. "\x1dEVENT_KIND_FAULT_ACKNOWLEDGED\x10\x0f\x12\"\n" +
  4957. "\x1eEVENT_KIND_SAFETY_MODE_CHANGED\x10\x10\x12\x1f\n" +
  4958. "\x1bEVENT_KIND_RESUME_FROM_SAFE\x10\x11*y\n" +
  4959. "\n" +
  4960. "HostHealth\x12\x1b\n" +
  4961. "\x17HOST_HEALTH_UNSPECIFIED\x10\x00\x12\x17\n" +
  4962. "\x13HOST_HEALTH_SERVING\x10\x01\x12\x1b\n" +
  4963. "\x17HOST_HEALTH_NOT_SERVING\x10\x02\x12\x18\n" +
  4964. "\x14HOST_HEALTH_DEGRADED\x10\x03*r\n" +
  4965. "\n" +
  4966. "ActionMode\x12\x1b\n" +
  4967. "\x17ACTION_MODE_UNSPECIFIED\x10\x00\x12\x16\n" +
  4968. "\x12ACTION_MODE_NORMAL\x10\x01\x12\x14\n" +
  4969. "\x10ACTION_MODE_SAFE\x10\x02\x12\x19\n" +
  4970. "\x15ACTION_MODE_HEARTBEAT\x10\x03*\x8d\x06\n" +
  4971. "\fRejectReason\x12\x1d\n" +
  4972. "\x19REJECT_REASON_UNSPECIFIED\x10\x00\x12\"\n" +
  4973. "\x1eREJECT_REASON_INVALID_ARGUMENT\x10\x01\x12\x1c\n" +
  4974. "\x18REJECT_REASON_UNKNOWN_ID\x10\x02\x12\x1f\n" +
  4975. "\x1bREJECT_REASON_NOT_SUPPORTED\x10\x03\x12\x1e\n" +
  4976. "\x1aREJECT_REASON_OUT_OF_RANGE\x10\x04\x12 \n" +
  4977. "\x1cREJECT_REASON_CLAMP_REQUIRED\x10\x05\x12\x1f\n" +
  4978. "\x1bREJECT_REASON_LEASE_MISSING\x10\x06\x12 \n" +
  4979. "\x1cREJECT_REASON_LEASE_MISMATCH\x10\a\x12\x1f\n" +
  4980. "\x1bREJECT_REASON_LEASE_EXPIRED\x10\b\x12 \n" +
  4981. "\x1cREJECT_REASON_STALE_SNAPSHOT\x10\t\x12(\n" +
  4982. "$REJECT_REASON_STALE_CONTROL_REVISION\x10\n" +
  4983. "\x12\"\n" +
  4984. "\x1eREJECT_REASON_EXPIRED_DEADLINE\x10\v\x12&\n" +
  4985. "\"REJECT_REASON_IDEMPOTENCY_CONFLICT\x10\f\x12\"\n" +
  4986. "\x1eREJECT_REASON_DEVICE_NOT_READY\x10\r\x12\x1c\n" +
  4987. "\x18REJECT_REASON_QUEUE_FULL\x10\x0e\x12%\n" +
  4988. "!REJECT_REASON_ATOMIC_BATCH_FAILED\x10\x0f\x12\x1e\n" +
  4989. "\x1aREJECT_REASON_SLEW_LIMITED\x10\x10\x12\"\n" +
  4990. "\x1eREJECT_REASON_SAFE_MODE_ACTIVE\x10\x11\x12!\n" +
  4991. "\x1dREJECT_REASON_RESUME_REQUIRED\x10\x12\x12%\n" +
  4992. "!REJECT_REASON_PARTIAL_NOT_ALLOWED\x10\x13\x12\x1c\n" +
  4993. "\x18REJECT_REASON_SUPERSEDED\x10\x14\x12(\n" +
  4994. "$REJECT_REASON_SUPERSEDED_BY_SHUTDOWN\x10\x152\x8f\x05\n" +
  4995. "\x0eObserveService\x12N\n" +
  4996. "\vListDevices\x12\x1e.hth.api.v1.ListDevicesRequest\x1a\x1f.hth.api.v1.ListDevicesResponse\x12Z\n" +
  4997. "\x0fGetCapabilities\x12\".hth.api.v1.GetCapabilitiesRequest\x1a#.hth.api.v1.GetCapabilitiesResponse\x12N\n" +
  4998. "\vGetSnapshot\x12\x1e.hth.api.v1.GetSnapshotRequest\x1a\x1f.hth.api.v1.GetSnapshotResponse\x12S\n" +
  4999. "\x12SubscribeTelemetry\x12%.hth.api.v1.SubscribeTelemetryRequest\x1a\x14.hth.api.v1.Snapshot0\x01\x12J\n" +
  5000. "\x0fSubscribeEvents\x12\".hth.api.v1.SubscribeEventsRequest\x1a\x11.hth.api.v1.Event0\x01\x12H\n" +
  5001. "\tGetFaults\x12\x1c.hth.api.v1.GetFaultsRequest\x1a\x1d.hth.api.v1.GetFaultsResponse\x12I\n" +
  5002. "\vWatchHealth\x12\x1e.hth.api.v1.WatchHealthRequest\x1a\x18.hth.api.v1.HealthStatus0\x01\x12K\n" +
  5003. "\n" +
  5004. "StepReplay\x12\x1d.hth.api.v1.StepReplayRequest\x1a\x1e.hth.api.v1.StepReplayResponse2\x9b\x05\n" +
  5005. "\x0eControlService\x12X\n" +
  5006. "\x13AcquireControlLease\x12&.hth.api.v1.AcquireControlLeaseRequest\x1a\x19.hth.api.v1.LeaseResponse\x12T\n" +
  5007. "\x11RenewControlLease\x12$.hth.api.v1.RenewControlLeaseRequest\x1a\x19.hth.api.v1.LeaseResponse\x12X\n" +
  5008. "\x13ReleaseControlLease\x12&.hth.api.v1.ReleaseControlLeaseRequest\x1a\x19.hth.api.v1.LeaseResponse\x12M\n" +
  5009. "\x0eValidateAction\x12!.hth.api.v1.ValidateActionRequest\x1a\x18.hth.api.v1.ActionResult\x12G\n" +
  5010. "\vApplyAction\x12\x1e.hth.api.v1.ApplyActionRequest\x1a\x18.hth.api.v1.ActionResult\x12K\n" +
  5011. "\rEnterSafeMode\x12 .hth.api.v1.EnterSafeModeRequest\x1a\x18.hth.api.v1.ActionResult\x12M\n" +
  5012. "\x0eResumeFromSafe\x12!.hth.api.v1.ResumeFromSafeRequest\x1a\x18.hth.api.v1.ActionResult\x12K\n" +
  5013. "\n" +
  5014. "StepReplay\x12\x1d.hth.api.v1.StepReplayRequest\x1a\x1e.hth.api.v1.StepReplayResponseB#Z!hth/internal/gen/hth/api/v1;hthv1b\x06proto3"
  5015. var (
  5016. file_hth_api_v1_hth_proto_rawDescOnce sync.Once
  5017. file_hth_api_v1_hth_proto_rawDescData []byte
  5018. )
  5019. func file_hth_api_v1_hth_proto_rawDescGZIP() []byte {
  5020. file_hth_api_v1_hth_proto_rawDescOnce.Do(func() {
  5021. 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)))
  5022. })
  5023. return file_hth_api_v1_hth_proto_rawDescData
  5024. }
  5025. var file_hth_api_v1_hth_proto_enumTypes = make([]protoimpl.EnumInfo, 18)
  5026. var file_hth_api_v1_hth_proto_msgTypes = make([]protoimpl.MessageInfo, 46)
  5027. var file_hth_api_v1_hth_proto_goTypes = []any{
  5028. (DeviceLifecycleState)(0), // 0: hth.api.v1.DeviceLifecycleState
  5029. (DataQuality)(0), // 1: hth.api.v1.DataQuality
  5030. (ConfirmationStatus)(0), // 2: hth.api.v1.ConfirmationStatus
  5031. (TransportState)(0), // 3: hth.api.v1.TransportState
  5032. (DeviceReadiness)(0), // 4: hth.api.v1.DeviceReadiness
  5033. (SafetyControlMode)(0), // 5: hth.api.v1.SafetyControlMode
  5034. (ActionDispatchState)(0), // 6: hth.api.v1.ActionDispatchState
  5035. (ControlMode)(0), // 7: hth.api.v1.ControlMode
  5036. (FeedbackMode)(0), // 8: hth.api.v1.FeedbackMode
  5037. (ActuatorKind)(0), // 9: hth.api.v1.ActuatorKind
  5038. (SensorKind)(0), // 10: hth.api.v1.SensorKind
  5039. (FaultSeverity)(0), // 11: hth.api.v1.FaultSeverity
  5040. (FaultClass)(0), // 12: hth.api.v1.FaultClass
  5041. (FaultType)(0), // 13: hth.api.v1.FaultType
  5042. (EventKind)(0), // 14: hth.api.v1.EventKind
  5043. (HostHealth)(0), // 15: hth.api.v1.HostHealth
  5044. (ActionMode)(0), // 16: hth.api.v1.ActionMode
  5045. (RejectReason)(0), // 17: hth.api.v1.RejectReason
  5046. (*Measurement)(nil), // 18: hth.api.v1.Measurement
  5047. (*TimeWindow)(nil), // 19: hth.api.v1.TimeWindow
  5048. (*DeviceIdentity)(nil), // 20: hth.api.v1.DeviceIdentity
  5049. (*DeviceInfo)(nil), // 21: hth.api.v1.DeviceInfo
  5050. (*Range)(nil), // 22: hth.api.v1.Range
  5051. (*SensorCapability)(nil), // 23: hth.api.v1.SensorCapability
  5052. (*ActuatorCapability)(nil), // 24: hth.api.v1.ActuatorCapability
  5053. (*Capabilities)(nil), // 25: hth.api.v1.Capabilities
  5054. (*TimingCapabilities)(nil), // 26: hth.api.v1.TimingCapabilities
  5055. (*CommandedActuator)(nil), // 27: hth.api.v1.CommandedActuator
  5056. (*FieldAudit)(nil), // 28: hth.api.v1.FieldAudit
  5057. (*ActionRecord)(nil), // 29: hth.api.v1.ActionRecord
  5058. (*LeaseSummary)(nil), // 30: hth.api.v1.LeaseSummary
  5059. (*Snapshot)(nil), // 31: hth.api.v1.Snapshot
  5060. (*Fault)(nil), // 32: hth.api.v1.Fault
  5061. (*DeliveryGap)(nil), // 33: hth.api.v1.DeliveryGap
  5062. (*Event)(nil), // 34: hth.api.v1.Event
  5063. (*ContinuousTarget)(nil), // 35: hth.api.v1.ContinuousTarget
  5064. (*DiscreteCommand)(nil), // 36: hth.api.v1.DiscreteCommand
  5065. (*ClampRecord)(nil), // 37: hth.api.v1.ClampRecord
  5066. (*ActionBatch)(nil), // 38: hth.api.v1.ActionBatch
  5067. (*ActionResult)(nil), // 39: hth.api.v1.ActionResult
  5068. (*ControlLease)(nil), // 40: hth.api.v1.ControlLease
  5069. (*ListDevicesRequest)(nil), // 41: hth.api.v1.ListDevicesRequest
  5070. (*ListDevicesResponse)(nil), // 42: hth.api.v1.ListDevicesResponse
  5071. (*GetCapabilitiesRequest)(nil), // 43: hth.api.v1.GetCapabilitiesRequest
  5072. (*GetCapabilitiesResponse)(nil), // 44: hth.api.v1.GetCapabilitiesResponse
  5073. (*GetSnapshotRequest)(nil), // 45: hth.api.v1.GetSnapshotRequest
  5074. (*GetSnapshotResponse)(nil), // 46: hth.api.v1.GetSnapshotResponse
  5075. (*SubscribeTelemetryRequest)(nil), // 47: hth.api.v1.SubscribeTelemetryRequest
  5076. (*SubscribeEventsRequest)(nil), // 48: hth.api.v1.SubscribeEventsRequest
  5077. (*GetFaultsRequest)(nil), // 49: hth.api.v1.GetFaultsRequest
  5078. (*GetFaultsResponse)(nil), // 50: hth.api.v1.GetFaultsResponse
  5079. (*WatchHealthRequest)(nil), // 51: hth.api.v1.WatchHealthRequest
  5080. (*HealthStatus)(nil), // 52: hth.api.v1.HealthStatus
  5081. (*AcquireControlLeaseRequest)(nil), // 53: hth.api.v1.AcquireControlLeaseRequest
  5082. (*RenewControlLeaseRequest)(nil), // 54: hth.api.v1.RenewControlLeaseRequest
  5083. (*ReleaseControlLeaseRequest)(nil), // 55: hth.api.v1.ReleaseControlLeaseRequest
  5084. (*LeaseResponse)(nil), // 56: hth.api.v1.LeaseResponse
  5085. (*ValidateActionRequest)(nil), // 57: hth.api.v1.ValidateActionRequest
  5086. (*ApplyActionRequest)(nil), // 58: hth.api.v1.ApplyActionRequest
  5087. (*EnterSafeModeRequest)(nil), // 59: hth.api.v1.EnterSafeModeRequest
  5088. (*ResumeFromSafeRequest)(nil), // 60: hth.api.v1.ResumeFromSafeRequest
  5089. (*StepReplayRequest)(nil), // 61: hth.api.v1.StepReplayRequest
  5090. (*StepReplayResponse)(nil), // 62: hth.api.v1.StepReplayResponse
  5091. nil, // 63: hth.api.v1.Fault.DiagnosticsEntry
  5092. (*durationpb.Duration)(nil), // 64: google.protobuf.Duration
  5093. (*timestamppb.Timestamp)(nil), // 65: google.protobuf.Timestamp
  5094. }
  5095. var file_hth_api_v1_hth_proto_depIdxs = []int32{
  5096. 1, // 0: hth.api.v1.Measurement.quality:type_name -> hth.api.v1.DataQuality
  5097. 64, // 1: hth.api.v1.Measurement.age:type_name -> google.protobuf.Duration
  5098. 65, // 2: hth.api.v1.Measurement.host_time:type_name -> google.protobuf.Timestamp
  5099. 65, // 3: hth.api.v1.Measurement.source_time:type_name -> google.protobuf.Timestamp
  5100. 65, // 4: hth.api.v1.TimeWindow.request_sent:type_name -> google.protobuf.Timestamp
  5101. 65, // 5: hth.api.v1.TimeWindow.response_start:type_name -> google.protobuf.Timestamp
  5102. 65, // 6: hth.api.v1.TimeWindow.response_complete:type_name -> google.protobuf.Timestamp
  5103. 65, // 7: hth.api.v1.TimeWindow.host_receive:type_name -> google.protobuf.Timestamp
  5104. 65, // 8: hth.api.v1.TimeWindow.approx_acquire_start:type_name -> google.protobuf.Timestamp
  5105. 65, // 9: hth.api.v1.TimeWindow.approx_acquire_end:type_name -> google.protobuf.Timestamp
  5106. 20, // 10: hth.api.v1.DeviceInfo.identity:type_name -> hth.api.v1.DeviceIdentity
  5107. 0, // 11: hth.api.v1.DeviceInfo.lifecycle:type_name -> hth.api.v1.DeviceLifecycleState
  5108. 10, // 12: hth.api.v1.SensorCapability.kind:type_name -> hth.api.v1.SensorKind
  5109. 22, // 13: hth.api.v1.SensorCapability.valid_range:type_name -> hth.api.v1.Range
  5110. 64, // 14: hth.api.v1.SensorCapability.update_period:type_name -> google.protobuf.Duration
  5111. 8, // 15: hth.api.v1.SensorCapability.feedback_mode:type_name -> hth.api.v1.FeedbackMode
  5112. 9, // 16: hth.api.v1.ActuatorCapability.kind:type_name -> hth.api.v1.ActuatorKind
  5113. 22, // 17: hth.api.v1.ActuatorCapability.command_range:type_name -> hth.api.v1.Range
  5114. 7, // 18: hth.api.v1.ActuatorCapability.control_mode:type_name -> hth.api.v1.ControlMode
  5115. 8, // 19: hth.api.v1.ActuatorCapability.feedback_mode:type_name -> hth.api.v1.FeedbackMode
  5116. 1, // 20: hth.api.v1.Capabilities.firmware_version_quality:type_name -> hth.api.v1.DataQuality
  5117. 23, // 21: hth.api.v1.Capabilities.sensors:type_name -> hth.api.v1.SensorCapability
  5118. 24, // 22: hth.api.v1.Capabilities.actuators:type_name -> hth.api.v1.ActuatorCapability
  5119. 64, // 23: hth.api.v1.Capabilities.recommended_sample_period:type_name -> google.protobuf.Duration
  5120. 26, // 24: hth.api.v1.Capabilities.timing:type_name -> hth.api.v1.TimingCapabilities
  5121. 1, // 25: hth.api.v1.CommandedActuator.actual_quality:type_name -> hth.api.v1.DataQuality
  5122. 1, // 26: hth.api.v1.CommandedActuator.target_quality:type_name -> hth.api.v1.DataQuality
  5123. 65, // 27: hth.api.v1.ActionRecord.time:type_name -> google.protobuf.Timestamp
  5124. 2, // 28: hth.api.v1.ActionRecord.confirmation:type_name -> hth.api.v1.ConfirmationStatus
  5125. 27, // 29: hth.api.v1.ActionRecord.actuators:type_name -> hth.api.v1.CommandedActuator
  5126. 28, // 30: hth.api.v1.ActionRecord.field_audits:type_name -> hth.api.v1.FieldAudit
  5127. 16, // 31: hth.api.v1.ActionRecord.action_mode:type_name -> hth.api.v1.ActionMode
  5128. 6, // 32: hth.api.v1.ActionRecord.dispatch_state:type_name -> hth.api.v1.ActionDispatchState
  5129. 65, // 33: hth.api.v1.LeaseSummary.expires_at:type_name -> google.protobuf.Timestamp
  5130. 65, // 34: hth.api.v1.Snapshot.wall_time:type_name -> google.protobuf.Timestamp
  5131. 19, // 35: hth.api.v1.Snapshot.capture_window:type_name -> hth.api.v1.TimeWindow
  5132. 0, // 36: hth.api.v1.Snapshot.lifecycle:type_name -> hth.api.v1.DeviceLifecycleState
  5133. 18, // 37: hth.api.v1.Snapshot.measurements:type_name -> hth.api.v1.Measurement
  5134. 27, // 38: hth.api.v1.Snapshot.continuous_targets:type_name -> hth.api.v1.CommandedActuator
  5135. 29, // 39: hth.api.v1.Snapshot.last_requested:type_name -> hth.api.v1.ActionRecord
  5136. 29, // 40: hth.api.v1.Snapshot.last_accepted:type_name -> hth.api.v1.ActionRecord
  5137. 29, // 41: hth.api.v1.Snapshot.last_dispatched:type_name -> hth.api.v1.ActionRecord
  5138. 2, // 42: hth.api.v1.Snapshot.device_confirmation:type_name -> hth.api.v1.ConfirmationStatus
  5139. 32, // 43: hth.api.v1.Snapshot.active_faults:type_name -> hth.api.v1.Fault
  5140. 30, // 44: hth.api.v1.Snapshot.lease:type_name -> hth.api.v1.LeaseSummary
  5141. 3, // 45: hth.api.v1.Snapshot.transport_state:type_name -> hth.api.v1.TransportState
  5142. 4, // 46: hth.api.v1.Snapshot.device_readiness:type_name -> hth.api.v1.DeviceReadiness
  5143. 5, // 47: hth.api.v1.Snapshot.safety_control_mode:type_name -> hth.api.v1.SafetyControlMode
  5144. 65, // 48: hth.api.v1.Snapshot.last_successful_hardware_heartbeat:type_name -> google.protobuf.Timestamp
  5145. 6, // 49: hth.api.v1.Snapshot.heartbeat_delivery_state:type_name -> hth.api.v1.ActionDispatchState
  5146. 13, // 50: hth.api.v1.Fault.type:type_name -> hth.api.v1.FaultType
  5147. 11, // 51: hth.api.v1.Fault.severity:type_name -> hth.api.v1.FaultSeverity
  5148. 12, // 52: hth.api.v1.Fault.class:type_name -> hth.api.v1.FaultClass
  5149. 65, // 53: hth.api.v1.Fault.first_time:type_name -> google.protobuf.Timestamp
  5150. 65, // 54: hth.api.v1.Fault.last_time:type_name -> google.protobuf.Timestamp
  5151. 63, // 55: hth.api.v1.Fault.diagnostics:type_name -> hth.api.v1.Fault.DiagnosticsEntry
  5152. 14, // 56: hth.api.v1.Event.kind:type_name -> hth.api.v1.EventKind
  5153. 65, // 57: hth.api.v1.Event.wall_time:type_name -> google.protobuf.Timestamp
  5154. 31, // 58: hth.api.v1.Event.snapshot:type_name -> hth.api.v1.Snapshot
  5155. 32, // 59: hth.api.v1.Event.fault:type_name -> hth.api.v1.Fault
  5156. 33, // 60: hth.api.v1.Event.delivery_gap:type_name -> hth.api.v1.DeliveryGap
  5157. 39, // 61: hth.api.v1.Event.action_result:type_name -> hth.api.v1.ActionResult
  5158. 65, // 62: hth.api.v1.ActionBatch.valid_until:type_name -> google.protobuf.Timestamp
  5159. 35, // 63: hth.api.v1.ActionBatch.continuous_targets:type_name -> hth.api.v1.ContinuousTarget
  5160. 36, // 64: hth.api.v1.ActionBatch.discrete_commands:type_name -> hth.api.v1.DiscreteCommand
  5161. 17, // 65: hth.api.v1.ActionResult.reject_reason:type_name -> hth.api.v1.RejectReason
  5162. 37, // 66: hth.api.v1.ActionResult.clamps:type_name -> hth.api.v1.ClampRecord
  5163. 29, // 67: hth.api.v1.ActionResult.requested:type_name -> hth.api.v1.ActionRecord
  5164. 29, // 68: hth.api.v1.ActionResult.accepted_action:type_name -> hth.api.v1.ActionRecord
  5165. 29, // 69: hth.api.v1.ActionResult.dispatched:type_name -> hth.api.v1.ActionRecord
  5166. 2, // 70: hth.api.v1.ActionResult.confirmation:type_name -> hth.api.v1.ConfirmationStatus
  5167. 29, // 71: hth.api.v1.ActionResult.raw_requested:type_name -> hth.api.v1.ActionRecord
  5168. 29, // 72: hth.api.v1.ActionResult.normalized_requested:type_name -> hth.api.v1.ActionRecord
  5169. 6, // 73: hth.api.v1.ActionResult.dispatch_state:type_name -> hth.api.v1.ActionDispatchState
  5170. 65, // 74: hth.api.v1.ControlLease.created_at:type_name -> google.protobuf.Timestamp
  5171. 65, // 75: hth.api.v1.ControlLease.expires_at:type_name -> google.protobuf.Timestamp
  5172. 64, // 76: hth.api.v1.ControlLease.max_ttl:type_name -> google.protobuf.Duration
  5173. 21, // 77: hth.api.v1.ListDevicesResponse.devices:type_name -> hth.api.v1.DeviceInfo
  5174. 25, // 78: hth.api.v1.GetCapabilitiesResponse.capabilities:type_name -> hth.api.v1.Capabilities
  5175. 31, // 79: hth.api.v1.GetSnapshotResponse.snapshot:type_name -> hth.api.v1.Snapshot
  5176. 32, // 80: hth.api.v1.GetFaultsResponse.faults:type_name -> hth.api.v1.Fault
  5177. 15, // 81: hth.api.v1.HealthStatus.host:type_name -> hth.api.v1.HostHealth
  5178. 21, // 82: hth.api.v1.HealthStatus.devices:type_name -> hth.api.v1.DeviceInfo
  5179. 15, // 83: hth.api.v1.HealthStatus.observe_service:type_name -> hth.api.v1.HostHealth
  5180. 15, // 84: hth.api.v1.HealthStatus.control_service:type_name -> hth.api.v1.HostHealth
  5181. 3, // 85: hth.api.v1.HealthStatus.transport_state:type_name -> hth.api.v1.TransportState
  5182. 4, // 86: hth.api.v1.HealthStatus.device_readiness:type_name -> hth.api.v1.DeviceReadiness
  5183. 5, // 87: hth.api.v1.HealthStatus.safety_control_mode:type_name -> hth.api.v1.SafetyControlMode
  5184. 64, // 88: hth.api.v1.AcquireControlLeaseRequest.ttl:type_name -> google.protobuf.Duration
  5185. 64, // 89: hth.api.v1.RenewControlLeaseRequest.ttl:type_name -> google.protobuf.Duration
  5186. 40, // 90: hth.api.v1.LeaseResponse.lease:type_name -> hth.api.v1.ControlLease
  5187. 38, // 91: hth.api.v1.ValidateActionRequest.batch:type_name -> hth.api.v1.ActionBatch
  5188. 38, // 92: hth.api.v1.ApplyActionRequest.batch:type_name -> hth.api.v1.ActionBatch
  5189. 38, // 93: hth.api.v1.ResumeFromSafeRequest.batch:type_name -> hth.api.v1.ActionBatch
  5190. 34, // 94: hth.api.v1.StepReplayResponse.event:type_name -> hth.api.v1.Event
  5191. 31, // 95: hth.api.v1.StepReplayResponse.snapshot:type_name -> hth.api.v1.Snapshot
  5192. 41, // 96: hth.api.v1.ObserveService.ListDevices:input_type -> hth.api.v1.ListDevicesRequest
  5193. 43, // 97: hth.api.v1.ObserveService.GetCapabilities:input_type -> hth.api.v1.GetCapabilitiesRequest
  5194. 45, // 98: hth.api.v1.ObserveService.GetSnapshot:input_type -> hth.api.v1.GetSnapshotRequest
  5195. 47, // 99: hth.api.v1.ObserveService.SubscribeTelemetry:input_type -> hth.api.v1.SubscribeTelemetryRequest
  5196. 48, // 100: hth.api.v1.ObserveService.SubscribeEvents:input_type -> hth.api.v1.SubscribeEventsRequest
  5197. 49, // 101: hth.api.v1.ObserveService.GetFaults:input_type -> hth.api.v1.GetFaultsRequest
  5198. 51, // 102: hth.api.v1.ObserveService.WatchHealth:input_type -> hth.api.v1.WatchHealthRequest
  5199. 61, // 103: hth.api.v1.ObserveService.StepReplay:input_type -> hth.api.v1.StepReplayRequest
  5200. 53, // 104: hth.api.v1.ControlService.AcquireControlLease:input_type -> hth.api.v1.AcquireControlLeaseRequest
  5201. 54, // 105: hth.api.v1.ControlService.RenewControlLease:input_type -> hth.api.v1.RenewControlLeaseRequest
  5202. 55, // 106: hth.api.v1.ControlService.ReleaseControlLease:input_type -> hth.api.v1.ReleaseControlLeaseRequest
  5203. 57, // 107: hth.api.v1.ControlService.ValidateAction:input_type -> hth.api.v1.ValidateActionRequest
  5204. 58, // 108: hth.api.v1.ControlService.ApplyAction:input_type -> hth.api.v1.ApplyActionRequest
  5205. 59, // 109: hth.api.v1.ControlService.EnterSafeMode:input_type -> hth.api.v1.EnterSafeModeRequest
  5206. 60, // 110: hth.api.v1.ControlService.ResumeFromSafe:input_type -> hth.api.v1.ResumeFromSafeRequest
  5207. 61, // 111: hth.api.v1.ControlService.StepReplay:input_type -> hth.api.v1.StepReplayRequest
  5208. 42, // 112: hth.api.v1.ObserveService.ListDevices:output_type -> hth.api.v1.ListDevicesResponse
  5209. 44, // 113: hth.api.v1.ObserveService.GetCapabilities:output_type -> hth.api.v1.GetCapabilitiesResponse
  5210. 46, // 114: hth.api.v1.ObserveService.GetSnapshot:output_type -> hth.api.v1.GetSnapshotResponse
  5211. 31, // 115: hth.api.v1.ObserveService.SubscribeTelemetry:output_type -> hth.api.v1.Snapshot
  5212. 34, // 116: hth.api.v1.ObserveService.SubscribeEvents:output_type -> hth.api.v1.Event
  5213. 50, // 117: hth.api.v1.ObserveService.GetFaults:output_type -> hth.api.v1.GetFaultsResponse
  5214. 52, // 118: hth.api.v1.ObserveService.WatchHealth:output_type -> hth.api.v1.HealthStatus
  5215. 62, // 119: hth.api.v1.ObserveService.StepReplay:output_type -> hth.api.v1.StepReplayResponse
  5216. 56, // 120: hth.api.v1.ControlService.AcquireControlLease:output_type -> hth.api.v1.LeaseResponse
  5217. 56, // 121: hth.api.v1.ControlService.RenewControlLease:output_type -> hth.api.v1.LeaseResponse
  5218. 56, // 122: hth.api.v1.ControlService.ReleaseControlLease:output_type -> hth.api.v1.LeaseResponse
  5219. 39, // 123: hth.api.v1.ControlService.ValidateAction:output_type -> hth.api.v1.ActionResult
  5220. 39, // 124: hth.api.v1.ControlService.ApplyAction:output_type -> hth.api.v1.ActionResult
  5221. 39, // 125: hth.api.v1.ControlService.EnterSafeMode:output_type -> hth.api.v1.ActionResult
  5222. 39, // 126: hth.api.v1.ControlService.ResumeFromSafe:output_type -> hth.api.v1.ActionResult
  5223. 62, // 127: hth.api.v1.ControlService.StepReplay:output_type -> hth.api.v1.StepReplayResponse
  5224. 112, // [112:128] is the sub-list for method output_type
  5225. 96, // [96:112] is the sub-list for method input_type
  5226. 96, // [96:96] is the sub-list for extension type_name
  5227. 96, // [96:96] is the sub-list for extension extendee
  5228. 0, // [0:96] is the sub-list for field type_name
  5229. }
  5230. func init() { file_hth_api_v1_hth_proto_init() }
  5231. func file_hth_api_v1_hth_proto_init() {
  5232. if File_hth_api_v1_hth_proto != nil {
  5233. return
  5234. }
  5235. file_hth_api_v1_hth_proto_msgTypes[0].OneofWrappers = []any{}
  5236. file_hth_api_v1_hth_proto_msgTypes[9].OneofWrappers = []any{}
  5237. type x struct{}
  5238. out := protoimpl.TypeBuilder{
  5239. File: protoimpl.DescBuilder{
  5240. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  5241. RawDescriptor: unsafe.Slice(unsafe.StringData(file_hth_api_v1_hth_proto_rawDesc), len(file_hth_api_v1_hth_proto_rawDesc)),
  5242. NumEnums: 18,
  5243. NumMessages: 46,
  5244. NumExtensions: 0,
  5245. NumServices: 2,
  5246. },
  5247. GoTypes: file_hth_api_v1_hth_proto_goTypes,
  5248. DependencyIndexes: file_hth_api_v1_hth_proto_depIdxs,
  5249. EnumInfos: file_hth_api_v1_hth_proto_enumTypes,
  5250. MessageInfos: file_hth_api_v1_hth_proto_msgTypes,
  5251. }.Build()
  5252. File_hth_api_v1_hth_proto = out.File
  5253. file_hth_api_v1_hth_proto_goTypes = nil
  5254. file_hth_api_v1_hth_proto_depIdxs = nil
  5255. }