| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008 |
- // 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"`
- // Physical 27-channel GET_TEMPERATURE scan, not the host scheduler tick.
- PhysicalTemperatureUpdatePeriodMs uint32 `protobuf:"varint,12,opt,name=physical_temperature_update_period_ms,json=physicalTemperatureUpdatePeriodMs,proto3" json:"physical_temperature_update_period_ms,omitempty"`
- // How often a snapshot subscriber may usefully poll; may repeat the last scan.
- RecommendedSnapshotSubscriptionPeriodMs uint32 `protobuf:"varint,13,opt,name=recommended_snapshot_subscription_period_ms,json=recommendedSnapshotSubscriptionPeriodMs,proto3" json:"recommended_snapshot_subscription_period_ms,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
- }
- func (x *TimingCapabilities) GetPhysicalTemperatureUpdatePeriodMs() uint32 {
- if x != nil {
- return x.PhysicalTemperatureUpdatePeriodMs
- }
- return 0
- }
- func (x *TimingCapabilities) GetRecommendedSnapshotSubscriptionPeriodMs() uint32 {
- if x != nil {
- return x.RecommendedSnapshotSubscriptionPeriodMs
- }
- 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\"\xf6\x06\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\x12P\n" +
- "%physical_temperature_update_period_ms\x18\f \x01(\rR!physicalTemperatureUpdatePeriodMs\x12\\\n" +
- "+recommended_snapshot_subscription_period_ms\x18\r \x01(\rR'recommendedSnapshotSubscriptionPeriodMs\"\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\x94\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\x12P\n" +
- "\n" +
- "StepReplay\x12\x1d.hth.api.v1.StepReplayRequest\x1a\x1e.hth.api.v1.StepReplayResponse\"\x03\x88\x02\x012\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
- }
|