hth.pb.go 205 KB

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