| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.10
- // protoc v5.29.3
- // source: hth/api/v1/hth.proto
- package hthv1
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- durationpb "google.golang.org/protobuf/types/known/durationpb"
- timestamppb "google.golang.org/protobuf/types/known/timestamppb"
- reflect "reflect"
- sync "sync"
- unsafe "unsafe"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type DeviceLifecycleState int32
- const (
- DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_UNSPECIFIED DeviceLifecycleState = 0
- DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_STARTING DeviceLifecycleState = 1
- DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_CONNECTING DeviceLifecycleState = 2
- DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_PROBING DeviceLifecycleState = 3
- DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_READY DeviceLifecycleState = 4
- DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_DEGRADED DeviceLifecycleState = 5
- DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_SAFE DeviceLifecycleState = 6
- DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_UNAVAILABLE DeviceLifecycleState = 7
- DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_UNKNOWN DeviceLifecycleState = 8
- )
- // Enum value maps for DeviceLifecycleState.
- var (
- DeviceLifecycleState_name = map[int32]string{
- 0: "DEVICE_LIFECYCLE_STATE_UNSPECIFIED",
- 1: "DEVICE_LIFECYCLE_STATE_STARTING",
- 2: "DEVICE_LIFECYCLE_STATE_CONNECTING",
- 3: "DEVICE_LIFECYCLE_STATE_PROBING",
- 4: "DEVICE_LIFECYCLE_STATE_READY",
- 5: "DEVICE_LIFECYCLE_STATE_DEGRADED",
- 6: "DEVICE_LIFECYCLE_STATE_SAFE",
- 7: "DEVICE_LIFECYCLE_STATE_UNAVAILABLE",
- 8: "DEVICE_LIFECYCLE_STATE_UNKNOWN",
- }
- DeviceLifecycleState_value = map[string]int32{
- "DEVICE_LIFECYCLE_STATE_UNSPECIFIED": 0,
- "DEVICE_LIFECYCLE_STATE_STARTING": 1,
- "DEVICE_LIFECYCLE_STATE_CONNECTING": 2,
- "DEVICE_LIFECYCLE_STATE_PROBING": 3,
- "DEVICE_LIFECYCLE_STATE_READY": 4,
- "DEVICE_LIFECYCLE_STATE_DEGRADED": 5,
- "DEVICE_LIFECYCLE_STATE_SAFE": 6,
- "DEVICE_LIFECYCLE_STATE_UNAVAILABLE": 7,
- "DEVICE_LIFECYCLE_STATE_UNKNOWN": 8,
- }
- )
- func (x DeviceLifecycleState) Enum() *DeviceLifecycleState {
- p := new(DeviceLifecycleState)
- *p = x
- return p
- }
- func (x DeviceLifecycleState) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (DeviceLifecycleState) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[0].Descriptor()
- }
- func (DeviceLifecycleState) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[0]
- }
- func (x DeviceLifecycleState) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use DeviceLifecycleState.Descriptor instead.
- func (DeviceLifecycleState) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{0}
- }
- type DataQuality int32
- const (
- DataQuality_DATA_QUALITY_UNSPECIFIED DataQuality = 0
- DataQuality_DATA_QUALITY_VALID DataQuality = 1
- DataQuality_DATA_QUALITY_STALE DataQuality = 2
- DataQuality_DATA_QUALITY_MISSING DataQuality = 3
- DataQuality_DATA_QUALITY_INVALID DataQuality = 4
- DataQuality_DATA_QUALITY_ESTIMATED DataQuality = 5
- DataQuality_DATA_QUALITY_NOT_SUPPORTED DataQuality = 6
- DataQuality_DATA_QUALITY_UNKNOWN DataQuality = 7
- )
- // Enum value maps for DataQuality.
- var (
- DataQuality_name = map[int32]string{
- 0: "DATA_QUALITY_UNSPECIFIED",
- 1: "DATA_QUALITY_VALID",
- 2: "DATA_QUALITY_STALE",
- 3: "DATA_QUALITY_MISSING",
- 4: "DATA_QUALITY_INVALID",
- 5: "DATA_QUALITY_ESTIMATED",
- 6: "DATA_QUALITY_NOT_SUPPORTED",
- 7: "DATA_QUALITY_UNKNOWN",
- }
- DataQuality_value = map[string]int32{
- "DATA_QUALITY_UNSPECIFIED": 0,
- "DATA_QUALITY_VALID": 1,
- "DATA_QUALITY_STALE": 2,
- "DATA_QUALITY_MISSING": 3,
- "DATA_QUALITY_INVALID": 4,
- "DATA_QUALITY_ESTIMATED": 5,
- "DATA_QUALITY_NOT_SUPPORTED": 6,
- "DATA_QUALITY_UNKNOWN": 7,
- }
- )
- func (x DataQuality) Enum() *DataQuality {
- p := new(DataQuality)
- *p = x
- return p
- }
- func (x DataQuality) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (DataQuality) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[1].Descriptor()
- }
- func (DataQuality) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[1]
- }
- func (x DataQuality) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use DataQuality.Descriptor instead.
- func (DataQuality) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{1}
- }
- type ConfirmationStatus int32
- const (
- ConfirmationStatus_CONFIRMATION_STATUS_UNSPECIFIED ConfirmationStatus = 0
- // Hardware returned a proven execution result. Never used for SET_ALL on the
- // current Prod2U UART contract (no ACK).
- ConfirmationStatus_CONFIRMATION_STATUS_CONFIRMED ConfirmationStatus = 1
- // Host fully wrote the frame; device did not acknowledge.
- ConfirmationStatus_CONFIRMATION_STATUS_UNCONFIRMED ConfirmationStatus = 2
- // Short write, disconnect, or crash window; device may or may not have executed.
- ConfirmationStatus_CONFIRMATION_STATUS_OUTCOME_UNKNOWN ConfirmationStatus = 3
- ConfirmationStatus_CONFIRMATION_STATUS_REJECTED ConfirmationStatus = 4
- ConfirmationStatus_CONFIRMATION_STATUS_NOT_SUPPORTED ConfirmationStatus = 5
- // Write never started (no FD, cancelled before first byte).
- ConfirmationStatus_CONFIRMATION_STATUS_NOT_DELIVERED ConfirmationStatus = 6
- )
- // Enum value maps for ConfirmationStatus.
- var (
- ConfirmationStatus_name = map[int32]string{
- 0: "CONFIRMATION_STATUS_UNSPECIFIED",
- 1: "CONFIRMATION_STATUS_CONFIRMED",
- 2: "CONFIRMATION_STATUS_UNCONFIRMED",
- 3: "CONFIRMATION_STATUS_OUTCOME_UNKNOWN",
- 4: "CONFIRMATION_STATUS_REJECTED",
- 5: "CONFIRMATION_STATUS_NOT_SUPPORTED",
- 6: "CONFIRMATION_STATUS_NOT_DELIVERED",
- }
- ConfirmationStatus_value = map[string]int32{
- "CONFIRMATION_STATUS_UNSPECIFIED": 0,
- "CONFIRMATION_STATUS_CONFIRMED": 1,
- "CONFIRMATION_STATUS_UNCONFIRMED": 2,
- "CONFIRMATION_STATUS_OUTCOME_UNKNOWN": 3,
- "CONFIRMATION_STATUS_REJECTED": 4,
- "CONFIRMATION_STATUS_NOT_SUPPORTED": 5,
- "CONFIRMATION_STATUS_NOT_DELIVERED": 6,
- }
- )
- func (x ConfirmationStatus) Enum() *ConfirmationStatus {
- p := new(ConfirmationStatus)
- *p = x
- return p
- }
- func (x ConfirmationStatus) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (ConfirmationStatus) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[2].Descriptor()
- }
- func (ConfirmationStatus) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[2]
- }
- func (x ConfirmationStatus) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use ConfirmationStatus.Descriptor instead.
- func (ConfirmationStatus) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{2}
- }
- // Orthogonal to DeviceLifecycleState. Process may be SERVING while device is STARTING.
- type TransportState int32
- const (
- TransportState_TRANSPORT_STATE_UNSPECIFIED TransportState = 0
- TransportState_TRANSPORT_STATE_DISCONNECTED TransportState = 1
- TransportState_TRANSPORT_STATE_CONNECTING TransportState = 2
- TransportState_TRANSPORT_STATE_CONNECTED TransportState = 3
- )
- // Enum value maps for TransportState.
- var (
- TransportState_name = map[int32]string{
- 0: "TRANSPORT_STATE_UNSPECIFIED",
- 1: "TRANSPORT_STATE_DISCONNECTED",
- 2: "TRANSPORT_STATE_CONNECTING",
- 3: "TRANSPORT_STATE_CONNECTED",
- }
- TransportState_value = map[string]int32{
- "TRANSPORT_STATE_UNSPECIFIED": 0,
- "TRANSPORT_STATE_DISCONNECTED": 1,
- "TRANSPORT_STATE_CONNECTING": 2,
- "TRANSPORT_STATE_CONNECTED": 3,
- }
- )
- func (x TransportState) Enum() *TransportState {
- p := new(TransportState)
- *p = x
- return p
- }
- func (x TransportState) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (TransportState) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[3].Descriptor()
- }
- func (TransportState) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[3]
- }
- func (x TransportState) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use TransportState.Descriptor instead.
- func (TransportState) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{3}
- }
- type DeviceReadiness int32
- const (
- DeviceReadiness_DEVICE_READINESS_UNSPECIFIED DeviceReadiness = 0
- DeviceReadiness_DEVICE_READINESS_STARTING DeviceReadiness = 1
- DeviceReadiness_DEVICE_READINESS_PROBING DeviceReadiness = 2
- DeviceReadiness_DEVICE_READINESS_READY DeviceReadiness = 3
- DeviceReadiness_DEVICE_READINESS_DEGRADED DeviceReadiness = 4
- )
- // Enum value maps for DeviceReadiness.
- var (
- DeviceReadiness_name = map[int32]string{
- 0: "DEVICE_READINESS_UNSPECIFIED",
- 1: "DEVICE_READINESS_STARTING",
- 2: "DEVICE_READINESS_PROBING",
- 3: "DEVICE_READINESS_READY",
- 4: "DEVICE_READINESS_DEGRADED",
- }
- DeviceReadiness_value = map[string]int32{
- "DEVICE_READINESS_UNSPECIFIED": 0,
- "DEVICE_READINESS_STARTING": 1,
- "DEVICE_READINESS_PROBING": 2,
- "DEVICE_READINESS_READY": 3,
- "DEVICE_READINESS_DEGRADED": 4,
- }
- )
- func (x DeviceReadiness) Enum() *DeviceReadiness {
- p := new(DeviceReadiness)
- *p = x
- return p
- }
- func (x DeviceReadiness) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (DeviceReadiness) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[4].Descriptor()
- }
- func (DeviceReadiness) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[4]
- }
- func (x DeviceReadiness) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use DeviceReadiness.Descriptor instead.
- func (DeviceReadiness) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{4}
- }
- // Latchable host control mode. Ordinary Apply cannot exit SAFE.
- type SafetyControlMode int32
- const (
- SafetyControlMode_SAFETY_CONTROL_MODE_UNSPECIFIED SafetyControlMode = 0
- SafetyControlMode_SAFETY_CONTROL_MODE_NORMAL SafetyControlMode = 1
- SafetyControlMode_SAFETY_CONTROL_MODE_SAFE_PENDING SafetyControlMode = 2
- SafetyControlMode_SAFETY_CONTROL_MODE_SAFE SafetyControlMode = 3
- SafetyControlMode_SAFETY_CONTROL_MODE_RESUME_PENDING SafetyControlMode = 4
- )
- // Enum value maps for SafetyControlMode.
- var (
- SafetyControlMode_name = map[int32]string{
- 0: "SAFETY_CONTROL_MODE_UNSPECIFIED",
- 1: "SAFETY_CONTROL_MODE_NORMAL",
- 2: "SAFETY_CONTROL_MODE_SAFE_PENDING",
- 3: "SAFETY_CONTROL_MODE_SAFE",
- 4: "SAFETY_CONTROL_MODE_RESUME_PENDING",
- }
- SafetyControlMode_value = map[string]int32{
- "SAFETY_CONTROL_MODE_UNSPECIFIED": 0,
- "SAFETY_CONTROL_MODE_NORMAL": 1,
- "SAFETY_CONTROL_MODE_SAFE_PENDING": 2,
- "SAFETY_CONTROL_MODE_SAFE": 3,
- "SAFETY_CONTROL_MODE_RESUME_PENDING": 4,
- }
- )
- func (x SafetyControlMode) Enum() *SafetyControlMode {
- p := new(SafetyControlMode)
- *p = x
- return p
- }
- func (x SafetyControlMode) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (SafetyControlMode) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[5].Descriptor()
- }
- func (SafetyControlMode) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[5]
- }
- func (x SafetyControlMode) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use SafetyControlMode.Descriptor instead.
- func (SafetyControlMode) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{5}
- }
- type ActionDispatchState int32
- const (
- ActionDispatchState_ACTION_DISPATCH_STATE_UNSPECIFIED ActionDispatchState = 0
- ActionDispatchState_ACTION_DISPATCH_STATE_REQUESTED ActionDispatchState = 1
- ActionDispatchState_ACTION_DISPATCH_STATE_ACCEPTED ActionDispatchState = 2
- ActionDispatchState_ACTION_DISPATCH_STATE_QUEUED ActionDispatchState = 3
- ActionDispatchState_ACTION_DISPATCH_STATE_DISPATCH_STARTED ActionDispatchState = 4
- ActionDispatchState_ACTION_DISPATCH_STATE_DISPATCHED ActionDispatchState = 5
- ActionDispatchState_ACTION_DISPATCH_STATE_UNCONFIRMED ActionDispatchState = 6
- ActionDispatchState_ACTION_DISPATCH_STATE_CONFIRMED ActionDispatchState = 7
- ActionDispatchState_ACTION_DISPATCH_STATE_OUTCOME_UNKNOWN ActionDispatchState = 8
- ActionDispatchState_ACTION_DISPATCH_STATE_NOT_DELIVERED ActionDispatchState = 9
- ActionDispatchState_ACTION_DISPATCH_STATE_REJECTED ActionDispatchState = 10
- ActionDispatchState_ACTION_DISPATCH_STATE_SUPERSEDED ActionDispatchState = 11
- )
- // Enum value maps for ActionDispatchState.
- var (
- ActionDispatchState_name = map[int32]string{
- 0: "ACTION_DISPATCH_STATE_UNSPECIFIED",
- 1: "ACTION_DISPATCH_STATE_REQUESTED",
- 2: "ACTION_DISPATCH_STATE_ACCEPTED",
- 3: "ACTION_DISPATCH_STATE_QUEUED",
- 4: "ACTION_DISPATCH_STATE_DISPATCH_STARTED",
- 5: "ACTION_DISPATCH_STATE_DISPATCHED",
- 6: "ACTION_DISPATCH_STATE_UNCONFIRMED",
- 7: "ACTION_DISPATCH_STATE_CONFIRMED",
- 8: "ACTION_DISPATCH_STATE_OUTCOME_UNKNOWN",
- 9: "ACTION_DISPATCH_STATE_NOT_DELIVERED",
- 10: "ACTION_DISPATCH_STATE_REJECTED",
- 11: "ACTION_DISPATCH_STATE_SUPERSEDED",
- }
- ActionDispatchState_value = map[string]int32{
- "ACTION_DISPATCH_STATE_UNSPECIFIED": 0,
- "ACTION_DISPATCH_STATE_REQUESTED": 1,
- "ACTION_DISPATCH_STATE_ACCEPTED": 2,
- "ACTION_DISPATCH_STATE_QUEUED": 3,
- "ACTION_DISPATCH_STATE_DISPATCH_STARTED": 4,
- "ACTION_DISPATCH_STATE_DISPATCHED": 5,
- "ACTION_DISPATCH_STATE_UNCONFIRMED": 6,
- "ACTION_DISPATCH_STATE_CONFIRMED": 7,
- "ACTION_DISPATCH_STATE_OUTCOME_UNKNOWN": 8,
- "ACTION_DISPATCH_STATE_NOT_DELIVERED": 9,
- "ACTION_DISPATCH_STATE_REJECTED": 10,
- "ACTION_DISPATCH_STATE_SUPERSEDED": 11,
- }
- )
- func (x ActionDispatchState) Enum() *ActionDispatchState {
- p := new(ActionDispatchState)
- *p = x
- return p
- }
- func (x ActionDispatchState) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (ActionDispatchState) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[6].Descriptor()
- }
- func (ActionDispatchState) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[6]
- }
- func (x ActionDispatchState) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use ActionDispatchState.Descriptor instead.
- func (ActionDispatchState) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{6}
- }
- type ControlMode int32
- const (
- ControlMode_CONTROL_MODE_UNSPECIFIED ControlMode = 0
- ControlMode_CONTROL_MODE_JOG_ONLY ControlMode = 1
- ControlMode_CONTROL_MODE_PERCENT_CLOSE ControlMode = 2
- ControlMode_CONTROL_MODE_CONTINUOUS_DUTY ControlMode = 3
- )
- // Enum value maps for ControlMode.
- var (
- ControlMode_name = map[int32]string{
- 0: "CONTROL_MODE_UNSPECIFIED",
- 1: "CONTROL_MODE_JOG_ONLY",
- 2: "CONTROL_MODE_PERCENT_CLOSE",
- 3: "CONTROL_MODE_CONTINUOUS_DUTY",
- }
- ControlMode_value = map[string]int32{
- "CONTROL_MODE_UNSPECIFIED": 0,
- "CONTROL_MODE_JOG_ONLY": 1,
- "CONTROL_MODE_PERCENT_CLOSE": 2,
- "CONTROL_MODE_CONTINUOUS_DUTY": 3,
- }
- )
- func (x ControlMode) Enum() *ControlMode {
- p := new(ControlMode)
- *p = x
- return p
- }
- func (x ControlMode) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (ControlMode) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[7].Descriptor()
- }
- func (ControlMode) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[7]
- }
- func (x ControlMode) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use ControlMode.Descriptor instead.
- func (ControlMode) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{7}
- }
- type FeedbackMode int32
- const (
- FeedbackMode_FEEDBACK_MODE_UNSPECIFIED FeedbackMode = 0
- FeedbackMode_FEEDBACK_MODE_NONE FeedbackMode = 1
- FeedbackMode_FEEDBACK_MODE_ESTIMATED_OPEN_LOOP FeedbackMode = 2
- FeedbackMode_FEEDBACK_MODE_LIMIT_SWITCH FeedbackMode = 3
- FeedbackMode_FEEDBACK_MODE_ENCODER FeedbackMode = 4
- )
- // Enum value maps for FeedbackMode.
- var (
- FeedbackMode_name = map[int32]string{
- 0: "FEEDBACK_MODE_UNSPECIFIED",
- 1: "FEEDBACK_MODE_NONE",
- 2: "FEEDBACK_MODE_ESTIMATED_OPEN_LOOP",
- 3: "FEEDBACK_MODE_LIMIT_SWITCH",
- 4: "FEEDBACK_MODE_ENCODER",
- }
- FeedbackMode_value = map[string]int32{
- "FEEDBACK_MODE_UNSPECIFIED": 0,
- "FEEDBACK_MODE_NONE": 1,
- "FEEDBACK_MODE_ESTIMATED_OPEN_LOOP": 2,
- "FEEDBACK_MODE_LIMIT_SWITCH": 3,
- "FEEDBACK_MODE_ENCODER": 4,
- }
- )
- func (x FeedbackMode) Enum() *FeedbackMode {
- p := new(FeedbackMode)
- *p = x
- return p
- }
- func (x FeedbackMode) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (FeedbackMode) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[8].Descriptor()
- }
- func (FeedbackMode) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[8]
- }
- func (x FeedbackMode) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use FeedbackMode.Descriptor instead.
- func (FeedbackMode) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{8}
- }
- type ActuatorKind int32
- const (
- ActuatorKind_ACTUATOR_KIND_UNSPECIFIED ActuatorKind = 0
- ActuatorKind_ACTUATOR_KIND_FAN ActuatorKind = 1
- ActuatorKind_ACTUATOR_KIND_HEATER ActuatorKind = 2
- ActuatorKind_ACTUATOR_KIND_DOOR ActuatorKind = 3
- )
- // Enum value maps for ActuatorKind.
- var (
- ActuatorKind_name = map[int32]string{
- 0: "ACTUATOR_KIND_UNSPECIFIED",
- 1: "ACTUATOR_KIND_FAN",
- 2: "ACTUATOR_KIND_HEATER",
- 3: "ACTUATOR_KIND_DOOR",
- }
- ActuatorKind_value = map[string]int32{
- "ACTUATOR_KIND_UNSPECIFIED": 0,
- "ACTUATOR_KIND_FAN": 1,
- "ACTUATOR_KIND_HEATER": 2,
- "ACTUATOR_KIND_DOOR": 3,
- }
- )
- func (x ActuatorKind) Enum() *ActuatorKind {
- p := new(ActuatorKind)
- *p = x
- return p
- }
- func (x ActuatorKind) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (ActuatorKind) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[9].Descriptor()
- }
- func (ActuatorKind) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[9]
- }
- func (x ActuatorKind) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use ActuatorKind.Descriptor instead.
- func (ActuatorKind) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{9}
- }
- type SensorKind int32
- const (
- SensorKind_SENSOR_KIND_UNSPECIFIED SensorKind = 0
- SensorKind_SENSOR_KIND_TEMPERATURE SensorKind = 1
- SensorKind_SENSOR_KIND_LIMIT_SWITCH SensorKind = 2
- SensorKind_SENSOR_KIND_ESTIMATED_POSITION SensorKind = 3
- )
- // Enum value maps for SensorKind.
- var (
- SensorKind_name = map[int32]string{
- 0: "SENSOR_KIND_UNSPECIFIED",
- 1: "SENSOR_KIND_TEMPERATURE",
- 2: "SENSOR_KIND_LIMIT_SWITCH",
- 3: "SENSOR_KIND_ESTIMATED_POSITION",
- }
- SensorKind_value = map[string]int32{
- "SENSOR_KIND_UNSPECIFIED": 0,
- "SENSOR_KIND_TEMPERATURE": 1,
- "SENSOR_KIND_LIMIT_SWITCH": 2,
- "SENSOR_KIND_ESTIMATED_POSITION": 3,
- }
- )
- func (x SensorKind) Enum() *SensorKind {
- p := new(SensorKind)
- *p = x
- return p
- }
- func (x SensorKind) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (SensorKind) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[10].Descriptor()
- }
- func (SensorKind) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[10]
- }
- func (x SensorKind) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use SensorKind.Descriptor instead.
- func (SensorKind) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{10}
- }
- type FaultSeverity int32
- const (
- FaultSeverity_FAULT_SEVERITY_UNSPECIFIED FaultSeverity = 0
- FaultSeverity_FAULT_SEVERITY_INFO FaultSeverity = 1
- FaultSeverity_FAULT_SEVERITY_WARNING FaultSeverity = 2
- FaultSeverity_FAULT_SEVERITY_ERROR FaultSeverity = 3
- FaultSeverity_FAULT_SEVERITY_CRITICAL FaultSeverity = 4
- )
- // Enum value maps for FaultSeverity.
- var (
- FaultSeverity_name = map[int32]string{
- 0: "FAULT_SEVERITY_UNSPECIFIED",
- 1: "FAULT_SEVERITY_INFO",
- 2: "FAULT_SEVERITY_WARNING",
- 3: "FAULT_SEVERITY_ERROR",
- 4: "FAULT_SEVERITY_CRITICAL",
- }
- FaultSeverity_value = map[string]int32{
- "FAULT_SEVERITY_UNSPECIFIED": 0,
- "FAULT_SEVERITY_INFO": 1,
- "FAULT_SEVERITY_WARNING": 2,
- "FAULT_SEVERITY_ERROR": 3,
- "FAULT_SEVERITY_CRITICAL": 4,
- }
- )
- func (x FaultSeverity) Enum() *FaultSeverity {
- p := new(FaultSeverity)
- *p = x
- return p
- }
- func (x FaultSeverity) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (FaultSeverity) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[11].Descriptor()
- }
- func (FaultSeverity) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[11]
- }
- func (x FaultSeverity) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use FaultSeverity.Descriptor instead.
- func (FaultSeverity) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{11}
- }
- type FaultClass int32
- const (
- FaultClass_FAULT_CLASS_UNSPECIFIED FaultClass = 0
- FaultClass_FAULT_CLASS_DEVICE_REPORTED FaultClass = 1
- FaultClass_FAULT_CLASS_HOST_INFERRED FaultClass = 2
- FaultClass_FAULT_CLASS_CONFIG FaultClass = 3
- FaultClass_FAULT_CLASS_COMMUNICATION FaultClass = 4
- FaultClass_FAULT_CLASS_DATA_QUALITY FaultClass = 5
- )
- // Enum value maps for FaultClass.
- var (
- FaultClass_name = map[int32]string{
- 0: "FAULT_CLASS_UNSPECIFIED",
- 1: "FAULT_CLASS_DEVICE_REPORTED",
- 2: "FAULT_CLASS_HOST_INFERRED",
- 3: "FAULT_CLASS_CONFIG",
- 4: "FAULT_CLASS_COMMUNICATION",
- 5: "FAULT_CLASS_DATA_QUALITY",
- }
- FaultClass_value = map[string]int32{
- "FAULT_CLASS_UNSPECIFIED": 0,
- "FAULT_CLASS_DEVICE_REPORTED": 1,
- "FAULT_CLASS_HOST_INFERRED": 2,
- "FAULT_CLASS_CONFIG": 3,
- "FAULT_CLASS_COMMUNICATION": 4,
- "FAULT_CLASS_DATA_QUALITY": 5,
- }
- )
- func (x FaultClass) Enum() *FaultClass {
- p := new(FaultClass)
- *p = x
- return p
- }
- func (x FaultClass) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (FaultClass) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[12].Descriptor()
- }
- func (FaultClass) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[12]
- }
- func (x FaultClass) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use FaultClass.Descriptor instead.
- func (FaultClass) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{12}
- }
- type FaultType int32
- const (
- FaultType_FAULT_TYPE_UNSPECIFIED FaultType = 0
- FaultType_FAULT_TYPE_CONFIG_INVALID FaultType = 1
- FaultType_FAULT_TYPE_PROFILE_INVALID FaultType = 2
- FaultType_FAULT_TYPE_PROFILE_CONTRACT_MISMATCH FaultType = 3
- FaultType_FAULT_TYPE_SERIAL_DEVICE_NOT_FOUND FaultType = 4
- FaultType_FAULT_TYPE_SERIAL_PERMISSION_DENIED FaultType = 5
- FaultType_FAULT_TYPE_SERIAL_DISCONNECTED FaultType = 6
- FaultType_FAULT_TYPE_SERIAL_RECONNECTING FaultType = 7
- FaultType_FAULT_TYPE_FRAME_LENGTH_INVALID FaultType = 8
- FaultType_FAULT_TYPE_FRAME_CRC_INVALID FaultType = 9
- FaultType_FAULT_TYPE_FRAME_TYPE_UNKNOWN FaultType = 10
- FaultType_FAULT_TYPE_RESPONSE_TIMEOUT FaultType = 11
- FaultType_FAULT_TYPE_TEMPERATURE_DATA_INVALID FaultType = 12
- FaultType_FAULT_TYPE_TELEMETRY_STALE FaultType = 13
- FaultType_FAULT_TYPE_CONTROL_LEASE_EXPIRED FaultType = 14
- FaultType_FAULT_TYPE_CONTROL_COMMAND_REJECTED FaultType = 15
- FaultType_FAULT_TYPE_CONTROL_OUTCOME_UNKNOWN FaultType = 16
- FaultType_FAULT_TYPE_SAFE_ACTION_NOT_DELIVERED FaultType = 17
- FaultType_FAULT_TYPE_SUBSCRIBER_DATA_GAP FaultType = 18
- FaultType_FAULT_TYPE_DEVICE_AXIS_FAULT FaultType = 19
- FaultType_FAULT_TYPE_WATCHDOG_TRIPPED FaultType = 20
- )
- // Enum value maps for FaultType.
- var (
- FaultType_name = map[int32]string{
- 0: "FAULT_TYPE_UNSPECIFIED",
- 1: "FAULT_TYPE_CONFIG_INVALID",
- 2: "FAULT_TYPE_PROFILE_INVALID",
- 3: "FAULT_TYPE_PROFILE_CONTRACT_MISMATCH",
- 4: "FAULT_TYPE_SERIAL_DEVICE_NOT_FOUND",
- 5: "FAULT_TYPE_SERIAL_PERMISSION_DENIED",
- 6: "FAULT_TYPE_SERIAL_DISCONNECTED",
- 7: "FAULT_TYPE_SERIAL_RECONNECTING",
- 8: "FAULT_TYPE_FRAME_LENGTH_INVALID",
- 9: "FAULT_TYPE_FRAME_CRC_INVALID",
- 10: "FAULT_TYPE_FRAME_TYPE_UNKNOWN",
- 11: "FAULT_TYPE_RESPONSE_TIMEOUT",
- 12: "FAULT_TYPE_TEMPERATURE_DATA_INVALID",
- 13: "FAULT_TYPE_TELEMETRY_STALE",
- 14: "FAULT_TYPE_CONTROL_LEASE_EXPIRED",
- 15: "FAULT_TYPE_CONTROL_COMMAND_REJECTED",
- 16: "FAULT_TYPE_CONTROL_OUTCOME_UNKNOWN",
- 17: "FAULT_TYPE_SAFE_ACTION_NOT_DELIVERED",
- 18: "FAULT_TYPE_SUBSCRIBER_DATA_GAP",
- 19: "FAULT_TYPE_DEVICE_AXIS_FAULT",
- 20: "FAULT_TYPE_WATCHDOG_TRIPPED",
- }
- FaultType_value = map[string]int32{
- "FAULT_TYPE_UNSPECIFIED": 0,
- "FAULT_TYPE_CONFIG_INVALID": 1,
- "FAULT_TYPE_PROFILE_INVALID": 2,
- "FAULT_TYPE_PROFILE_CONTRACT_MISMATCH": 3,
- "FAULT_TYPE_SERIAL_DEVICE_NOT_FOUND": 4,
- "FAULT_TYPE_SERIAL_PERMISSION_DENIED": 5,
- "FAULT_TYPE_SERIAL_DISCONNECTED": 6,
- "FAULT_TYPE_SERIAL_RECONNECTING": 7,
- "FAULT_TYPE_FRAME_LENGTH_INVALID": 8,
- "FAULT_TYPE_FRAME_CRC_INVALID": 9,
- "FAULT_TYPE_FRAME_TYPE_UNKNOWN": 10,
- "FAULT_TYPE_RESPONSE_TIMEOUT": 11,
- "FAULT_TYPE_TEMPERATURE_DATA_INVALID": 12,
- "FAULT_TYPE_TELEMETRY_STALE": 13,
- "FAULT_TYPE_CONTROL_LEASE_EXPIRED": 14,
- "FAULT_TYPE_CONTROL_COMMAND_REJECTED": 15,
- "FAULT_TYPE_CONTROL_OUTCOME_UNKNOWN": 16,
- "FAULT_TYPE_SAFE_ACTION_NOT_DELIVERED": 17,
- "FAULT_TYPE_SUBSCRIBER_DATA_GAP": 18,
- "FAULT_TYPE_DEVICE_AXIS_FAULT": 19,
- "FAULT_TYPE_WATCHDOG_TRIPPED": 20,
- }
- )
- func (x FaultType) Enum() *FaultType {
- p := new(FaultType)
- *p = x
- return p
- }
- func (x FaultType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (FaultType) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[13].Descriptor()
- }
- func (FaultType) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[13]
- }
- func (x FaultType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use FaultType.Descriptor instead.
- func (FaultType) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{13}
- }
- type EventKind int32
- const (
- EventKind_EVENT_KIND_UNSPECIFIED EventKind = 0
- EventKind_EVENT_KIND_SNAPSHOT EventKind = 1
- EventKind_EVENT_KIND_FAULT_RAISED EventKind = 2
- EventKind_EVENT_KIND_FAULT_CLEARED EventKind = 3
- EventKind_EVENT_KIND_LEASE_ACQUIRED EventKind = 4
- EventKind_EVENT_KIND_LEASE_RENEWED EventKind = 5
- EventKind_EVENT_KIND_LEASE_RELEASED EventKind = 6
- EventKind_EVENT_KIND_LEASE_EXPIRED EventKind = 7
- EventKind_EVENT_KIND_DEVICE_EPOCH_CHANGED EventKind = 8
- EventKind_EVENT_KIND_DATA_GAP EventKind = 9
- EventKind_EVENT_KIND_SAFE_MODE_ENTERED EventKind = 10
- EventKind_EVENT_KIND_WATCHDOG_HEARTBEAT EventKind = 11
- EventKind_EVENT_KIND_ACTION_RESULT EventKind = 12
- EventKind_EVENT_KIND_BACKEND_STATE EventKind = 13
- EventKind_EVENT_KIND_FAULT_UPDATED EventKind = 14
- EventKind_EVENT_KIND_FAULT_ACKNOWLEDGED EventKind = 15
- EventKind_EVENT_KIND_SAFETY_MODE_CHANGED EventKind = 16
- EventKind_EVENT_KIND_RESUME_FROM_SAFE EventKind = 17
- )
- // Enum value maps for EventKind.
- var (
- EventKind_name = map[int32]string{
- 0: "EVENT_KIND_UNSPECIFIED",
- 1: "EVENT_KIND_SNAPSHOT",
- 2: "EVENT_KIND_FAULT_RAISED",
- 3: "EVENT_KIND_FAULT_CLEARED",
- 4: "EVENT_KIND_LEASE_ACQUIRED",
- 5: "EVENT_KIND_LEASE_RENEWED",
- 6: "EVENT_KIND_LEASE_RELEASED",
- 7: "EVENT_KIND_LEASE_EXPIRED",
- 8: "EVENT_KIND_DEVICE_EPOCH_CHANGED",
- 9: "EVENT_KIND_DATA_GAP",
- 10: "EVENT_KIND_SAFE_MODE_ENTERED",
- 11: "EVENT_KIND_WATCHDOG_HEARTBEAT",
- 12: "EVENT_KIND_ACTION_RESULT",
- 13: "EVENT_KIND_BACKEND_STATE",
- 14: "EVENT_KIND_FAULT_UPDATED",
- 15: "EVENT_KIND_FAULT_ACKNOWLEDGED",
- 16: "EVENT_KIND_SAFETY_MODE_CHANGED",
- 17: "EVENT_KIND_RESUME_FROM_SAFE",
- }
- EventKind_value = map[string]int32{
- "EVENT_KIND_UNSPECIFIED": 0,
- "EVENT_KIND_SNAPSHOT": 1,
- "EVENT_KIND_FAULT_RAISED": 2,
- "EVENT_KIND_FAULT_CLEARED": 3,
- "EVENT_KIND_LEASE_ACQUIRED": 4,
- "EVENT_KIND_LEASE_RENEWED": 5,
- "EVENT_KIND_LEASE_RELEASED": 6,
- "EVENT_KIND_LEASE_EXPIRED": 7,
- "EVENT_KIND_DEVICE_EPOCH_CHANGED": 8,
- "EVENT_KIND_DATA_GAP": 9,
- "EVENT_KIND_SAFE_MODE_ENTERED": 10,
- "EVENT_KIND_WATCHDOG_HEARTBEAT": 11,
- "EVENT_KIND_ACTION_RESULT": 12,
- "EVENT_KIND_BACKEND_STATE": 13,
- "EVENT_KIND_FAULT_UPDATED": 14,
- "EVENT_KIND_FAULT_ACKNOWLEDGED": 15,
- "EVENT_KIND_SAFETY_MODE_CHANGED": 16,
- "EVENT_KIND_RESUME_FROM_SAFE": 17,
- }
- )
- func (x EventKind) Enum() *EventKind {
- p := new(EventKind)
- *p = x
- return p
- }
- func (x EventKind) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (EventKind) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[14].Descriptor()
- }
- func (EventKind) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[14]
- }
- func (x EventKind) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use EventKind.Descriptor instead.
- func (EventKind) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{14}
- }
- type HostHealth int32
- const (
- HostHealth_HOST_HEALTH_UNSPECIFIED HostHealth = 0
- HostHealth_HOST_HEALTH_SERVING HostHealth = 1
- HostHealth_HOST_HEALTH_NOT_SERVING HostHealth = 2
- HostHealth_HOST_HEALTH_DEGRADED HostHealth = 3
- )
- // Enum value maps for HostHealth.
- var (
- HostHealth_name = map[int32]string{
- 0: "HOST_HEALTH_UNSPECIFIED",
- 1: "HOST_HEALTH_SERVING",
- 2: "HOST_HEALTH_NOT_SERVING",
- 3: "HOST_HEALTH_DEGRADED",
- }
- HostHealth_value = map[string]int32{
- "HOST_HEALTH_UNSPECIFIED": 0,
- "HOST_HEALTH_SERVING": 1,
- "HOST_HEALTH_NOT_SERVING": 2,
- "HOST_HEALTH_DEGRADED": 3,
- }
- )
- func (x HostHealth) Enum() *HostHealth {
- p := new(HostHealth)
- *p = x
- return p
- }
- func (x HostHealth) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (HostHealth) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[15].Descriptor()
- }
- func (HostHealth) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[15]
- }
- func (x HostHealth) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use HostHealth.Descriptor instead.
- func (HostHealth) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{15}
- }
- type ActionMode int32
- const (
- ActionMode_ACTION_MODE_UNSPECIFIED ActionMode = 0
- ActionMode_ACTION_MODE_NORMAL ActionMode = 1
- ActionMode_ACTION_MODE_SAFE ActionMode = 2
- ActionMode_ACTION_MODE_HEARTBEAT ActionMode = 3
- )
- // Enum value maps for ActionMode.
- var (
- ActionMode_name = map[int32]string{
- 0: "ACTION_MODE_UNSPECIFIED",
- 1: "ACTION_MODE_NORMAL",
- 2: "ACTION_MODE_SAFE",
- 3: "ACTION_MODE_HEARTBEAT",
- }
- ActionMode_value = map[string]int32{
- "ACTION_MODE_UNSPECIFIED": 0,
- "ACTION_MODE_NORMAL": 1,
- "ACTION_MODE_SAFE": 2,
- "ACTION_MODE_HEARTBEAT": 3,
- }
- )
- func (x ActionMode) Enum() *ActionMode {
- p := new(ActionMode)
- *p = x
- return p
- }
- func (x ActionMode) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (ActionMode) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[16].Descriptor()
- }
- func (ActionMode) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[16]
- }
- func (x ActionMode) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use ActionMode.Descriptor instead.
- func (ActionMode) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{16}
- }
- type RejectReason int32
- const (
- RejectReason_REJECT_REASON_UNSPECIFIED RejectReason = 0
- RejectReason_REJECT_REASON_INVALID_ARGUMENT RejectReason = 1
- RejectReason_REJECT_REASON_UNKNOWN_ID RejectReason = 2
- RejectReason_REJECT_REASON_NOT_SUPPORTED RejectReason = 3
- RejectReason_REJECT_REASON_OUT_OF_RANGE RejectReason = 4
- RejectReason_REJECT_REASON_CLAMP_REQUIRED RejectReason = 5
- RejectReason_REJECT_REASON_LEASE_MISSING RejectReason = 6
- RejectReason_REJECT_REASON_LEASE_MISMATCH RejectReason = 7
- RejectReason_REJECT_REASON_LEASE_EXPIRED RejectReason = 8
- RejectReason_REJECT_REASON_STALE_SNAPSHOT RejectReason = 9
- RejectReason_REJECT_REASON_STALE_CONTROL_REVISION RejectReason = 10
- RejectReason_REJECT_REASON_EXPIRED_DEADLINE RejectReason = 11
- RejectReason_REJECT_REASON_IDEMPOTENCY_CONFLICT RejectReason = 12
- RejectReason_REJECT_REASON_DEVICE_NOT_READY RejectReason = 13
- RejectReason_REJECT_REASON_QUEUE_FULL RejectReason = 14
- RejectReason_REJECT_REASON_ATOMIC_BATCH_FAILED RejectReason = 15
- RejectReason_REJECT_REASON_SLEW_LIMITED RejectReason = 16
- RejectReason_REJECT_REASON_SAFE_MODE_ACTIVE RejectReason = 17
- RejectReason_REJECT_REASON_RESUME_REQUIRED RejectReason = 18
- RejectReason_REJECT_REASON_PARTIAL_NOT_ALLOWED RejectReason = 19
- RejectReason_REJECT_REASON_SUPERSEDED RejectReason = 20
- RejectReason_REJECT_REASON_SUPERSEDED_BY_SHUTDOWN RejectReason = 21
- )
- // Enum value maps for RejectReason.
- var (
- RejectReason_name = map[int32]string{
- 0: "REJECT_REASON_UNSPECIFIED",
- 1: "REJECT_REASON_INVALID_ARGUMENT",
- 2: "REJECT_REASON_UNKNOWN_ID",
- 3: "REJECT_REASON_NOT_SUPPORTED",
- 4: "REJECT_REASON_OUT_OF_RANGE",
- 5: "REJECT_REASON_CLAMP_REQUIRED",
- 6: "REJECT_REASON_LEASE_MISSING",
- 7: "REJECT_REASON_LEASE_MISMATCH",
- 8: "REJECT_REASON_LEASE_EXPIRED",
- 9: "REJECT_REASON_STALE_SNAPSHOT",
- 10: "REJECT_REASON_STALE_CONTROL_REVISION",
- 11: "REJECT_REASON_EXPIRED_DEADLINE",
- 12: "REJECT_REASON_IDEMPOTENCY_CONFLICT",
- 13: "REJECT_REASON_DEVICE_NOT_READY",
- 14: "REJECT_REASON_QUEUE_FULL",
- 15: "REJECT_REASON_ATOMIC_BATCH_FAILED",
- 16: "REJECT_REASON_SLEW_LIMITED",
- 17: "REJECT_REASON_SAFE_MODE_ACTIVE",
- 18: "REJECT_REASON_RESUME_REQUIRED",
- 19: "REJECT_REASON_PARTIAL_NOT_ALLOWED",
- 20: "REJECT_REASON_SUPERSEDED",
- 21: "REJECT_REASON_SUPERSEDED_BY_SHUTDOWN",
- }
- RejectReason_value = map[string]int32{
- "REJECT_REASON_UNSPECIFIED": 0,
- "REJECT_REASON_INVALID_ARGUMENT": 1,
- "REJECT_REASON_UNKNOWN_ID": 2,
- "REJECT_REASON_NOT_SUPPORTED": 3,
- "REJECT_REASON_OUT_OF_RANGE": 4,
- "REJECT_REASON_CLAMP_REQUIRED": 5,
- "REJECT_REASON_LEASE_MISSING": 6,
- "REJECT_REASON_LEASE_MISMATCH": 7,
- "REJECT_REASON_LEASE_EXPIRED": 8,
- "REJECT_REASON_STALE_SNAPSHOT": 9,
- "REJECT_REASON_STALE_CONTROL_REVISION": 10,
- "REJECT_REASON_EXPIRED_DEADLINE": 11,
- "REJECT_REASON_IDEMPOTENCY_CONFLICT": 12,
- "REJECT_REASON_DEVICE_NOT_READY": 13,
- "REJECT_REASON_QUEUE_FULL": 14,
- "REJECT_REASON_ATOMIC_BATCH_FAILED": 15,
- "REJECT_REASON_SLEW_LIMITED": 16,
- "REJECT_REASON_SAFE_MODE_ACTIVE": 17,
- "REJECT_REASON_RESUME_REQUIRED": 18,
- "REJECT_REASON_PARTIAL_NOT_ALLOWED": 19,
- "REJECT_REASON_SUPERSEDED": 20,
- "REJECT_REASON_SUPERSEDED_BY_SHUTDOWN": 21,
- }
- )
- func (x RejectReason) Enum() *RejectReason {
- p := new(RejectReason)
- *p = x
- return p
- }
- func (x RejectReason) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (RejectReason) Descriptor() protoreflect.EnumDescriptor {
- return file_hth_api_v1_hth_proto_enumTypes[17].Descriptor()
- }
- func (RejectReason) Type() protoreflect.EnumType {
- return &file_hth_api_v1_hth_proto_enumTypes[17]
- }
- func (x RejectReason) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use RejectReason.Descriptor instead.
- func (RejectReason) EnumDescriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{17}
- }
- type Measurement struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
- Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"`
- Quality DataQuality `protobuf:"varint,4,opt,name=quality,proto3,enum=hth.api.v1.DataQuality" json:"quality,omitempty"`
- QualityReason string `protobuf:"bytes,5,opt,name=quality_reason,json=qualityReason,proto3" json:"quality_reason,omitempty"`
- Age *durationpb.Duration `protobuf:"bytes,6,opt,name=age,proto3" json:"age,omitempty"`
- HostTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=host_time,json=hostTime,proto3" json:"host_time,omitempty"`
- SourceTimestampAvailable bool `protobuf:"varint,8,opt,name=source_timestamp_available,json=sourceTimestampAvailable,proto3" json:"source_timestamp_available,omitempty"`
- SourceTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=source_time,json=sourceTime,proto3" json:"source_time,omitempty"`
- RawCode *int32 `protobuf:"varint,10,opt,name=raw_code,json=rawCode,proto3,oneof" json:"raw_code,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Measurement) Reset() {
- *x = Measurement{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Measurement) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Measurement) ProtoMessage() {}
- func (x *Measurement) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Measurement.ProtoReflect.Descriptor instead.
- func (*Measurement) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{0}
- }
- func (x *Measurement) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *Measurement) GetValue() float64 {
- if x != nil {
- return x.Value
- }
- return 0
- }
- func (x *Measurement) GetUnit() string {
- if x != nil {
- return x.Unit
- }
- return ""
- }
- func (x *Measurement) GetQuality() DataQuality {
- if x != nil {
- return x.Quality
- }
- return DataQuality_DATA_QUALITY_UNSPECIFIED
- }
- func (x *Measurement) GetQualityReason() string {
- if x != nil {
- return x.QualityReason
- }
- return ""
- }
- func (x *Measurement) GetAge() *durationpb.Duration {
- if x != nil {
- return x.Age
- }
- return nil
- }
- func (x *Measurement) GetHostTime() *timestamppb.Timestamp {
- if x != nil {
- return x.HostTime
- }
- return nil
- }
- func (x *Measurement) GetSourceTimestampAvailable() bool {
- if x != nil {
- return x.SourceTimestampAvailable
- }
- return false
- }
- func (x *Measurement) GetSourceTime() *timestamppb.Timestamp {
- if x != nil {
- return x.SourceTime
- }
- return nil
- }
- func (x *Measurement) GetRawCode() int32 {
- if x != nil && x.RawCode != nil {
- return *x.RawCode
- }
- return 0
- }
- type TimeWindow struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- RequestSent *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=request_sent,json=requestSent,proto3" json:"request_sent,omitempty"`
- ResponseStart *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=response_start,json=responseStart,proto3" json:"response_start,omitempty"`
- ResponseComplete *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=response_complete,json=responseComplete,proto3" json:"response_complete,omitempty"`
- HostReceive *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=host_receive,json=hostReceive,proto3" json:"host_receive,omitempty"`
- ApproxAcquireStart *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=approx_acquire_start,json=approxAcquireStart,proto3" json:"approx_acquire_start,omitempty"`
- ApproxAcquireEnd *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=approx_acquire_end,json=approxAcquireEnd,proto3" json:"approx_acquire_end,omitempty"`
- SourceTimestampAvailable bool `protobuf:"varint,7,opt,name=source_timestamp_available,json=sourceTimestampAvailable,proto3" json:"source_timestamp_available,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *TimeWindow) Reset() {
- *x = TimeWindow{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *TimeWindow) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TimeWindow) ProtoMessage() {}
- func (x *TimeWindow) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[1]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use TimeWindow.ProtoReflect.Descriptor instead.
- func (*TimeWindow) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{1}
- }
- func (x *TimeWindow) GetRequestSent() *timestamppb.Timestamp {
- if x != nil {
- return x.RequestSent
- }
- return nil
- }
- func (x *TimeWindow) GetResponseStart() *timestamppb.Timestamp {
- if x != nil {
- return x.ResponseStart
- }
- return nil
- }
- func (x *TimeWindow) GetResponseComplete() *timestamppb.Timestamp {
- if x != nil {
- return x.ResponseComplete
- }
- return nil
- }
- func (x *TimeWindow) GetHostReceive() *timestamppb.Timestamp {
- if x != nil {
- return x.HostReceive
- }
- return nil
- }
- func (x *TimeWindow) GetApproxAcquireStart() *timestamppb.Timestamp {
- if x != nil {
- return x.ApproxAcquireStart
- }
- return nil
- }
- func (x *TimeWindow) GetApproxAcquireEnd() *timestamppb.Timestamp {
- if x != nil {
- return x.ApproxAcquireEnd
- }
- return nil
- }
- func (x *TimeWindow) GetSourceTimestampAvailable() bool {
- if x != nil {
- return x.SourceTimestampAvailable
- }
- return false
- }
- type DeviceIdentity struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
- ProfileId string `protobuf:"bytes,3,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
- ProfileRevision string `protobuf:"bytes,4,opt,name=profile_revision,json=profileRevision,proto3" json:"profile_revision,omitempty"`
- ProtocolContractHash string `protobuf:"bytes,5,opt,name=protocol_contract_hash,json=protocolContractHash,proto3" json:"protocol_contract_hash,omitempty"`
- BackendKind string `protobuf:"bytes,6,opt,name=backend_kind,json=backendKind,proto3" json:"backend_kind,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *DeviceIdentity) Reset() {
- *x = DeviceIdentity{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *DeviceIdentity) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DeviceIdentity) ProtoMessage() {}
- func (x *DeviceIdentity) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[2]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DeviceIdentity.ProtoReflect.Descriptor instead.
- func (*DeviceIdentity) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{2}
- }
- func (x *DeviceIdentity) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- func (x *DeviceIdentity) GetDisplayName() string {
- if x != nil {
- return x.DisplayName
- }
- return ""
- }
- func (x *DeviceIdentity) GetProfileId() string {
- if x != nil {
- return x.ProfileId
- }
- return ""
- }
- func (x *DeviceIdentity) GetProfileRevision() string {
- if x != nil {
- return x.ProfileRevision
- }
- return ""
- }
- func (x *DeviceIdentity) GetProtocolContractHash() string {
- if x != nil {
- return x.ProtocolContractHash
- }
- return ""
- }
- func (x *DeviceIdentity) GetBackendKind() string {
- if x != nil {
- return x.BackendKind
- }
- return ""
- }
- type DeviceInfo struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Identity *DeviceIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
- Lifecycle DeviceLifecycleState `protobuf:"varint,2,opt,name=lifecycle,proto3,enum=hth.api.v1.DeviceLifecycleState" json:"lifecycle,omitempty"`
- DeviceEpoch uint64 `protobuf:"varint,3,opt,name=device_epoch,json=deviceEpoch,proto3" json:"device_epoch,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *DeviceInfo) Reset() {
- *x = DeviceInfo{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *DeviceInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DeviceInfo) ProtoMessage() {}
- func (x *DeviceInfo) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[3]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DeviceInfo.ProtoReflect.Descriptor instead.
- func (*DeviceInfo) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{3}
- }
- func (x *DeviceInfo) GetIdentity() *DeviceIdentity {
- if x != nil {
- return x.Identity
- }
- return nil
- }
- func (x *DeviceInfo) GetLifecycle() DeviceLifecycleState {
- if x != nil {
- return x.Lifecycle
- }
- return DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_UNSPECIFIED
- }
- func (x *DeviceInfo) GetDeviceEpoch() uint64 {
- if x != nil {
- return x.DeviceEpoch
- }
- return 0
- }
- type Range struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Min float64 `protobuf:"fixed64,1,opt,name=min,proto3" json:"min,omitempty"`
- Max float64 `protobuf:"fixed64,2,opt,name=max,proto3" json:"max,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Range) Reset() {
- *x = Range{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Range) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Range) ProtoMessage() {}
- func (x *Range) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[4]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Range.ProtoReflect.Descriptor instead.
- func (*Range) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{4}
- }
- func (x *Range) GetMin() float64 {
- if x != nil {
- return x.Min
- }
- return 0
- }
- func (x *Range) GetMax() float64 {
- if x != nil {
- return x.Max
- }
- return 0
- }
- type SensorCapability struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Aliases []string `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty"`
- DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
- Kind SensorKind `protobuf:"varint,4,opt,name=kind,proto3,enum=hth.api.v1.SensorKind" json:"kind,omitempty"`
- Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"`
- ValidRange *Range `protobuf:"bytes,6,opt,name=valid_range,json=validRange,proto3" json:"valid_range,omitempty"`
- Resolution float64 `protobuf:"fixed64,7,opt,name=resolution,proto3" json:"resolution,omitempty"`
- SourceTimestamp bool `protobuf:"varint,8,opt,name=source_timestamp,json=sourceTimestamp,proto3" json:"source_timestamp,omitempty"`
- MappingConfidence string `protobuf:"bytes,9,opt,name=mapping_confidence,json=mappingConfidence,proto3" json:"mapping_confidence,omitempty"`
- HoodId string `protobuf:"bytes,10,opt,name=hood_id,json=hoodId,proto3" json:"hood_id,omitempty"`
- ChamberId string `protobuf:"bytes,11,opt,name=chamber_id,json=chamberId,proto3" json:"chamber_id,omitempty"`
- DimmId string `protobuf:"bytes,12,opt,name=dimm_id,json=dimmId,proto3" json:"dimm_id,omitempty"`
- Connector string `protobuf:"bytes,13,opt,name=connector,proto3" json:"connector,omitempty"`
- SourceIndex int32 `protobuf:"varint,14,opt,name=source_index,json=sourceIndex,proto3" json:"source_index,omitempty"`
- UpdatePeriod *durationpb.Duration `protobuf:"bytes,15,opt,name=update_period,json=updatePeriod,proto3" json:"update_period,omitempty"`
- CalibrationVersion string `protobuf:"bytes,16,opt,name=calibration_version,json=calibrationVersion,proto3" json:"calibration_version,omitempty"`
- FeedbackMode FeedbackMode `protobuf:"varint,17,opt,name=feedback_mode,json=feedbackMode,proto3,enum=hth.api.v1.FeedbackMode" json:"feedback_mode,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SensorCapability) Reset() {
- *x = SensorCapability{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SensorCapability) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SensorCapability) ProtoMessage() {}
- func (x *SensorCapability) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[5]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SensorCapability.ProtoReflect.Descriptor instead.
- func (*SensorCapability) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{5}
- }
- func (x *SensorCapability) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *SensorCapability) GetAliases() []string {
- if x != nil {
- return x.Aliases
- }
- return nil
- }
- func (x *SensorCapability) GetDisplayName() string {
- if x != nil {
- return x.DisplayName
- }
- return ""
- }
- func (x *SensorCapability) GetKind() SensorKind {
- if x != nil {
- return x.Kind
- }
- return SensorKind_SENSOR_KIND_UNSPECIFIED
- }
- func (x *SensorCapability) GetUnit() string {
- if x != nil {
- return x.Unit
- }
- return ""
- }
- func (x *SensorCapability) GetValidRange() *Range {
- if x != nil {
- return x.ValidRange
- }
- return nil
- }
- func (x *SensorCapability) GetResolution() float64 {
- if x != nil {
- return x.Resolution
- }
- return 0
- }
- func (x *SensorCapability) GetSourceTimestamp() bool {
- if x != nil {
- return x.SourceTimestamp
- }
- return false
- }
- func (x *SensorCapability) GetMappingConfidence() string {
- if x != nil {
- return x.MappingConfidence
- }
- return ""
- }
- func (x *SensorCapability) GetHoodId() string {
- if x != nil {
- return x.HoodId
- }
- return ""
- }
- func (x *SensorCapability) GetChamberId() string {
- if x != nil {
- return x.ChamberId
- }
- return ""
- }
- func (x *SensorCapability) GetDimmId() string {
- if x != nil {
- return x.DimmId
- }
- return ""
- }
- func (x *SensorCapability) GetConnector() string {
- if x != nil {
- return x.Connector
- }
- return ""
- }
- func (x *SensorCapability) GetSourceIndex() int32 {
- if x != nil {
- return x.SourceIndex
- }
- return 0
- }
- func (x *SensorCapability) GetUpdatePeriod() *durationpb.Duration {
- if x != nil {
- return x.UpdatePeriod
- }
- return nil
- }
- func (x *SensorCapability) GetCalibrationVersion() string {
- if x != nil {
- return x.CalibrationVersion
- }
- return ""
- }
- func (x *SensorCapability) GetFeedbackMode() FeedbackMode {
- if x != nil {
- return x.FeedbackMode
- }
- return FeedbackMode_FEEDBACK_MODE_UNSPECIFIED
- }
- type ActuatorCapability struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Aliases []string `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty"`
- DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
- Kind ActuatorKind `protobuf:"varint,4,opt,name=kind,proto3,enum=hth.api.v1.ActuatorKind" json:"kind,omitempty"`
- Unit string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"`
- CommandRange *Range `protobuf:"bytes,6,opt,name=command_range,json=commandRange,proto3" json:"command_range,omitempty"`
- Resolution float64 `protobuf:"fixed64,7,opt,name=resolution,proto3" json:"resolution,omitempty"`
- ControlMode ControlMode `protobuf:"varint,8,opt,name=control_mode,json=controlMode,proto3,enum=hth.api.v1.ControlMode" json:"control_mode,omitempty"`
- FeedbackMode FeedbackMode `protobuf:"varint,9,opt,name=feedback_mode,json=feedbackMode,proto3,enum=hth.api.v1.FeedbackMode" json:"feedback_mode,omitempty"`
- Idempotent bool `protobuf:"varint,10,opt,name=idempotent,proto3" json:"idempotent,omitempty"`
- OneShot bool `protobuf:"varint,11,opt,name=one_shot,json=oneShot,proto3" json:"one_shot,omitempty"`
- SafetyDefault float64 `protobuf:"fixed64,12,opt,name=safety_default,json=safetyDefault,proto3" json:"safety_default,omitempty"`
- MaxSlewPerSecond float64 `protobuf:"fixed64,13,opt,name=max_slew_per_second,json=maxSlewPerSecond,proto3" json:"max_slew_per_second,omitempty"`
- ActualFeedback bool `protobuf:"varint,14,opt,name=actual_feedback,json=actualFeedback,proto3" json:"actual_feedback,omitempty"`
- HoodId string `protobuf:"bytes,15,opt,name=hood_id,json=hoodId,proto3" json:"hood_id,omitempty"`
- ChamberId string `protobuf:"bytes,16,opt,name=chamber_id,json=chamberId,proto3" json:"chamber_id,omitempty"`
- Connector string `protobuf:"bytes,17,opt,name=connector,proto3" json:"connector,omitempty"`
- Notes string `protobuf:"bytes,18,opt,name=notes,proto3" json:"notes,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ActuatorCapability) Reset() {
- *x = ActuatorCapability{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ActuatorCapability) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ActuatorCapability) ProtoMessage() {}
- func (x *ActuatorCapability) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[6]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ActuatorCapability.ProtoReflect.Descriptor instead.
- func (*ActuatorCapability) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{6}
- }
- func (x *ActuatorCapability) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *ActuatorCapability) GetAliases() []string {
- if x != nil {
- return x.Aliases
- }
- return nil
- }
- func (x *ActuatorCapability) GetDisplayName() string {
- if x != nil {
- return x.DisplayName
- }
- return ""
- }
- func (x *ActuatorCapability) GetKind() ActuatorKind {
- if x != nil {
- return x.Kind
- }
- return ActuatorKind_ACTUATOR_KIND_UNSPECIFIED
- }
- func (x *ActuatorCapability) GetUnit() string {
- if x != nil {
- return x.Unit
- }
- return ""
- }
- func (x *ActuatorCapability) GetCommandRange() *Range {
- if x != nil {
- return x.CommandRange
- }
- return nil
- }
- func (x *ActuatorCapability) GetResolution() float64 {
- if x != nil {
- return x.Resolution
- }
- return 0
- }
- func (x *ActuatorCapability) GetControlMode() ControlMode {
- if x != nil {
- return x.ControlMode
- }
- return ControlMode_CONTROL_MODE_UNSPECIFIED
- }
- func (x *ActuatorCapability) GetFeedbackMode() FeedbackMode {
- if x != nil {
- return x.FeedbackMode
- }
- return FeedbackMode_FEEDBACK_MODE_UNSPECIFIED
- }
- func (x *ActuatorCapability) GetIdempotent() bool {
- if x != nil {
- return x.Idempotent
- }
- return false
- }
- func (x *ActuatorCapability) GetOneShot() bool {
- if x != nil {
- return x.OneShot
- }
- return false
- }
- func (x *ActuatorCapability) GetSafetyDefault() float64 {
- if x != nil {
- return x.SafetyDefault
- }
- return 0
- }
- func (x *ActuatorCapability) GetMaxSlewPerSecond() float64 {
- if x != nil {
- return x.MaxSlewPerSecond
- }
- return 0
- }
- func (x *ActuatorCapability) GetActualFeedback() bool {
- if x != nil {
- return x.ActualFeedback
- }
- return false
- }
- func (x *ActuatorCapability) GetHoodId() string {
- if x != nil {
- return x.HoodId
- }
- return ""
- }
- func (x *ActuatorCapability) GetChamberId() string {
- if x != nil {
- return x.ChamberId
- }
- return ""
- }
- func (x *ActuatorCapability) GetConnector() string {
- if x != nil {
- return x.Connector
- }
- return ""
- }
- func (x *ActuatorCapability) GetNotes() string {
- if x != nil {
- return x.Notes
- }
- return ""
- }
- type Capabilities struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- ProfileId string `protobuf:"bytes,2,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
- ProfileRevision string `protobuf:"bytes,3,opt,name=profile_revision,json=profileRevision,proto3" json:"profile_revision,omitempty"`
- ProtocolContractHash string `protobuf:"bytes,4,opt,name=protocol_contract_hash,json=protocolContractHash,proto3" json:"protocol_contract_hash,omitempty"`
- CapabilityHash string `protobuf:"bytes,5,opt,name=capability_hash,json=capabilityHash,proto3" json:"capability_hash,omitempty"`
- ApiVersion string `protobuf:"bytes,6,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
- FirmwareVersion string `protobuf:"bytes,7,opt,name=firmware_version,json=firmwareVersion,proto3" json:"firmware_version,omitempty"`
- FirmwareVersionQuality DataQuality `protobuf:"varint,8,opt,name=firmware_version_quality,json=firmwareVersionQuality,proto3,enum=hth.api.v1.DataQuality" json:"firmware_version_quality,omitempty"`
- HoodCount int32 `protobuf:"varint,9,opt,name=hood_count,json=hoodCount,proto3" json:"hood_count,omitempty"`
- ChamberCount int32 `protobuf:"varint,10,opt,name=chamber_count,json=chamberCount,proto3" json:"chamber_count,omitempty"`
- Sensors []*SensorCapability `protobuf:"bytes,11,rep,name=sensors,proto3" json:"sensors,omitempty"`
- Actuators []*ActuatorCapability `protobuf:"bytes,12,rep,name=actuators,proto3" json:"actuators,omitempty"`
- RecommendedSamplePeriod *durationpb.Duration `protobuf:"bytes,13,opt,name=recommended_sample_period,json=recommendedSamplePeriod,proto3" json:"recommended_sample_period,omitempty"`
- AckSupported bool `protobuf:"varint,14,opt,name=ack_supported,json=ackSupported,proto3" json:"ack_supported,omitempty"`
- StatusQuerySupported bool `protobuf:"varint,15,opt,name=status_query_supported,json=statusQuerySupported,proto3" json:"status_query_supported,omitempty"`
- PositionFeedbackSupported bool `protobuf:"varint,16,opt,name=position_feedback_supported,json=positionFeedbackSupported,proto3" json:"position_feedback_supported,omitempty"`
- RpmFeedbackSupported bool `protobuf:"varint,17,opt,name=rpm_feedback_supported,json=rpmFeedbackSupported,proto3" json:"rpm_feedback_supported,omitempty"`
- DeviceFaultQuerySupported bool `protobuf:"varint,18,opt,name=device_fault_query_supported,json=deviceFaultQuerySupported,proto3" json:"device_fault_query_supported,omitempty"`
- LimitReadbackSupported bool `protobuf:"varint,19,opt,name=limit_readback_supported,json=limitReadbackSupported,proto3" json:"limit_readback_supported,omitempty"`
- ReadinessProbe string `protobuf:"bytes,20,opt,name=readiness_probe,json=readinessProbe,proto3" json:"readiness_probe,omitempty"`
- Notes string `protobuf:"bytes,21,opt,name=notes,proto3" json:"notes,omitempty"`
- Timing *TimingCapabilities `protobuf:"bytes,22,opt,name=timing,proto3" json:"timing,omitempty"`
- HostFaultReportingSupported bool `protobuf:"varint,23,opt,name=host_fault_reporting_supported,json=hostFaultReportingSupported,proto3" json:"host_fault_reporting_supported,omitempty"`
- DeviceNativeFaultQuerySupported bool `protobuf:"varint,24,opt,name=device_native_fault_query_supported,json=deviceNativeFaultQuerySupported,proto3" json:"device_native_fault_query_supported,omitempty"`
- DeviceFaultSource string `protobuf:"bytes,25,opt,name=device_fault_source,json=deviceFaultSource,proto3" json:"device_fault_source,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Capabilities) Reset() {
- *x = Capabilities{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Capabilities) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Capabilities) ProtoMessage() {}
- func (x *Capabilities) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[7]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Capabilities.ProtoReflect.Descriptor instead.
- func (*Capabilities) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{7}
- }
- func (x *Capabilities) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- func (x *Capabilities) GetProfileId() string {
- if x != nil {
- return x.ProfileId
- }
- return ""
- }
- func (x *Capabilities) GetProfileRevision() string {
- if x != nil {
- return x.ProfileRevision
- }
- return ""
- }
- func (x *Capabilities) GetProtocolContractHash() string {
- if x != nil {
- return x.ProtocolContractHash
- }
- return ""
- }
- func (x *Capabilities) GetCapabilityHash() string {
- if x != nil {
- return x.CapabilityHash
- }
- return ""
- }
- func (x *Capabilities) GetApiVersion() string {
- if x != nil {
- return x.ApiVersion
- }
- return ""
- }
- func (x *Capabilities) GetFirmwareVersion() string {
- if x != nil {
- return x.FirmwareVersion
- }
- return ""
- }
- func (x *Capabilities) GetFirmwareVersionQuality() DataQuality {
- if x != nil {
- return x.FirmwareVersionQuality
- }
- return DataQuality_DATA_QUALITY_UNSPECIFIED
- }
- func (x *Capabilities) GetHoodCount() int32 {
- if x != nil {
- return x.HoodCount
- }
- return 0
- }
- func (x *Capabilities) GetChamberCount() int32 {
- if x != nil {
- return x.ChamberCount
- }
- return 0
- }
- func (x *Capabilities) GetSensors() []*SensorCapability {
- if x != nil {
- return x.Sensors
- }
- return nil
- }
- func (x *Capabilities) GetActuators() []*ActuatorCapability {
- if x != nil {
- return x.Actuators
- }
- return nil
- }
- func (x *Capabilities) GetRecommendedSamplePeriod() *durationpb.Duration {
- if x != nil {
- return x.RecommendedSamplePeriod
- }
- return nil
- }
- func (x *Capabilities) GetAckSupported() bool {
- if x != nil {
- return x.AckSupported
- }
- return false
- }
- func (x *Capabilities) GetStatusQuerySupported() bool {
- if x != nil {
- return x.StatusQuerySupported
- }
- return false
- }
- func (x *Capabilities) GetPositionFeedbackSupported() bool {
- if x != nil {
- return x.PositionFeedbackSupported
- }
- return false
- }
- func (x *Capabilities) GetRpmFeedbackSupported() bool {
- if x != nil {
- return x.RpmFeedbackSupported
- }
- return false
- }
- func (x *Capabilities) GetDeviceFaultQuerySupported() bool {
- if x != nil {
- return x.DeviceFaultQuerySupported
- }
- return false
- }
- func (x *Capabilities) GetLimitReadbackSupported() bool {
- if x != nil {
- return x.LimitReadbackSupported
- }
- return false
- }
- func (x *Capabilities) GetReadinessProbe() string {
- if x != nil {
- return x.ReadinessProbe
- }
- return ""
- }
- func (x *Capabilities) GetNotes() string {
- if x != nil {
- return x.Notes
- }
- return ""
- }
- func (x *Capabilities) GetTiming() *TimingCapabilities {
- if x != nil {
- return x.Timing
- }
- return nil
- }
- func (x *Capabilities) GetHostFaultReportingSupported() bool {
- if x != nil {
- return x.HostFaultReportingSupported
- }
- return false
- }
- func (x *Capabilities) GetDeviceNativeFaultQuerySupported() bool {
- if x != nil {
- return x.DeviceNativeFaultQuerySupported
- }
- return false
- }
- func (x *Capabilities) GetDeviceFaultSource() string {
- if x != nil {
- return x.DeviceFaultSource
- }
- return ""
- }
- type TimingCapabilities struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- TemperatureTransactionWorstCaseMs uint32 `protobuf:"varint,1,opt,name=temperature_transaction_worst_case_ms,json=temperatureTransactionWorstCaseMs,proto3" json:"temperature_transaction_worst_case_ms,omitempty"`
- MotorStatusWorstCaseMs uint32 `protobuf:"varint,2,opt,name=motor_status_worst_case_ms,json=motorStatusWorstCaseMs,proto3" json:"motor_status_worst_case_ms,omitempty"`
- ControlDispatchWorstCaseMs uint32 `protobuf:"varint,3,opt,name=control_dispatch_worst_case_ms,json=controlDispatchWorstCaseMs,proto3" json:"control_dispatch_worst_case_ms,omitempty"`
- RecommendedRpcDeadlineMs uint32 `protobuf:"varint,4,opt,name=recommended_rpc_deadline_ms,json=recommendedRpcDeadlineMs,proto3" json:"recommended_rpc_deadline_ms,omitempty"`
- RecommendedActionTtlMs uint32 `protobuf:"varint,5,opt,name=recommended_action_ttl_ms,json=recommendedActionTtlMs,proto3" json:"recommended_action_ttl_ms,omitempty"`
- MinimumControlPeriodMs uint32 `protobuf:"varint,6,opt,name=minimum_control_period_ms,json=minimumControlPeriodMs,proto3" json:"minimum_control_period_ms,omitempty"`
- RecommendedSamplePeriodMs uint32 `protobuf:"varint,7,opt,name=recommended_sample_period_ms,json=recommendedSamplePeriodMs,proto3" json:"recommended_sample_period_ms,omitempty"`
- MaxUnpreemptableTransactionMs uint32 `protobuf:"varint,8,opt,name=max_unpreemptable_transaction_ms,json=maxUnpreemptableTransactionMs,proto3" json:"max_unpreemptable_transaction_ms,omitempty"`
- ControlWindowMs uint32 `protobuf:"varint,9,opt,name=control_window_ms,json=controlWindowMs,proto3" json:"control_window_ms,omitempty"`
- SchedulerMarginMs uint32 `protobuf:"varint,10,opt,name=scheduler_margin_ms,json=schedulerMarginMs,proto3" json:"scheduler_margin_ms,omitempty"`
- MaxPendingContinuousActions uint32 `protobuf:"varint,11,opt,name=max_pending_continuous_actions,json=maxPendingContinuousActions,proto3" json:"max_pending_continuous_actions,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *TimingCapabilities) Reset() {
- *x = TimingCapabilities{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *TimingCapabilities) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TimingCapabilities) ProtoMessage() {}
- func (x *TimingCapabilities) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[8]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use TimingCapabilities.ProtoReflect.Descriptor instead.
- func (*TimingCapabilities) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{8}
- }
- func (x *TimingCapabilities) GetTemperatureTransactionWorstCaseMs() uint32 {
- if x != nil {
- return x.TemperatureTransactionWorstCaseMs
- }
- return 0
- }
- func (x *TimingCapabilities) GetMotorStatusWorstCaseMs() uint32 {
- if x != nil {
- return x.MotorStatusWorstCaseMs
- }
- return 0
- }
- func (x *TimingCapabilities) GetControlDispatchWorstCaseMs() uint32 {
- if x != nil {
- return x.ControlDispatchWorstCaseMs
- }
- return 0
- }
- func (x *TimingCapabilities) GetRecommendedRpcDeadlineMs() uint32 {
- if x != nil {
- return x.RecommendedRpcDeadlineMs
- }
- return 0
- }
- func (x *TimingCapabilities) GetRecommendedActionTtlMs() uint32 {
- if x != nil {
- return x.RecommendedActionTtlMs
- }
- return 0
- }
- func (x *TimingCapabilities) GetMinimumControlPeriodMs() uint32 {
- if x != nil {
- return x.MinimumControlPeriodMs
- }
- return 0
- }
- func (x *TimingCapabilities) GetRecommendedSamplePeriodMs() uint32 {
- if x != nil {
- return x.RecommendedSamplePeriodMs
- }
- return 0
- }
- func (x *TimingCapabilities) GetMaxUnpreemptableTransactionMs() uint32 {
- if x != nil {
- return x.MaxUnpreemptableTransactionMs
- }
- return 0
- }
- func (x *TimingCapabilities) GetControlWindowMs() uint32 {
- if x != nil {
- return x.ControlWindowMs
- }
- return 0
- }
- func (x *TimingCapabilities) GetSchedulerMarginMs() uint32 {
- if x != nil {
- return x.SchedulerMarginMs
- }
- return 0
- }
- func (x *TimingCapabilities) GetMaxPendingContinuousActions() uint32 {
- if x != nil {
- return x.MaxPendingContinuousActions
- }
- return 0
- }
- type CommandedActuator struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- CommandedTarget float64 `protobuf:"fixed64,2,opt,name=commanded_target,json=commandedTarget,proto3" json:"commanded_target,omitempty"`
- ActualQuality DataQuality `protobuf:"varint,3,opt,name=actual_quality,json=actualQuality,proto3,enum=hth.api.v1.DataQuality" json:"actual_quality,omitempty"`
- ActualValue *float64 `protobuf:"fixed64,4,opt,name=actual_value,json=actualValue,proto3,oneof" json:"actual_value,omitempty"`
- ActualReason string `protobuf:"bytes,5,opt,name=actual_reason,json=actualReason,proto3" json:"actual_reason,omitempty"`
- TargetEpoch uint64 `protobuf:"varint,6,opt,name=target_epoch,json=targetEpoch,proto3" json:"target_epoch,omitempty"`
- TargetSource string `protobuf:"bytes,7,opt,name=target_source,json=targetSource,proto3" json:"target_source,omitempty"`
- TargetQuality DataQuality `protobuf:"varint,8,opt,name=target_quality,json=targetQuality,proto3,enum=hth.api.v1.DataQuality" json:"target_quality,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *CommandedActuator) Reset() {
- *x = CommandedActuator{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *CommandedActuator) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CommandedActuator) ProtoMessage() {}
- func (x *CommandedActuator) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[9]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use CommandedActuator.ProtoReflect.Descriptor instead.
- func (*CommandedActuator) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{9}
- }
- func (x *CommandedActuator) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *CommandedActuator) GetCommandedTarget() float64 {
- if x != nil {
- return x.CommandedTarget
- }
- return 0
- }
- func (x *CommandedActuator) GetActualQuality() DataQuality {
- if x != nil {
- return x.ActualQuality
- }
- return DataQuality_DATA_QUALITY_UNSPECIFIED
- }
- func (x *CommandedActuator) GetActualValue() float64 {
- if x != nil && x.ActualValue != nil {
- return *x.ActualValue
- }
- return 0
- }
- func (x *CommandedActuator) GetActualReason() string {
- if x != nil {
- return x.ActualReason
- }
- return ""
- }
- func (x *CommandedActuator) GetTargetEpoch() uint64 {
- if x != nil {
- return x.TargetEpoch
- }
- return 0
- }
- func (x *CommandedActuator) GetTargetSource() string {
- if x != nil {
- return x.TargetSource
- }
- return ""
- }
- func (x *CommandedActuator) GetTargetQuality() DataQuality {
- if x != nil {
- return x.TargetQuality
- }
- return DataQuality_DATA_QUALITY_UNSPECIFIED
- }
- type FieldAudit struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Explicit bool `protobuf:"varint,2,opt,name=explicit,proto3" json:"explicit,omitempty"`
- RawValue float64 `protobuf:"fixed64,3,opt,name=raw_value,json=rawValue,proto3" json:"raw_value,omitempty"`
- BeforeClamp float64 `protobuf:"fixed64,4,opt,name=before_clamp,json=beforeClamp,proto3" json:"before_clamp,omitempty"`
- AfterClamp float64 `protobuf:"fixed64,5,opt,name=after_clamp,json=afterClamp,proto3" json:"after_clamp,omitempty"`
- Clamped bool `protobuf:"varint,6,opt,name=clamped,proto3" json:"clamped,omitempty"`
- ClampReason string `protobuf:"bytes,7,opt,name=clamp_reason,json=clampReason,proto3" json:"clamp_reason,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *FieldAudit) Reset() {
- *x = FieldAudit{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *FieldAudit) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FieldAudit) ProtoMessage() {}
- func (x *FieldAudit) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[10]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use FieldAudit.ProtoReflect.Descriptor instead.
- func (*FieldAudit) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{10}
- }
- func (x *FieldAudit) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *FieldAudit) GetExplicit() bool {
- if x != nil {
- return x.Explicit
- }
- return false
- }
- func (x *FieldAudit) GetRawValue() float64 {
- if x != nil {
- return x.RawValue
- }
- return 0
- }
- func (x *FieldAudit) GetBeforeClamp() float64 {
- if x != nil {
- return x.BeforeClamp
- }
- return 0
- }
- func (x *FieldAudit) GetAfterClamp() float64 {
- if x != nil {
- return x.AfterClamp
- }
- return 0
- }
- func (x *FieldAudit) GetClamped() bool {
- if x != nil {
- return x.Clamped
- }
- return false
- }
- func (x *FieldAudit) GetClampReason() string {
- if x != nil {
- return x.ClampReason
- }
- return ""
- }
- type ActionRecord struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
- ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
- Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
- Confirmation ConfirmationStatus `protobuf:"varint,4,opt,name=confirmation,proto3,enum=hth.api.v1.ConfirmationStatus" json:"confirmation,omitempty"`
- Actuators []*CommandedActuator `protobuf:"bytes,5,rep,name=actuators,proto3" json:"actuators,omitempty"`
- Origin string `protobuf:"bytes,6,opt,name=origin,proto3" json:"origin,omitempty"`
- FieldAudits []*FieldAudit `protobuf:"bytes,7,rep,name=field_audits,json=fieldAudits,proto3" json:"field_audits,omitempty"`
- ActionMode ActionMode `protobuf:"varint,8,opt,name=action_mode,json=actionMode,proto3,enum=hth.api.v1.ActionMode" json:"action_mode,omitempty"`
- PeerUid int32 `protobuf:"varint,9,opt,name=peer_uid,json=peerUid,proto3" json:"peer_uid,omitempty"`
- PeerGid int32 `protobuf:"varint,10,opt,name=peer_gid,json=peerGid,proto3" json:"peer_gid,omitempty"`
- PeerPid int32 `protobuf:"varint,11,opt,name=peer_pid,json=peerPid,proto3" json:"peer_pid,omitempty"`
- DispatchState ActionDispatchState `protobuf:"varint,12,opt,name=dispatch_state,json=dispatchState,proto3,enum=hth.api.v1.ActionDispatchState" json:"dispatch_state,omitempty"`
- ActionEpoch uint64 `protobuf:"varint,13,opt,name=action_epoch,json=actionEpoch,proto3" json:"action_epoch,omitempty"`
- PortGeneration uint64 `protobuf:"varint,14,opt,name=port_generation,json=portGeneration,proto3" json:"port_generation,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ActionRecord) Reset() {
- *x = ActionRecord{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ActionRecord) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ActionRecord) ProtoMessage() {}
- func (x *ActionRecord) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[11]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ActionRecord.ProtoReflect.Descriptor instead.
- func (*ActionRecord) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{11}
- }
- func (x *ActionRecord) GetCommandId() string {
- if x != nil {
- return x.CommandId
- }
- return ""
- }
- func (x *ActionRecord) GetClientId() string {
- if x != nil {
- return x.ClientId
- }
- return ""
- }
- func (x *ActionRecord) GetTime() *timestamppb.Timestamp {
- if x != nil {
- return x.Time
- }
- return nil
- }
- func (x *ActionRecord) GetConfirmation() ConfirmationStatus {
- if x != nil {
- return x.Confirmation
- }
- return ConfirmationStatus_CONFIRMATION_STATUS_UNSPECIFIED
- }
- func (x *ActionRecord) GetActuators() []*CommandedActuator {
- if x != nil {
- return x.Actuators
- }
- return nil
- }
- func (x *ActionRecord) GetOrigin() string {
- if x != nil {
- return x.Origin
- }
- return ""
- }
- func (x *ActionRecord) GetFieldAudits() []*FieldAudit {
- if x != nil {
- return x.FieldAudits
- }
- return nil
- }
- func (x *ActionRecord) GetActionMode() ActionMode {
- if x != nil {
- return x.ActionMode
- }
- return ActionMode_ACTION_MODE_UNSPECIFIED
- }
- func (x *ActionRecord) GetPeerUid() int32 {
- if x != nil {
- return x.PeerUid
- }
- return 0
- }
- func (x *ActionRecord) GetPeerGid() int32 {
- if x != nil {
- return x.PeerGid
- }
- return 0
- }
- func (x *ActionRecord) GetPeerPid() int32 {
- if x != nil {
- return x.PeerPid
- }
- return 0
- }
- func (x *ActionRecord) GetDispatchState() ActionDispatchState {
- if x != nil {
- return x.DispatchState
- }
- return ActionDispatchState_ACTION_DISPATCH_STATE_UNSPECIFIED
- }
- func (x *ActionRecord) GetActionEpoch() uint64 {
- if x != nil {
- return x.ActionEpoch
- }
- return 0
- }
- func (x *ActionRecord) GetPortGeneration() uint64 {
- if x != nil {
- return x.PortGeneration
- }
- return 0
- }
- type LeaseSummary struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
- LeaseEpoch uint64 `protobuf:"varint,2,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
- Holder string `protobuf:"bytes,3,opt,name=holder,proto3" json:"holder,omitempty"`
- ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
- Active bool `protobuf:"varint,5,opt,name=active,proto3" json:"active,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeaseSummary) Reset() {
- *x = LeaseSummary{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeaseSummary) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeaseSummary) ProtoMessage() {}
- func (x *LeaseSummary) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[12]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use LeaseSummary.ProtoReflect.Descriptor instead.
- func (*LeaseSummary) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{12}
- }
- func (x *LeaseSummary) GetLeaseId() string {
- if x != nil {
- return x.LeaseId
- }
- return ""
- }
- func (x *LeaseSummary) GetLeaseEpoch() uint64 {
- if x != nil {
- return x.LeaseEpoch
- }
- return 0
- }
- func (x *LeaseSummary) GetHolder() string {
- if x != nil {
- return x.Holder
- }
- return ""
- }
- func (x *LeaseSummary) GetExpiresAt() *timestamppb.Timestamp {
- if x != nil {
- return x.ExpiresAt
- }
- return nil
- }
- func (x *LeaseSummary) GetActive() bool {
- if x != nil {
- return x.Active
- }
- return false
- }
- type Snapshot struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- DaemonInstanceId string `protobuf:"bytes,2,opt,name=daemon_instance_id,json=daemonInstanceId,proto3" json:"daemon_instance_id,omitempty"`
- DeviceEpoch uint64 `protobuf:"varint,3,opt,name=device_epoch,json=deviceEpoch,proto3" json:"device_epoch,omitempty"`
- SnapshotSeq uint64 `protobuf:"varint,4,opt,name=snapshot_seq,json=snapshotSeq,proto3" json:"snapshot_seq,omitempty"`
- ControlRevision uint64 `protobuf:"varint,5,opt,name=control_revision,json=controlRevision,proto3" json:"control_revision,omitempty"`
- EventId uint64 `protobuf:"varint,6,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
- WallTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=wall_time,json=wallTime,proto3" json:"wall_time,omitempty"`
- MonotonicNs uint64 `protobuf:"varint,8,opt,name=monotonic_ns,json=monotonicNs,proto3" json:"monotonic_ns,omitempty"`
- CaptureWindow *TimeWindow `protobuf:"bytes,9,opt,name=capture_window,json=captureWindow,proto3" json:"capture_window,omitempty"`
- Lifecycle DeviceLifecycleState `protobuf:"varint,10,opt,name=lifecycle,proto3,enum=hth.api.v1.DeviceLifecycleState" json:"lifecycle,omitempty"`
- Measurements []*Measurement `protobuf:"bytes,11,rep,name=measurements,proto3" json:"measurements,omitempty"`
- ContinuousTargets []*CommandedActuator `protobuf:"bytes,12,rep,name=continuous_targets,json=continuousTargets,proto3" json:"continuous_targets,omitempty"`
- LastRequested *ActionRecord `protobuf:"bytes,13,opt,name=last_requested,json=lastRequested,proto3" json:"last_requested,omitempty"`
- LastAccepted *ActionRecord `protobuf:"bytes,14,opt,name=last_accepted,json=lastAccepted,proto3" json:"last_accepted,omitempty"`
- LastDispatched *ActionRecord `protobuf:"bytes,15,opt,name=last_dispatched,json=lastDispatched,proto3" json:"last_dispatched,omitempty"`
- DeviceConfirmation ConfirmationStatus `protobuf:"varint,16,opt,name=device_confirmation,json=deviceConfirmation,proto3,enum=hth.api.v1.ConfirmationStatus" json:"device_confirmation,omitempty"`
- ActiveFaults []*Fault `protobuf:"bytes,17,rep,name=active_faults,json=activeFaults,proto3" json:"active_faults,omitempty"`
- Lease *LeaseSummary `protobuf:"bytes,18,opt,name=lease,proto3" json:"lease,omitempty"`
- DroppedTelemetryCount uint64 `protobuf:"varint,19,opt,name=dropped_telemetry_count,json=droppedTelemetryCount,proto3" json:"dropped_telemetry_count,omitempty"`
- DataGap bool `protobuf:"varint,20,opt,name=data_gap,json=dataGap,proto3" json:"data_gap,omitempty"`
- TransportState TransportState `protobuf:"varint,21,opt,name=transport_state,json=transportState,proto3,enum=hth.api.v1.TransportState" json:"transport_state,omitempty"`
- DeviceReadiness DeviceReadiness `protobuf:"varint,22,opt,name=device_readiness,json=deviceReadiness,proto3,enum=hth.api.v1.DeviceReadiness" json:"device_readiness,omitempty"`
- SafetyControlMode SafetyControlMode `protobuf:"varint,23,opt,name=safety_control_mode,json=safetyControlMode,proto3,enum=hth.api.v1.SafetyControlMode" json:"safety_control_mode,omitempty"`
- LastSuccessfulHardwareHeartbeat *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=last_successful_hardware_heartbeat,json=lastSuccessfulHardwareHeartbeat,proto3" json:"last_successful_hardware_heartbeat,omitempty"`
- HardwareWatchdogTimeoutMs uint32 `protobuf:"varint,25,opt,name=hardware_watchdog_timeout_ms,json=hardwareWatchdogTimeoutMs,proto3" json:"hardware_watchdog_timeout_ms,omitempty"`
- RemainingWatchdogMarginMs uint32 `protobuf:"varint,26,opt,name=remaining_watchdog_margin_ms,json=remainingWatchdogMarginMs,proto3" json:"remaining_watchdog_margin_ms,omitempty"`
- HeartbeatDeliveryState ActionDispatchState `protobuf:"varint,27,opt,name=heartbeat_delivery_state,json=heartbeatDeliveryState,proto3,enum=hth.api.v1.ActionDispatchState" json:"heartbeat_delivery_state,omitempty"`
- PortGeneration uint64 `protobuf:"varint,28,opt,name=port_generation,json=portGeneration,proto3" json:"port_generation,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Snapshot) Reset() {
- *x = Snapshot{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Snapshot) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Snapshot) ProtoMessage() {}
- func (x *Snapshot) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[13]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Snapshot.ProtoReflect.Descriptor instead.
- func (*Snapshot) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{13}
- }
- func (x *Snapshot) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- func (x *Snapshot) GetDaemonInstanceId() string {
- if x != nil {
- return x.DaemonInstanceId
- }
- return ""
- }
- func (x *Snapshot) GetDeviceEpoch() uint64 {
- if x != nil {
- return x.DeviceEpoch
- }
- return 0
- }
- func (x *Snapshot) GetSnapshotSeq() uint64 {
- if x != nil {
- return x.SnapshotSeq
- }
- return 0
- }
- func (x *Snapshot) GetControlRevision() uint64 {
- if x != nil {
- return x.ControlRevision
- }
- return 0
- }
- func (x *Snapshot) GetEventId() uint64 {
- if x != nil {
- return x.EventId
- }
- return 0
- }
- func (x *Snapshot) GetWallTime() *timestamppb.Timestamp {
- if x != nil {
- return x.WallTime
- }
- return nil
- }
- func (x *Snapshot) GetMonotonicNs() uint64 {
- if x != nil {
- return x.MonotonicNs
- }
- return 0
- }
- func (x *Snapshot) GetCaptureWindow() *TimeWindow {
- if x != nil {
- return x.CaptureWindow
- }
- return nil
- }
- func (x *Snapshot) GetLifecycle() DeviceLifecycleState {
- if x != nil {
- return x.Lifecycle
- }
- return DeviceLifecycleState_DEVICE_LIFECYCLE_STATE_UNSPECIFIED
- }
- func (x *Snapshot) GetMeasurements() []*Measurement {
- if x != nil {
- return x.Measurements
- }
- return nil
- }
- func (x *Snapshot) GetContinuousTargets() []*CommandedActuator {
- if x != nil {
- return x.ContinuousTargets
- }
- return nil
- }
- func (x *Snapshot) GetLastRequested() *ActionRecord {
- if x != nil {
- return x.LastRequested
- }
- return nil
- }
- func (x *Snapshot) GetLastAccepted() *ActionRecord {
- if x != nil {
- return x.LastAccepted
- }
- return nil
- }
- func (x *Snapshot) GetLastDispatched() *ActionRecord {
- if x != nil {
- return x.LastDispatched
- }
- return nil
- }
- func (x *Snapshot) GetDeviceConfirmation() ConfirmationStatus {
- if x != nil {
- return x.DeviceConfirmation
- }
- return ConfirmationStatus_CONFIRMATION_STATUS_UNSPECIFIED
- }
- func (x *Snapshot) GetActiveFaults() []*Fault {
- if x != nil {
- return x.ActiveFaults
- }
- return nil
- }
- func (x *Snapshot) GetLease() *LeaseSummary {
- if x != nil {
- return x.Lease
- }
- return nil
- }
- func (x *Snapshot) GetDroppedTelemetryCount() uint64 {
- if x != nil {
- return x.DroppedTelemetryCount
- }
- return 0
- }
- func (x *Snapshot) GetDataGap() bool {
- if x != nil {
- return x.DataGap
- }
- return false
- }
- func (x *Snapshot) GetTransportState() TransportState {
- if x != nil {
- return x.TransportState
- }
- return TransportState_TRANSPORT_STATE_UNSPECIFIED
- }
- func (x *Snapshot) GetDeviceReadiness() DeviceReadiness {
- if x != nil {
- return x.DeviceReadiness
- }
- return DeviceReadiness_DEVICE_READINESS_UNSPECIFIED
- }
- func (x *Snapshot) GetSafetyControlMode() SafetyControlMode {
- if x != nil {
- return x.SafetyControlMode
- }
- return SafetyControlMode_SAFETY_CONTROL_MODE_UNSPECIFIED
- }
- func (x *Snapshot) GetLastSuccessfulHardwareHeartbeat() *timestamppb.Timestamp {
- if x != nil {
- return x.LastSuccessfulHardwareHeartbeat
- }
- return nil
- }
- func (x *Snapshot) GetHardwareWatchdogTimeoutMs() uint32 {
- if x != nil {
- return x.HardwareWatchdogTimeoutMs
- }
- return 0
- }
- func (x *Snapshot) GetRemainingWatchdogMarginMs() uint32 {
- if x != nil {
- return x.RemainingWatchdogMarginMs
- }
- return 0
- }
- func (x *Snapshot) GetHeartbeatDeliveryState() ActionDispatchState {
- if x != nil {
- return x.HeartbeatDeliveryState
- }
- return ActionDispatchState_ACTION_DISPATCH_STATE_UNSPECIFIED
- }
- func (x *Snapshot) GetPortGeneration() uint64 {
- if x != nil {
- return x.PortGeneration
- }
- return 0
- }
- type Fault struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- FaultId string `protobuf:"bytes,1,opt,name=fault_id,json=faultId,proto3" json:"fault_id,omitempty"`
- Type FaultType `protobuf:"varint,2,opt,name=type,proto3,enum=hth.api.v1.FaultType" json:"type,omitempty"`
- Severity FaultSeverity `protobuf:"varint,3,opt,name=severity,proto3,enum=hth.api.v1.FaultSeverity" json:"severity,omitempty"`
- Class FaultClass `protobuf:"varint,4,opt,name=class,proto3,enum=hth.api.v1.FaultClass" json:"class,omitempty"`
- FirstTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=first_time,json=firstTime,proto3" json:"first_time,omitempty"`
- LastTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_time,json=lastTime,proto3" json:"last_time,omitempty"`
- Active bool `protobuf:"varint,7,opt,name=active,proto3" json:"active,omitempty"`
- Latched bool `protobuf:"varint,8,opt,name=latched,proto3" json:"latched,omitempty"`
- Count uint64 `protobuf:"varint,9,opt,name=count,proto3" json:"count,omitempty"`
- DeviceId string `protobuf:"bytes,10,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- CommandId string `protobuf:"bytes,11,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
- HumanReason string `protobuf:"bytes,12,opt,name=human_reason,json=humanReason,proto3" json:"human_reason,omitempty"`
- 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"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Fault) Reset() {
- *x = Fault{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Fault) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Fault) ProtoMessage() {}
- func (x *Fault) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[14]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Fault.ProtoReflect.Descriptor instead.
- func (*Fault) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{14}
- }
- func (x *Fault) GetFaultId() string {
- if x != nil {
- return x.FaultId
- }
- return ""
- }
- func (x *Fault) GetType() FaultType {
- if x != nil {
- return x.Type
- }
- return FaultType_FAULT_TYPE_UNSPECIFIED
- }
- func (x *Fault) GetSeverity() FaultSeverity {
- if x != nil {
- return x.Severity
- }
- return FaultSeverity_FAULT_SEVERITY_UNSPECIFIED
- }
- func (x *Fault) GetClass() FaultClass {
- if x != nil {
- return x.Class
- }
- return FaultClass_FAULT_CLASS_UNSPECIFIED
- }
- func (x *Fault) GetFirstTime() *timestamppb.Timestamp {
- if x != nil {
- return x.FirstTime
- }
- return nil
- }
- func (x *Fault) GetLastTime() *timestamppb.Timestamp {
- if x != nil {
- return x.LastTime
- }
- return nil
- }
- func (x *Fault) GetActive() bool {
- if x != nil {
- return x.Active
- }
- return false
- }
- func (x *Fault) GetLatched() bool {
- if x != nil {
- return x.Latched
- }
- return false
- }
- func (x *Fault) GetCount() uint64 {
- if x != nil {
- return x.Count
- }
- return 0
- }
- func (x *Fault) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- func (x *Fault) GetCommandId() string {
- if x != nil {
- return x.CommandId
- }
- return ""
- }
- func (x *Fault) GetHumanReason() string {
- if x != nil {
- return x.HumanReason
- }
- return ""
- }
- func (x *Fault) GetDiagnostics() map[string]string {
- if x != nil {
- return x.Diagnostics
- }
- return nil
- }
- type DeliveryGap struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DroppedCount uint64 `protobuf:"varint,1,opt,name=dropped_count,json=droppedCount,proto3" json:"dropped_count,omitempty"`
- LastContiguousEventId uint64 `protobuf:"varint,2,opt,name=last_contiguous_event_id,json=lastContiguousEventId,proto3" json:"last_contiguous_event_id,omitempty"`
- RequestedResumeAfterEventId uint64 `protobuf:"varint,3,opt,name=requested_resume_after_event_id,json=requestedResumeAfterEventId,proto3" json:"requested_resume_after_event_id,omitempty"`
- OldestAvailableEventId uint64 `protobuf:"varint,4,opt,name=oldest_available_event_id,json=oldestAvailableEventId,proto3" json:"oldest_available_event_id,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *DeliveryGap) Reset() {
- *x = DeliveryGap{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *DeliveryGap) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DeliveryGap) ProtoMessage() {}
- func (x *DeliveryGap) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[15]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DeliveryGap.ProtoReflect.Descriptor instead.
- func (*DeliveryGap) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{15}
- }
- func (x *DeliveryGap) GetDroppedCount() uint64 {
- if x != nil {
- return x.DroppedCount
- }
- return 0
- }
- func (x *DeliveryGap) GetLastContiguousEventId() uint64 {
- if x != nil {
- return x.LastContiguousEventId
- }
- return 0
- }
- func (x *DeliveryGap) GetRequestedResumeAfterEventId() uint64 {
- if x != nil {
- return x.RequestedResumeAfterEventId
- }
- return 0
- }
- func (x *DeliveryGap) GetOldestAvailableEventId() uint64 {
- if x != nil {
- return x.OldestAvailableEventId
- }
- return 0
- }
- type Event struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- EventId uint64 `protobuf:"varint,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
- Kind EventKind `protobuf:"varint,2,opt,name=kind,proto3,enum=hth.api.v1.EventKind" json:"kind,omitempty"`
- WallTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=wall_time,json=wallTime,proto3" json:"wall_time,omitempty"`
- MonotonicNs uint64 `protobuf:"varint,4,opt,name=monotonic_ns,json=monotonicNs,proto3" json:"monotonic_ns,omitempty"`
- DeviceId string `protobuf:"bytes,5,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- Snapshot *Snapshot `protobuf:"bytes,6,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
- Fault *Fault `protobuf:"bytes,7,opt,name=fault,proto3" json:"fault,omitempty"`
- Message string `protobuf:"bytes,8,opt,name=message,proto3" json:"message,omitempty"`
- ResumeAfterEventId uint64 `protobuf:"varint,9,opt,name=resume_after_event_id,json=resumeAfterEventId,proto3" json:"resume_after_event_id,omitempty"`
- DroppedCount uint64 `protobuf:"varint,10,opt,name=dropped_count,json=droppedCount,proto3" json:"dropped_count,omitempty"`
- SourceEventId uint64 `protobuf:"varint,11,opt,name=source_event_id,json=sourceEventId,proto3" json:"source_event_id,omitempty"`
- SourceCaptureId string `protobuf:"bytes,12,opt,name=source_capture_id,json=sourceCaptureId,proto3" json:"source_capture_id,omitempty"`
- SourceDeviceId string `protobuf:"bytes,13,opt,name=source_device_id,json=sourceDeviceId,proto3" json:"source_device_id,omitempty"`
- SourceDaemonInstanceId string `protobuf:"bytes,14,opt,name=source_daemon_instance_id,json=sourceDaemonInstanceId,proto3" json:"source_daemon_instance_id,omitempty"`
- LastContiguousEventId uint64 `protobuf:"varint,15,opt,name=last_contiguous_event_id,json=lastContiguousEventId,proto3" json:"last_contiguous_event_id,omitempty"`
- // Per-subscriber delivery gap attached to the next real event. Does not
- // consume a global event_id and must not be treated as a device event.
- DeliveryGap *DeliveryGap `protobuf:"bytes,16,opt,name=delivery_gap,json=deliveryGap,proto3" json:"delivery_gap,omitempty"`
- ActionResult *ActionResult `protobuf:"bytes,17,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"`
- PortGeneration uint64 `protobuf:"varint,18,opt,name=port_generation,json=portGeneration,proto3" json:"port_generation,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Event) Reset() {
- *x = Event{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Event) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Event) ProtoMessage() {}
- func (x *Event) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[16]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Event.ProtoReflect.Descriptor instead.
- func (*Event) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{16}
- }
- func (x *Event) GetEventId() uint64 {
- if x != nil {
- return x.EventId
- }
- return 0
- }
- func (x *Event) GetKind() EventKind {
- if x != nil {
- return x.Kind
- }
- return EventKind_EVENT_KIND_UNSPECIFIED
- }
- func (x *Event) GetWallTime() *timestamppb.Timestamp {
- if x != nil {
- return x.WallTime
- }
- return nil
- }
- func (x *Event) GetMonotonicNs() uint64 {
- if x != nil {
- return x.MonotonicNs
- }
- return 0
- }
- func (x *Event) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- func (x *Event) GetSnapshot() *Snapshot {
- if x != nil {
- return x.Snapshot
- }
- return nil
- }
- func (x *Event) GetFault() *Fault {
- if x != nil {
- return x.Fault
- }
- return nil
- }
- func (x *Event) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
- }
- func (x *Event) GetResumeAfterEventId() uint64 {
- if x != nil {
- return x.ResumeAfterEventId
- }
- return 0
- }
- func (x *Event) GetDroppedCount() uint64 {
- if x != nil {
- return x.DroppedCount
- }
- return 0
- }
- func (x *Event) GetSourceEventId() uint64 {
- if x != nil {
- return x.SourceEventId
- }
- return 0
- }
- func (x *Event) GetSourceCaptureId() string {
- if x != nil {
- return x.SourceCaptureId
- }
- return ""
- }
- func (x *Event) GetSourceDeviceId() string {
- if x != nil {
- return x.SourceDeviceId
- }
- return ""
- }
- func (x *Event) GetSourceDaemonInstanceId() string {
- if x != nil {
- return x.SourceDaemonInstanceId
- }
- return ""
- }
- func (x *Event) GetLastContiguousEventId() uint64 {
- if x != nil {
- return x.LastContiguousEventId
- }
- return 0
- }
- func (x *Event) GetDeliveryGap() *DeliveryGap {
- if x != nil {
- return x.DeliveryGap
- }
- return nil
- }
- func (x *Event) GetActionResult() *ActionResult {
- if x != nil {
- return x.ActionResult
- }
- return nil
- }
- func (x *Event) GetPortGeneration() uint64 {
- if x != nil {
- return x.PortGeneration
- }
- return 0
- }
- type ContinuousTarget struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ContinuousTarget) Reset() {
- *x = ContinuousTarget{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ContinuousTarget) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ContinuousTarget) ProtoMessage() {}
- func (x *ContinuousTarget) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[17]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ContinuousTarget.ProtoReflect.Descriptor instead.
- func (*ContinuousTarget) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{17}
- }
- func (x *ContinuousTarget) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *ContinuousTarget) GetValue() float64 {
- if x != nil {
- return x.Value
- }
- return 0
- }
- type DiscreteCommand struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *DiscreteCommand) Reset() {
- *x = DiscreteCommand{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *DiscreteCommand) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DiscreteCommand) ProtoMessage() {}
- func (x *DiscreteCommand) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[18]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DiscreteCommand.ProtoReflect.Descriptor instead.
- func (*DiscreteCommand) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{18}
- }
- func (x *DiscreteCommand) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *DiscreteCommand) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *DiscreteCommand) GetValue() float64 {
- if x != nil {
- return x.Value
- }
- return 0
- }
- type ClampRecord struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Original float64 `protobuf:"fixed64,2,opt,name=original,proto3" json:"original,omitempty"`
- Limited float64 `protobuf:"fixed64,3,opt,name=limited,proto3" json:"limited,omitempty"`
- Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ClampRecord) Reset() {
- *x = ClampRecord{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ClampRecord) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ClampRecord) ProtoMessage() {}
- func (x *ClampRecord) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[19]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ClampRecord.ProtoReflect.Descriptor instead.
- func (*ClampRecord) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{19}
- }
- func (x *ClampRecord) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *ClampRecord) GetOriginal() float64 {
- if x != nil {
- return x.Original
- }
- return 0
- }
- func (x *ClampRecord) GetLimited() float64 {
- if x != nil {
- return x.Limited
- }
- return 0
- }
- func (x *ClampRecord) GetReason() string {
- if x != nil {
- return x.Reason
- }
- return ""
- }
- type ActionBatch struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
- LeaseId string `protobuf:"bytes,3,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
- LeaseEpoch uint64 `protobuf:"varint,4,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
- BasedOnSnapshotSeq uint64 `protobuf:"varint,5,opt,name=based_on_snapshot_seq,json=basedOnSnapshotSeq,proto3" json:"based_on_snapshot_seq,omitempty"`
- ExpectedControlRevision uint64 `protobuf:"varint,6,opt,name=expected_control_revision,json=expectedControlRevision,proto3" json:"expected_control_revision,omitempty"`
- ValidUntil *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=valid_until,json=validUntil,proto3" json:"valid_until,omitempty"`
- ContinuousTargets []*ContinuousTarget `protobuf:"bytes,8,rep,name=continuous_targets,json=continuousTargets,proto3" json:"continuous_targets,omitempty"`
- DiscreteCommands []*DiscreteCommand `protobuf:"bytes,9,rep,name=discrete_commands,json=discreteCommands,proto3" json:"discrete_commands,omitempty"`
- AllowClamp bool `protobuf:"varint,10,opt,name=allow_clamp,json=allowClamp,proto3" json:"allow_clamp,omitempty"`
- ClientId string `protobuf:"bytes,11,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
- PolicyVersion string `protobuf:"bytes,12,opt,name=policy_version,json=policyVersion,proto3" json:"policy_version,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ActionBatch) Reset() {
- *x = ActionBatch{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ActionBatch) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ActionBatch) ProtoMessage() {}
- func (x *ActionBatch) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[20]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ActionBatch.ProtoReflect.Descriptor instead.
- func (*ActionBatch) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{20}
- }
- func (x *ActionBatch) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- func (x *ActionBatch) GetCommandId() string {
- if x != nil {
- return x.CommandId
- }
- return ""
- }
- func (x *ActionBatch) GetLeaseId() string {
- if x != nil {
- return x.LeaseId
- }
- return ""
- }
- func (x *ActionBatch) GetLeaseEpoch() uint64 {
- if x != nil {
- return x.LeaseEpoch
- }
- return 0
- }
- func (x *ActionBatch) GetBasedOnSnapshotSeq() uint64 {
- if x != nil {
- return x.BasedOnSnapshotSeq
- }
- return 0
- }
- func (x *ActionBatch) GetExpectedControlRevision() uint64 {
- if x != nil {
- return x.ExpectedControlRevision
- }
- return 0
- }
- func (x *ActionBatch) GetValidUntil() *timestamppb.Timestamp {
- if x != nil {
- return x.ValidUntil
- }
- return nil
- }
- func (x *ActionBatch) GetContinuousTargets() []*ContinuousTarget {
- if x != nil {
- return x.ContinuousTargets
- }
- return nil
- }
- func (x *ActionBatch) GetDiscreteCommands() []*DiscreteCommand {
- if x != nil {
- return x.DiscreteCommands
- }
- return nil
- }
- func (x *ActionBatch) GetAllowClamp() bool {
- if x != nil {
- return x.AllowClamp
- }
- return false
- }
- func (x *ActionBatch) GetClientId() string {
- if x != nil {
- return x.ClientId
- }
- return ""
- }
- func (x *ActionBatch) GetPolicyVersion() string {
- if x != nil {
- return x.PolicyVersion
- }
- return ""
- }
- type ActionResult struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
- Accepted bool `protobuf:"varint,2,opt,name=accepted,proto3" json:"accepted,omitempty"`
- RejectReason RejectReason `protobuf:"varint,3,opt,name=reject_reason,json=rejectReason,proto3,enum=hth.api.v1.RejectReason" json:"reject_reason,omitempty"`
- Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
- Clamps []*ClampRecord `protobuf:"bytes,5,rep,name=clamps,proto3" json:"clamps,omitempty"`
- // requested is the raw client fields (original floats, only explicit IDs).
- Requested *ActionRecord `protobuf:"bytes,6,opt,name=requested,proto3" json:"requested,omitempty"`
- AcceptedAction *ActionRecord `protobuf:"bytes,7,opt,name=accepted_action,json=acceptedAction,proto3" json:"accepted_action,omitempty"`
- Dispatched *ActionRecord `protobuf:"bytes,8,opt,name=dispatched,proto3" json:"dispatched,omitempty"`
- Confirmation ConfirmationStatus `protobuf:"varint,9,opt,name=confirmation,proto3,enum=hth.api.v1.ConfirmationStatus" json:"confirmation,omitempty"`
- ControlRevision uint64 `protobuf:"varint,10,opt,name=control_revision,json=controlRevision,proto3" json:"control_revision,omitempty"`
- DeviceEpoch uint64 `protobuf:"varint,11,opt,name=device_epoch,json=deviceEpoch,proto3" json:"device_epoch,omitempty"`
- ReplayedFromCache bool `protobuf:"varint,12,opt,name=replayed_from_cache,json=replayedFromCache,proto3" json:"replayed_from_cache,omitempty"`
- RawRequested *ActionRecord `protobuf:"bytes,13,opt,name=raw_requested,json=rawRequested,proto3" json:"raw_requested,omitempty"`
- NormalizedRequested *ActionRecord `protobuf:"bytes,14,opt,name=normalized_requested,json=normalizedRequested,proto3" json:"normalized_requested,omitempty"`
- DispatchState ActionDispatchState `protobuf:"varint,15,opt,name=dispatch_state,json=dispatchState,proto3,enum=hth.api.v1.ActionDispatchState" json:"dispatch_state,omitempty"`
- ActionOrigin string `protobuf:"bytes,16,opt,name=action_origin,json=actionOrigin,proto3" json:"action_origin,omitempty"`
- PortGeneration uint64 `protobuf:"varint,17,opt,name=port_generation,json=portGeneration,proto3" json:"port_generation,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ActionResult) Reset() {
- *x = ActionResult{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[21]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ActionResult) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ActionResult) ProtoMessage() {}
- func (x *ActionResult) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[21]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ActionResult.ProtoReflect.Descriptor instead.
- func (*ActionResult) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{21}
- }
- func (x *ActionResult) GetCommandId() string {
- if x != nil {
- return x.CommandId
- }
- return ""
- }
- func (x *ActionResult) GetAccepted() bool {
- if x != nil {
- return x.Accepted
- }
- return false
- }
- func (x *ActionResult) GetRejectReason() RejectReason {
- if x != nil {
- return x.RejectReason
- }
- return RejectReason_REJECT_REASON_UNSPECIFIED
- }
- func (x *ActionResult) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
- }
- func (x *ActionResult) GetClamps() []*ClampRecord {
- if x != nil {
- return x.Clamps
- }
- return nil
- }
- func (x *ActionResult) GetRequested() *ActionRecord {
- if x != nil {
- return x.Requested
- }
- return nil
- }
- func (x *ActionResult) GetAcceptedAction() *ActionRecord {
- if x != nil {
- return x.AcceptedAction
- }
- return nil
- }
- func (x *ActionResult) GetDispatched() *ActionRecord {
- if x != nil {
- return x.Dispatched
- }
- return nil
- }
- func (x *ActionResult) GetConfirmation() ConfirmationStatus {
- if x != nil {
- return x.Confirmation
- }
- return ConfirmationStatus_CONFIRMATION_STATUS_UNSPECIFIED
- }
- func (x *ActionResult) GetControlRevision() uint64 {
- if x != nil {
- return x.ControlRevision
- }
- return 0
- }
- func (x *ActionResult) GetDeviceEpoch() uint64 {
- if x != nil {
- return x.DeviceEpoch
- }
- return 0
- }
- func (x *ActionResult) GetReplayedFromCache() bool {
- if x != nil {
- return x.ReplayedFromCache
- }
- return false
- }
- func (x *ActionResult) GetRawRequested() *ActionRecord {
- if x != nil {
- return x.RawRequested
- }
- return nil
- }
- func (x *ActionResult) GetNormalizedRequested() *ActionRecord {
- if x != nil {
- return x.NormalizedRequested
- }
- return nil
- }
- func (x *ActionResult) GetDispatchState() ActionDispatchState {
- if x != nil {
- return x.DispatchState
- }
- return ActionDispatchState_ACTION_DISPATCH_STATE_UNSPECIFIED
- }
- func (x *ActionResult) GetActionOrigin() string {
- if x != nil {
- return x.ActionOrigin
- }
- return ""
- }
- func (x *ActionResult) GetPortGeneration() uint64 {
- if x != nil {
- return x.PortGeneration
- }
- return 0
- }
- type ControlLease struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- LeaseId string `protobuf:"bytes,1,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
- LeaseEpoch uint64 `protobuf:"varint,2,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
- DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- Holder string `protobuf:"bytes,4,opt,name=holder,proto3" json:"holder,omitempty"`
- CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
- MaxTtl *durationpb.Duration `protobuf:"bytes,7,opt,name=max_ttl,json=maxTtl,proto3" json:"max_ttl,omitempty"`
- Active bool `protobuf:"varint,8,opt,name=active,proto3" json:"active,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ControlLease) Reset() {
- *x = ControlLease{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[22]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ControlLease) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ControlLease) ProtoMessage() {}
- func (x *ControlLease) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[22]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ControlLease.ProtoReflect.Descriptor instead.
- func (*ControlLease) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{22}
- }
- func (x *ControlLease) GetLeaseId() string {
- if x != nil {
- return x.LeaseId
- }
- return ""
- }
- func (x *ControlLease) GetLeaseEpoch() uint64 {
- if x != nil {
- return x.LeaseEpoch
- }
- return 0
- }
- func (x *ControlLease) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- func (x *ControlLease) GetHolder() string {
- if x != nil {
- return x.Holder
- }
- return ""
- }
- func (x *ControlLease) GetCreatedAt() *timestamppb.Timestamp {
- if x != nil {
- return x.CreatedAt
- }
- return nil
- }
- func (x *ControlLease) GetExpiresAt() *timestamppb.Timestamp {
- if x != nil {
- return x.ExpiresAt
- }
- return nil
- }
- func (x *ControlLease) GetMaxTtl() *durationpb.Duration {
- if x != nil {
- return x.MaxTtl
- }
- return nil
- }
- func (x *ControlLease) GetActive() bool {
- if x != nil {
- return x.Active
- }
- return false
- }
- type ListDevicesRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ListDevicesRequest) Reset() {
- *x = ListDevicesRequest{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[23]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ListDevicesRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ListDevicesRequest) ProtoMessage() {}
- func (x *ListDevicesRequest) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[23]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ListDevicesRequest.ProtoReflect.Descriptor instead.
- func (*ListDevicesRequest) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{23}
- }
- type ListDevicesResponse struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Devices []*DeviceInfo `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ListDevicesResponse) Reset() {
- *x = ListDevicesResponse{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[24]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ListDevicesResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ListDevicesResponse) ProtoMessage() {}
- func (x *ListDevicesResponse) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[24]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ListDevicesResponse.ProtoReflect.Descriptor instead.
- func (*ListDevicesResponse) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{24}
- }
- func (x *ListDevicesResponse) GetDevices() []*DeviceInfo {
- if x != nil {
- return x.Devices
- }
- return nil
- }
- type GetCapabilitiesRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GetCapabilitiesRequest) Reset() {
- *x = GetCapabilitiesRequest{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[25]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetCapabilitiesRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetCapabilitiesRequest) ProtoMessage() {}
- func (x *GetCapabilitiesRequest) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[25]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetCapabilitiesRequest.ProtoReflect.Descriptor instead.
- func (*GetCapabilitiesRequest) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{25}
- }
- func (x *GetCapabilitiesRequest) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- type GetCapabilitiesResponse struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Capabilities *Capabilities `protobuf:"bytes,1,opt,name=capabilities,proto3" json:"capabilities,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GetCapabilitiesResponse) Reset() {
- *x = GetCapabilitiesResponse{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[26]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetCapabilitiesResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetCapabilitiesResponse) ProtoMessage() {}
- func (x *GetCapabilitiesResponse) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[26]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetCapabilitiesResponse.ProtoReflect.Descriptor instead.
- func (*GetCapabilitiesResponse) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{26}
- }
- func (x *GetCapabilitiesResponse) GetCapabilities() *Capabilities {
- if x != nil {
- return x.Capabilities
- }
- return nil
- }
- type GetSnapshotRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GetSnapshotRequest) Reset() {
- *x = GetSnapshotRequest{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[27]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetSnapshotRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetSnapshotRequest) ProtoMessage() {}
- func (x *GetSnapshotRequest) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[27]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetSnapshotRequest.ProtoReflect.Descriptor instead.
- func (*GetSnapshotRequest) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{27}
- }
- func (x *GetSnapshotRequest) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- type GetSnapshotResponse struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GetSnapshotResponse) Reset() {
- *x = GetSnapshotResponse{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[28]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetSnapshotResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetSnapshotResponse) ProtoMessage() {}
- func (x *GetSnapshotResponse) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[28]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetSnapshotResponse.ProtoReflect.Descriptor instead.
- func (*GetSnapshotResponse) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{28}
- }
- func (x *GetSnapshotResponse) GetSnapshot() *Snapshot {
- if x != nil {
- return x.Snapshot
- }
- return nil
- }
- type SubscribeTelemetryRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- ResumeAfterEventId uint64 `protobuf:"varint,2,opt,name=resume_after_event_id,json=resumeAfterEventId,proto3" json:"resume_after_event_id,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SubscribeTelemetryRequest) Reset() {
- *x = SubscribeTelemetryRequest{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[29]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SubscribeTelemetryRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SubscribeTelemetryRequest) ProtoMessage() {}
- func (x *SubscribeTelemetryRequest) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[29]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SubscribeTelemetryRequest.ProtoReflect.Descriptor instead.
- func (*SubscribeTelemetryRequest) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{29}
- }
- func (x *SubscribeTelemetryRequest) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- func (x *SubscribeTelemetryRequest) GetResumeAfterEventId() uint64 {
- if x != nil {
- return x.ResumeAfterEventId
- }
- return 0
- }
- type SubscribeEventsRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- ResumeAfterEventId uint64 `protobuf:"varint,2,opt,name=resume_after_event_id,json=resumeAfterEventId,proto3" json:"resume_after_event_id,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SubscribeEventsRequest) Reset() {
- *x = SubscribeEventsRequest{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[30]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SubscribeEventsRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SubscribeEventsRequest) ProtoMessage() {}
- func (x *SubscribeEventsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[30]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SubscribeEventsRequest.ProtoReflect.Descriptor instead.
- func (*SubscribeEventsRequest) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{30}
- }
- func (x *SubscribeEventsRequest) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- func (x *SubscribeEventsRequest) GetResumeAfterEventId() uint64 {
- if x != nil {
- return x.ResumeAfterEventId
- }
- return 0
- }
- type GetFaultsRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- IncludeInactive bool `protobuf:"varint,2,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GetFaultsRequest) Reset() {
- *x = GetFaultsRequest{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[31]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetFaultsRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetFaultsRequest) ProtoMessage() {}
- func (x *GetFaultsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[31]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetFaultsRequest.ProtoReflect.Descriptor instead.
- func (*GetFaultsRequest) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{31}
- }
- func (x *GetFaultsRequest) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- func (x *GetFaultsRequest) GetIncludeInactive() bool {
- if x != nil {
- return x.IncludeInactive
- }
- return false
- }
- type GetFaultsResponse struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Faults []*Fault `protobuf:"bytes,1,rep,name=faults,proto3" json:"faults,omitempty"`
- DeviceFaultQuerySupported bool `protobuf:"varint,2,opt,name=device_fault_query_supported,json=deviceFaultQuerySupported,proto3" json:"device_fault_query_supported,omitempty"`
- HostFaultReportingSupported bool `protobuf:"varint,3,opt,name=host_fault_reporting_supported,json=hostFaultReportingSupported,proto3" json:"host_fault_reporting_supported,omitempty"`
- DeviceNativeFaultQuerySupported bool `protobuf:"varint,4,opt,name=device_native_fault_query_supported,json=deviceNativeFaultQuerySupported,proto3" json:"device_native_fault_query_supported,omitempty"`
- DeviceFaultSource string `protobuf:"bytes,5,opt,name=device_fault_source,json=deviceFaultSource,proto3" json:"device_fault_source,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GetFaultsResponse) Reset() {
- *x = GetFaultsResponse{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[32]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GetFaultsResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GetFaultsResponse) ProtoMessage() {}
- func (x *GetFaultsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[32]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GetFaultsResponse.ProtoReflect.Descriptor instead.
- func (*GetFaultsResponse) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{32}
- }
- func (x *GetFaultsResponse) GetFaults() []*Fault {
- if x != nil {
- return x.Faults
- }
- return nil
- }
- func (x *GetFaultsResponse) GetDeviceFaultQuerySupported() bool {
- if x != nil {
- return x.DeviceFaultQuerySupported
- }
- return false
- }
- func (x *GetFaultsResponse) GetHostFaultReportingSupported() bool {
- if x != nil {
- return x.HostFaultReportingSupported
- }
- return false
- }
- func (x *GetFaultsResponse) GetDeviceNativeFaultQuerySupported() bool {
- if x != nil {
- return x.DeviceNativeFaultQuerySupported
- }
- return false
- }
- func (x *GetFaultsResponse) GetDeviceFaultSource() string {
- if x != nil {
- return x.DeviceFaultSource
- }
- return ""
- }
- type WatchHealthRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *WatchHealthRequest) Reset() {
- *x = WatchHealthRequest{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[33]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *WatchHealthRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*WatchHealthRequest) ProtoMessage() {}
- func (x *WatchHealthRequest) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[33]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use WatchHealthRequest.ProtoReflect.Descriptor instead.
- func (*WatchHealthRequest) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{33}
- }
- type HealthStatus struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Host HostHealth `protobuf:"varint,1,opt,name=host,proto3,enum=hth.api.v1.HostHealth" json:"host,omitempty"`
- Devices []*DeviceInfo `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
- Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
- ObserveService HostHealth `protobuf:"varint,4,opt,name=observe_service,json=observeService,proto3,enum=hth.api.v1.HostHealth" json:"observe_service,omitempty"`
- ControlService HostHealth `protobuf:"varint,5,opt,name=control_service,json=controlService,proto3,enum=hth.api.v1.HostHealth" json:"control_service,omitempty"`
- TransportState TransportState `protobuf:"varint,6,opt,name=transport_state,json=transportState,proto3,enum=hth.api.v1.TransportState" json:"transport_state,omitempty"`
- DeviceReadiness DeviceReadiness `protobuf:"varint,7,opt,name=device_readiness,json=deviceReadiness,proto3,enum=hth.api.v1.DeviceReadiness" json:"device_readiness,omitempty"`
- SafetyControlMode SafetyControlMode `protobuf:"varint,8,opt,name=safety_control_mode,json=safetyControlMode,proto3,enum=hth.api.v1.SafetyControlMode" json:"safety_control_mode,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *HealthStatus) Reset() {
- *x = HealthStatus{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[34]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *HealthStatus) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*HealthStatus) ProtoMessage() {}
- func (x *HealthStatus) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[34]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use HealthStatus.ProtoReflect.Descriptor instead.
- func (*HealthStatus) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{34}
- }
- func (x *HealthStatus) GetHost() HostHealth {
- if x != nil {
- return x.Host
- }
- return HostHealth_HOST_HEALTH_UNSPECIFIED
- }
- func (x *HealthStatus) GetDevices() []*DeviceInfo {
- if x != nil {
- return x.Devices
- }
- return nil
- }
- func (x *HealthStatus) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
- }
- func (x *HealthStatus) GetObserveService() HostHealth {
- if x != nil {
- return x.ObserveService
- }
- return HostHealth_HOST_HEALTH_UNSPECIFIED
- }
- func (x *HealthStatus) GetControlService() HostHealth {
- if x != nil {
- return x.ControlService
- }
- return HostHealth_HOST_HEALTH_UNSPECIFIED
- }
- func (x *HealthStatus) GetTransportState() TransportState {
- if x != nil {
- return x.TransportState
- }
- return TransportState_TRANSPORT_STATE_UNSPECIFIED
- }
- func (x *HealthStatus) GetDeviceReadiness() DeviceReadiness {
- if x != nil {
- return x.DeviceReadiness
- }
- return DeviceReadiness_DEVICE_READINESS_UNSPECIFIED
- }
- func (x *HealthStatus) GetSafetyControlMode() SafetyControlMode {
- if x != nil {
- return x.SafetyControlMode
- }
- return SafetyControlMode_SAFETY_CONTROL_MODE_UNSPECIFIED
- }
- type AcquireControlLeaseRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- Holder string `protobuf:"bytes,2,opt,name=holder,proto3" json:"holder,omitempty"`
- Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *AcquireControlLeaseRequest) Reset() {
- *x = AcquireControlLeaseRequest{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[35]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *AcquireControlLeaseRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AcquireControlLeaseRequest) ProtoMessage() {}
- func (x *AcquireControlLeaseRequest) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[35]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use AcquireControlLeaseRequest.ProtoReflect.Descriptor instead.
- func (*AcquireControlLeaseRequest) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{35}
- }
- func (x *AcquireControlLeaseRequest) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- func (x *AcquireControlLeaseRequest) GetHolder() string {
- if x != nil {
- return x.Holder
- }
- return ""
- }
- func (x *AcquireControlLeaseRequest) GetTtl() *durationpb.Duration {
- if x != nil {
- return x.Ttl
- }
- return nil
- }
- type RenewControlLeaseRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- LeaseId string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
- LeaseEpoch uint64 `protobuf:"varint,3,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
- Ttl *durationpb.Duration `protobuf:"bytes,4,opt,name=ttl,proto3" json:"ttl,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *RenewControlLeaseRequest) Reset() {
- *x = RenewControlLeaseRequest{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[36]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *RenewControlLeaseRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*RenewControlLeaseRequest) ProtoMessage() {}
- func (x *RenewControlLeaseRequest) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[36]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use RenewControlLeaseRequest.ProtoReflect.Descriptor instead.
- func (*RenewControlLeaseRequest) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{36}
- }
- func (x *RenewControlLeaseRequest) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- func (x *RenewControlLeaseRequest) GetLeaseId() string {
- if x != nil {
- return x.LeaseId
- }
- return ""
- }
- func (x *RenewControlLeaseRequest) GetLeaseEpoch() uint64 {
- if x != nil {
- return x.LeaseEpoch
- }
- return 0
- }
- func (x *RenewControlLeaseRequest) GetTtl() *durationpb.Duration {
- if x != nil {
- return x.Ttl
- }
- return nil
- }
- type ReleaseControlLeaseRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- LeaseId string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
- LeaseEpoch uint64 `protobuf:"varint,3,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ReleaseControlLeaseRequest) Reset() {
- *x = ReleaseControlLeaseRequest{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[37]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ReleaseControlLeaseRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ReleaseControlLeaseRequest) ProtoMessage() {}
- func (x *ReleaseControlLeaseRequest) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[37]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ReleaseControlLeaseRequest.ProtoReflect.Descriptor instead.
- func (*ReleaseControlLeaseRequest) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{37}
- }
- func (x *ReleaseControlLeaseRequest) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- func (x *ReleaseControlLeaseRequest) GetLeaseId() string {
- if x != nil {
- return x.LeaseId
- }
- return ""
- }
- func (x *ReleaseControlLeaseRequest) GetLeaseEpoch() uint64 {
- if x != nil {
- return x.LeaseEpoch
- }
- return 0
- }
- type LeaseResponse struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Lease *ControlLease `protobuf:"bytes,1,opt,name=lease,proto3" json:"lease,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *LeaseResponse) Reset() {
- *x = LeaseResponse{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[38]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *LeaseResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LeaseResponse) ProtoMessage() {}
- func (x *LeaseResponse) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[38]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use LeaseResponse.ProtoReflect.Descriptor instead.
- func (*LeaseResponse) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{38}
- }
- func (x *LeaseResponse) GetLease() *ControlLease {
- if x != nil {
- return x.Lease
- }
- return nil
- }
- type ValidateActionRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Batch *ActionBatch `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ValidateActionRequest) Reset() {
- *x = ValidateActionRequest{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[39]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ValidateActionRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ValidateActionRequest) ProtoMessage() {}
- func (x *ValidateActionRequest) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[39]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ValidateActionRequest.ProtoReflect.Descriptor instead.
- func (*ValidateActionRequest) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{39}
- }
- func (x *ValidateActionRequest) GetBatch() *ActionBatch {
- if x != nil {
- return x.Batch
- }
- return nil
- }
- type ApplyActionRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Batch *ActionBatch `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ApplyActionRequest) Reset() {
- *x = ApplyActionRequest{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[40]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ApplyActionRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ApplyActionRequest) ProtoMessage() {}
- func (x *ApplyActionRequest) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[40]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ApplyActionRequest.ProtoReflect.Descriptor instead.
- func (*ApplyActionRequest) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{40}
- }
- func (x *ApplyActionRequest) GetBatch() *ActionBatch {
- if x != nil {
- return x.Batch
- }
- return nil
- }
- type EnterSafeModeRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- LeaseId string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
- LeaseEpoch uint64 `protobuf:"varint,3,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
- Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *EnterSafeModeRequest) Reset() {
- *x = EnterSafeModeRequest{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[41]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *EnterSafeModeRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*EnterSafeModeRequest) ProtoMessage() {}
- func (x *EnterSafeModeRequest) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[41]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use EnterSafeModeRequest.ProtoReflect.Descriptor instead.
- func (*EnterSafeModeRequest) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{41}
- }
- func (x *EnterSafeModeRequest) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- func (x *EnterSafeModeRequest) GetLeaseId() string {
- if x != nil {
- return x.LeaseId
- }
- return ""
- }
- func (x *EnterSafeModeRequest) GetLeaseEpoch() uint64 {
- if x != nil {
- return x.LeaseEpoch
- }
- return 0
- }
- func (x *EnterSafeModeRequest) GetReason() string {
- if x != nil {
- return x.Reason
- }
- return ""
- }
- type ResumeFromSafeRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- LeaseId string `protobuf:"bytes,2,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"`
- LeaseEpoch uint64 `protobuf:"varint,3,opt,name=lease_epoch,json=leaseEpoch,proto3" json:"lease_epoch,omitempty"`
- Batch *ActionBatch `protobuf:"bytes,4,opt,name=batch,proto3" json:"batch,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ResumeFromSafeRequest) Reset() {
- *x = ResumeFromSafeRequest{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[42]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ResumeFromSafeRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ResumeFromSafeRequest) ProtoMessage() {}
- func (x *ResumeFromSafeRequest) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[42]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ResumeFromSafeRequest.ProtoReflect.Descriptor instead.
- func (*ResumeFromSafeRequest) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{42}
- }
- func (x *ResumeFromSafeRequest) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- func (x *ResumeFromSafeRequest) GetLeaseId() string {
- if x != nil {
- return x.LeaseId
- }
- return ""
- }
- func (x *ResumeFromSafeRequest) GetLeaseEpoch() uint64 {
- if x != nil {
- return x.LeaseEpoch
- }
- return 0
- }
- func (x *ResumeFromSafeRequest) GetBatch() *ActionBatch {
- if x != nil {
- return x.Batch
- }
- return nil
- }
- type StepReplayRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *StepReplayRequest) Reset() {
- *x = StepReplayRequest{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[43]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *StepReplayRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*StepReplayRequest) ProtoMessage() {}
- func (x *StepReplayRequest) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[43]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use StepReplayRequest.ProtoReflect.Descriptor instead.
- func (*StepReplayRequest) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{43}
- }
- func (x *StepReplayRequest) GetDeviceId() string {
- if x != nil {
- return x.DeviceId
- }
- return ""
- }
- type StepReplayResponse struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Advanced bool `protobuf:"varint,1,opt,name=advanced,proto3" json:"advanced,omitempty"`
- Event *Event `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
- Snapshot *Snapshot `protobuf:"bytes,3,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
- Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *StepReplayResponse) Reset() {
- *x = StepReplayResponse{}
- mi := &file_hth_api_v1_hth_proto_msgTypes[44]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *StepReplayResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*StepReplayResponse) ProtoMessage() {}
- func (x *StepReplayResponse) ProtoReflect() protoreflect.Message {
- mi := &file_hth_api_v1_hth_proto_msgTypes[44]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use StepReplayResponse.ProtoReflect.Descriptor instead.
- func (*StepReplayResponse) Descriptor() ([]byte, []int) {
- return file_hth_api_v1_hth_proto_rawDescGZIP(), []int{44}
- }
- func (x *StepReplayResponse) GetAdvanced() bool {
- if x != nil {
- return x.Advanced
- }
- return false
- }
- func (x *StepReplayResponse) GetEvent() *Event {
- if x != nil {
- return x.Event
- }
- return nil
- }
- func (x *StepReplayResponse) GetSnapshot() *Snapshot {
- if x != nil {
- return x.Snapshot
- }
- return nil
- }
- func (x *StepReplayResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
- }
- var File_hth_api_v1_hth_proto protoreflect.FileDescriptor
- const file_hth_api_v1_hth_proto_rawDesc = "" +
- "\n" +
- "\x14hth/api/v1/hth.proto\x12\n" +
- "hth.api.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xaf\x03\n" +
- "\vMeasurement\x12\x0e\n" +
- "\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
- "\x05value\x18\x02 \x01(\x01R\x05value\x12\x12\n" +
- "\x04unit\x18\x03 \x01(\tR\x04unit\x121\n" +
- "\aquality\x18\x04 \x01(\x0e2\x17.hth.api.v1.DataQualityR\aquality\x12%\n" +
- "\x0equality_reason\x18\x05 \x01(\tR\rqualityReason\x12+\n" +
- "\x03age\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\x03age\x127\n" +
- "\thost_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\bhostTime\x12<\n" +
- "\x1asource_timestamp_available\x18\b \x01(\bR\x18sourceTimestampAvailable\x12;\n" +
- "\vsource_time\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\n" +
- "sourceTime\x12\x1e\n" +
- "\braw_code\x18\n" +
- " \x01(\x05H\x00R\arawCode\x88\x01\x01B\v\n" +
- "\t_raw_code\"\xec\x03\n" +
- "\n" +
- "TimeWindow\x12=\n" +
- "\frequest_sent\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\vrequestSent\x12A\n" +
- "\x0eresponse_start\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\rresponseStart\x12G\n" +
- "\x11response_complete\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x10responseComplete\x12=\n" +
- "\fhost_receive\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\vhostReceive\x12L\n" +
- "\x14approx_acquire_start\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\x12approxAcquireStart\x12H\n" +
- "\x12approx_acquire_end\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\x10approxAcquireEnd\x12<\n" +
- "\x1asource_timestamp_available\x18\a \x01(\bR\x18sourceTimestampAvailable\"\xf3\x01\n" +
- "\x0eDeviceIdentity\x12\x1b\n" +
- "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12!\n" +
- "\fdisplay_name\x18\x02 \x01(\tR\vdisplayName\x12\x1d\n" +
- "\n" +
- "profile_id\x18\x03 \x01(\tR\tprofileId\x12)\n" +
- "\x10profile_revision\x18\x04 \x01(\tR\x0fprofileRevision\x124\n" +
- "\x16protocol_contract_hash\x18\x05 \x01(\tR\x14protocolContractHash\x12!\n" +
- "\fbackend_kind\x18\x06 \x01(\tR\vbackendKind\"\xa7\x01\n" +
- "\n" +
- "DeviceInfo\x126\n" +
- "\bidentity\x18\x01 \x01(\v2\x1a.hth.api.v1.DeviceIdentityR\bidentity\x12>\n" +
- "\tlifecycle\x18\x02 \x01(\x0e2 .hth.api.v1.DeviceLifecycleStateR\tlifecycle\x12!\n" +
- "\fdevice_epoch\x18\x03 \x01(\x04R\vdeviceEpoch\"+\n" +
- "\x05Range\x12\x10\n" +
- "\x03min\x18\x01 \x01(\x01R\x03min\x12\x10\n" +
- "\x03max\x18\x02 \x01(\x01R\x03max\"\x8f\x05\n" +
- "\x10SensorCapability\x12\x0e\n" +
- "\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n" +
- "\aaliases\x18\x02 \x03(\tR\aaliases\x12!\n" +
- "\fdisplay_name\x18\x03 \x01(\tR\vdisplayName\x12*\n" +
- "\x04kind\x18\x04 \x01(\x0e2\x16.hth.api.v1.SensorKindR\x04kind\x12\x12\n" +
- "\x04unit\x18\x05 \x01(\tR\x04unit\x122\n" +
- "\vvalid_range\x18\x06 \x01(\v2\x11.hth.api.v1.RangeR\n" +
- "validRange\x12\x1e\n" +
- "\n" +
- "resolution\x18\a \x01(\x01R\n" +
- "resolution\x12)\n" +
- "\x10source_timestamp\x18\b \x01(\bR\x0fsourceTimestamp\x12-\n" +
- "\x12mapping_confidence\x18\t \x01(\tR\x11mappingConfidence\x12\x17\n" +
- "\ahood_id\x18\n" +
- " \x01(\tR\x06hoodId\x12\x1d\n" +
- "\n" +
- "chamber_id\x18\v \x01(\tR\tchamberId\x12\x17\n" +
- "\adimm_id\x18\f \x01(\tR\x06dimmId\x12\x1c\n" +
- "\tconnector\x18\r \x01(\tR\tconnector\x12!\n" +
- "\fsource_index\x18\x0e \x01(\x05R\vsourceIndex\x12>\n" +
- "\rupdate_period\x18\x0f \x01(\v2\x19.google.protobuf.DurationR\fupdatePeriod\x12/\n" +
- "\x13calibration_version\x18\x10 \x01(\tR\x12calibrationVersion\x12=\n" +
- "\rfeedback_mode\x18\x11 \x01(\x0e2\x18.hth.api.v1.FeedbackModeR\ffeedbackMode\"\x9c\x05\n" +
- "\x12ActuatorCapability\x12\x0e\n" +
- "\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n" +
- "\aaliases\x18\x02 \x03(\tR\aaliases\x12!\n" +
- "\fdisplay_name\x18\x03 \x01(\tR\vdisplayName\x12,\n" +
- "\x04kind\x18\x04 \x01(\x0e2\x18.hth.api.v1.ActuatorKindR\x04kind\x12\x12\n" +
- "\x04unit\x18\x05 \x01(\tR\x04unit\x126\n" +
- "\rcommand_range\x18\x06 \x01(\v2\x11.hth.api.v1.RangeR\fcommandRange\x12\x1e\n" +
- "\n" +
- "resolution\x18\a \x01(\x01R\n" +
- "resolution\x12:\n" +
- "\fcontrol_mode\x18\b \x01(\x0e2\x17.hth.api.v1.ControlModeR\vcontrolMode\x12=\n" +
- "\rfeedback_mode\x18\t \x01(\x0e2\x18.hth.api.v1.FeedbackModeR\ffeedbackMode\x12\x1e\n" +
- "\n" +
- "idempotent\x18\n" +
- " \x01(\bR\n" +
- "idempotent\x12\x19\n" +
- "\bone_shot\x18\v \x01(\bR\aoneShot\x12%\n" +
- "\x0esafety_default\x18\f \x01(\x01R\rsafetyDefault\x12-\n" +
- "\x13max_slew_per_second\x18\r \x01(\x01R\x10maxSlewPerSecond\x12'\n" +
- "\x0factual_feedback\x18\x0e \x01(\bR\x0eactualFeedback\x12\x17\n" +
- "\ahood_id\x18\x0f \x01(\tR\x06hoodId\x12\x1d\n" +
- "\n" +
- "chamber_id\x18\x10 \x01(\tR\tchamberId\x12\x1c\n" +
- "\tconnector\x18\x11 \x01(\tR\tconnector\x12\x14\n" +
- "\x05notes\x18\x12 \x01(\tR\x05notes\"\x8a\n" +
- "\n" +
- "\fCapabilities\x12\x1b\n" +
- "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x1d\n" +
- "\n" +
- "profile_id\x18\x02 \x01(\tR\tprofileId\x12)\n" +
- "\x10profile_revision\x18\x03 \x01(\tR\x0fprofileRevision\x124\n" +
- "\x16protocol_contract_hash\x18\x04 \x01(\tR\x14protocolContractHash\x12'\n" +
- "\x0fcapability_hash\x18\x05 \x01(\tR\x0ecapabilityHash\x12\x1f\n" +
- "\vapi_version\x18\x06 \x01(\tR\n" +
- "apiVersion\x12)\n" +
- "\x10firmware_version\x18\a \x01(\tR\x0ffirmwareVersion\x12Q\n" +
- "\x18firmware_version_quality\x18\b \x01(\x0e2\x17.hth.api.v1.DataQualityR\x16firmwareVersionQuality\x12\x1d\n" +
- "\n" +
- "hood_count\x18\t \x01(\x05R\thoodCount\x12#\n" +
- "\rchamber_count\x18\n" +
- " \x01(\x05R\fchamberCount\x126\n" +
- "\asensors\x18\v \x03(\v2\x1c.hth.api.v1.SensorCapabilityR\asensors\x12<\n" +
- "\tactuators\x18\f \x03(\v2\x1e.hth.api.v1.ActuatorCapabilityR\tactuators\x12U\n" +
- "\x19recommended_sample_period\x18\r \x01(\v2\x19.google.protobuf.DurationR\x17recommendedSamplePeriod\x12#\n" +
- "\rack_supported\x18\x0e \x01(\bR\fackSupported\x124\n" +
- "\x16status_query_supported\x18\x0f \x01(\bR\x14statusQuerySupported\x12>\n" +
- "\x1bposition_feedback_supported\x18\x10 \x01(\bR\x19positionFeedbackSupported\x124\n" +
- "\x16rpm_feedback_supported\x18\x11 \x01(\bR\x14rpmFeedbackSupported\x12?\n" +
- "\x1cdevice_fault_query_supported\x18\x12 \x01(\bR\x19deviceFaultQuerySupported\x128\n" +
- "\x18limit_readback_supported\x18\x13 \x01(\bR\x16limitReadbackSupported\x12'\n" +
- "\x0freadiness_probe\x18\x14 \x01(\tR\x0ereadinessProbe\x12\x14\n" +
- "\x05notes\x18\x15 \x01(\tR\x05notes\x126\n" +
- "\x06timing\x18\x16 \x01(\v2\x1e.hth.api.v1.TimingCapabilitiesR\x06timing\x12C\n" +
- "\x1ehost_fault_reporting_supported\x18\x17 \x01(\bR\x1bhostFaultReportingSupported\x12L\n" +
- "#device_native_fault_query_supported\x18\x18 \x01(\bR\x1fdeviceNativeFaultQuerySupported\x12.\n" +
- "\x13device_fault_source\x18\x19 \x01(\tR\x11deviceFaultSource\"\xc6\x05\n" +
- "\x12TimingCapabilities\x12P\n" +
- "%temperature_transaction_worst_case_ms\x18\x01 \x01(\rR!temperatureTransactionWorstCaseMs\x12:\n" +
- "\x1amotor_status_worst_case_ms\x18\x02 \x01(\rR\x16motorStatusWorstCaseMs\x12B\n" +
- "\x1econtrol_dispatch_worst_case_ms\x18\x03 \x01(\rR\x1acontrolDispatchWorstCaseMs\x12=\n" +
- "\x1brecommended_rpc_deadline_ms\x18\x04 \x01(\rR\x18recommendedRpcDeadlineMs\x129\n" +
- "\x19recommended_action_ttl_ms\x18\x05 \x01(\rR\x16recommendedActionTtlMs\x129\n" +
- "\x19minimum_control_period_ms\x18\x06 \x01(\rR\x16minimumControlPeriodMs\x12?\n" +
- "\x1crecommended_sample_period_ms\x18\a \x01(\rR\x19recommendedSamplePeriodMs\x12G\n" +
- " max_unpreemptable_transaction_ms\x18\b \x01(\rR\x1dmaxUnpreemptableTransactionMs\x12*\n" +
- "\x11control_window_ms\x18\t \x01(\rR\x0fcontrolWindowMs\x12.\n" +
- "\x13scheduler_margin_ms\x18\n" +
- " \x01(\rR\x11schedulerMarginMs\x12C\n" +
- "\x1emax_pending_continuous_actions\x18\v \x01(\rR\x1bmaxPendingContinuousActions\"\xf4\x02\n" +
- "\x11CommandedActuator\x12\x0e\n" +
- "\x02id\x18\x01 \x01(\tR\x02id\x12)\n" +
- "\x10commanded_target\x18\x02 \x01(\x01R\x0fcommandedTarget\x12>\n" +
- "\x0eactual_quality\x18\x03 \x01(\x0e2\x17.hth.api.v1.DataQualityR\ractualQuality\x12&\n" +
- "\factual_value\x18\x04 \x01(\x01H\x00R\vactualValue\x88\x01\x01\x12#\n" +
- "\ractual_reason\x18\x05 \x01(\tR\factualReason\x12!\n" +
- "\ftarget_epoch\x18\x06 \x01(\x04R\vtargetEpoch\x12#\n" +
- "\rtarget_source\x18\a \x01(\tR\ftargetSource\x12>\n" +
- "\x0etarget_quality\x18\b \x01(\x0e2\x17.hth.api.v1.DataQualityR\rtargetQualityB\x0f\n" +
- "\r_actual_value\"\xd6\x01\n" +
- "\n" +
- "FieldAudit\x12\x0e\n" +
- "\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n" +
- "\bexplicit\x18\x02 \x01(\bR\bexplicit\x12\x1b\n" +
- "\traw_value\x18\x03 \x01(\x01R\brawValue\x12!\n" +
- "\fbefore_clamp\x18\x04 \x01(\x01R\vbeforeClamp\x12\x1f\n" +
- "\vafter_clamp\x18\x05 \x01(\x01R\n" +
- "afterClamp\x12\x18\n" +
- "\aclamped\x18\x06 \x01(\bR\aclamped\x12!\n" +
- "\fclamp_reason\x18\a \x01(\tR\vclampReason\"\xec\x04\n" +
- "\fActionRecord\x12\x1d\n" +
- "\n" +
- "command_id\x18\x01 \x01(\tR\tcommandId\x12\x1b\n" +
- "\tclient_id\x18\x02 \x01(\tR\bclientId\x12.\n" +
- "\x04time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\x04time\x12B\n" +
- "\fconfirmation\x18\x04 \x01(\x0e2\x1e.hth.api.v1.ConfirmationStatusR\fconfirmation\x12;\n" +
- "\tactuators\x18\x05 \x03(\v2\x1d.hth.api.v1.CommandedActuatorR\tactuators\x12\x16\n" +
- "\x06origin\x18\x06 \x01(\tR\x06origin\x129\n" +
- "\ffield_audits\x18\a \x03(\v2\x16.hth.api.v1.FieldAuditR\vfieldAudits\x127\n" +
- "\vaction_mode\x18\b \x01(\x0e2\x16.hth.api.v1.ActionModeR\n" +
- "actionMode\x12\x19\n" +
- "\bpeer_uid\x18\t \x01(\x05R\apeerUid\x12\x19\n" +
- "\bpeer_gid\x18\n" +
- " \x01(\x05R\apeerGid\x12\x19\n" +
- "\bpeer_pid\x18\v \x01(\x05R\apeerPid\x12F\n" +
- "\x0edispatch_state\x18\f \x01(\x0e2\x1f.hth.api.v1.ActionDispatchStateR\rdispatchState\x12!\n" +
- "\faction_epoch\x18\r \x01(\x04R\vactionEpoch\x12'\n" +
- "\x0fport_generation\x18\x0e \x01(\x04R\x0eportGeneration\"\xb5\x01\n" +
- "\fLeaseSummary\x12\x19\n" +
- "\blease_id\x18\x01 \x01(\tR\aleaseId\x12\x1f\n" +
- "\vlease_epoch\x18\x02 \x01(\x04R\n" +
- "leaseEpoch\x12\x16\n" +
- "\x06holder\x18\x03 \x01(\tR\x06holder\x129\n" +
- "\n" +
- "expires_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\x12\x16\n" +
- "\x06active\x18\x05 \x01(\bR\x06active\"\xe1\f\n" +
- "\bSnapshot\x12\x1b\n" +
- "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12,\n" +
- "\x12daemon_instance_id\x18\x02 \x01(\tR\x10daemonInstanceId\x12!\n" +
- "\fdevice_epoch\x18\x03 \x01(\x04R\vdeviceEpoch\x12!\n" +
- "\fsnapshot_seq\x18\x04 \x01(\x04R\vsnapshotSeq\x12)\n" +
- "\x10control_revision\x18\x05 \x01(\x04R\x0fcontrolRevision\x12\x19\n" +
- "\bevent_id\x18\x06 \x01(\x04R\aeventId\x127\n" +
- "\twall_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\bwallTime\x12!\n" +
- "\fmonotonic_ns\x18\b \x01(\x04R\vmonotonicNs\x12=\n" +
- "\x0ecapture_window\x18\t \x01(\v2\x16.hth.api.v1.TimeWindowR\rcaptureWindow\x12>\n" +
- "\tlifecycle\x18\n" +
- " \x01(\x0e2 .hth.api.v1.DeviceLifecycleStateR\tlifecycle\x12;\n" +
- "\fmeasurements\x18\v \x03(\v2\x17.hth.api.v1.MeasurementR\fmeasurements\x12L\n" +
- "\x12continuous_targets\x18\f \x03(\v2\x1d.hth.api.v1.CommandedActuatorR\x11continuousTargets\x12?\n" +
- "\x0elast_requested\x18\r \x01(\v2\x18.hth.api.v1.ActionRecordR\rlastRequested\x12=\n" +
- "\rlast_accepted\x18\x0e \x01(\v2\x18.hth.api.v1.ActionRecordR\flastAccepted\x12A\n" +
- "\x0flast_dispatched\x18\x0f \x01(\v2\x18.hth.api.v1.ActionRecordR\x0elastDispatched\x12O\n" +
- "\x13device_confirmation\x18\x10 \x01(\x0e2\x1e.hth.api.v1.ConfirmationStatusR\x12deviceConfirmation\x126\n" +
- "\ractive_faults\x18\x11 \x03(\v2\x11.hth.api.v1.FaultR\factiveFaults\x12.\n" +
- "\x05lease\x18\x12 \x01(\v2\x18.hth.api.v1.LeaseSummaryR\x05lease\x126\n" +
- "\x17dropped_telemetry_count\x18\x13 \x01(\x04R\x15droppedTelemetryCount\x12\x19\n" +
- "\bdata_gap\x18\x14 \x01(\bR\adataGap\x12C\n" +
- "\x0ftransport_state\x18\x15 \x01(\x0e2\x1a.hth.api.v1.TransportStateR\x0etransportState\x12F\n" +
- "\x10device_readiness\x18\x16 \x01(\x0e2\x1b.hth.api.v1.DeviceReadinessR\x0fdeviceReadiness\x12M\n" +
- "\x13safety_control_mode\x18\x17 \x01(\x0e2\x1d.hth.api.v1.SafetyControlModeR\x11safetyControlMode\x12g\n" +
- "\"last_successful_hardware_heartbeat\x18\x18 \x01(\v2\x1a.google.protobuf.TimestampR\x1flastSuccessfulHardwareHeartbeat\x12?\n" +
- "\x1chardware_watchdog_timeout_ms\x18\x19 \x01(\rR\x19hardwareWatchdogTimeoutMs\x12?\n" +
- "\x1cremaining_watchdog_margin_ms\x18\x1a \x01(\rR\x19remainingWatchdogMarginMs\x12Y\n" +
- "\x18heartbeat_delivery_state\x18\x1b \x01(\x0e2\x1f.hth.api.v1.ActionDispatchStateR\x16heartbeatDeliveryState\x12'\n" +
- "\x0fport_generation\x18\x1c \x01(\x04R\x0eportGeneration\"\xd3\x04\n" +
- "\x05Fault\x12\x19\n" +
- "\bfault_id\x18\x01 \x01(\tR\afaultId\x12)\n" +
- "\x04type\x18\x02 \x01(\x0e2\x15.hth.api.v1.FaultTypeR\x04type\x125\n" +
- "\bseverity\x18\x03 \x01(\x0e2\x19.hth.api.v1.FaultSeverityR\bseverity\x12,\n" +
- "\x05class\x18\x04 \x01(\x0e2\x16.hth.api.v1.FaultClassR\x05class\x129\n" +
- "\n" +
- "first_time\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tfirstTime\x127\n" +
- "\tlast_time\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\blastTime\x12\x16\n" +
- "\x06active\x18\a \x01(\bR\x06active\x12\x18\n" +
- "\alatched\x18\b \x01(\bR\alatched\x12\x14\n" +
- "\x05count\x18\t \x01(\x04R\x05count\x12\x1b\n" +
- "\tdevice_id\x18\n" +
- " \x01(\tR\bdeviceId\x12\x1d\n" +
- "\n" +
- "command_id\x18\v \x01(\tR\tcommandId\x12!\n" +
- "\fhuman_reason\x18\f \x01(\tR\vhumanReason\x12D\n" +
- "\vdiagnostics\x18\r \x03(\v2\".hth.api.v1.Fault.DiagnosticsEntryR\vdiagnostics\x1a>\n" +
- "\x10DiagnosticsEntry\x12\x10\n" +
- "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
- "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xec\x01\n" +
- "\vDeliveryGap\x12#\n" +
- "\rdropped_count\x18\x01 \x01(\x04R\fdroppedCount\x127\n" +
- "\x18last_contiguous_event_id\x18\x02 \x01(\x04R\x15lastContiguousEventId\x12D\n" +
- "\x1frequested_resume_after_event_id\x18\x03 \x01(\x04R\x1brequestedResumeAfterEventId\x129\n" +
- "\x19oldest_available_event_id\x18\x04 \x01(\x04R\x16oldestAvailableEventId\"\xa9\x06\n" +
- "\x05Event\x12\x19\n" +
- "\bevent_id\x18\x01 \x01(\x04R\aeventId\x12)\n" +
- "\x04kind\x18\x02 \x01(\x0e2\x15.hth.api.v1.EventKindR\x04kind\x127\n" +
- "\twall_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\bwallTime\x12!\n" +
- "\fmonotonic_ns\x18\x04 \x01(\x04R\vmonotonicNs\x12\x1b\n" +
- "\tdevice_id\x18\x05 \x01(\tR\bdeviceId\x120\n" +
- "\bsnapshot\x18\x06 \x01(\v2\x14.hth.api.v1.SnapshotR\bsnapshot\x12'\n" +
- "\x05fault\x18\a \x01(\v2\x11.hth.api.v1.FaultR\x05fault\x12\x18\n" +
- "\amessage\x18\b \x01(\tR\amessage\x121\n" +
- "\x15resume_after_event_id\x18\t \x01(\x04R\x12resumeAfterEventId\x12#\n" +
- "\rdropped_count\x18\n" +
- " \x01(\x04R\fdroppedCount\x12&\n" +
- "\x0fsource_event_id\x18\v \x01(\x04R\rsourceEventId\x12*\n" +
- "\x11source_capture_id\x18\f \x01(\tR\x0fsourceCaptureId\x12(\n" +
- "\x10source_device_id\x18\r \x01(\tR\x0esourceDeviceId\x129\n" +
- "\x19source_daemon_instance_id\x18\x0e \x01(\tR\x16sourceDaemonInstanceId\x127\n" +
- "\x18last_contiguous_event_id\x18\x0f \x01(\x04R\x15lastContiguousEventId\x12:\n" +
- "\fdelivery_gap\x18\x10 \x01(\v2\x17.hth.api.v1.DeliveryGapR\vdeliveryGap\x12=\n" +
- "\raction_result\x18\x11 \x01(\v2\x18.hth.api.v1.ActionResultR\factionResult\x12'\n" +
- "\x0fport_generation\x18\x12 \x01(\x04R\x0eportGeneration\"8\n" +
- "\x10ContinuousTarget\x12\x0e\n" +
- "\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
- "\x05value\x18\x02 \x01(\x01R\x05value\"K\n" +
- "\x0fDiscreteCommand\x12\x0e\n" +
- "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
- "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
- "\x05value\x18\x03 \x01(\x01R\x05value\"k\n" +
- "\vClampRecord\x12\x0e\n" +
- "\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n" +
- "\boriginal\x18\x02 \x01(\x01R\boriginal\x12\x18\n" +
- "\alimited\x18\x03 \x01(\x01R\alimited\x12\x16\n" +
- "\x06reason\x18\x04 \x01(\tR\x06reason\"\xad\x04\n" +
- "\vActionBatch\x12\x1b\n" +
- "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x1d\n" +
- "\n" +
- "command_id\x18\x02 \x01(\tR\tcommandId\x12\x19\n" +
- "\blease_id\x18\x03 \x01(\tR\aleaseId\x12\x1f\n" +
- "\vlease_epoch\x18\x04 \x01(\x04R\n" +
- "leaseEpoch\x121\n" +
- "\x15based_on_snapshot_seq\x18\x05 \x01(\x04R\x12basedOnSnapshotSeq\x12:\n" +
- "\x19expected_control_revision\x18\x06 \x01(\x04R\x17expectedControlRevision\x12;\n" +
- "\vvalid_until\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\n" +
- "validUntil\x12K\n" +
- "\x12continuous_targets\x18\b \x03(\v2\x1c.hth.api.v1.ContinuousTargetR\x11continuousTargets\x12H\n" +
- "\x11discrete_commands\x18\t \x03(\v2\x1b.hth.api.v1.DiscreteCommandR\x10discreteCommands\x12\x1f\n" +
- "\vallow_clamp\x18\n" +
- " \x01(\bR\n" +
- "allowClamp\x12\x1b\n" +
- "\tclient_id\x18\v \x01(\tR\bclientId\x12%\n" +
- "\x0epolicy_version\x18\f \x01(\tR\rpolicyVersion\"\xec\x06\n" +
- "\fActionResult\x12\x1d\n" +
- "\n" +
- "command_id\x18\x01 \x01(\tR\tcommandId\x12\x1a\n" +
- "\baccepted\x18\x02 \x01(\bR\baccepted\x12=\n" +
- "\rreject_reason\x18\x03 \x01(\x0e2\x18.hth.api.v1.RejectReasonR\frejectReason\x12\x18\n" +
- "\amessage\x18\x04 \x01(\tR\amessage\x12/\n" +
- "\x06clamps\x18\x05 \x03(\v2\x17.hth.api.v1.ClampRecordR\x06clamps\x126\n" +
- "\trequested\x18\x06 \x01(\v2\x18.hth.api.v1.ActionRecordR\trequested\x12A\n" +
- "\x0faccepted_action\x18\a \x01(\v2\x18.hth.api.v1.ActionRecordR\x0eacceptedAction\x128\n" +
- "\n" +
- "dispatched\x18\b \x01(\v2\x18.hth.api.v1.ActionRecordR\n" +
- "dispatched\x12B\n" +
- "\fconfirmation\x18\t \x01(\x0e2\x1e.hth.api.v1.ConfirmationStatusR\fconfirmation\x12)\n" +
- "\x10control_revision\x18\n" +
- " \x01(\x04R\x0fcontrolRevision\x12!\n" +
- "\fdevice_epoch\x18\v \x01(\x04R\vdeviceEpoch\x12.\n" +
- "\x13replayed_from_cache\x18\f \x01(\bR\x11replayedFromCache\x12=\n" +
- "\rraw_requested\x18\r \x01(\v2\x18.hth.api.v1.ActionRecordR\frawRequested\x12K\n" +
- "\x14normalized_requested\x18\x0e \x01(\v2\x18.hth.api.v1.ActionRecordR\x13normalizedRequested\x12F\n" +
- "\x0edispatch_state\x18\x0f \x01(\x0e2\x1f.hth.api.v1.ActionDispatchStateR\rdispatchState\x12#\n" +
- "\raction_origin\x18\x10 \x01(\tR\factionOrigin\x12'\n" +
- "\x0fport_generation\x18\x11 \x01(\x04R\x0eportGeneration\"\xc1\x02\n" +
- "\fControlLease\x12\x19\n" +
- "\blease_id\x18\x01 \x01(\tR\aleaseId\x12\x1f\n" +
- "\vlease_epoch\x18\x02 \x01(\x04R\n" +
- "leaseEpoch\x12\x1b\n" +
- "\tdevice_id\x18\x03 \x01(\tR\bdeviceId\x12\x16\n" +
- "\x06holder\x18\x04 \x01(\tR\x06holder\x129\n" +
- "\n" +
- "created_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
- "\n" +
- "expires_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\x122\n" +
- "\amax_ttl\x18\a \x01(\v2\x19.google.protobuf.DurationR\x06maxTtl\x12\x16\n" +
- "\x06active\x18\b \x01(\bR\x06active\"\x14\n" +
- "\x12ListDevicesRequest\"G\n" +
- "\x13ListDevicesResponse\x120\n" +
- "\adevices\x18\x01 \x03(\v2\x16.hth.api.v1.DeviceInfoR\adevices\"5\n" +
- "\x16GetCapabilitiesRequest\x12\x1b\n" +
- "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\"W\n" +
- "\x17GetCapabilitiesResponse\x12<\n" +
- "\fcapabilities\x18\x01 \x01(\v2\x18.hth.api.v1.CapabilitiesR\fcapabilities\"1\n" +
- "\x12GetSnapshotRequest\x12\x1b\n" +
- "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\"G\n" +
- "\x13GetSnapshotResponse\x120\n" +
- "\bsnapshot\x18\x01 \x01(\v2\x14.hth.api.v1.SnapshotR\bsnapshot\"k\n" +
- "\x19SubscribeTelemetryRequest\x12\x1b\n" +
- "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x121\n" +
- "\x15resume_after_event_id\x18\x02 \x01(\x04R\x12resumeAfterEventId\"h\n" +
- "\x16SubscribeEventsRequest\x12\x1b\n" +
- "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x121\n" +
- "\x15resume_after_event_id\x18\x02 \x01(\x04R\x12resumeAfterEventId\"Z\n" +
- "\x10GetFaultsRequest\x12\x1b\n" +
- "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12)\n" +
- "\x10include_inactive\x18\x02 \x01(\bR\x0fincludeInactive\"\xc2\x02\n" +
- "\x11GetFaultsResponse\x12)\n" +
- "\x06faults\x18\x01 \x03(\v2\x11.hth.api.v1.FaultR\x06faults\x12?\n" +
- "\x1cdevice_fault_query_supported\x18\x02 \x01(\bR\x19deviceFaultQuerySupported\x12C\n" +
- "\x1ehost_fault_reporting_supported\x18\x03 \x01(\bR\x1bhostFaultReportingSupported\x12L\n" +
- "#device_native_fault_query_supported\x18\x04 \x01(\bR\x1fdeviceNativeFaultQuerySupported\x12.\n" +
- "\x13device_fault_source\x18\x05 \x01(\tR\x11deviceFaultSource\"\x14\n" +
- "\x12WatchHealthRequest\"\xe4\x03\n" +
- "\fHealthStatus\x12*\n" +
- "\x04host\x18\x01 \x01(\x0e2\x16.hth.api.v1.HostHealthR\x04host\x120\n" +
- "\adevices\x18\x02 \x03(\v2\x16.hth.api.v1.DeviceInfoR\adevices\x12\x18\n" +
- "\amessage\x18\x03 \x01(\tR\amessage\x12?\n" +
- "\x0fobserve_service\x18\x04 \x01(\x0e2\x16.hth.api.v1.HostHealthR\x0eobserveService\x12?\n" +
- "\x0fcontrol_service\x18\x05 \x01(\x0e2\x16.hth.api.v1.HostHealthR\x0econtrolService\x12C\n" +
- "\x0ftransport_state\x18\x06 \x01(\x0e2\x1a.hth.api.v1.TransportStateR\x0etransportState\x12F\n" +
- "\x10device_readiness\x18\a \x01(\x0e2\x1b.hth.api.v1.DeviceReadinessR\x0fdeviceReadiness\x12M\n" +
- "\x13safety_control_mode\x18\b \x01(\x0e2\x1d.hth.api.v1.SafetyControlModeR\x11safetyControlMode\"~\n" +
- "\x1aAcquireControlLeaseRequest\x12\x1b\n" +
- "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x16\n" +
- "\x06holder\x18\x02 \x01(\tR\x06holder\x12+\n" +
- "\x03ttl\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\x03ttl\"\xa0\x01\n" +
- "\x18RenewControlLeaseRequest\x12\x1b\n" +
- "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x19\n" +
- "\blease_id\x18\x02 \x01(\tR\aleaseId\x12\x1f\n" +
- "\vlease_epoch\x18\x03 \x01(\x04R\n" +
- "leaseEpoch\x12+\n" +
- "\x03ttl\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\x03ttl\"u\n" +
- "\x1aReleaseControlLeaseRequest\x12\x1b\n" +
- "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x19\n" +
- "\blease_id\x18\x02 \x01(\tR\aleaseId\x12\x1f\n" +
- "\vlease_epoch\x18\x03 \x01(\x04R\n" +
- "leaseEpoch\"?\n" +
- "\rLeaseResponse\x12.\n" +
- "\x05lease\x18\x01 \x01(\v2\x18.hth.api.v1.ControlLeaseR\x05lease\"F\n" +
- "\x15ValidateActionRequest\x12-\n" +
- "\x05batch\x18\x01 \x01(\v2\x17.hth.api.v1.ActionBatchR\x05batch\"C\n" +
- "\x12ApplyActionRequest\x12-\n" +
- "\x05batch\x18\x01 \x01(\v2\x17.hth.api.v1.ActionBatchR\x05batch\"\x87\x01\n" +
- "\x14EnterSafeModeRequest\x12\x1b\n" +
- "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x19\n" +
- "\blease_id\x18\x02 \x01(\tR\aleaseId\x12\x1f\n" +
- "\vlease_epoch\x18\x03 \x01(\x04R\n" +
- "leaseEpoch\x12\x16\n" +
- "\x06reason\x18\x04 \x01(\tR\x06reason\"\x9f\x01\n" +
- "\x15ResumeFromSafeRequest\x12\x1b\n" +
- "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\x12\x19\n" +
- "\blease_id\x18\x02 \x01(\tR\aleaseId\x12\x1f\n" +
- "\vlease_epoch\x18\x03 \x01(\x04R\n" +
- "leaseEpoch\x12-\n" +
- "\x05batch\x18\x04 \x01(\v2\x17.hth.api.v1.ActionBatchR\x05batch\"0\n" +
- "\x11StepReplayRequest\x12\x1b\n" +
- "\tdevice_id\x18\x01 \x01(\tR\bdeviceId\"\xa5\x01\n" +
- "\x12StepReplayResponse\x12\x1a\n" +
- "\badvanced\x18\x01 \x01(\bR\badvanced\x12'\n" +
- "\x05event\x18\x02 \x01(\v2\x11.hth.api.v1.EventR\x05event\x120\n" +
- "\bsnapshot\x18\x03 \x01(\v2\x14.hth.api.v1.SnapshotR\bsnapshot\x12\x18\n" +
- "\amessage\x18\x04 \x01(\tR\amessage*\xe2\x02\n" +
- "\x14DeviceLifecycleState\x12&\n" +
- "\"DEVICE_LIFECYCLE_STATE_UNSPECIFIED\x10\x00\x12#\n" +
- "\x1fDEVICE_LIFECYCLE_STATE_STARTING\x10\x01\x12%\n" +
- "!DEVICE_LIFECYCLE_STATE_CONNECTING\x10\x02\x12\"\n" +
- "\x1eDEVICE_LIFECYCLE_STATE_PROBING\x10\x03\x12 \n" +
- "\x1cDEVICE_LIFECYCLE_STATE_READY\x10\x04\x12#\n" +
- "\x1fDEVICE_LIFECYCLE_STATE_DEGRADED\x10\x05\x12\x1f\n" +
- "\x1bDEVICE_LIFECYCLE_STATE_SAFE\x10\x06\x12&\n" +
- "\"DEVICE_LIFECYCLE_STATE_UNAVAILABLE\x10\a\x12\"\n" +
- "\x1eDEVICE_LIFECYCLE_STATE_UNKNOWN\x10\b*\xe5\x01\n" +
- "\vDataQuality\x12\x1c\n" +
- "\x18DATA_QUALITY_UNSPECIFIED\x10\x00\x12\x16\n" +
- "\x12DATA_QUALITY_VALID\x10\x01\x12\x16\n" +
- "\x12DATA_QUALITY_STALE\x10\x02\x12\x18\n" +
- "\x14DATA_QUALITY_MISSING\x10\x03\x12\x18\n" +
- "\x14DATA_QUALITY_INVALID\x10\x04\x12\x1a\n" +
- "\x16DATA_QUALITY_ESTIMATED\x10\x05\x12\x1e\n" +
- "\x1aDATA_QUALITY_NOT_SUPPORTED\x10\x06\x12\x18\n" +
- "\x14DATA_QUALITY_UNKNOWN\x10\a*\x9a\x02\n" +
- "\x12ConfirmationStatus\x12#\n" +
- "\x1fCONFIRMATION_STATUS_UNSPECIFIED\x10\x00\x12!\n" +
- "\x1dCONFIRMATION_STATUS_CONFIRMED\x10\x01\x12#\n" +
- "\x1fCONFIRMATION_STATUS_UNCONFIRMED\x10\x02\x12'\n" +
- "#CONFIRMATION_STATUS_OUTCOME_UNKNOWN\x10\x03\x12 \n" +
- "\x1cCONFIRMATION_STATUS_REJECTED\x10\x04\x12%\n" +
- "!CONFIRMATION_STATUS_NOT_SUPPORTED\x10\x05\x12%\n" +
- "!CONFIRMATION_STATUS_NOT_DELIVERED\x10\x06*\x92\x01\n" +
- "\x0eTransportState\x12\x1f\n" +
- "\x1bTRANSPORT_STATE_UNSPECIFIED\x10\x00\x12 \n" +
- "\x1cTRANSPORT_STATE_DISCONNECTED\x10\x01\x12\x1e\n" +
- "\x1aTRANSPORT_STATE_CONNECTING\x10\x02\x12\x1d\n" +
- "\x19TRANSPORT_STATE_CONNECTED\x10\x03*\xab\x01\n" +
- "\x0fDeviceReadiness\x12 \n" +
- "\x1cDEVICE_READINESS_UNSPECIFIED\x10\x00\x12\x1d\n" +
- "\x19DEVICE_READINESS_STARTING\x10\x01\x12\x1c\n" +
- "\x18DEVICE_READINESS_PROBING\x10\x02\x12\x1a\n" +
- "\x16DEVICE_READINESS_READY\x10\x03\x12\x1d\n" +
- "\x19DEVICE_READINESS_DEGRADED\x10\x04*\xc4\x01\n" +
- "\x11SafetyControlMode\x12#\n" +
- "\x1fSAFETY_CONTROL_MODE_UNSPECIFIED\x10\x00\x12\x1e\n" +
- "\x1aSAFETY_CONTROL_MODE_NORMAL\x10\x01\x12$\n" +
- " SAFETY_CONTROL_MODE_SAFE_PENDING\x10\x02\x12\x1c\n" +
- "\x18SAFETY_CONTROL_MODE_SAFE\x10\x03\x12&\n" +
- "\"SAFETY_CONTROL_MODE_RESUME_PENDING\x10\x04*\xe3\x03\n" +
- "\x13ActionDispatchState\x12%\n" +
- "!ACTION_DISPATCH_STATE_UNSPECIFIED\x10\x00\x12#\n" +
- "\x1fACTION_DISPATCH_STATE_REQUESTED\x10\x01\x12\"\n" +
- "\x1eACTION_DISPATCH_STATE_ACCEPTED\x10\x02\x12 \n" +
- "\x1cACTION_DISPATCH_STATE_QUEUED\x10\x03\x12*\n" +
- "&ACTION_DISPATCH_STATE_DISPATCH_STARTED\x10\x04\x12$\n" +
- " ACTION_DISPATCH_STATE_DISPATCHED\x10\x05\x12%\n" +
- "!ACTION_DISPATCH_STATE_UNCONFIRMED\x10\x06\x12#\n" +
- "\x1fACTION_DISPATCH_STATE_CONFIRMED\x10\a\x12)\n" +
- "%ACTION_DISPATCH_STATE_OUTCOME_UNKNOWN\x10\b\x12'\n" +
- "#ACTION_DISPATCH_STATE_NOT_DELIVERED\x10\t\x12\"\n" +
- "\x1eACTION_DISPATCH_STATE_REJECTED\x10\n" +
- "\x12$\n" +
- " ACTION_DISPATCH_STATE_SUPERSEDED\x10\v*\x88\x01\n" +
- "\vControlMode\x12\x1c\n" +
- "\x18CONTROL_MODE_UNSPECIFIED\x10\x00\x12\x19\n" +
- "\x15CONTROL_MODE_JOG_ONLY\x10\x01\x12\x1e\n" +
- "\x1aCONTROL_MODE_PERCENT_CLOSE\x10\x02\x12 \n" +
- "\x1cCONTROL_MODE_CONTINUOUS_DUTY\x10\x03*\xa7\x01\n" +
- "\fFeedbackMode\x12\x1d\n" +
- "\x19FEEDBACK_MODE_UNSPECIFIED\x10\x00\x12\x16\n" +
- "\x12FEEDBACK_MODE_NONE\x10\x01\x12%\n" +
- "!FEEDBACK_MODE_ESTIMATED_OPEN_LOOP\x10\x02\x12\x1e\n" +
- "\x1aFEEDBACK_MODE_LIMIT_SWITCH\x10\x03\x12\x19\n" +
- "\x15FEEDBACK_MODE_ENCODER\x10\x04*v\n" +
- "\fActuatorKind\x12\x1d\n" +
- "\x19ACTUATOR_KIND_UNSPECIFIED\x10\x00\x12\x15\n" +
- "\x11ACTUATOR_KIND_FAN\x10\x01\x12\x18\n" +
- "\x14ACTUATOR_KIND_HEATER\x10\x02\x12\x16\n" +
- "\x12ACTUATOR_KIND_DOOR\x10\x03*\x88\x01\n" +
- "\n" +
- "SensorKind\x12\x1b\n" +
- "\x17SENSOR_KIND_UNSPECIFIED\x10\x00\x12\x1b\n" +
- "\x17SENSOR_KIND_TEMPERATURE\x10\x01\x12\x1c\n" +
- "\x18SENSOR_KIND_LIMIT_SWITCH\x10\x02\x12\"\n" +
- "\x1eSENSOR_KIND_ESTIMATED_POSITION\x10\x03*\x9b\x01\n" +
- "\rFaultSeverity\x12\x1e\n" +
- "\x1aFAULT_SEVERITY_UNSPECIFIED\x10\x00\x12\x17\n" +
- "\x13FAULT_SEVERITY_INFO\x10\x01\x12\x1a\n" +
- "\x16FAULT_SEVERITY_WARNING\x10\x02\x12\x18\n" +
- "\x14FAULT_SEVERITY_ERROR\x10\x03\x12\x1b\n" +
- "\x17FAULT_SEVERITY_CRITICAL\x10\x04*\xbe\x01\n" +
- "\n" +
- "FaultClass\x12\x1b\n" +
- "\x17FAULT_CLASS_UNSPECIFIED\x10\x00\x12\x1f\n" +
- "\x1bFAULT_CLASS_DEVICE_REPORTED\x10\x01\x12\x1d\n" +
- "\x19FAULT_CLASS_HOST_INFERRED\x10\x02\x12\x16\n" +
- "\x12FAULT_CLASS_CONFIG\x10\x03\x12\x1d\n" +
- "\x19FAULT_CLASS_COMMUNICATION\x10\x04\x12\x1c\n" +
- "\x18FAULT_CLASS_DATA_QUALITY\x10\x05*\x85\x06\n" +
- "\tFaultType\x12\x1a\n" +
- "\x16FAULT_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n" +
- "\x19FAULT_TYPE_CONFIG_INVALID\x10\x01\x12\x1e\n" +
- "\x1aFAULT_TYPE_PROFILE_INVALID\x10\x02\x12(\n" +
- "$FAULT_TYPE_PROFILE_CONTRACT_MISMATCH\x10\x03\x12&\n" +
- "\"FAULT_TYPE_SERIAL_DEVICE_NOT_FOUND\x10\x04\x12'\n" +
- "#FAULT_TYPE_SERIAL_PERMISSION_DENIED\x10\x05\x12\"\n" +
- "\x1eFAULT_TYPE_SERIAL_DISCONNECTED\x10\x06\x12\"\n" +
- "\x1eFAULT_TYPE_SERIAL_RECONNECTING\x10\a\x12#\n" +
- "\x1fFAULT_TYPE_FRAME_LENGTH_INVALID\x10\b\x12 \n" +
- "\x1cFAULT_TYPE_FRAME_CRC_INVALID\x10\t\x12!\n" +
- "\x1dFAULT_TYPE_FRAME_TYPE_UNKNOWN\x10\n" +
- "\x12\x1f\n" +
- "\x1bFAULT_TYPE_RESPONSE_TIMEOUT\x10\v\x12'\n" +
- "#FAULT_TYPE_TEMPERATURE_DATA_INVALID\x10\f\x12\x1e\n" +
- "\x1aFAULT_TYPE_TELEMETRY_STALE\x10\r\x12$\n" +
- " FAULT_TYPE_CONTROL_LEASE_EXPIRED\x10\x0e\x12'\n" +
- "#FAULT_TYPE_CONTROL_COMMAND_REJECTED\x10\x0f\x12&\n" +
- "\"FAULT_TYPE_CONTROL_OUTCOME_UNKNOWN\x10\x10\x12(\n" +
- "$FAULT_TYPE_SAFE_ACTION_NOT_DELIVERED\x10\x11\x12\"\n" +
- "\x1eFAULT_TYPE_SUBSCRIBER_DATA_GAP\x10\x12\x12 \n" +
- "\x1cFAULT_TYPE_DEVICE_AXIS_FAULT\x10\x13\x12\x1f\n" +
- "\x1bFAULT_TYPE_WATCHDOG_TRIPPED\x10\x14*\xba\x04\n" +
- "\tEventKind\x12\x1a\n" +
- "\x16EVENT_KIND_UNSPECIFIED\x10\x00\x12\x17\n" +
- "\x13EVENT_KIND_SNAPSHOT\x10\x01\x12\x1b\n" +
- "\x17EVENT_KIND_FAULT_RAISED\x10\x02\x12\x1c\n" +
- "\x18EVENT_KIND_FAULT_CLEARED\x10\x03\x12\x1d\n" +
- "\x19EVENT_KIND_LEASE_ACQUIRED\x10\x04\x12\x1c\n" +
- "\x18EVENT_KIND_LEASE_RENEWED\x10\x05\x12\x1d\n" +
- "\x19EVENT_KIND_LEASE_RELEASED\x10\x06\x12\x1c\n" +
- "\x18EVENT_KIND_LEASE_EXPIRED\x10\a\x12#\n" +
- "\x1fEVENT_KIND_DEVICE_EPOCH_CHANGED\x10\b\x12\x17\n" +
- "\x13EVENT_KIND_DATA_GAP\x10\t\x12 \n" +
- "\x1cEVENT_KIND_SAFE_MODE_ENTERED\x10\n" +
- "\x12!\n" +
- "\x1dEVENT_KIND_WATCHDOG_HEARTBEAT\x10\v\x12\x1c\n" +
- "\x18EVENT_KIND_ACTION_RESULT\x10\f\x12\x1c\n" +
- "\x18EVENT_KIND_BACKEND_STATE\x10\r\x12\x1c\n" +
- "\x18EVENT_KIND_FAULT_UPDATED\x10\x0e\x12!\n" +
- "\x1dEVENT_KIND_FAULT_ACKNOWLEDGED\x10\x0f\x12\"\n" +
- "\x1eEVENT_KIND_SAFETY_MODE_CHANGED\x10\x10\x12\x1f\n" +
- "\x1bEVENT_KIND_RESUME_FROM_SAFE\x10\x11*y\n" +
- "\n" +
- "HostHealth\x12\x1b\n" +
- "\x17HOST_HEALTH_UNSPECIFIED\x10\x00\x12\x17\n" +
- "\x13HOST_HEALTH_SERVING\x10\x01\x12\x1b\n" +
- "\x17HOST_HEALTH_NOT_SERVING\x10\x02\x12\x18\n" +
- "\x14HOST_HEALTH_DEGRADED\x10\x03*r\n" +
- "\n" +
- "ActionMode\x12\x1b\n" +
- "\x17ACTION_MODE_UNSPECIFIED\x10\x00\x12\x16\n" +
- "\x12ACTION_MODE_NORMAL\x10\x01\x12\x14\n" +
- "\x10ACTION_MODE_SAFE\x10\x02\x12\x19\n" +
- "\x15ACTION_MODE_HEARTBEAT\x10\x03*\x8d\x06\n" +
- "\fRejectReason\x12\x1d\n" +
- "\x19REJECT_REASON_UNSPECIFIED\x10\x00\x12\"\n" +
- "\x1eREJECT_REASON_INVALID_ARGUMENT\x10\x01\x12\x1c\n" +
- "\x18REJECT_REASON_UNKNOWN_ID\x10\x02\x12\x1f\n" +
- "\x1bREJECT_REASON_NOT_SUPPORTED\x10\x03\x12\x1e\n" +
- "\x1aREJECT_REASON_OUT_OF_RANGE\x10\x04\x12 \n" +
- "\x1cREJECT_REASON_CLAMP_REQUIRED\x10\x05\x12\x1f\n" +
- "\x1bREJECT_REASON_LEASE_MISSING\x10\x06\x12 \n" +
- "\x1cREJECT_REASON_LEASE_MISMATCH\x10\a\x12\x1f\n" +
- "\x1bREJECT_REASON_LEASE_EXPIRED\x10\b\x12 \n" +
- "\x1cREJECT_REASON_STALE_SNAPSHOT\x10\t\x12(\n" +
- "$REJECT_REASON_STALE_CONTROL_REVISION\x10\n" +
- "\x12\"\n" +
- "\x1eREJECT_REASON_EXPIRED_DEADLINE\x10\v\x12&\n" +
- "\"REJECT_REASON_IDEMPOTENCY_CONFLICT\x10\f\x12\"\n" +
- "\x1eREJECT_REASON_DEVICE_NOT_READY\x10\r\x12\x1c\n" +
- "\x18REJECT_REASON_QUEUE_FULL\x10\x0e\x12%\n" +
- "!REJECT_REASON_ATOMIC_BATCH_FAILED\x10\x0f\x12\x1e\n" +
- "\x1aREJECT_REASON_SLEW_LIMITED\x10\x10\x12\"\n" +
- "\x1eREJECT_REASON_SAFE_MODE_ACTIVE\x10\x11\x12!\n" +
- "\x1dREJECT_REASON_RESUME_REQUIRED\x10\x12\x12%\n" +
- "!REJECT_REASON_PARTIAL_NOT_ALLOWED\x10\x13\x12\x1c\n" +
- "\x18REJECT_REASON_SUPERSEDED\x10\x14\x12(\n" +
- "$REJECT_REASON_SUPERSEDED_BY_SHUTDOWN\x10\x152\x8f\x05\n" +
- "\x0eObserveService\x12N\n" +
- "\vListDevices\x12\x1e.hth.api.v1.ListDevicesRequest\x1a\x1f.hth.api.v1.ListDevicesResponse\x12Z\n" +
- "\x0fGetCapabilities\x12\".hth.api.v1.GetCapabilitiesRequest\x1a#.hth.api.v1.GetCapabilitiesResponse\x12N\n" +
- "\vGetSnapshot\x12\x1e.hth.api.v1.GetSnapshotRequest\x1a\x1f.hth.api.v1.GetSnapshotResponse\x12S\n" +
- "\x12SubscribeTelemetry\x12%.hth.api.v1.SubscribeTelemetryRequest\x1a\x14.hth.api.v1.Snapshot0\x01\x12J\n" +
- "\x0fSubscribeEvents\x12\".hth.api.v1.SubscribeEventsRequest\x1a\x11.hth.api.v1.Event0\x01\x12H\n" +
- "\tGetFaults\x12\x1c.hth.api.v1.GetFaultsRequest\x1a\x1d.hth.api.v1.GetFaultsResponse\x12I\n" +
- "\vWatchHealth\x12\x1e.hth.api.v1.WatchHealthRequest\x1a\x18.hth.api.v1.HealthStatus0\x01\x12K\n" +
- "\n" +
- "StepReplay\x12\x1d.hth.api.v1.StepReplayRequest\x1a\x1e.hth.api.v1.StepReplayResponse2\x9b\x05\n" +
- "\x0eControlService\x12X\n" +
- "\x13AcquireControlLease\x12&.hth.api.v1.AcquireControlLeaseRequest\x1a\x19.hth.api.v1.LeaseResponse\x12T\n" +
- "\x11RenewControlLease\x12$.hth.api.v1.RenewControlLeaseRequest\x1a\x19.hth.api.v1.LeaseResponse\x12X\n" +
- "\x13ReleaseControlLease\x12&.hth.api.v1.ReleaseControlLeaseRequest\x1a\x19.hth.api.v1.LeaseResponse\x12M\n" +
- "\x0eValidateAction\x12!.hth.api.v1.ValidateActionRequest\x1a\x18.hth.api.v1.ActionResult\x12G\n" +
- "\vApplyAction\x12\x1e.hth.api.v1.ApplyActionRequest\x1a\x18.hth.api.v1.ActionResult\x12K\n" +
- "\rEnterSafeMode\x12 .hth.api.v1.EnterSafeModeRequest\x1a\x18.hth.api.v1.ActionResult\x12M\n" +
- "\x0eResumeFromSafe\x12!.hth.api.v1.ResumeFromSafeRequest\x1a\x18.hth.api.v1.ActionResult\x12K\n" +
- "\n" +
- "StepReplay\x12\x1d.hth.api.v1.StepReplayRequest\x1a\x1e.hth.api.v1.StepReplayResponseB#Z!hth/internal/gen/hth/api/v1;hthv1b\x06proto3"
- var (
- file_hth_api_v1_hth_proto_rawDescOnce sync.Once
- file_hth_api_v1_hth_proto_rawDescData []byte
- )
- func file_hth_api_v1_hth_proto_rawDescGZIP() []byte {
- file_hth_api_v1_hth_proto_rawDescOnce.Do(func() {
- 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)))
- })
- return file_hth_api_v1_hth_proto_rawDescData
- }
- var file_hth_api_v1_hth_proto_enumTypes = make([]protoimpl.EnumInfo, 18)
- var file_hth_api_v1_hth_proto_msgTypes = make([]protoimpl.MessageInfo, 46)
- var file_hth_api_v1_hth_proto_goTypes = []any{
- (DeviceLifecycleState)(0), // 0: hth.api.v1.DeviceLifecycleState
- (DataQuality)(0), // 1: hth.api.v1.DataQuality
- (ConfirmationStatus)(0), // 2: hth.api.v1.ConfirmationStatus
- (TransportState)(0), // 3: hth.api.v1.TransportState
- (DeviceReadiness)(0), // 4: hth.api.v1.DeviceReadiness
- (SafetyControlMode)(0), // 5: hth.api.v1.SafetyControlMode
- (ActionDispatchState)(0), // 6: hth.api.v1.ActionDispatchState
- (ControlMode)(0), // 7: hth.api.v1.ControlMode
- (FeedbackMode)(0), // 8: hth.api.v1.FeedbackMode
- (ActuatorKind)(0), // 9: hth.api.v1.ActuatorKind
- (SensorKind)(0), // 10: hth.api.v1.SensorKind
- (FaultSeverity)(0), // 11: hth.api.v1.FaultSeverity
- (FaultClass)(0), // 12: hth.api.v1.FaultClass
- (FaultType)(0), // 13: hth.api.v1.FaultType
- (EventKind)(0), // 14: hth.api.v1.EventKind
- (HostHealth)(0), // 15: hth.api.v1.HostHealth
- (ActionMode)(0), // 16: hth.api.v1.ActionMode
- (RejectReason)(0), // 17: hth.api.v1.RejectReason
- (*Measurement)(nil), // 18: hth.api.v1.Measurement
- (*TimeWindow)(nil), // 19: hth.api.v1.TimeWindow
- (*DeviceIdentity)(nil), // 20: hth.api.v1.DeviceIdentity
- (*DeviceInfo)(nil), // 21: hth.api.v1.DeviceInfo
- (*Range)(nil), // 22: hth.api.v1.Range
- (*SensorCapability)(nil), // 23: hth.api.v1.SensorCapability
- (*ActuatorCapability)(nil), // 24: hth.api.v1.ActuatorCapability
- (*Capabilities)(nil), // 25: hth.api.v1.Capabilities
- (*TimingCapabilities)(nil), // 26: hth.api.v1.TimingCapabilities
- (*CommandedActuator)(nil), // 27: hth.api.v1.CommandedActuator
- (*FieldAudit)(nil), // 28: hth.api.v1.FieldAudit
- (*ActionRecord)(nil), // 29: hth.api.v1.ActionRecord
- (*LeaseSummary)(nil), // 30: hth.api.v1.LeaseSummary
- (*Snapshot)(nil), // 31: hth.api.v1.Snapshot
- (*Fault)(nil), // 32: hth.api.v1.Fault
- (*DeliveryGap)(nil), // 33: hth.api.v1.DeliveryGap
- (*Event)(nil), // 34: hth.api.v1.Event
- (*ContinuousTarget)(nil), // 35: hth.api.v1.ContinuousTarget
- (*DiscreteCommand)(nil), // 36: hth.api.v1.DiscreteCommand
- (*ClampRecord)(nil), // 37: hth.api.v1.ClampRecord
- (*ActionBatch)(nil), // 38: hth.api.v1.ActionBatch
- (*ActionResult)(nil), // 39: hth.api.v1.ActionResult
- (*ControlLease)(nil), // 40: hth.api.v1.ControlLease
- (*ListDevicesRequest)(nil), // 41: hth.api.v1.ListDevicesRequest
- (*ListDevicesResponse)(nil), // 42: hth.api.v1.ListDevicesResponse
- (*GetCapabilitiesRequest)(nil), // 43: hth.api.v1.GetCapabilitiesRequest
- (*GetCapabilitiesResponse)(nil), // 44: hth.api.v1.GetCapabilitiesResponse
- (*GetSnapshotRequest)(nil), // 45: hth.api.v1.GetSnapshotRequest
- (*GetSnapshotResponse)(nil), // 46: hth.api.v1.GetSnapshotResponse
- (*SubscribeTelemetryRequest)(nil), // 47: hth.api.v1.SubscribeTelemetryRequest
- (*SubscribeEventsRequest)(nil), // 48: hth.api.v1.SubscribeEventsRequest
- (*GetFaultsRequest)(nil), // 49: hth.api.v1.GetFaultsRequest
- (*GetFaultsResponse)(nil), // 50: hth.api.v1.GetFaultsResponse
- (*WatchHealthRequest)(nil), // 51: hth.api.v1.WatchHealthRequest
- (*HealthStatus)(nil), // 52: hth.api.v1.HealthStatus
- (*AcquireControlLeaseRequest)(nil), // 53: hth.api.v1.AcquireControlLeaseRequest
- (*RenewControlLeaseRequest)(nil), // 54: hth.api.v1.RenewControlLeaseRequest
- (*ReleaseControlLeaseRequest)(nil), // 55: hth.api.v1.ReleaseControlLeaseRequest
- (*LeaseResponse)(nil), // 56: hth.api.v1.LeaseResponse
- (*ValidateActionRequest)(nil), // 57: hth.api.v1.ValidateActionRequest
- (*ApplyActionRequest)(nil), // 58: hth.api.v1.ApplyActionRequest
- (*EnterSafeModeRequest)(nil), // 59: hth.api.v1.EnterSafeModeRequest
- (*ResumeFromSafeRequest)(nil), // 60: hth.api.v1.ResumeFromSafeRequest
- (*StepReplayRequest)(nil), // 61: hth.api.v1.StepReplayRequest
- (*StepReplayResponse)(nil), // 62: hth.api.v1.StepReplayResponse
- nil, // 63: hth.api.v1.Fault.DiagnosticsEntry
- (*durationpb.Duration)(nil), // 64: google.protobuf.Duration
- (*timestamppb.Timestamp)(nil), // 65: google.protobuf.Timestamp
- }
- var file_hth_api_v1_hth_proto_depIdxs = []int32{
- 1, // 0: hth.api.v1.Measurement.quality:type_name -> hth.api.v1.DataQuality
- 64, // 1: hth.api.v1.Measurement.age:type_name -> google.protobuf.Duration
- 65, // 2: hth.api.v1.Measurement.host_time:type_name -> google.protobuf.Timestamp
- 65, // 3: hth.api.v1.Measurement.source_time:type_name -> google.protobuf.Timestamp
- 65, // 4: hth.api.v1.TimeWindow.request_sent:type_name -> google.protobuf.Timestamp
- 65, // 5: hth.api.v1.TimeWindow.response_start:type_name -> google.protobuf.Timestamp
- 65, // 6: hth.api.v1.TimeWindow.response_complete:type_name -> google.protobuf.Timestamp
- 65, // 7: hth.api.v1.TimeWindow.host_receive:type_name -> google.protobuf.Timestamp
- 65, // 8: hth.api.v1.TimeWindow.approx_acquire_start:type_name -> google.protobuf.Timestamp
- 65, // 9: hth.api.v1.TimeWindow.approx_acquire_end:type_name -> google.protobuf.Timestamp
- 20, // 10: hth.api.v1.DeviceInfo.identity:type_name -> hth.api.v1.DeviceIdentity
- 0, // 11: hth.api.v1.DeviceInfo.lifecycle:type_name -> hth.api.v1.DeviceLifecycleState
- 10, // 12: hth.api.v1.SensorCapability.kind:type_name -> hth.api.v1.SensorKind
- 22, // 13: hth.api.v1.SensorCapability.valid_range:type_name -> hth.api.v1.Range
- 64, // 14: hth.api.v1.SensorCapability.update_period:type_name -> google.protobuf.Duration
- 8, // 15: hth.api.v1.SensorCapability.feedback_mode:type_name -> hth.api.v1.FeedbackMode
- 9, // 16: hth.api.v1.ActuatorCapability.kind:type_name -> hth.api.v1.ActuatorKind
- 22, // 17: hth.api.v1.ActuatorCapability.command_range:type_name -> hth.api.v1.Range
- 7, // 18: hth.api.v1.ActuatorCapability.control_mode:type_name -> hth.api.v1.ControlMode
- 8, // 19: hth.api.v1.ActuatorCapability.feedback_mode:type_name -> hth.api.v1.FeedbackMode
- 1, // 20: hth.api.v1.Capabilities.firmware_version_quality:type_name -> hth.api.v1.DataQuality
- 23, // 21: hth.api.v1.Capabilities.sensors:type_name -> hth.api.v1.SensorCapability
- 24, // 22: hth.api.v1.Capabilities.actuators:type_name -> hth.api.v1.ActuatorCapability
- 64, // 23: hth.api.v1.Capabilities.recommended_sample_period:type_name -> google.protobuf.Duration
- 26, // 24: hth.api.v1.Capabilities.timing:type_name -> hth.api.v1.TimingCapabilities
- 1, // 25: hth.api.v1.CommandedActuator.actual_quality:type_name -> hth.api.v1.DataQuality
- 1, // 26: hth.api.v1.CommandedActuator.target_quality:type_name -> hth.api.v1.DataQuality
- 65, // 27: hth.api.v1.ActionRecord.time:type_name -> google.protobuf.Timestamp
- 2, // 28: hth.api.v1.ActionRecord.confirmation:type_name -> hth.api.v1.ConfirmationStatus
- 27, // 29: hth.api.v1.ActionRecord.actuators:type_name -> hth.api.v1.CommandedActuator
- 28, // 30: hth.api.v1.ActionRecord.field_audits:type_name -> hth.api.v1.FieldAudit
- 16, // 31: hth.api.v1.ActionRecord.action_mode:type_name -> hth.api.v1.ActionMode
- 6, // 32: hth.api.v1.ActionRecord.dispatch_state:type_name -> hth.api.v1.ActionDispatchState
- 65, // 33: hth.api.v1.LeaseSummary.expires_at:type_name -> google.protobuf.Timestamp
- 65, // 34: hth.api.v1.Snapshot.wall_time:type_name -> google.protobuf.Timestamp
- 19, // 35: hth.api.v1.Snapshot.capture_window:type_name -> hth.api.v1.TimeWindow
- 0, // 36: hth.api.v1.Snapshot.lifecycle:type_name -> hth.api.v1.DeviceLifecycleState
- 18, // 37: hth.api.v1.Snapshot.measurements:type_name -> hth.api.v1.Measurement
- 27, // 38: hth.api.v1.Snapshot.continuous_targets:type_name -> hth.api.v1.CommandedActuator
- 29, // 39: hth.api.v1.Snapshot.last_requested:type_name -> hth.api.v1.ActionRecord
- 29, // 40: hth.api.v1.Snapshot.last_accepted:type_name -> hth.api.v1.ActionRecord
- 29, // 41: hth.api.v1.Snapshot.last_dispatched:type_name -> hth.api.v1.ActionRecord
- 2, // 42: hth.api.v1.Snapshot.device_confirmation:type_name -> hth.api.v1.ConfirmationStatus
- 32, // 43: hth.api.v1.Snapshot.active_faults:type_name -> hth.api.v1.Fault
- 30, // 44: hth.api.v1.Snapshot.lease:type_name -> hth.api.v1.LeaseSummary
- 3, // 45: hth.api.v1.Snapshot.transport_state:type_name -> hth.api.v1.TransportState
- 4, // 46: hth.api.v1.Snapshot.device_readiness:type_name -> hth.api.v1.DeviceReadiness
- 5, // 47: hth.api.v1.Snapshot.safety_control_mode:type_name -> hth.api.v1.SafetyControlMode
- 65, // 48: hth.api.v1.Snapshot.last_successful_hardware_heartbeat:type_name -> google.protobuf.Timestamp
- 6, // 49: hth.api.v1.Snapshot.heartbeat_delivery_state:type_name -> hth.api.v1.ActionDispatchState
- 13, // 50: hth.api.v1.Fault.type:type_name -> hth.api.v1.FaultType
- 11, // 51: hth.api.v1.Fault.severity:type_name -> hth.api.v1.FaultSeverity
- 12, // 52: hth.api.v1.Fault.class:type_name -> hth.api.v1.FaultClass
- 65, // 53: hth.api.v1.Fault.first_time:type_name -> google.protobuf.Timestamp
- 65, // 54: hth.api.v1.Fault.last_time:type_name -> google.protobuf.Timestamp
- 63, // 55: hth.api.v1.Fault.diagnostics:type_name -> hth.api.v1.Fault.DiagnosticsEntry
- 14, // 56: hth.api.v1.Event.kind:type_name -> hth.api.v1.EventKind
- 65, // 57: hth.api.v1.Event.wall_time:type_name -> google.protobuf.Timestamp
- 31, // 58: hth.api.v1.Event.snapshot:type_name -> hth.api.v1.Snapshot
- 32, // 59: hth.api.v1.Event.fault:type_name -> hth.api.v1.Fault
- 33, // 60: hth.api.v1.Event.delivery_gap:type_name -> hth.api.v1.DeliveryGap
- 39, // 61: hth.api.v1.Event.action_result:type_name -> hth.api.v1.ActionResult
- 65, // 62: hth.api.v1.ActionBatch.valid_until:type_name -> google.protobuf.Timestamp
- 35, // 63: hth.api.v1.ActionBatch.continuous_targets:type_name -> hth.api.v1.ContinuousTarget
- 36, // 64: hth.api.v1.ActionBatch.discrete_commands:type_name -> hth.api.v1.DiscreteCommand
- 17, // 65: hth.api.v1.ActionResult.reject_reason:type_name -> hth.api.v1.RejectReason
- 37, // 66: hth.api.v1.ActionResult.clamps:type_name -> hth.api.v1.ClampRecord
- 29, // 67: hth.api.v1.ActionResult.requested:type_name -> hth.api.v1.ActionRecord
- 29, // 68: hth.api.v1.ActionResult.accepted_action:type_name -> hth.api.v1.ActionRecord
- 29, // 69: hth.api.v1.ActionResult.dispatched:type_name -> hth.api.v1.ActionRecord
- 2, // 70: hth.api.v1.ActionResult.confirmation:type_name -> hth.api.v1.ConfirmationStatus
- 29, // 71: hth.api.v1.ActionResult.raw_requested:type_name -> hth.api.v1.ActionRecord
- 29, // 72: hth.api.v1.ActionResult.normalized_requested:type_name -> hth.api.v1.ActionRecord
- 6, // 73: hth.api.v1.ActionResult.dispatch_state:type_name -> hth.api.v1.ActionDispatchState
- 65, // 74: hth.api.v1.ControlLease.created_at:type_name -> google.protobuf.Timestamp
- 65, // 75: hth.api.v1.ControlLease.expires_at:type_name -> google.protobuf.Timestamp
- 64, // 76: hth.api.v1.ControlLease.max_ttl:type_name -> google.protobuf.Duration
- 21, // 77: hth.api.v1.ListDevicesResponse.devices:type_name -> hth.api.v1.DeviceInfo
- 25, // 78: hth.api.v1.GetCapabilitiesResponse.capabilities:type_name -> hth.api.v1.Capabilities
- 31, // 79: hth.api.v1.GetSnapshotResponse.snapshot:type_name -> hth.api.v1.Snapshot
- 32, // 80: hth.api.v1.GetFaultsResponse.faults:type_name -> hth.api.v1.Fault
- 15, // 81: hth.api.v1.HealthStatus.host:type_name -> hth.api.v1.HostHealth
- 21, // 82: hth.api.v1.HealthStatus.devices:type_name -> hth.api.v1.DeviceInfo
- 15, // 83: hth.api.v1.HealthStatus.observe_service:type_name -> hth.api.v1.HostHealth
- 15, // 84: hth.api.v1.HealthStatus.control_service:type_name -> hth.api.v1.HostHealth
- 3, // 85: hth.api.v1.HealthStatus.transport_state:type_name -> hth.api.v1.TransportState
- 4, // 86: hth.api.v1.HealthStatus.device_readiness:type_name -> hth.api.v1.DeviceReadiness
- 5, // 87: hth.api.v1.HealthStatus.safety_control_mode:type_name -> hth.api.v1.SafetyControlMode
- 64, // 88: hth.api.v1.AcquireControlLeaseRequest.ttl:type_name -> google.protobuf.Duration
- 64, // 89: hth.api.v1.RenewControlLeaseRequest.ttl:type_name -> google.protobuf.Duration
- 40, // 90: hth.api.v1.LeaseResponse.lease:type_name -> hth.api.v1.ControlLease
- 38, // 91: hth.api.v1.ValidateActionRequest.batch:type_name -> hth.api.v1.ActionBatch
- 38, // 92: hth.api.v1.ApplyActionRequest.batch:type_name -> hth.api.v1.ActionBatch
- 38, // 93: hth.api.v1.ResumeFromSafeRequest.batch:type_name -> hth.api.v1.ActionBatch
- 34, // 94: hth.api.v1.StepReplayResponse.event:type_name -> hth.api.v1.Event
- 31, // 95: hth.api.v1.StepReplayResponse.snapshot:type_name -> hth.api.v1.Snapshot
- 41, // 96: hth.api.v1.ObserveService.ListDevices:input_type -> hth.api.v1.ListDevicesRequest
- 43, // 97: hth.api.v1.ObserveService.GetCapabilities:input_type -> hth.api.v1.GetCapabilitiesRequest
- 45, // 98: hth.api.v1.ObserveService.GetSnapshot:input_type -> hth.api.v1.GetSnapshotRequest
- 47, // 99: hth.api.v1.ObserveService.SubscribeTelemetry:input_type -> hth.api.v1.SubscribeTelemetryRequest
- 48, // 100: hth.api.v1.ObserveService.SubscribeEvents:input_type -> hth.api.v1.SubscribeEventsRequest
- 49, // 101: hth.api.v1.ObserveService.GetFaults:input_type -> hth.api.v1.GetFaultsRequest
- 51, // 102: hth.api.v1.ObserveService.WatchHealth:input_type -> hth.api.v1.WatchHealthRequest
- 61, // 103: hth.api.v1.ObserveService.StepReplay:input_type -> hth.api.v1.StepReplayRequest
- 53, // 104: hth.api.v1.ControlService.AcquireControlLease:input_type -> hth.api.v1.AcquireControlLeaseRequest
- 54, // 105: hth.api.v1.ControlService.RenewControlLease:input_type -> hth.api.v1.RenewControlLeaseRequest
- 55, // 106: hth.api.v1.ControlService.ReleaseControlLease:input_type -> hth.api.v1.ReleaseControlLeaseRequest
- 57, // 107: hth.api.v1.ControlService.ValidateAction:input_type -> hth.api.v1.ValidateActionRequest
- 58, // 108: hth.api.v1.ControlService.ApplyAction:input_type -> hth.api.v1.ApplyActionRequest
- 59, // 109: hth.api.v1.ControlService.EnterSafeMode:input_type -> hth.api.v1.EnterSafeModeRequest
- 60, // 110: hth.api.v1.ControlService.ResumeFromSafe:input_type -> hth.api.v1.ResumeFromSafeRequest
- 61, // 111: hth.api.v1.ControlService.StepReplay:input_type -> hth.api.v1.StepReplayRequest
- 42, // 112: hth.api.v1.ObserveService.ListDevices:output_type -> hth.api.v1.ListDevicesResponse
- 44, // 113: hth.api.v1.ObserveService.GetCapabilities:output_type -> hth.api.v1.GetCapabilitiesResponse
- 46, // 114: hth.api.v1.ObserveService.GetSnapshot:output_type -> hth.api.v1.GetSnapshotResponse
- 31, // 115: hth.api.v1.ObserveService.SubscribeTelemetry:output_type -> hth.api.v1.Snapshot
- 34, // 116: hth.api.v1.ObserveService.SubscribeEvents:output_type -> hth.api.v1.Event
- 50, // 117: hth.api.v1.ObserveService.GetFaults:output_type -> hth.api.v1.GetFaultsResponse
- 52, // 118: hth.api.v1.ObserveService.WatchHealth:output_type -> hth.api.v1.HealthStatus
- 62, // 119: hth.api.v1.ObserveService.StepReplay:output_type -> hth.api.v1.StepReplayResponse
- 56, // 120: hth.api.v1.ControlService.AcquireControlLease:output_type -> hth.api.v1.LeaseResponse
- 56, // 121: hth.api.v1.ControlService.RenewControlLease:output_type -> hth.api.v1.LeaseResponse
- 56, // 122: hth.api.v1.ControlService.ReleaseControlLease:output_type -> hth.api.v1.LeaseResponse
- 39, // 123: hth.api.v1.ControlService.ValidateAction:output_type -> hth.api.v1.ActionResult
- 39, // 124: hth.api.v1.ControlService.ApplyAction:output_type -> hth.api.v1.ActionResult
- 39, // 125: hth.api.v1.ControlService.EnterSafeMode:output_type -> hth.api.v1.ActionResult
- 39, // 126: hth.api.v1.ControlService.ResumeFromSafe:output_type -> hth.api.v1.ActionResult
- 62, // 127: hth.api.v1.ControlService.StepReplay:output_type -> hth.api.v1.StepReplayResponse
- 112, // [112:128] is the sub-list for method output_type
- 96, // [96:112] is the sub-list for method input_type
- 96, // [96:96] is the sub-list for extension type_name
- 96, // [96:96] is the sub-list for extension extendee
- 0, // [0:96] is the sub-list for field type_name
- }
- func init() { file_hth_api_v1_hth_proto_init() }
- func file_hth_api_v1_hth_proto_init() {
- if File_hth_api_v1_hth_proto != nil {
- return
- }
- file_hth_api_v1_hth_proto_msgTypes[0].OneofWrappers = []any{}
- file_hth_api_v1_hth_proto_msgTypes[9].OneofWrappers = []any{}
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_hth_api_v1_hth_proto_rawDesc), len(file_hth_api_v1_hth_proto_rawDesc)),
- NumEnums: 18,
- NumMessages: 46,
- NumExtensions: 0,
- NumServices: 2,
- },
- GoTypes: file_hth_api_v1_hth_proto_goTypes,
- DependencyIndexes: file_hth_api_v1_hth_proto_depIdxs,
- EnumInfos: file_hth_api_v1_hth_proto_enumTypes,
- MessageInfos: file_hth_api_v1_hth_proto_msgTypes,
- }.Build()
- File_hth_api_v1_hth_proto = out.File
- file_hth_api_v1_hth_proto_goTypes = nil
- file_hth_api_v1_hth_proto_depIdxs = nil
- }
|