started_service.pb.go 99 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197
  1. package daemon
  2. import (
  3. reflect "reflect"
  4. sync "sync"
  5. unsafe "unsafe"
  6. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  7. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  8. emptypb "google.golang.org/protobuf/types/known/emptypb"
  9. )
  10. const (
  11. // Verify that this generated code is sufficiently up-to-date.
  12. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  13. // Verify that runtime/protoimpl is sufficiently up-to-date.
  14. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  15. )
  16. type LogLevel int32
  17. const (
  18. LogLevel_PANIC LogLevel = 0
  19. LogLevel_FATAL LogLevel = 1
  20. LogLevel_ERROR LogLevel = 2
  21. LogLevel_WARN LogLevel = 3
  22. LogLevel_INFO LogLevel = 4
  23. LogLevel_DEBUG LogLevel = 5
  24. LogLevel_TRACE LogLevel = 6
  25. )
  26. // Enum value maps for LogLevel.
  27. var (
  28. LogLevel_name = map[int32]string{
  29. 0: "PANIC",
  30. 1: "FATAL",
  31. 2: "ERROR",
  32. 3: "WARN",
  33. 4: "INFO",
  34. 5: "DEBUG",
  35. 6: "TRACE",
  36. }
  37. LogLevel_value = map[string]int32{
  38. "PANIC": 0,
  39. "FATAL": 1,
  40. "ERROR": 2,
  41. "WARN": 3,
  42. "INFO": 4,
  43. "DEBUG": 5,
  44. "TRACE": 6,
  45. }
  46. )
  47. func (x LogLevel) Enum() *LogLevel {
  48. p := new(LogLevel)
  49. *p = x
  50. return p
  51. }
  52. func (x LogLevel) String() string {
  53. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  54. }
  55. func (LogLevel) Descriptor() protoreflect.EnumDescriptor {
  56. return file_daemon_started_service_proto_enumTypes[0].Descriptor()
  57. }
  58. func (LogLevel) Type() protoreflect.EnumType {
  59. return &file_daemon_started_service_proto_enumTypes[0]
  60. }
  61. func (x LogLevel) Number() protoreflect.EnumNumber {
  62. return protoreflect.EnumNumber(x)
  63. }
  64. // Deprecated: Use LogLevel.Descriptor instead.
  65. func (LogLevel) EnumDescriptor() ([]byte, []int) {
  66. return file_daemon_started_service_proto_rawDescGZIP(), []int{0}
  67. }
  68. type ConnectionEventType int32
  69. const (
  70. ConnectionEventType_CONNECTION_EVENT_NEW ConnectionEventType = 0
  71. ConnectionEventType_CONNECTION_EVENT_UPDATE ConnectionEventType = 1
  72. ConnectionEventType_CONNECTION_EVENT_CLOSED ConnectionEventType = 2
  73. )
  74. // Enum value maps for ConnectionEventType.
  75. var (
  76. ConnectionEventType_name = map[int32]string{
  77. 0: "CONNECTION_EVENT_NEW",
  78. 1: "CONNECTION_EVENT_UPDATE",
  79. 2: "CONNECTION_EVENT_CLOSED",
  80. }
  81. ConnectionEventType_value = map[string]int32{
  82. "CONNECTION_EVENT_NEW": 0,
  83. "CONNECTION_EVENT_UPDATE": 1,
  84. "CONNECTION_EVENT_CLOSED": 2,
  85. }
  86. )
  87. func (x ConnectionEventType) Enum() *ConnectionEventType {
  88. p := new(ConnectionEventType)
  89. *p = x
  90. return p
  91. }
  92. func (x ConnectionEventType) String() string {
  93. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  94. }
  95. func (ConnectionEventType) Descriptor() protoreflect.EnumDescriptor {
  96. return file_daemon_started_service_proto_enumTypes[1].Descriptor()
  97. }
  98. func (ConnectionEventType) Type() protoreflect.EnumType {
  99. return &file_daemon_started_service_proto_enumTypes[1]
  100. }
  101. func (x ConnectionEventType) Number() protoreflect.EnumNumber {
  102. return protoreflect.EnumNumber(x)
  103. }
  104. // Deprecated: Use ConnectionEventType.Descriptor instead.
  105. func (ConnectionEventType) EnumDescriptor() ([]byte, []int) {
  106. return file_daemon_started_service_proto_rawDescGZIP(), []int{1}
  107. }
  108. type ServiceStatus_Type int32
  109. const (
  110. ServiceStatus_IDLE ServiceStatus_Type = 0
  111. ServiceStatus_STARTING ServiceStatus_Type = 1
  112. ServiceStatus_STARTED ServiceStatus_Type = 2
  113. ServiceStatus_STOPPING ServiceStatus_Type = 3
  114. ServiceStatus_FATAL ServiceStatus_Type = 4
  115. )
  116. // Enum value maps for ServiceStatus_Type.
  117. var (
  118. ServiceStatus_Type_name = map[int32]string{
  119. 0: "IDLE",
  120. 1: "STARTING",
  121. 2: "STARTED",
  122. 3: "STOPPING",
  123. 4: "FATAL",
  124. }
  125. ServiceStatus_Type_value = map[string]int32{
  126. "IDLE": 0,
  127. "STARTING": 1,
  128. "STARTED": 2,
  129. "STOPPING": 3,
  130. "FATAL": 4,
  131. }
  132. )
  133. func (x ServiceStatus_Type) Enum() *ServiceStatus_Type {
  134. p := new(ServiceStatus_Type)
  135. *p = x
  136. return p
  137. }
  138. func (x ServiceStatus_Type) String() string {
  139. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  140. }
  141. func (ServiceStatus_Type) Descriptor() protoreflect.EnumDescriptor {
  142. return file_daemon_started_service_proto_enumTypes[2].Descriptor()
  143. }
  144. func (ServiceStatus_Type) Type() protoreflect.EnumType {
  145. return &file_daemon_started_service_proto_enumTypes[2]
  146. }
  147. func (x ServiceStatus_Type) Number() protoreflect.EnumNumber {
  148. return protoreflect.EnumNumber(x)
  149. }
  150. // Deprecated: Use ServiceStatus_Type.Descriptor instead.
  151. func (ServiceStatus_Type) EnumDescriptor() ([]byte, []int) {
  152. return file_daemon_started_service_proto_rawDescGZIP(), []int{0, 0}
  153. }
  154. type DebugCrashRequest_Type int32
  155. const (
  156. DebugCrashRequest_GO DebugCrashRequest_Type = 0
  157. DebugCrashRequest_NATIVE DebugCrashRequest_Type = 1
  158. )
  159. // Enum value maps for DebugCrashRequest_Type.
  160. var (
  161. DebugCrashRequest_Type_name = map[int32]string{
  162. 0: "GO",
  163. 1: "NATIVE",
  164. }
  165. DebugCrashRequest_Type_value = map[string]int32{
  166. "GO": 0,
  167. "NATIVE": 1,
  168. }
  169. )
  170. func (x DebugCrashRequest_Type) Enum() *DebugCrashRequest_Type {
  171. p := new(DebugCrashRequest_Type)
  172. *p = x
  173. return p
  174. }
  175. func (x DebugCrashRequest_Type) String() string {
  176. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  177. }
  178. func (DebugCrashRequest_Type) Descriptor() protoreflect.EnumDescriptor {
  179. return file_daemon_started_service_proto_enumTypes[3].Descriptor()
  180. }
  181. func (DebugCrashRequest_Type) Type() protoreflect.EnumType {
  182. return &file_daemon_started_service_proto_enumTypes[3]
  183. }
  184. func (x DebugCrashRequest_Type) Number() protoreflect.EnumNumber {
  185. return protoreflect.EnumNumber(x)
  186. }
  187. // Deprecated: Use DebugCrashRequest_Type.Descriptor instead.
  188. func (DebugCrashRequest_Type) EnumDescriptor() ([]byte, []int) {
  189. return file_daemon_started_service_proto_rawDescGZIP(), []int{16, 0}
  190. }
  191. type ServiceStatus struct {
  192. state protoimpl.MessageState `protogen:"open.v1"`
  193. Status ServiceStatus_Type `protobuf:"varint,1,opt,name=status,proto3,enum=daemon.ServiceStatus_Type" json:"status,omitempty"`
  194. ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
  195. unknownFields protoimpl.UnknownFields
  196. sizeCache protoimpl.SizeCache
  197. }
  198. func (x *ServiceStatus) Reset() {
  199. *x = ServiceStatus{}
  200. mi := &file_daemon_started_service_proto_msgTypes[0]
  201. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  202. ms.StoreMessageInfo(mi)
  203. }
  204. func (x *ServiceStatus) String() string {
  205. return protoimpl.X.MessageStringOf(x)
  206. }
  207. func (*ServiceStatus) ProtoMessage() {}
  208. func (x *ServiceStatus) ProtoReflect() protoreflect.Message {
  209. mi := &file_daemon_started_service_proto_msgTypes[0]
  210. if x != nil {
  211. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  212. if ms.LoadMessageInfo() == nil {
  213. ms.StoreMessageInfo(mi)
  214. }
  215. return ms
  216. }
  217. return mi.MessageOf(x)
  218. }
  219. // Deprecated: Use ServiceStatus.ProtoReflect.Descriptor instead.
  220. func (*ServiceStatus) Descriptor() ([]byte, []int) {
  221. return file_daemon_started_service_proto_rawDescGZIP(), []int{0}
  222. }
  223. func (x *ServiceStatus) GetStatus() ServiceStatus_Type {
  224. if x != nil {
  225. return x.Status
  226. }
  227. return ServiceStatus_IDLE
  228. }
  229. func (x *ServiceStatus) GetErrorMessage() string {
  230. if x != nil {
  231. return x.ErrorMessage
  232. }
  233. return ""
  234. }
  235. type ReloadServiceRequest struct {
  236. state protoimpl.MessageState `protogen:"open.v1"`
  237. NewProfileContent string `protobuf:"bytes,1,opt,name=newProfileContent,proto3" json:"newProfileContent,omitempty"`
  238. unknownFields protoimpl.UnknownFields
  239. sizeCache protoimpl.SizeCache
  240. }
  241. func (x *ReloadServiceRequest) Reset() {
  242. *x = ReloadServiceRequest{}
  243. mi := &file_daemon_started_service_proto_msgTypes[1]
  244. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  245. ms.StoreMessageInfo(mi)
  246. }
  247. func (x *ReloadServiceRequest) String() string {
  248. return protoimpl.X.MessageStringOf(x)
  249. }
  250. func (*ReloadServiceRequest) ProtoMessage() {}
  251. func (x *ReloadServiceRequest) ProtoReflect() protoreflect.Message {
  252. mi := &file_daemon_started_service_proto_msgTypes[1]
  253. if x != nil {
  254. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  255. if ms.LoadMessageInfo() == nil {
  256. ms.StoreMessageInfo(mi)
  257. }
  258. return ms
  259. }
  260. return mi.MessageOf(x)
  261. }
  262. // Deprecated: Use ReloadServiceRequest.ProtoReflect.Descriptor instead.
  263. func (*ReloadServiceRequest) Descriptor() ([]byte, []int) {
  264. return file_daemon_started_service_proto_rawDescGZIP(), []int{1}
  265. }
  266. func (x *ReloadServiceRequest) GetNewProfileContent() string {
  267. if x != nil {
  268. return x.NewProfileContent
  269. }
  270. return ""
  271. }
  272. type SubscribeStatusRequest struct {
  273. state protoimpl.MessageState `protogen:"open.v1"`
  274. Interval int64 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"`
  275. unknownFields protoimpl.UnknownFields
  276. sizeCache protoimpl.SizeCache
  277. }
  278. func (x *SubscribeStatusRequest) Reset() {
  279. *x = SubscribeStatusRequest{}
  280. mi := &file_daemon_started_service_proto_msgTypes[2]
  281. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  282. ms.StoreMessageInfo(mi)
  283. }
  284. func (x *SubscribeStatusRequest) String() string {
  285. return protoimpl.X.MessageStringOf(x)
  286. }
  287. func (*SubscribeStatusRequest) ProtoMessage() {}
  288. func (x *SubscribeStatusRequest) ProtoReflect() protoreflect.Message {
  289. mi := &file_daemon_started_service_proto_msgTypes[2]
  290. if x != nil {
  291. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  292. if ms.LoadMessageInfo() == nil {
  293. ms.StoreMessageInfo(mi)
  294. }
  295. return ms
  296. }
  297. return mi.MessageOf(x)
  298. }
  299. // Deprecated: Use SubscribeStatusRequest.ProtoReflect.Descriptor instead.
  300. func (*SubscribeStatusRequest) Descriptor() ([]byte, []int) {
  301. return file_daemon_started_service_proto_rawDescGZIP(), []int{2}
  302. }
  303. func (x *SubscribeStatusRequest) GetInterval() int64 {
  304. if x != nil {
  305. return x.Interval
  306. }
  307. return 0
  308. }
  309. type Log struct {
  310. state protoimpl.MessageState `protogen:"open.v1"`
  311. Messages []*Log_Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
  312. Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
  313. unknownFields protoimpl.UnknownFields
  314. sizeCache protoimpl.SizeCache
  315. }
  316. func (x *Log) Reset() {
  317. *x = Log{}
  318. mi := &file_daemon_started_service_proto_msgTypes[3]
  319. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  320. ms.StoreMessageInfo(mi)
  321. }
  322. func (x *Log) String() string {
  323. return protoimpl.X.MessageStringOf(x)
  324. }
  325. func (*Log) ProtoMessage() {}
  326. func (x *Log) ProtoReflect() protoreflect.Message {
  327. mi := &file_daemon_started_service_proto_msgTypes[3]
  328. if x != nil {
  329. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  330. if ms.LoadMessageInfo() == nil {
  331. ms.StoreMessageInfo(mi)
  332. }
  333. return ms
  334. }
  335. return mi.MessageOf(x)
  336. }
  337. // Deprecated: Use Log.ProtoReflect.Descriptor instead.
  338. func (*Log) Descriptor() ([]byte, []int) {
  339. return file_daemon_started_service_proto_rawDescGZIP(), []int{3}
  340. }
  341. func (x *Log) GetMessages() []*Log_Message {
  342. if x != nil {
  343. return x.Messages
  344. }
  345. return nil
  346. }
  347. func (x *Log) GetReset_() bool {
  348. if x != nil {
  349. return x.Reset_
  350. }
  351. return false
  352. }
  353. type DefaultLogLevel struct {
  354. state protoimpl.MessageState `protogen:"open.v1"`
  355. Level LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=daemon.LogLevel" json:"level,omitempty"`
  356. unknownFields protoimpl.UnknownFields
  357. sizeCache protoimpl.SizeCache
  358. }
  359. func (x *DefaultLogLevel) Reset() {
  360. *x = DefaultLogLevel{}
  361. mi := &file_daemon_started_service_proto_msgTypes[4]
  362. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  363. ms.StoreMessageInfo(mi)
  364. }
  365. func (x *DefaultLogLevel) String() string {
  366. return protoimpl.X.MessageStringOf(x)
  367. }
  368. func (*DefaultLogLevel) ProtoMessage() {}
  369. func (x *DefaultLogLevel) ProtoReflect() protoreflect.Message {
  370. mi := &file_daemon_started_service_proto_msgTypes[4]
  371. if x != nil {
  372. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  373. if ms.LoadMessageInfo() == nil {
  374. ms.StoreMessageInfo(mi)
  375. }
  376. return ms
  377. }
  378. return mi.MessageOf(x)
  379. }
  380. // Deprecated: Use DefaultLogLevel.ProtoReflect.Descriptor instead.
  381. func (*DefaultLogLevel) Descriptor() ([]byte, []int) {
  382. return file_daemon_started_service_proto_rawDescGZIP(), []int{4}
  383. }
  384. func (x *DefaultLogLevel) GetLevel() LogLevel {
  385. if x != nil {
  386. return x.Level
  387. }
  388. return LogLevel_PANIC
  389. }
  390. type Status struct {
  391. state protoimpl.MessageState `protogen:"open.v1"`
  392. Memory uint64 `protobuf:"varint,1,opt,name=memory,proto3" json:"memory,omitempty"`
  393. Goroutines int32 `protobuf:"varint,2,opt,name=goroutines,proto3" json:"goroutines,omitempty"`
  394. ConnectionsIn int32 `protobuf:"varint,3,opt,name=connectionsIn,proto3" json:"connectionsIn,omitempty"`
  395. ConnectionsOut int32 `protobuf:"varint,4,opt,name=connectionsOut,proto3" json:"connectionsOut,omitempty"`
  396. TrafficAvailable bool `protobuf:"varint,5,opt,name=trafficAvailable,proto3" json:"trafficAvailable,omitempty"`
  397. Uplink int64 `protobuf:"varint,6,opt,name=uplink,proto3" json:"uplink,omitempty"`
  398. Downlink int64 `protobuf:"varint,7,opt,name=downlink,proto3" json:"downlink,omitempty"`
  399. UplinkTotal int64 `protobuf:"varint,8,opt,name=uplinkTotal,proto3" json:"uplinkTotal,omitempty"`
  400. DownlinkTotal int64 `protobuf:"varint,9,opt,name=downlinkTotal,proto3" json:"downlinkTotal,omitempty"`
  401. unknownFields protoimpl.UnknownFields
  402. sizeCache protoimpl.SizeCache
  403. }
  404. func (x *Status) Reset() {
  405. *x = Status{}
  406. mi := &file_daemon_started_service_proto_msgTypes[5]
  407. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  408. ms.StoreMessageInfo(mi)
  409. }
  410. func (x *Status) String() string {
  411. return protoimpl.X.MessageStringOf(x)
  412. }
  413. func (*Status) ProtoMessage() {}
  414. func (x *Status) ProtoReflect() protoreflect.Message {
  415. mi := &file_daemon_started_service_proto_msgTypes[5]
  416. if x != nil {
  417. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  418. if ms.LoadMessageInfo() == nil {
  419. ms.StoreMessageInfo(mi)
  420. }
  421. return ms
  422. }
  423. return mi.MessageOf(x)
  424. }
  425. // Deprecated: Use Status.ProtoReflect.Descriptor instead.
  426. func (*Status) Descriptor() ([]byte, []int) {
  427. return file_daemon_started_service_proto_rawDescGZIP(), []int{5}
  428. }
  429. func (x *Status) GetMemory() uint64 {
  430. if x != nil {
  431. return x.Memory
  432. }
  433. return 0
  434. }
  435. func (x *Status) GetGoroutines() int32 {
  436. if x != nil {
  437. return x.Goroutines
  438. }
  439. return 0
  440. }
  441. func (x *Status) GetConnectionsIn() int32 {
  442. if x != nil {
  443. return x.ConnectionsIn
  444. }
  445. return 0
  446. }
  447. func (x *Status) GetConnectionsOut() int32 {
  448. if x != nil {
  449. return x.ConnectionsOut
  450. }
  451. return 0
  452. }
  453. func (x *Status) GetTrafficAvailable() bool {
  454. if x != nil {
  455. return x.TrafficAvailable
  456. }
  457. return false
  458. }
  459. func (x *Status) GetUplink() int64 {
  460. if x != nil {
  461. return x.Uplink
  462. }
  463. return 0
  464. }
  465. func (x *Status) GetDownlink() int64 {
  466. if x != nil {
  467. return x.Downlink
  468. }
  469. return 0
  470. }
  471. func (x *Status) GetUplinkTotal() int64 {
  472. if x != nil {
  473. return x.UplinkTotal
  474. }
  475. return 0
  476. }
  477. func (x *Status) GetDownlinkTotal() int64 {
  478. if x != nil {
  479. return x.DownlinkTotal
  480. }
  481. return 0
  482. }
  483. type Groups struct {
  484. state protoimpl.MessageState `protogen:"open.v1"`
  485. Group []*Group `protobuf:"bytes,1,rep,name=group,proto3" json:"group,omitempty"`
  486. unknownFields protoimpl.UnknownFields
  487. sizeCache protoimpl.SizeCache
  488. }
  489. func (x *Groups) Reset() {
  490. *x = Groups{}
  491. mi := &file_daemon_started_service_proto_msgTypes[6]
  492. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  493. ms.StoreMessageInfo(mi)
  494. }
  495. func (x *Groups) String() string {
  496. return protoimpl.X.MessageStringOf(x)
  497. }
  498. func (*Groups) ProtoMessage() {}
  499. func (x *Groups) ProtoReflect() protoreflect.Message {
  500. mi := &file_daemon_started_service_proto_msgTypes[6]
  501. if x != nil {
  502. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  503. if ms.LoadMessageInfo() == nil {
  504. ms.StoreMessageInfo(mi)
  505. }
  506. return ms
  507. }
  508. return mi.MessageOf(x)
  509. }
  510. // Deprecated: Use Groups.ProtoReflect.Descriptor instead.
  511. func (*Groups) Descriptor() ([]byte, []int) {
  512. return file_daemon_started_service_proto_rawDescGZIP(), []int{6}
  513. }
  514. func (x *Groups) GetGroup() []*Group {
  515. if x != nil {
  516. return x.Group
  517. }
  518. return nil
  519. }
  520. type Group struct {
  521. state protoimpl.MessageState `protogen:"open.v1"`
  522. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  523. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
  524. Selectable bool `protobuf:"varint,3,opt,name=selectable,proto3" json:"selectable,omitempty"`
  525. Selected string `protobuf:"bytes,4,opt,name=selected,proto3" json:"selected,omitempty"`
  526. IsExpand bool `protobuf:"varint,5,opt,name=isExpand,proto3" json:"isExpand,omitempty"`
  527. Items []*GroupItem `protobuf:"bytes,6,rep,name=items,proto3" json:"items,omitempty"`
  528. unknownFields protoimpl.UnknownFields
  529. sizeCache protoimpl.SizeCache
  530. }
  531. func (x *Group) Reset() {
  532. *x = Group{}
  533. mi := &file_daemon_started_service_proto_msgTypes[7]
  534. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  535. ms.StoreMessageInfo(mi)
  536. }
  537. func (x *Group) String() string {
  538. return protoimpl.X.MessageStringOf(x)
  539. }
  540. func (*Group) ProtoMessage() {}
  541. func (x *Group) ProtoReflect() protoreflect.Message {
  542. mi := &file_daemon_started_service_proto_msgTypes[7]
  543. if x != nil {
  544. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  545. if ms.LoadMessageInfo() == nil {
  546. ms.StoreMessageInfo(mi)
  547. }
  548. return ms
  549. }
  550. return mi.MessageOf(x)
  551. }
  552. // Deprecated: Use Group.ProtoReflect.Descriptor instead.
  553. func (*Group) Descriptor() ([]byte, []int) {
  554. return file_daemon_started_service_proto_rawDescGZIP(), []int{7}
  555. }
  556. func (x *Group) GetTag() string {
  557. if x != nil {
  558. return x.Tag
  559. }
  560. return ""
  561. }
  562. func (x *Group) GetType() string {
  563. if x != nil {
  564. return x.Type
  565. }
  566. return ""
  567. }
  568. func (x *Group) GetSelectable() bool {
  569. if x != nil {
  570. return x.Selectable
  571. }
  572. return false
  573. }
  574. func (x *Group) GetSelected() string {
  575. if x != nil {
  576. return x.Selected
  577. }
  578. return ""
  579. }
  580. func (x *Group) GetIsExpand() bool {
  581. if x != nil {
  582. return x.IsExpand
  583. }
  584. return false
  585. }
  586. func (x *Group) GetItems() []*GroupItem {
  587. if x != nil {
  588. return x.Items
  589. }
  590. return nil
  591. }
  592. type GroupItem struct {
  593. state protoimpl.MessageState `protogen:"open.v1"`
  594. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  595. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
  596. UrlTestTime int64 `protobuf:"varint,3,opt,name=urlTestTime,proto3" json:"urlTestTime,omitempty"`
  597. UrlTestDelay int32 `protobuf:"varint,4,opt,name=urlTestDelay,proto3" json:"urlTestDelay,omitempty"`
  598. unknownFields protoimpl.UnknownFields
  599. sizeCache protoimpl.SizeCache
  600. }
  601. func (x *GroupItem) Reset() {
  602. *x = GroupItem{}
  603. mi := &file_daemon_started_service_proto_msgTypes[8]
  604. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  605. ms.StoreMessageInfo(mi)
  606. }
  607. func (x *GroupItem) String() string {
  608. return protoimpl.X.MessageStringOf(x)
  609. }
  610. func (*GroupItem) ProtoMessage() {}
  611. func (x *GroupItem) ProtoReflect() protoreflect.Message {
  612. mi := &file_daemon_started_service_proto_msgTypes[8]
  613. if x != nil {
  614. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  615. if ms.LoadMessageInfo() == nil {
  616. ms.StoreMessageInfo(mi)
  617. }
  618. return ms
  619. }
  620. return mi.MessageOf(x)
  621. }
  622. // Deprecated: Use GroupItem.ProtoReflect.Descriptor instead.
  623. func (*GroupItem) Descriptor() ([]byte, []int) {
  624. return file_daemon_started_service_proto_rawDescGZIP(), []int{8}
  625. }
  626. func (x *GroupItem) GetTag() string {
  627. if x != nil {
  628. return x.Tag
  629. }
  630. return ""
  631. }
  632. func (x *GroupItem) GetType() string {
  633. if x != nil {
  634. return x.Type
  635. }
  636. return ""
  637. }
  638. func (x *GroupItem) GetUrlTestTime() int64 {
  639. if x != nil {
  640. return x.UrlTestTime
  641. }
  642. return 0
  643. }
  644. func (x *GroupItem) GetUrlTestDelay() int32 {
  645. if x != nil {
  646. return x.UrlTestDelay
  647. }
  648. return 0
  649. }
  650. type URLTestRequest struct {
  651. state protoimpl.MessageState `protogen:"open.v1"`
  652. OutboundTag string `protobuf:"bytes,1,opt,name=outboundTag,proto3" json:"outboundTag,omitempty"`
  653. unknownFields protoimpl.UnknownFields
  654. sizeCache protoimpl.SizeCache
  655. }
  656. func (x *URLTestRequest) Reset() {
  657. *x = URLTestRequest{}
  658. mi := &file_daemon_started_service_proto_msgTypes[9]
  659. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  660. ms.StoreMessageInfo(mi)
  661. }
  662. func (x *URLTestRequest) String() string {
  663. return protoimpl.X.MessageStringOf(x)
  664. }
  665. func (*URLTestRequest) ProtoMessage() {}
  666. func (x *URLTestRequest) ProtoReflect() protoreflect.Message {
  667. mi := &file_daemon_started_service_proto_msgTypes[9]
  668. if x != nil {
  669. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  670. if ms.LoadMessageInfo() == nil {
  671. ms.StoreMessageInfo(mi)
  672. }
  673. return ms
  674. }
  675. return mi.MessageOf(x)
  676. }
  677. // Deprecated: Use URLTestRequest.ProtoReflect.Descriptor instead.
  678. func (*URLTestRequest) Descriptor() ([]byte, []int) {
  679. return file_daemon_started_service_proto_rawDescGZIP(), []int{9}
  680. }
  681. func (x *URLTestRequest) GetOutboundTag() string {
  682. if x != nil {
  683. return x.OutboundTag
  684. }
  685. return ""
  686. }
  687. type SelectOutboundRequest struct {
  688. state protoimpl.MessageState `protogen:"open.v1"`
  689. GroupTag string `protobuf:"bytes,1,opt,name=groupTag,proto3" json:"groupTag,omitempty"`
  690. OutboundTag string `protobuf:"bytes,2,opt,name=outboundTag,proto3" json:"outboundTag,omitempty"`
  691. unknownFields protoimpl.UnknownFields
  692. sizeCache protoimpl.SizeCache
  693. }
  694. func (x *SelectOutboundRequest) Reset() {
  695. *x = SelectOutboundRequest{}
  696. mi := &file_daemon_started_service_proto_msgTypes[10]
  697. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  698. ms.StoreMessageInfo(mi)
  699. }
  700. func (x *SelectOutboundRequest) String() string {
  701. return protoimpl.X.MessageStringOf(x)
  702. }
  703. func (*SelectOutboundRequest) ProtoMessage() {}
  704. func (x *SelectOutboundRequest) ProtoReflect() protoreflect.Message {
  705. mi := &file_daemon_started_service_proto_msgTypes[10]
  706. if x != nil {
  707. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  708. if ms.LoadMessageInfo() == nil {
  709. ms.StoreMessageInfo(mi)
  710. }
  711. return ms
  712. }
  713. return mi.MessageOf(x)
  714. }
  715. // Deprecated: Use SelectOutboundRequest.ProtoReflect.Descriptor instead.
  716. func (*SelectOutboundRequest) Descriptor() ([]byte, []int) {
  717. return file_daemon_started_service_proto_rawDescGZIP(), []int{10}
  718. }
  719. func (x *SelectOutboundRequest) GetGroupTag() string {
  720. if x != nil {
  721. return x.GroupTag
  722. }
  723. return ""
  724. }
  725. func (x *SelectOutboundRequest) GetOutboundTag() string {
  726. if x != nil {
  727. return x.OutboundTag
  728. }
  729. return ""
  730. }
  731. type SetGroupExpandRequest struct {
  732. state protoimpl.MessageState `protogen:"open.v1"`
  733. GroupTag string `protobuf:"bytes,1,opt,name=groupTag,proto3" json:"groupTag,omitempty"`
  734. IsExpand bool `protobuf:"varint,2,opt,name=isExpand,proto3" json:"isExpand,omitempty"`
  735. unknownFields protoimpl.UnknownFields
  736. sizeCache protoimpl.SizeCache
  737. }
  738. func (x *SetGroupExpandRequest) Reset() {
  739. *x = SetGroupExpandRequest{}
  740. mi := &file_daemon_started_service_proto_msgTypes[11]
  741. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  742. ms.StoreMessageInfo(mi)
  743. }
  744. func (x *SetGroupExpandRequest) String() string {
  745. return protoimpl.X.MessageStringOf(x)
  746. }
  747. func (*SetGroupExpandRequest) ProtoMessage() {}
  748. func (x *SetGroupExpandRequest) ProtoReflect() protoreflect.Message {
  749. mi := &file_daemon_started_service_proto_msgTypes[11]
  750. if x != nil {
  751. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  752. if ms.LoadMessageInfo() == nil {
  753. ms.StoreMessageInfo(mi)
  754. }
  755. return ms
  756. }
  757. return mi.MessageOf(x)
  758. }
  759. // Deprecated: Use SetGroupExpandRequest.ProtoReflect.Descriptor instead.
  760. func (*SetGroupExpandRequest) Descriptor() ([]byte, []int) {
  761. return file_daemon_started_service_proto_rawDescGZIP(), []int{11}
  762. }
  763. func (x *SetGroupExpandRequest) GetGroupTag() string {
  764. if x != nil {
  765. return x.GroupTag
  766. }
  767. return ""
  768. }
  769. func (x *SetGroupExpandRequest) GetIsExpand() bool {
  770. if x != nil {
  771. return x.IsExpand
  772. }
  773. return false
  774. }
  775. type ClashMode struct {
  776. state protoimpl.MessageState `protogen:"open.v1"`
  777. Mode string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
  778. unknownFields protoimpl.UnknownFields
  779. sizeCache protoimpl.SizeCache
  780. }
  781. func (x *ClashMode) Reset() {
  782. *x = ClashMode{}
  783. mi := &file_daemon_started_service_proto_msgTypes[12]
  784. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  785. ms.StoreMessageInfo(mi)
  786. }
  787. func (x *ClashMode) String() string {
  788. return protoimpl.X.MessageStringOf(x)
  789. }
  790. func (*ClashMode) ProtoMessage() {}
  791. func (x *ClashMode) ProtoReflect() protoreflect.Message {
  792. mi := &file_daemon_started_service_proto_msgTypes[12]
  793. if x != nil {
  794. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  795. if ms.LoadMessageInfo() == nil {
  796. ms.StoreMessageInfo(mi)
  797. }
  798. return ms
  799. }
  800. return mi.MessageOf(x)
  801. }
  802. // Deprecated: Use ClashMode.ProtoReflect.Descriptor instead.
  803. func (*ClashMode) Descriptor() ([]byte, []int) {
  804. return file_daemon_started_service_proto_rawDescGZIP(), []int{12}
  805. }
  806. func (x *ClashMode) GetMode() string {
  807. if x != nil {
  808. return x.Mode
  809. }
  810. return ""
  811. }
  812. type ClashModeStatus struct {
  813. state protoimpl.MessageState `protogen:"open.v1"`
  814. ModeList []string `protobuf:"bytes,1,rep,name=modeList,proto3" json:"modeList,omitempty"`
  815. CurrentMode string `protobuf:"bytes,2,opt,name=currentMode,proto3" json:"currentMode,omitempty"`
  816. unknownFields protoimpl.UnknownFields
  817. sizeCache protoimpl.SizeCache
  818. }
  819. func (x *ClashModeStatus) Reset() {
  820. *x = ClashModeStatus{}
  821. mi := &file_daemon_started_service_proto_msgTypes[13]
  822. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  823. ms.StoreMessageInfo(mi)
  824. }
  825. func (x *ClashModeStatus) String() string {
  826. return protoimpl.X.MessageStringOf(x)
  827. }
  828. func (*ClashModeStatus) ProtoMessage() {}
  829. func (x *ClashModeStatus) ProtoReflect() protoreflect.Message {
  830. mi := &file_daemon_started_service_proto_msgTypes[13]
  831. if x != nil {
  832. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  833. if ms.LoadMessageInfo() == nil {
  834. ms.StoreMessageInfo(mi)
  835. }
  836. return ms
  837. }
  838. return mi.MessageOf(x)
  839. }
  840. // Deprecated: Use ClashModeStatus.ProtoReflect.Descriptor instead.
  841. func (*ClashModeStatus) Descriptor() ([]byte, []int) {
  842. return file_daemon_started_service_proto_rawDescGZIP(), []int{13}
  843. }
  844. func (x *ClashModeStatus) GetModeList() []string {
  845. if x != nil {
  846. return x.ModeList
  847. }
  848. return nil
  849. }
  850. func (x *ClashModeStatus) GetCurrentMode() string {
  851. if x != nil {
  852. return x.CurrentMode
  853. }
  854. return ""
  855. }
  856. type SystemProxyStatus struct {
  857. state protoimpl.MessageState `protogen:"open.v1"`
  858. Available bool `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"`
  859. Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
  860. unknownFields protoimpl.UnknownFields
  861. sizeCache protoimpl.SizeCache
  862. }
  863. func (x *SystemProxyStatus) Reset() {
  864. *x = SystemProxyStatus{}
  865. mi := &file_daemon_started_service_proto_msgTypes[14]
  866. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  867. ms.StoreMessageInfo(mi)
  868. }
  869. func (x *SystemProxyStatus) String() string {
  870. return protoimpl.X.MessageStringOf(x)
  871. }
  872. func (*SystemProxyStatus) ProtoMessage() {}
  873. func (x *SystemProxyStatus) ProtoReflect() protoreflect.Message {
  874. mi := &file_daemon_started_service_proto_msgTypes[14]
  875. if x != nil {
  876. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  877. if ms.LoadMessageInfo() == nil {
  878. ms.StoreMessageInfo(mi)
  879. }
  880. return ms
  881. }
  882. return mi.MessageOf(x)
  883. }
  884. // Deprecated: Use SystemProxyStatus.ProtoReflect.Descriptor instead.
  885. func (*SystemProxyStatus) Descriptor() ([]byte, []int) {
  886. return file_daemon_started_service_proto_rawDescGZIP(), []int{14}
  887. }
  888. func (x *SystemProxyStatus) GetAvailable() bool {
  889. if x != nil {
  890. return x.Available
  891. }
  892. return false
  893. }
  894. func (x *SystemProxyStatus) GetEnabled() bool {
  895. if x != nil {
  896. return x.Enabled
  897. }
  898. return false
  899. }
  900. type SetSystemProxyEnabledRequest struct {
  901. state protoimpl.MessageState `protogen:"open.v1"`
  902. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
  903. unknownFields protoimpl.UnknownFields
  904. sizeCache protoimpl.SizeCache
  905. }
  906. func (x *SetSystemProxyEnabledRequest) Reset() {
  907. *x = SetSystemProxyEnabledRequest{}
  908. mi := &file_daemon_started_service_proto_msgTypes[15]
  909. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  910. ms.StoreMessageInfo(mi)
  911. }
  912. func (x *SetSystemProxyEnabledRequest) String() string {
  913. return protoimpl.X.MessageStringOf(x)
  914. }
  915. func (*SetSystemProxyEnabledRequest) ProtoMessage() {}
  916. func (x *SetSystemProxyEnabledRequest) ProtoReflect() protoreflect.Message {
  917. mi := &file_daemon_started_service_proto_msgTypes[15]
  918. if x != nil {
  919. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  920. if ms.LoadMessageInfo() == nil {
  921. ms.StoreMessageInfo(mi)
  922. }
  923. return ms
  924. }
  925. return mi.MessageOf(x)
  926. }
  927. // Deprecated: Use SetSystemProxyEnabledRequest.ProtoReflect.Descriptor instead.
  928. func (*SetSystemProxyEnabledRequest) Descriptor() ([]byte, []int) {
  929. return file_daemon_started_service_proto_rawDescGZIP(), []int{15}
  930. }
  931. func (x *SetSystemProxyEnabledRequest) GetEnabled() bool {
  932. if x != nil {
  933. return x.Enabled
  934. }
  935. return false
  936. }
  937. type DebugCrashRequest struct {
  938. state protoimpl.MessageState `protogen:"open.v1"`
  939. Type DebugCrashRequest_Type `protobuf:"varint,1,opt,name=type,proto3,enum=daemon.DebugCrashRequest_Type" json:"type,omitempty"`
  940. unknownFields protoimpl.UnknownFields
  941. sizeCache protoimpl.SizeCache
  942. }
  943. func (x *DebugCrashRequest) Reset() {
  944. *x = DebugCrashRequest{}
  945. mi := &file_daemon_started_service_proto_msgTypes[16]
  946. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  947. ms.StoreMessageInfo(mi)
  948. }
  949. func (x *DebugCrashRequest) String() string {
  950. return protoimpl.X.MessageStringOf(x)
  951. }
  952. func (*DebugCrashRequest) ProtoMessage() {}
  953. func (x *DebugCrashRequest) ProtoReflect() protoreflect.Message {
  954. mi := &file_daemon_started_service_proto_msgTypes[16]
  955. if x != nil {
  956. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  957. if ms.LoadMessageInfo() == nil {
  958. ms.StoreMessageInfo(mi)
  959. }
  960. return ms
  961. }
  962. return mi.MessageOf(x)
  963. }
  964. // Deprecated: Use DebugCrashRequest.ProtoReflect.Descriptor instead.
  965. func (*DebugCrashRequest) Descriptor() ([]byte, []int) {
  966. return file_daemon_started_service_proto_rawDescGZIP(), []int{16}
  967. }
  968. func (x *DebugCrashRequest) GetType() DebugCrashRequest_Type {
  969. if x != nil {
  970. return x.Type
  971. }
  972. return DebugCrashRequest_GO
  973. }
  974. type SubscribeConnectionsRequest struct {
  975. state protoimpl.MessageState `protogen:"open.v1"`
  976. Interval int64 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"`
  977. unknownFields protoimpl.UnknownFields
  978. sizeCache protoimpl.SizeCache
  979. }
  980. func (x *SubscribeConnectionsRequest) Reset() {
  981. *x = SubscribeConnectionsRequest{}
  982. mi := &file_daemon_started_service_proto_msgTypes[17]
  983. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  984. ms.StoreMessageInfo(mi)
  985. }
  986. func (x *SubscribeConnectionsRequest) String() string {
  987. return protoimpl.X.MessageStringOf(x)
  988. }
  989. func (*SubscribeConnectionsRequest) ProtoMessage() {}
  990. func (x *SubscribeConnectionsRequest) ProtoReflect() protoreflect.Message {
  991. mi := &file_daemon_started_service_proto_msgTypes[17]
  992. if x != nil {
  993. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  994. if ms.LoadMessageInfo() == nil {
  995. ms.StoreMessageInfo(mi)
  996. }
  997. return ms
  998. }
  999. return mi.MessageOf(x)
  1000. }
  1001. // Deprecated: Use SubscribeConnectionsRequest.ProtoReflect.Descriptor instead.
  1002. func (*SubscribeConnectionsRequest) Descriptor() ([]byte, []int) {
  1003. return file_daemon_started_service_proto_rawDescGZIP(), []int{17}
  1004. }
  1005. func (x *SubscribeConnectionsRequest) GetInterval() int64 {
  1006. if x != nil {
  1007. return x.Interval
  1008. }
  1009. return 0
  1010. }
  1011. type ConnectionEvent struct {
  1012. state protoimpl.MessageState `protogen:"open.v1"`
  1013. Type ConnectionEventType `protobuf:"varint,1,opt,name=type,proto3,enum=daemon.ConnectionEventType" json:"type,omitempty"`
  1014. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
  1015. Connection *Connection `protobuf:"bytes,3,opt,name=connection,proto3" json:"connection,omitempty"`
  1016. UplinkDelta int64 `protobuf:"varint,4,opt,name=uplinkDelta,proto3" json:"uplinkDelta,omitempty"`
  1017. DownlinkDelta int64 `protobuf:"varint,5,opt,name=downlinkDelta,proto3" json:"downlinkDelta,omitempty"`
  1018. ClosedAt int64 `protobuf:"varint,6,opt,name=closedAt,proto3" json:"closedAt,omitempty"`
  1019. unknownFields protoimpl.UnknownFields
  1020. sizeCache protoimpl.SizeCache
  1021. }
  1022. func (x *ConnectionEvent) Reset() {
  1023. *x = ConnectionEvent{}
  1024. mi := &file_daemon_started_service_proto_msgTypes[18]
  1025. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1026. ms.StoreMessageInfo(mi)
  1027. }
  1028. func (x *ConnectionEvent) String() string {
  1029. return protoimpl.X.MessageStringOf(x)
  1030. }
  1031. func (*ConnectionEvent) ProtoMessage() {}
  1032. func (x *ConnectionEvent) ProtoReflect() protoreflect.Message {
  1033. mi := &file_daemon_started_service_proto_msgTypes[18]
  1034. if x != nil {
  1035. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1036. if ms.LoadMessageInfo() == nil {
  1037. ms.StoreMessageInfo(mi)
  1038. }
  1039. return ms
  1040. }
  1041. return mi.MessageOf(x)
  1042. }
  1043. // Deprecated: Use ConnectionEvent.ProtoReflect.Descriptor instead.
  1044. func (*ConnectionEvent) Descriptor() ([]byte, []int) {
  1045. return file_daemon_started_service_proto_rawDescGZIP(), []int{18}
  1046. }
  1047. func (x *ConnectionEvent) GetType() ConnectionEventType {
  1048. if x != nil {
  1049. return x.Type
  1050. }
  1051. return ConnectionEventType_CONNECTION_EVENT_NEW
  1052. }
  1053. func (x *ConnectionEvent) GetId() string {
  1054. if x != nil {
  1055. return x.Id
  1056. }
  1057. return ""
  1058. }
  1059. func (x *ConnectionEvent) GetConnection() *Connection {
  1060. if x != nil {
  1061. return x.Connection
  1062. }
  1063. return nil
  1064. }
  1065. func (x *ConnectionEvent) GetUplinkDelta() int64 {
  1066. if x != nil {
  1067. return x.UplinkDelta
  1068. }
  1069. return 0
  1070. }
  1071. func (x *ConnectionEvent) GetDownlinkDelta() int64 {
  1072. if x != nil {
  1073. return x.DownlinkDelta
  1074. }
  1075. return 0
  1076. }
  1077. func (x *ConnectionEvent) GetClosedAt() int64 {
  1078. if x != nil {
  1079. return x.ClosedAt
  1080. }
  1081. return 0
  1082. }
  1083. type ConnectionEvents struct {
  1084. state protoimpl.MessageState `protogen:"open.v1"`
  1085. Events []*ConnectionEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
  1086. Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
  1087. unknownFields protoimpl.UnknownFields
  1088. sizeCache protoimpl.SizeCache
  1089. }
  1090. func (x *ConnectionEvents) Reset() {
  1091. *x = ConnectionEvents{}
  1092. mi := &file_daemon_started_service_proto_msgTypes[19]
  1093. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1094. ms.StoreMessageInfo(mi)
  1095. }
  1096. func (x *ConnectionEvents) String() string {
  1097. return protoimpl.X.MessageStringOf(x)
  1098. }
  1099. func (*ConnectionEvents) ProtoMessage() {}
  1100. func (x *ConnectionEvents) ProtoReflect() protoreflect.Message {
  1101. mi := &file_daemon_started_service_proto_msgTypes[19]
  1102. if x != nil {
  1103. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1104. if ms.LoadMessageInfo() == nil {
  1105. ms.StoreMessageInfo(mi)
  1106. }
  1107. return ms
  1108. }
  1109. return mi.MessageOf(x)
  1110. }
  1111. // Deprecated: Use ConnectionEvents.ProtoReflect.Descriptor instead.
  1112. func (*ConnectionEvents) Descriptor() ([]byte, []int) {
  1113. return file_daemon_started_service_proto_rawDescGZIP(), []int{19}
  1114. }
  1115. func (x *ConnectionEvents) GetEvents() []*ConnectionEvent {
  1116. if x != nil {
  1117. return x.Events
  1118. }
  1119. return nil
  1120. }
  1121. func (x *ConnectionEvents) GetReset_() bool {
  1122. if x != nil {
  1123. return x.Reset_
  1124. }
  1125. return false
  1126. }
  1127. type Connection struct {
  1128. state protoimpl.MessageState `protogen:"open.v1"`
  1129. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  1130. Inbound string `protobuf:"bytes,2,opt,name=inbound,proto3" json:"inbound,omitempty"`
  1131. InboundType string `protobuf:"bytes,3,opt,name=inboundType,proto3" json:"inboundType,omitempty"`
  1132. IpVersion int32 `protobuf:"varint,4,opt,name=ipVersion,proto3" json:"ipVersion,omitempty"`
  1133. Network string `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"`
  1134. Source string `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"`
  1135. Destination string `protobuf:"bytes,7,opt,name=destination,proto3" json:"destination,omitempty"`
  1136. Domain string `protobuf:"bytes,8,opt,name=domain,proto3" json:"domain,omitempty"`
  1137. Protocol string `protobuf:"bytes,9,opt,name=protocol,proto3" json:"protocol,omitempty"`
  1138. User string `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"`
  1139. FromOutbound string `protobuf:"bytes,11,opt,name=fromOutbound,proto3" json:"fromOutbound,omitempty"`
  1140. CreatedAt int64 `protobuf:"varint,12,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
  1141. ClosedAt int64 `protobuf:"varint,13,opt,name=closedAt,proto3" json:"closedAt,omitempty"`
  1142. Uplink int64 `protobuf:"varint,14,opt,name=uplink,proto3" json:"uplink,omitempty"`
  1143. Downlink int64 `protobuf:"varint,15,opt,name=downlink,proto3" json:"downlink,omitempty"`
  1144. UplinkTotal int64 `protobuf:"varint,16,opt,name=uplinkTotal,proto3" json:"uplinkTotal,omitempty"`
  1145. DownlinkTotal int64 `protobuf:"varint,17,opt,name=downlinkTotal,proto3" json:"downlinkTotal,omitempty"`
  1146. Rule string `protobuf:"bytes,18,opt,name=rule,proto3" json:"rule,omitempty"`
  1147. Outbound string `protobuf:"bytes,19,opt,name=outbound,proto3" json:"outbound,omitempty"`
  1148. OutboundType string `protobuf:"bytes,20,opt,name=outboundType,proto3" json:"outboundType,omitempty"`
  1149. ChainList []string `protobuf:"bytes,21,rep,name=chainList,proto3" json:"chainList,omitempty"`
  1150. ProcessInfo *ProcessInfo `protobuf:"bytes,22,opt,name=processInfo,proto3" json:"processInfo,omitempty"`
  1151. unknownFields protoimpl.UnknownFields
  1152. sizeCache protoimpl.SizeCache
  1153. }
  1154. func (x *Connection) Reset() {
  1155. *x = Connection{}
  1156. mi := &file_daemon_started_service_proto_msgTypes[20]
  1157. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1158. ms.StoreMessageInfo(mi)
  1159. }
  1160. func (x *Connection) String() string {
  1161. return protoimpl.X.MessageStringOf(x)
  1162. }
  1163. func (*Connection) ProtoMessage() {}
  1164. func (x *Connection) ProtoReflect() protoreflect.Message {
  1165. mi := &file_daemon_started_service_proto_msgTypes[20]
  1166. if x != nil {
  1167. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1168. if ms.LoadMessageInfo() == nil {
  1169. ms.StoreMessageInfo(mi)
  1170. }
  1171. return ms
  1172. }
  1173. return mi.MessageOf(x)
  1174. }
  1175. // Deprecated: Use Connection.ProtoReflect.Descriptor instead.
  1176. func (*Connection) Descriptor() ([]byte, []int) {
  1177. return file_daemon_started_service_proto_rawDescGZIP(), []int{20}
  1178. }
  1179. func (x *Connection) GetId() string {
  1180. if x != nil {
  1181. return x.Id
  1182. }
  1183. return ""
  1184. }
  1185. func (x *Connection) GetInbound() string {
  1186. if x != nil {
  1187. return x.Inbound
  1188. }
  1189. return ""
  1190. }
  1191. func (x *Connection) GetInboundType() string {
  1192. if x != nil {
  1193. return x.InboundType
  1194. }
  1195. return ""
  1196. }
  1197. func (x *Connection) GetIpVersion() int32 {
  1198. if x != nil {
  1199. return x.IpVersion
  1200. }
  1201. return 0
  1202. }
  1203. func (x *Connection) GetNetwork() string {
  1204. if x != nil {
  1205. return x.Network
  1206. }
  1207. return ""
  1208. }
  1209. func (x *Connection) GetSource() string {
  1210. if x != nil {
  1211. return x.Source
  1212. }
  1213. return ""
  1214. }
  1215. func (x *Connection) GetDestination() string {
  1216. if x != nil {
  1217. return x.Destination
  1218. }
  1219. return ""
  1220. }
  1221. func (x *Connection) GetDomain() string {
  1222. if x != nil {
  1223. return x.Domain
  1224. }
  1225. return ""
  1226. }
  1227. func (x *Connection) GetProtocol() string {
  1228. if x != nil {
  1229. return x.Protocol
  1230. }
  1231. return ""
  1232. }
  1233. func (x *Connection) GetUser() string {
  1234. if x != nil {
  1235. return x.User
  1236. }
  1237. return ""
  1238. }
  1239. func (x *Connection) GetFromOutbound() string {
  1240. if x != nil {
  1241. return x.FromOutbound
  1242. }
  1243. return ""
  1244. }
  1245. func (x *Connection) GetCreatedAt() int64 {
  1246. if x != nil {
  1247. return x.CreatedAt
  1248. }
  1249. return 0
  1250. }
  1251. func (x *Connection) GetClosedAt() int64 {
  1252. if x != nil {
  1253. return x.ClosedAt
  1254. }
  1255. return 0
  1256. }
  1257. func (x *Connection) GetUplink() int64 {
  1258. if x != nil {
  1259. return x.Uplink
  1260. }
  1261. return 0
  1262. }
  1263. func (x *Connection) GetDownlink() int64 {
  1264. if x != nil {
  1265. return x.Downlink
  1266. }
  1267. return 0
  1268. }
  1269. func (x *Connection) GetUplinkTotal() int64 {
  1270. if x != nil {
  1271. return x.UplinkTotal
  1272. }
  1273. return 0
  1274. }
  1275. func (x *Connection) GetDownlinkTotal() int64 {
  1276. if x != nil {
  1277. return x.DownlinkTotal
  1278. }
  1279. return 0
  1280. }
  1281. func (x *Connection) GetRule() string {
  1282. if x != nil {
  1283. return x.Rule
  1284. }
  1285. return ""
  1286. }
  1287. func (x *Connection) GetOutbound() string {
  1288. if x != nil {
  1289. return x.Outbound
  1290. }
  1291. return ""
  1292. }
  1293. func (x *Connection) GetOutboundType() string {
  1294. if x != nil {
  1295. return x.OutboundType
  1296. }
  1297. return ""
  1298. }
  1299. func (x *Connection) GetChainList() []string {
  1300. if x != nil {
  1301. return x.ChainList
  1302. }
  1303. return nil
  1304. }
  1305. func (x *Connection) GetProcessInfo() *ProcessInfo {
  1306. if x != nil {
  1307. return x.ProcessInfo
  1308. }
  1309. return nil
  1310. }
  1311. type ProcessInfo struct {
  1312. state protoimpl.MessageState `protogen:"open.v1"`
  1313. ProcessId uint32 `protobuf:"varint,1,opt,name=processId,proto3" json:"processId,omitempty"`
  1314. UserId int32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
  1315. UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName,omitempty"`
  1316. ProcessPath string `protobuf:"bytes,4,opt,name=processPath,proto3" json:"processPath,omitempty"`
  1317. PackageNames []string `protobuf:"bytes,5,rep,name=packageNames,proto3" json:"packageNames,omitempty"`
  1318. unknownFields protoimpl.UnknownFields
  1319. sizeCache protoimpl.SizeCache
  1320. }
  1321. func (x *ProcessInfo) Reset() {
  1322. *x = ProcessInfo{}
  1323. mi := &file_daemon_started_service_proto_msgTypes[21]
  1324. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1325. ms.StoreMessageInfo(mi)
  1326. }
  1327. func (x *ProcessInfo) String() string {
  1328. return protoimpl.X.MessageStringOf(x)
  1329. }
  1330. func (*ProcessInfo) ProtoMessage() {}
  1331. func (x *ProcessInfo) ProtoReflect() protoreflect.Message {
  1332. mi := &file_daemon_started_service_proto_msgTypes[21]
  1333. if x != nil {
  1334. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1335. if ms.LoadMessageInfo() == nil {
  1336. ms.StoreMessageInfo(mi)
  1337. }
  1338. return ms
  1339. }
  1340. return mi.MessageOf(x)
  1341. }
  1342. // Deprecated: Use ProcessInfo.ProtoReflect.Descriptor instead.
  1343. func (*ProcessInfo) Descriptor() ([]byte, []int) {
  1344. return file_daemon_started_service_proto_rawDescGZIP(), []int{21}
  1345. }
  1346. func (x *ProcessInfo) GetProcessId() uint32 {
  1347. if x != nil {
  1348. return x.ProcessId
  1349. }
  1350. return 0
  1351. }
  1352. func (x *ProcessInfo) GetUserId() int32 {
  1353. if x != nil {
  1354. return x.UserId
  1355. }
  1356. return 0
  1357. }
  1358. func (x *ProcessInfo) GetUserName() string {
  1359. if x != nil {
  1360. return x.UserName
  1361. }
  1362. return ""
  1363. }
  1364. func (x *ProcessInfo) GetProcessPath() string {
  1365. if x != nil {
  1366. return x.ProcessPath
  1367. }
  1368. return ""
  1369. }
  1370. func (x *ProcessInfo) GetPackageNames() []string {
  1371. if x != nil {
  1372. return x.PackageNames
  1373. }
  1374. return nil
  1375. }
  1376. type CloseConnectionRequest struct {
  1377. state protoimpl.MessageState `protogen:"open.v1"`
  1378. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  1379. unknownFields protoimpl.UnknownFields
  1380. sizeCache protoimpl.SizeCache
  1381. }
  1382. func (x *CloseConnectionRequest) Reset() {
  1383. *x = CloseConnectionRequest{}
  1384. mi := &file_daemon_started_service_proto_msgTypes[22]
  1385. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1386. ms.StoreMessageInfo(mi)
  1387. }
  1388. func (x *CloseConnectionRequest) String() string {
  1389. return protoimpl.X.MessageStringOf(x)
  1390. }
  1391. func (*CloseConnectionRequest) ProtoMessage() {}
  1392. func (x *CloseConnectionRequest) ProtoReflect() protoreflect.Message {
  1393. mi := &file_daemon_started_service_proto_msgTypes[22]
  1394. if x != nil {
  1395. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1396. if ms.LoadMessageInfo() == nil {
  1397. ms.StoreMessageInfo(mi)
  1398. }
  1399. return ms
  1400. }
  1401. return mi.MessageOf(x)
  1402. }
  1403. // Deprecated: Use CloseConnectionRequest.ProtoReflect.Descriptor instead.
  1404. func (*CloseConnectionRequest) Descriptor() ([]byte, []int) {
  1405. return file_daemon_started_service_proto_rawDescGZIP(), []int{22}
  1406. }
  1407. func (x *CloseConnectionRequest) GetId() string {
  1408. if x != nil {
  1409. return x.Id
  1410. }
  1411. return ""
  1412. }
  1413. type DeprecatedWarnings struct {
  1414. state protoimpl.MessageState `protogen:"open.v1"`
  1415. Warnings []*DeprecatedWarning `protobuf:"bytes,1,rep,name=warnings,proto3" json:"warnings,omitempty"`
  1416. unknownFields protoimpl.UnknownFields
  1417. sizeCache protoimpl.SizeCache
  1418. }
  1419. func (x *DeprecatedWarnings) Reset() {
  1420. *x = DeprecatedWarnings{}
  1421. mi := &file_daemon_started_service_proto_msgTypes[23]
  1422. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1423. ms.StoreMessageInfo(mi)
  1424. }
  1425. func (x *DeprecatedWarnings) String() string {
  1426. return protoimpl.X.MessageStringOf(x)
  1427. }
  1428. func (*DeprecatedWarnings) ProtoMessage() {}
  1429. func (x *DeprecatedWarnings) ProtoReflect() protoreflect.Message {
  1430. mi := &file_daemon_started_service_proto_msgTypes[23]
  1431. if x != nil {
  1432. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1433. if ms.LoadMessageInfo() == nil {
  1434. ms.StoreMessageInfo(mi)
  1435. }
  1436. return ms
  1437. }
  1438. return mi.MessageOf(x)
  1439. }
  1440. // Deprecated: Use DeprecatedWarnings.ProtoReflect.Descriptor instead.
  1441. func (*DeprecatedWarnings) Descriptor() ([]byte, []int) {
  1442. return file_daemon_started_service_proto_rawDescGZIP(), []int{23}
  1443. }
  1444. func (x *DeprecatedWarnings) GetWarnings() []*DeprecatedWarning {
  1445. if x != nil {
  1446. return x.Warnings
  1447. }
  1448. return nil
  1449. }
  1450. type DeprecatedWarning struct {
  1451. state protoimpl.MessageState `protogen:"open.v1"`
  1452. Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
  1453. Impending bool `protobuf:"varint,2,opt,name=impending,proto3" json:"impending,omitempty"`
  1454. MigrationLink string `protobuf:"bytes,3,opt,name=migrationLink,proto3" json:"migrationLink,omitempty"`
  1455. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
  1456. DeprecatedVersion string `protobuf:"bytes,5,opt,name=deprecatedVersion,proto3" json:"deprecatedVersion,omitempty"`
  1457. ScheduledVersion string `protobuf:"bytes,6,opt,name=scheduledVersion,proto3" json:"scheduledVersion,omitempty"`
  1458. unknownFields protoimpl.UnknownFields
  1459. sizeCache protoimpl.SizeCache
  1460. }
  1461. func (x *DeprecatedWarning) Reset() {
  1462. *x = DeprecatedWarning{}
  1463. mi := &file_daemon_started_service_proto_msgTypes[24]
  1464. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1465. ms.StoreMessageInfo(mi)
  1466. }
  1467. func (x *DeprecatedWarning) String() string {
  1468. return protoimpl.X.MessageStringOf(x)
  1469. }
  1470. func (*DeprecatedWarning) ProtoMessage() {}
  1471. func (x *DeprecatedWarning) ProtoReflect() protoreflect.Message {
  1472. mi := &file_daemon_started_service_proto_msgTypes[24]
  1473. if x != nil {
  1474. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1475. if ms.LoadMessageInfo() == nil {
  1476. ms.StoreMessageInfo(mi)
  1477. }
  1478. return ms
  1479. }
  1480. return mi.MessageOf(x)
  1481. }
  1482. // Deprecated: Use DeprecatedWarning.ProtoReflect.Descriptor instead.
  1483. func (*DeprecatedWarning) Descriptor() ([]byte, []int) {
  1484. return file_daemon_started_service_proto_rawDescGZIP(), []int{24}
  1485. }
  1486. func (x *DeprecatedWarning) GetMessage() string {
  1487. if x != nil {
  1488. return x.Message
  1489. }
  1490. return ""
  1491. }
  1492. func (x *DeprecatedWarning) GetImpending() bool {
  1493. if x != nil {
  1494. return x.Impending
  1495. }
  1496. return false
  1497. }
  1498. func (x *DeprecatedWarning) GetMigrationLink() string {
  1499. if x != nil {
  1500. return x.MigrationLink
  1501. }
  1502. return ""
  1503. }
  1504. func (x *DeprecatedWarning) GetDescription() string {
  1505. if x != nil {
  1506. return x.Description
  1507. }
  1508. return ""
  1509. }
  1510. func (x *DeprecatedWarning) GetDeprecatedVersion() string {
  1511. if x != nil {
  1512. return x.DeprecatedVersion
  1513. }
  1514. return ""
  1515. }
  1516. func (x *DeprecatedWarning) GetScheduledVersion() string {
  1517. if x != nil {
  1518. return x.ScheduledVersion
  1519. }
  1520. return ""
  1521. }
  1522. type StartedAt struct {
  1523. state protoimpl.MessageState `protogen:"open.v1"`
  1524. StartedAt int64 `protobuf:"varint,1,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
  1525. unknownFields protoimpl.UnknownFields
  1526. sizeCache protoimpl.SizeCache
  1527. }
  1528. func (x *StartedAt) Reset() {
  1529. *x = StartedAt{}
  1530. mi := &file_daemon_started_service_proto_msgTypes[25]
  1531. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1532. ms.StoreMessageInfo(mi)
  1533. }
  1534. func (x *StartedAt) String() string {
  1535. return protoimpl.X.MessageStringOf(x)
  1536. }
  1537. func (*StartedAt) ProtoMessage() {}
  1538. func (x *StartedAt) ProtoReflect() protoreflect.Message {
  1539. mi := &file_daemon_started_service_proto_msgTypes[25]
  1540. if x != nil {
  1541. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1542. if ms.LoadMessageInfo() == nil {
  1543. ms.StoreMessageInfo(mi)
  1544. }
  1545. return ms
  1546. }
  1547. return mi.MessageOf(x)
  1548. }
  1549. // Deprecated: Use StartedAt.ProtoReflect.Descriptor instead.
  1550. func (*StartedAt) Descriptor() ([]byte, []int) {
  1551. return file_daemon_started_service_proto_rawDescGZIP(), []int{25}
  1552. }
  1553. func (x *StartedAt) GetStartedAt() int64 {
  1554. if x != nil {
  1555. return x.StartedAt
  1556. }
  1557. return 0
  1558. }
  1559. type OutboundList struct {
  1560. state protoimpl.MessageState `protogen:"open.v1"`
  1561. Outbounds []*GroupItem `protobuf:"bytes,1,rep,name=outbounds,proto3" json:"outbounds,omitempty"`
  1562. unknownFields protoimpl.UnknownFields
  1563. sizeCache protoimpl.SizeCache
  1564. }
  1565. func (x *OutboundList) Reset() {
  1566. *x = OutboundList{}
  1567. mi := &file_daemon_started_service_proto_msgTypes[26]
  1568. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1569. ms.StoreMessageInfo(mi)
  1570. }
  1571. func (x *OutboundList) String() string {
  1572. return protoimpl.X.MessageStringOf(x)
  1573. }
  1574. func (*OutboundList) ProtoMessage() {}
  1575. func (x *OutboundList) ProtoReflect() protoreflect.Message {
  1576. mi := &file_daemon_started_service_proto_msgTypes[26]
  1577. if x != nil {
  1578. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1579. if ms.LoadMessageInfo() == nil {
  1580. ms.StoreMessageInfo(mi)
  1581. }
  1582. return ms
  1583. }
  1584. return mi.MessageOf(x)
  1585. }
  1586. // Deprecated: Use OutboundList.ProtoReflect.Descriptor instead.
  1587. func (*OutboundList) Descriptor() ([]byte, []int) {
  1588. return file_daemon_started_service_proto_rawDescGZIP(), []int{26}
  1589. }
  1590. func (x *OutboundList) GetOutbounds() []*GroupItem {
  1591. if x != nil {
  1592. return x.Outbounds
  1593. }
  1594. return nil
  1595. }
  1596. type NetworkQualityTestRequest struct {
  1597. state protoimpl.MessageState `protogen:"open.v1"`
  1598. ConfigURL string `protobuf:"bytes,1,opt,name=configURL,proto3" json:"configURL,omitempty"`
  1599. OutboundTag string `protobuf:"bytes,2,opt,name=outboundTag,proto3" json:"outboundTag,omitempty"`
  1600. Serial bool `protobuf:"varint,3,opt,name=serial,proto3" json:"serial,omitempty"`
  1601. MaxRuntimeSeconds int32 `protobuf:"varint,4,opt,name=maxRuntimeSeconds,proto3" json:"maxRuntimeSeconds,omitempty"`
  1602. Http3 bool `protobuf:"varint,5,opt,name=http3,proto3" json:"http3,omitempty"`
  1603. unknownFields protoimpl.UnknownFields
  1604. sizeCache protoimpl.SizeCache
  1605. }
  1606. func (x *NetworkQualityTestRequest) Reset() {
  1607. *x = NetworkQualityTestRequest{}
  1608. mi := &file_daemon_started_service_proto_msgTypes[27]
  1609. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1610. ms.StoreMessageInfo(mi)
  1611. }
  1612. func (x *NetworkQualityTestRequest) String() string {
  1613. return protoimpl.X.MessageStringOf(x)
  1614. }
  1615. func (*NetworkQualityTestRequest) ProtoMessage() {}
  1616. func (x *NetworkQualityTestRequest) ProtoReflect() protoreflect.Message {
  1617. mi := &file_daemon_started_service_proto_msgTypes[27]
  1618. if x != nil {
  1619. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1620. if ms.LoadMessageInfo() == nil {
  1621. ms.StoreMessageInfo(mi)
  1622. }
  1623. return ms
  1624. }
  1625. return mi.MessageOf(x)
  1626. }
  1627. // Deprecated: Use NetworkQualityTestRequest.ProtoReflect.Descriptor instead.
  1628. func (*NetworkQualityTestRequest) Descriptor() ([]byte, []int) {
  1629. return file_daemon_started_service_proto_rawDescGZIP(), []int{27}
  1630. }
  1631. func (x *NetworkQualityTestRequest) GetConfigURL() string {
  1632. if x != nil {
  1633. return x.ConfigURL
  1634. }
  1635. return ""
  1636. }
  1637. func (x *NetworkQualityTestRequest) GetOutboundTag() string {
  1638. if x != nil {
  1639. return x.OutboundTag
  1640. }
  1641. return ""
  1642. }
  1643. func (x *NetworkQualityTestRequest) GetSerial() bool {
  1644. if x != nil {
  1645. return x.Serial
  1646. }
  1647. return false
  1648. }
  1649. func (x *NetworkQualityTestRequest) GetMaxRuntimeSeconds() int32 {
  1650. if x != nil {
  1651. return x.MaxRuntimeSeconds
  1652. }
  1653. return 0
  1654. }
  1655. func (x *NetworkQualityTestRequest) GetHttp3() bool {
  1656. if x != nil {
  1657. return x.Http3
  1658. }
  1659. return false
  1660. }
  1661. type NetworkQualityTestProgress struct {
  1662. state protoimpl.MessageState `protogen:"open.v1"`
  1663. Phase int32 `protobuf:"varint,1,opt,name=phase,proto3" json:"phase,omitempty"`
  1664. DownloadCapacity int64 `protobuf:"varint,2,opt,name=downloadCapacity,proto3" json:"downloadCapacity,omitempty"`
  1665. UploadCapacity int64 `protobuf:"varint,3,opt,name=uploadCapacity,proto3" json:"uploadCapacity,omitempty"`
  1666. DownloadRPM int32 `protobuf:"varint,4,opt,name=downloadRPM,proto3" json:"downloadRPM,omitempty"`
  1667. UploadRPM int32 `protobuf:"varint,5,opt,name=uploadRPM,proto3" json:"uploadRPM,omitempty"`
  1668. IdleLatencyMs int32 `protobuf:"varint,6,opt,name=idleLatencyMs,proto3" json:"idleLatencyMs,omitempty"`
  1669. ElapsedMs int64 `protobuf:"varint,7,opt,name=elapsedMs,proto3" json:"elapsedMs,omitempty"`
  1670. IsFinal bool `protobuf:"varint,8,opt,name=isFinal,proto3" json:"isFinal,omitempty"`
  1671. Error string `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
  1672. DownloadCapacityAccuracy int32 `protobuf:"varint,10,opt,name=downloadCapacityAccuracy,proto3" json:"downloadCapacityAccuracy,omitempty"`
  1673. UploadCapacityAccuracy int32 `protobuf:"varint,11,opt,name=uploadCapacityAccuracy,proto3" json:"uploadCapacityAccuracy,omitempty"`
  1674. DownloadRPMAccuracy int32 `protobuf:"varint,12,opt,name=downloadRPMAccuracy,proto3" json:"downloadRPMAccuracy,omitempty"`
  1675. UploadRPMAccuracy int32 `protobuf:"varint,13,opt,name=uploadRPMAccuracy,proto3" json:"uploadRPMAccuracy,omitempty"`
  1676. unknownFields protoimpl.UnknownFields
  1677. sizeCache protoimpl.SizeCache
  1678. }
  1679. func (x *NetworkQualityTestProgress) Reset() {
  1680. *x = NetworkQualityTestProgress{}
  1681. mi := &file_daemon_started_service_proto_msgTypes[28]
  1682. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1683. ms.StoreMessageInfo(mi)
  1684. }
  1685. func (x *NetworkQualityTestProgress) String() string {
  1686. return protoimpl.X.MessageStringOf(x)
  1687. }
  1688. func (*NetworkQualityTestProgress) ProtoMessage() {}
  1689. func (x *NetworkQualityTestProgress) ProtoReflect() protoreflect.Message {
  1690. mi := &file_daemon_started_service_proto_msgTypes[28]
  1691. if x != nil {
  1692. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1693. if ms.LoadMessageInfo() == nil {
  1694. ms.StoreMessageInfo(mi)
  1695. }
  1696. return ms
  1697. }
  1698. return mi.MessageOf(x)
  1699. }
  1700. // Deprecated: Use NetworkQualityTestProgress.ProtoReflect.Descriptor instead.
  1701. func (*NetworkQualityTestProgress) Descriptor() ([]byte, []int) {
  1702. return file_daemon_started_service_proto_rawDescGZIP(), []int{28}
  1703. }
  1704. func (x *NetworkQualityTestProgress) GetPhase() int32 {
  1705. if x != nil {
  1706. return x.Phase
  1707. }
  1708. return 0
  1709. }
  1710. func (x *NetworkQualityTestProgress) GetDownloadCapacity() int64 {
  1711. if x != nil {
  1712. return x.DownloadCapacity
  1713. }
  1714. return 0
  1715. }
  1716. func (x *NetworkQualityTestProgress) GetUploadCapacity() int64 {
  1717. if x != nil {
  1718. return x.UploadCapacity
  1719. }
  1720. return 0
  1721. }
  1722. func (x *NetworkQualityTestProgress) GetDownloadRPM() int32 {
  1723. if x != nil {
  1724. return x.DownloadRPM
  1725. }
  1726. return 0
  1727. }
  1728. func (x *NetworkQualityTestProgress) GetUploadRPM() int32 {
  1729. if x != nil {
  1730. return x.UploadRPM
  1731. }
  1732. return 0
  1733. }
  1734. func (x *NetworkQualityTestProgress) GetIdleLatencyMs() int32 {
  1735. if x != nil {
  1736. return x.IdleLatencyMs
  1737. }
  1738. return 0
  1739. }
  1740. func (x *NetworkQualityTestProgress) GetElapsedMs() int64 {
  1741. if x != nil {
  1742. return x.ElapsedMs
  1743. }
  1744. return 0
  1745. }
  1746. func (x *NetworkQualityTestProgress) GetIsFinal() bool {
  1747. if x != nil {
  1748. return x.IsFinal
  1749. }
  1750. return false
  1751. }
  1752. func (x *NetworkQualityTestProgress) GetError() string {
  1753. if x != nil {
  1754. return x.Error
  1755. }
  1756. return ""
  1757. }
  1758. func (x *NetworkQualityTestProgress) GetDownloadCapacityAccuracy() int32 {
  1759. if x != nil {
  1760. return x.DownloadCapacityAccuracy
  1761. }
  1762. return 0
  1763. }
  1764. func (x *NetworkQualityTestProgress) GetUploadCapacityAccuracy() int32 {
  1765. if x != nil {
  1766. return x.UploadCapacityAccuracy
  1767. }
  1768. return 0
  1769. }
  1770. func (x *NetworkQualityTestProgress) GetDownloadRPMAccuracy() int32 {
  1771. if x != nil {
  1772. return x.DownloadRPMAccuracy
  1773. }
  1774. return 0
  1775. }
  1776. func (x *NetworkQualityTestProgress) GetUploadRPMAccuracy() int32 {
  1777. if x != nil {
  1778. return x.UploadRPMAccuracy
  1779. }
  1780. return 0
  1781. }
  1782. type STUNTestRequest struct {
  1783. state protoimpl.MessageState `protogen:"open.v1"`
  1784. Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
  1785. OutboundTag string `protobuf:"bytes,2,opt,name=outboundTag,proto3" json:"outboundTag,omitempty"`
  1786. unknownFields protoimpl.UnknownFields
  1787. sizeCache protoimpl.SizeCache
  1788. }
  1789. func (x *STUNTestRequest) Reset() {
  1790. *x = STUNTestRequest{}
  1791. mi := &file_daemon_started_service_proto_msgTypes[29]
  1792. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1793. ms.StoreMessageInfo(mi)
  1794. }
  1795. func (x *STUNTestRequest) String() string {
  1796. return protoimpl.X.MessageStringOf(x)
  1797. }
  1798. func (*STUNTestRequest) ProtoMessage() {}
  1799. func (x *STUNTestRequest) ProtoReflect() protoreflect.Message {
  1800. mi := &file_daemon_started_service_proto_msgTypes[29]
  1801. if x != nil {
  1802. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1803. if ms.LoadMessageInfo() == nil {
  1804. ms.StoreMessageInfo(mi)
  1805. }
  1806. return ms
  1807. }
  1808. return mi.MessageOf(x)
  1809. }
  1810. // Deprecated: Use STUNTestRequest.ProtoReflect.Descriptor instead.
  1811. func (*STUNTestRequest) Descriptor() ([]byte, []int) {
  1812. return file_daemon_started_service_proto_rawDescGZIP(), []int{29}
  1813. }
  1814. func (x *STUNTestRequest) GetServer() string {
  1815. if x != nil {
  1816. return x.Server
  1817. }
  1818. return ""
  1819. }
  1820. func (x *STUNTestRequest) GetOutboundTag() string {
  1821. if x != nil {
  1822. return x.OutboundTag
  1823. }
  1824. return ""
  1825. }
  1826. type STUNTestProgress struct {
  1827. state protoimpl.MessageState `protogen:"open.v1"`
  1828. Phase int32 `protobuf:"varint,1,opt,name=phase,proto3" json:"phase,omitempty"`
  1829. ExternalAddr string `protobuf:"bytes,2,opt,name=externalAddr,proto3" json:"externalAddr,omitempty"`
  1830. LatencyMs int32 `protobuf:"varint,3,opt,name=latencyMs,proto3" json:"latencyMs,omitempty"`
  1831. NatMapping int32 `protobuf:"varint,4,opt,name=natMapping,proto3" json:"natMapping,omitempty"`
  1832. NatFiltering int32 `protobuf:"varint,5,opt,name=natFiltering,proto3" json:"natFiltering,omitempty"`
  1833. IsFinal bool `protobuf:"varint,6,opt,name=isFinal,proto3" json:"isFinal,omitempty"`
  1834. Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
  1835. NatTypeSupported bool `protobuf:"varint,8,opt,name=natTypeSupported,proto3" json:"natTypeSupported,omitempty"`
  1836. unknownFields protoimpl.UnknownFields
  1837. sizeCache protoimpl.SizeCache
  1838. }
  1839. func (x *STUNTestProgress) Reset() {
  1840. *x = STUNTestProgress{}
  1841. mi := &file_daemon_started_service_proto_msgTypes[30]
  1842. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1843. ms.StoreMessageInfo(mi)
  1844. }
  1845. func (x *STUNTestProgress) String() string {
  1846. return protoimpl.X.MessageStringOf(x)
  1847. }
  1848. func (*STUNTestProgress) ProtoMessage() {}
  1849. func (x *STUNTestProgress) ProtoReflect() protoreflect.Message {
  1850. mi := &file_daemon_started_service_proto_msgTypes[30]
  1851. if x != nil {
  1852. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1853. if ms.LoadMessageInfo() == nil {
  1854. ms.StoreMessageInfo(mi)
  1855. }
  1856. return ms
  1857. }
  1858. return mi.MessageOf(x)
  1859. }
  1860. // Deprecated: Use STUNTestProgress.ProtoReflect.Descriptor instead.
  1861. func (*STUNTestProgress) Descriptor() ([]byte, []int) {
  1862. return file_daemon_started_service_proto_rawDescGZIP(), []int{30}
  1863. }
  1864. func (x *STUNTestProgress) GetPhase() int32 {
  1865. if x != nil {
  1866. return x.Phase
  1867. }
  1868. return 0
  1869. }
  1870. func (x *STUNTestProgress) GetExternalAddr() string {
  1871. if x != nil {
  1872. return x.ExternalAddr
  1873. }
  1874. return ""
  1875. }
  1876. func (x *STUNTestProgress) GetLatencyMs() int32 {
  1877. if x != nil {
  1878. return x.LatencyMs
  1879. }
  1880. return 0
  1881. }
  1882. func (x *STUNTestProgress) GetNatMapping() int32 {
  1883. if x != nil {
  1884. return x.NatMapping
  1885. }
  1886. return 0
  1887. }
  1888. func (x *STUNTestProgress) GetNatFiltering() int32 {
  1889. if x != nil {
  1890. return x.NatFiltering
  1891. }
  1892. return 0
  1893. }
  1894. func (x *STUNTestProgress) GetIsFinal() bool {
  1895. if x != nil {
  1896. return x.IsFinal
  1897. }
  1898. return false
  1899. }
  1900. func (x *STUNTestProgress) GetError() string {
  1901. if x != nil {
  1902. return x.Error
  1903. }
  1904. return ""
  1905. }
  1906. func (x *STUNTestProgress) GetNatTypeSupported() bool {
  1907. if x != nil {
  1908. return x.NatTypeSupported
  1909. }
  1910. return false
  1911. }
  1912. type TailscaleStatusUpdate struct {
  1913. state protoimpl.MessageState `protogen:"open.v1"`
  1914. Endpoints []*TailscaleEndpointStatus `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
  1915. unknownFields protoimpl.UnknownFields
  1916. sizeCache protoimpl.SizeCache
  1917. }
  1918. func (x *TailscaleStatusUpdate) Reset() {
  1919. *x = TailscaleStatusUpdate{}
  1920. mi := &file_daemon_started_service_proto_msgTypes[31]
  1921. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1922. ms.StoreMessageInfo(mi)
  1923. }
  1924. func (x *TailscaleStatusUpdate) String() string {
  1925. return protoimpl.X.MessageStringOf(x)
  1926. }
  1927. func (*TailscaleStatusUpdate) ProtoMessage() {}
  1928. func (x *TailscaleStatusUpdate) ProtoReflect() protoreflect.Message {
  1929. mi := &file_daemon_started_service_proto_msgTypes[31]
  1930. if x != nil {
  1931. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1932. if ms.LoadMessageInfo() == nil {
  1933. ms.StoreMessageInfo(mi)
  1934. }
  1935. return ms
  1936. }
  1937. return mi.MessageOf(x)
  1938. }
  1939. // Deprecated: Use TailscaleStatusUpdate.ProtoReflect.Descriptor instead.
  1940. func (*TailscaleStatusUpdate) Descriptor() ([]byte, []int) {
  1941. return file_daemon_started_service_proto_rawDescGZIP(), []int{31}
  1942. }
  1943. func (x *TailscaleStatusUpdate) GetEndpoints() []*TailscaleEndpointStatus {
  1944. if x != nil {
  1945. return x.Endpoints
  1946. }
  1947. return nil
  1948. }
  1949. type TailscaleEndpointStatus struct {
  1950. state protoimpl.MessageState `protogen:"open.v1"`
  1951. EndpointTag string `protobuf:"bytes,1,opt,name=endpointTag,proto3" json:"endpointTag,omitempty"`
  1952. BackendState string `protobuf:"bytes,2,opt,name=backendState,proto3" json:"backendState,omitempty"`
  1953. AuthURL string `protobuf:"bytes,3,opt,name=authURL,proto3" json:"authURL,omitempty"`
  1954. NetworkName string `protobuf:"bytes,4,opt,name=networkName,proto3" json:"networkName,omitempty"`
  1955. MagicDNSSuffix string `protobuf:"bytes,5,opt,name=magicDNSSuffix,proto3" json:"magicDNSSuffix,omitempty"`
  1956. Self *TailscalePeer `protobuf:"bytes,6,opt,name=self,proto3" json:"self,omitempty"`
  1957. UserGroups []*TailscaleUserGroup `protobuf:"bytes,7,rep,name=userGroups,proto3" json:"userGroups,omitempty"`
  1958. unknownFields protoimpl.UnknownFields
  1959. sizeCache protoimpl.SizeCache
  1960. }
  1961. func (x *TailscaleEndpointStatus) Reset() {
  1962. *x = TailscaleEndpointStatus{}
  1963. mi := &file_daemon_started_service_proto_msgTypes[32]
  1964. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1965. ms.StoreMessageInfo(mi)
  1966. }
  1967. func (x *TailscaleEndpointStatus) String() string {
  1968. return protoimpl.X.MessageStringOf(x)
  1969. }
  1970. func (*TailscaleEndpointStatus) ProtoMessage() {}
  1971. func (x *TailscaleEndpointStatus) ProtoReflect() protoreflect.Message {
  1972. mi := &file_daemon_started_service_proto_msgTypes[32]
  1973. if x != nil {
  1974. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1975. if ms.LoadMessageInfo() == nil {
  1976. ms.StoreMessageInfo(mi)
  1977. }
  1978. return ms
  1979. }
  1980. return mi.MessageOf(x)
  1981. }
  1982. // Deprecated: Use TailscaleEndpointStatus.ProtoReflect.Descriptor instead.
  1983. func (*TailscaleEndpointStatus) Descriptor() ([]byte, []int) {
  1984. return file_daemon_started_service_proto_rawDescGZIP(), []int{32}
  1985. }
  1986. func (x *TailscaleEndpointStatus) GetEndpointTag() string {
  1987. if x != nil {
  1988. return x.EndpointTag
  1989. }
  1990. return ""
  1991. }
  1992. func (x *TailscaleEndpointStatus) GetBackendState() string {
  1993. if x != nil {
  1994. return x.BackendState
  1995. }
  1996. return ""
  1997. }
  1998. func (x *TailscaleEndpointStatus) GetAuthURL() string {
  1999. if x != nil {
  2000. return x.AuthURL
  2001. }
  2002. return ""
  2003. }
  2004. func (x *TailscaleEndpointStatus) GetNetworkName() string {
  2005. if x != nil {
  2006. return x.NetworkName
  2007. }
  2008. return ""
  2009. }
  2010. func (x *TailscaleEndpointStatus) GetMagicDNSSuffix() string {
  2011. if x != nil {
  2012. return x.MagicDNSSuffix
  2013. }
  2014. return ""
  2015. }
  2016. func (x *TailscaleEndpointStatus) GetSelf() *TailscalePeer {
  2017. if x != nil {
  2018. return x.Self
  2019. }
  2020. return nil
  2021. }
  2022. func (x *TailscaleEndpointStatus) GetUserGroups() []*TailscaleUserGroup {
  2023. if x != nil {
  2024. return x.UserGroups
  2025. }
  2026. return nil
  2027. }
  2028. type TailscaleUserGroup struct {
  2029. state protoimpl.MessageState `protogen:"open.v1"`
  2030. UserID int64 `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"`
  2031. LoginName string `protobuf:"bytes,2,opt,name=loginName,proto3" json:"loginName,omitempty"`
  2032. DisplayName string `protobuf:"bytes,3,opt,name=displayName,proto3" json:"displayName,omitempty"`
  2033. ProfilePicURL string `protobuf:"bytes,4,opt,name=profilePicURL,proto3" json:"profilePicURL,omitempty"`
  2034. Peers []*TailscalePeer `protobuf:"bytes,5,rep,name=peers,proto3" json:"peers,omitempty"`
  2035. unknownFields protoimpl.UnknownFields
  2036. sizeCache protoimpl.SizeCache
  2037. }
  2038. func (x *TailscaleUserGroup) Reset() {
  2039. *x = TailscaleUserGroup{}
  2040. mi := &file_daemon_started_service_proto_msgTypes[33]
  2041. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2042. ms.StoreMessageInfo(mi)
  2043. }
  2044. func (x *TailscaleUserGroup) String() string {
  2045. return protoimpl.X.MessageStringOf(x)
  2046. }
  2047. func (*TailscaleUserGroup) ProtoMessage() {}
  2048. func (x *TailscaleUserGroup) ProtoReflect() protoreflect.Message {
  2049. mi := &file_daemon_started_service_proto_msgTypes[33]
  2050. if x != nil {
  2051. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2052. if ms.LoadMessageInfo() == nil {
  2053. ms.StoreMessageInfo(mi)
  2054. }
  2055. return ms
  2056. }
  2057. return mi.MessageOf(x)
  2058. }
  2059. // Deprecated: Use TailscaleUserGroup.ProtoReflect.Descriptor instead.
  2060. func (*TailscaleUserGroup) Descriptor() ([]byte, []int) {
  2061. return file_daemon_started_service_proto_rawDescGZIP(), []int{33}
  2062. }
  2063. func (x *TailscaleUserGroup) GetUserID() int64 {
  2064. if x != nil {
  2065. return x.UserID
  2066. }
  2067. return 0
  2068. }
  2069. func (x *TailscaleUserGroup) GetLoginName() string {
  2070. if x != nil {
  2071. return x.LoginName
  2072. }
  2073. return ""
  2074. }
  2075. func (x *TailscaleUserGroup) GetDisplayName() string {
  2076. if x != nil {
  2077. return x.DisplayName
  2078. }
  2079. return ""
  2080. }
  2081. func (x *TailscaleUserGroup) GetProfilePicURL() string {
  2082. if x != nil {
  2083. return x.ProfilePicURL
  2084. }
  2085. return ""
  2086. }
  2087. func (x *TailscaleUserGroup) GetPeers() []*TailscalePeer {
  2088. if x != nil {
  2089. return x.Peers
  2090. }
  2091. return nil
  2092. }
  2093. type TailscalePeer struct {
  2094. state protoimpl.MessageState `protogen:"open.v1"`
  2095. HostName string `protobuf:"bytes,1,opt,name=hostName,proto3" json:"hostName,omitempty"`
  2096. DnsName string `protobuf:"bytes,2,opt,name=dnsName,proto3" json:"dnsName,omitempty"`
  2097. Os string `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"`
  2098. TailscaleIPs []string `protobuf:"bytes,4,rep,name=tailscaleIPs,proto3" json:"tailscaleIPs,omitempty"`
  2099. Online bool `protobuf:"varint,5,opt,name=online,proto3" json:"online,omitempty"`
  2100. ExitNode bool `protobuf:"varint,6,opt,name=exitNode,proto3" json:"exitNode,omitempty"`
  2101. ExitNodeOption bool `protobuf:"varint,7,opt,name=exitNodeOption,proto3" json:"exitNodeOption,omitempty"`
  2102. Active bool `protobuf:"varint,8,opt,name=active,proto3" json:"active,omitempty"`
  2103. RxBytes int64 `protobuf:"varint,9,opt,name=rxBytes,proto3" json:"rxBytes,omitempty"`
  2104. TxBytes int64 `protobuf:"varint,10,opt,name=txBytes,proto3" json:"txBytes,omitempty"`
  2105. KeyExpiry int64 `protobuf:"varint,11,opt,name=keyExpiry,proto3" json:"keyExpiry,omitempty"`
  2106. unknownFields protoimpl.UnknownFields
  2107. sizeCache protoimpl.SizeCache
  2108. }
  2109. func (x *TailscalePeer) Reset() {
  2110. *x = TailscalePeer{}
  2111. mi := &file_daemon_started_service_proto_msgTypes[34]
  2112. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2113. ms.StoreMessageInfo(mi)
  2114. }
  2115. func (x *TailscalePeer) String() string {
  2116. return protoimpl.X.MessageStringOf(x)
  2117. }
  2118. func (*TailscalePeer) ProtoMessage() {}
  2119. func (x *TailscalePeer) ProtoReflect() protoreflect.Message {
  2120. mi := &file_daemon_started_service_proto_msgTypes[34]
  2121. if x != nil {
  2122. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2123. if ms.LoadMessageInfo() == nil {
  2124. ms.StoreMessageInfo(mi)
  2125. }
  2126. return ms
  2127. }
  2128. return mi.MessageOf(x)
  2129. }
  2130. // Deprecated: Use TailscalePeer.ProtoReflect.Descriptor instead.
  2131. func (*TailscalePeer) Descriptor() ([]byte, []int) {
  2132. return file_daemon_started_service_proto_rawDescGZIP(), []int{34}
  2133. }
  2134. func (x *TailscalePeer) GetHostName() string {
  2135. if x != nil {
  2136. return x.HostName
  2137. }
  2138. return ""
  2139. }
  2140. func (x *TailscalePeer) GetDnsName() string {
  2141. if x != nil {
  2142. return x.DnsName
  2143. }
  2144. return ""
  2145. }
  2146. func (x *TailscalePeer) GetOs() string {
  2147. if x != nil {
  2148. return x.Os
  2149. }
  2150. return ""
  2151. }
  2152. func (x *TailscalePeer) GetTailscaleIPs() []string {
  2153. if x != nil {
  2154. return x.TailscaleIPs
  2155. }
  2156. return nil
  2157. }
  2158. func (x *TailscalePeer) GetOnline() bool {
  2159. if x != nil {
  2160. return x.Online
  2161. }
  2162. return false
  2163. }
  2164. func (x *TailscalePeer) GetExitNode() bool {
  2165. if x != nil {
  2166. return x.ExitNode
  2167. }
  2168. return false
  2169. }
  2170. func (x *TailscalePeer) GetExitNodeOption() bool {
  2171. if x != nil {
  2172. return x.ExitNodeOption
  2173. }
  2174. return false
  2175. }
  2176. func (x *TailscalePeer) GetActive() bool {
  2177. if x != nil {
  2178. return x.Active
  2179. }
  2180. return false
  2181. }
  2182. func (x *TailscalePeer) GetRxBytes() int64 {
  2183. if x != nil {
  2184. return x.RxBytes
  2185. }
  2186. return 0
  2187. }
  2188. func (x *TailscalePeer) GetTxBytes() int64 {
  2189. if x != nil {
  2190. return x.TxBytes
  2191. }
  2192. return 0
  2193. }
  2194. func (x *TailscalePeer) GetKeyExpiry() int64 {
  2195. if x != nil {
  2196. return x.KeyExpiry
  2197. }
  2198. return 0
  2199. }
  2200. type TailscalePingRequest struct {
  2201. state protoimpl.MessageState `protogen:"open.v1"`
  2202. EndpointTag string `protobuf:"bytes,1,opt,name=endpointTag,proto3" json:"endpointTag,omitempty"`
  2203. PeerIP string `protobuf:"bytes,2,opt,name=peerIP,proto3" json:"peerIP,omitempty"`
  2204. unknownFields protoimpl.UnknownFields
  2205. sizeCache protoimpl.SizeCache
  2206. }
  2207. func (x *TailscalePingRequest) Reset() {
  2208. *x = TailscalePingRequest{}
  2209. mi := &file_daemon_started_service_proto_msgTypes[35]
  2210. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2211. ms.StoreMessageInfo(mi)
  2212. }
  2213. func (x *TailscalePingRequest) String() string {
  2214. return protoimpl.X.MessageStringOf(x)
  2215. }
  2216. func (*TailscalePingRequest) ProtoMessage() {}
  2217. func (x *TailscalePingRequest) ProtoReflect() protoreflect.Message {
  2218. mi := &file_daemon_started_service_proto_msgTypes[35]
  2219. if x != nil {
  2220. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2221. if ms.LoadMessageInfo() == nil {
  2222. ms.StoreMessageInfo(mi)
  2223. }
  2224. return ms
  2225. }
  2226. return mi.MessageOf(x)
  2227. }
  2228. // Deprecated: Use TailscalePingRequest.ProtoReflect.Descriptor instead.
  2229. func (*TailscalePingRequest) Descriptor() ([]byte, []int) {
  2230. return file_daemon_started_service_proto_rawDescGZIP(), []int{35}
  2231. }
  2232. func (x *TailscalePingRequest) GetEndpointTag() string {
  2233. if x != nil {
  2234. return x.EndpointTag
  2235. }
  2236. return ""
  2237. }
  2238. func (x *TailscalePingRequest) GetPeerIP() string {
  2239. if x != nil {
  2240. return x.PeerIP
  2241. }
  2242. return ""
  2243. }
  2244. type TailscalePingResponse struct {
  2245. state protoimpl.MessageState `protogen:"open.v1"`
  2246. LatencyMs float64 `protobuf:"fixed64,1,opt,name=latencyMs,proto3" json:"latencyMs,omitempty"`
  2247. IsDirect bool `protobuf:"varint,2,opt,name=isDirect,proto3" json:"isDirect,omitempty"`
  2248. Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
  2249. DerpRegionID int32 `protobuf:"varint,4,opt,name=derpRegionID,proto3" json:"derpRegionID,omitempty"`
  2250. DerpRegionCode string `protobuf:"bytes,5,opt,name=derpRegionCode,proto3" json:"derpRegionCode,omitempty"`
  2251. Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
  2252. unknownFields protoimpl.UnknownFields
  2253. sizeCache protoimpl.SizeCache
  2254. }
  2255. func (x *TailscalePingResponse) Reset() {
  2256. *x = TailscalePingResponse{}
  2257. mi := &file_daemon_started_service_proto_msgTypes[36]
  2258. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2259. ms.StoreMessageInfo(mi)
  2260. }
  2261. func (x *TailscalePingResponse) String() string {
  2262. return protoimpl.X.MessageStringOf(x)
  2263. }
  2264. func (*TailscalePingResponse) ProtoMessage() {}
  2265. func (x *TailscalePingResponse) ProtoReflect() protoreflect.Message {
  2266. mi := &file_daemon_started_service_proto_msgTypes[36]
  2267. if x != nil {
  2268. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2269. if ms.LoadMessageInfo() == nil {
  2270. ms.StoreMessageInfo(mi)
  2271. }
  2272. return ms
  2273. }
  2274. return mi.MessageOf(x)
  2275. }
  2276. // Deprecated: Use TailscalePingResponse.ProtoReflect.Descriptor instead.
  2277. func (*TailscalePingResponse) Descriptor() ([]byte, []int) {
  2278. return file_daemon_started_service_proto_rawDescGZIP(), []int{36}
  2279. }
  2280. func (x *TailscalePingResponse) GetLatencyMs() float64 {
  2281. if x != nil {
  2282. return x.LatencyMs
  2283. }
  2284. return 0
  2285. }
  2286. func (x *TailscalePingResponse) GetIsDirect() bool {
  2287. if x != nil {
  2288. return x.IsDirect
  2289. }
  2290. return false
  2291. }
  2292. func (x *TailscalePingResponse) GetEndpoint() string {
  2293. if x != nil {
  2294. return x.Endpoint
  2295. }
  2296. return ""
  2297. }
  2298. func (x *TailscalePingResponse) GetDerpRegionID() int32 {
  2299. if x != nil {
  2300. return x.DerpRegionID
  2301. }
  2302. return 0
  2303. }
  2304. func (x *TailscalePingResponse) GetDerpRegionCode() string {
  2305. if x != nil {
  2306. return x.DerpRegionCode
  2307. }
  2308. return ""
  2309. }
  2310. func (x *TailscalePingResponse) GetError() string {
  2311. if x != nil {
  2312. return x.Error
  2313. }
  2314. return ""
  2315. }
  2316. type Log_Message struct {
  2317. state protoimpl.MessageState `protogen:"open.v1"`
  2318. Level LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=daemon.LogLevel" json:"level,omitempty"`
  2319. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
  2320. unknownFields protoimpl.UnknownFields
  2321. sizeCache protoimpl.SizeCache
  2322. }
  2323. func (x *Log_Message) Reset() {
  2324. *x = Log_Message{}
  2325. mi := &file_daemon_started_service_proto_msgTypes[37]
  2326. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2327. ms.StoreMessageInfo(mi)
  2328. }
  2329. func (x *Log_Message) String() string {
  2330. return protoimpl.X.MessageStringOf(x)
  2331. }
  2332. func (*Log_Message) ProtoMessage() {}
  2333. func (x *Log_Message) ProtoReflect() protoreflect.Message {
  2334. mi := &file_daemon_started_service_proto_msgTypes[37]
  2335. if x != nil {
  2336. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2337. if ms.LoadMessageInfo() == nil {
  2338. ms.StoreMessageInfo(mi)
  2339. }
  2340. return ms
  2341. }
  2342. return mi.MessageOf(x)
  2343. }
  2344. // Deprecated: Use Log_Message.ProtoReflect.Descriptor instead.
  2345. func (*Log_Message) Descriptor() ([]byte, []int) {
  2346. return file_daemon_started_service_proto_rawDescGZIP(), []int{3, 0}
  2347. }
  2348. func (x *Log_Message) GetLevel() LogLevel {
  2349. if x != nil {
  2350. return x.Level
  2351. }
  2352. return LogLevel_PANIC
  2353. }
  2354. func (x *Log_Message) GetMessage() string {
  2355. if x != nil {
  2356. return x.Message
  2357. }
  2358. return ""
  2359. }
  2360. var File_daemon_started_service_proto protoreflect.FileDescriptor
  2361. const file_daemon_started_service_proto_rawDesc = "" +
  2362. "\n" +
  2363. "\x1cdaemon/started_service.proto\x12\x06daemon\x1a\x1bgoogle/protobuf/empty.proto\"\xad\x01\n" +
  2364. "\rServiceStatus\x122\n" +
  2365. "\x06status\x18\x01 \x01(\x0e2\x1a.daemon.ServiceStatus.TypeR\x06status\x12\"\n" +
  2366. "\ferrorMessage\x18\x02 \x01(\tR\ferrorMessage\"D\n" +
  2367. "\x04Type\x12\b\n" +
  2368. "\x04IDLE\x10\x00\x12\f\n" +
  2369. "\bSTARTING\x10\x01\x12\v\n" +
  2370. "\aSTARTED\x10\x02\x12\f\n" +
  2371. "\bSTOPPING\x10\x03\x12\t\n" +
  2372. "\x05FATAL\x10\x04\"D\n" +
  2373. "\x14ReloadServiceRequest\x12,\n" +
  2374. "\x11newProfileContent\x18\x01 \x01(\tR\x11newProfileContent\"4\n" +
  2375. "\x16SubscribeStatusRequest\x12\x1a\n" +
  2376. "\binterval\x18\x01 \x01(\x03R\binterval\"\x99\x01\n" +
  2377. "\x03Log\x12/\n" +
  2378. "\bmessages\x18\x01 \x03(\v2\x13.daemon.Log.MessageR\bmessages\x12\x14\n" +
  2379. "\x05reset\x18\x02 \x01(\bR\x05reset\x1aK\n" +
  2380. "\aMessage\x12&\n" +
  2381. "\x05level\x18\x01 \x01(\x0e2\x10.daemon.LogLevelR\x05level\x12\x18\n" +
  2382. "\amessage\x18\x02 \x01(\tR\amessage\"9\n" +
  2383. "\x0fDefaultLogLevel\x12&\n" +
  2384. "\x05level\x18\x01 \x01(\x0e2\x10.daemon.LogLevelR\x05level\"\xb6\x02\n" +
  2385. "\x06Status\x12\x16\n" +
  2386. "\x06memory\x18\x01 \x01(\x04R\x06memory\x12\x1e\n" +
  2387. "\n" +
  2388. "goroutines\x18\x02 \x01(\x05R\n" +
  2389. "goroutines\x12$\n" +
  2390. "\rconnectionsIn\x18\x03 \x01(\x05R\rconnectionsIn\x12&\n" +
  2391. "\x0econnectionsOut\x18\x04 \x01(\x05R\x0econnectionsOut\x12*\n" +
  2392. "\x10trafficAvailable\x18\x05 \x01(\bR\x10trafficAvailable\x12\x16\n" +
  2393. "\x06uplink\x18\x06 \x01(\x03R\x06uplink\x12\x1a\n" +
  2394. "\bdownlink\x18\a \x01(\x03R\bdownlink\x12 \n" +
  2395. "\vuplinkTotal\x18\b \x01(\x03R\vuplinkTotal\x12$\n" +
  2396. "\rdownlinkTotal\x18\t \x01(\x03R\rdownlinkTotal\"-\n" +
  2397. "\x06Groups\x12#\n" +
  2398. "\x05group\x18\x01 \x03(\v2\r.daemon.GroupR\x05group\"\xae\x01\n" +
  2399. "\x05Group\x12\x10\n" +
  2400. "\x03tag\x18\x01 \x01(\tR\x03tag\x12\x12\n" +
  2401. "\x04type\x18\x02 \x01(\tR\x04type\x12\x1e\n" +
  2402. "\n" +
  2403. "selectable\x18\x03 \x01(\bR\n" +
  2404. "selectable\x12\x1a\n" +
  2405. "\bselected\x18\x04 \x01(\tR\bselected\x12\x1a\n" +
  2406. "\bisExpand\x18\x05 \x01(\bR\bisExpand\x12'\n" +
  2407. "\x05items\x18\x06 \x03(\v2\x11.daemon.GroupItemR\x05items\"w\n" +
  2408. "\tGroupItem\x12\x10\n" +
  2409. "\x03tag\x18\x01 \x01(\tR\x03tag\x12\x12\n" +
  2410. "\x04type\x18\x02 \x01(\tR\x04type\x12 \n" +
  2411. "\vurlTestTime\x18\x03 \x01(\x03R\vurlTestTime\x12\"\n" +
  2412. "\furlTestDelay\x18\x04 \x01(\x05R\furlTestDelay\"2\n" +
  2413. "\x0eURLTestRequest\x12 \n" +
  2414. "\voutboundTag\x18\x01 \x01(\tR\voutboundTag\"U\n" +
  2415. "\x15SelectOutboundRequest\x12\x1a\n" +
  2416. "\bgroupTag\x18\x01 \x01(\tR\bgroupTag\x12 \n" +
  2417. "\voutboundTag\x18\x02 \x01(\tR\voutboundTag\"O\n" +
  2418. "\x15SetGroupExpandRequest\x12\x1a\n" +
  2419. "\bgroupTag\x18\x01 \x01(\tR\bgroupTag\x12\x1a\n" +
  2420. "\bisExpand\x18\x02 \x01(\bR\bisExpand\"\x1f\n" +
  2421. "\tClashMode\x12\x12\n" +
  2422. "\x04mode\x18\x03 \x01(\tR\x04mode\"O\n" +
  2423. "\x0fClashModeStatus\x12\x1a\n" +
  2424. "\bmodeList\x18\x01 \x03(\tR\bmodeList\x12 \n" +
  2425. "\vcurrentMode\x18\x02 \x01(\tR\vcurrentMode\"K\n" +
  2426. "\x11SystemProxyStatus\x12\x1c\n" +
  2427. "\tavailable\x18\x01 \x01(\bR\tavailable\x12\x18\n" +
  2428. "\aenabled\x18\x02 \x01(\bR\aenabled\"8\n" +
  2429. "\x1cSetSystemProxyEnabledRequest\x12\x18\n" +
  2430. "\aenabled\x18\x01 \x01(\bR\aenabled\"c\n" +
  2431. "\x11DebugCrashRequest\x122\n" +
  2432. "\x04type\x18\x01 \x01(\x0e2\x1e.daemon.DebugCrashRequest.TypeR\x04type\"\x1a\n" +
  2433. "\x04Type\x12\x06\n" +
  2434. "\x02GO\x10\x00\x12\n" +
  2435. "\n" +
  2436. "\x06NATIVE\x10\x01\"9\n" +
  2437. "\x1bSubscribeConnectionsRequest\x12\x1a\n" +
  2438. "\binterval\x18\x01 \x01(\x03R\binterval\"\xea\x01\n" +
  2439. "\x0fConnectionEvent\x12/\n" +
  2440. "\x04type\x18\x01 \x01(\x0e2\x1b.daemon.ConnectionEventTypeR\x04type\x12\x0e\n" +
  2441. "\x02id\x18\x02 \x01(\tR\x02id\x122\n" +
  2442. "\n" +
  2443. "connection\x18\x03 \x01(\v2\x12.daemon.ConnectionR\n" +
  2444. "connection\x12 \n" +
  2445. "\vuplinkDelta\x18\x04 \x01(\x03R\vuplinkDelta\x12$\n" +
  2446. "\rdownlinkDelta\x18\x05 \x01(\x03R\rdownlinkDelta\x12\x1a\n" +
  2447. "\bclosedAt\x18\x06 \x01(\x03R\bclosedAt\"Y\n" +
  2448. "\x10ConnectionEvents\x12/\n" +
  2449. "\x06events\x18\x01 \x03(\v2\x17.daemon.ConnectionEventR\x06events\x12\x14\n" +
  2450. "\x05reset\x18\x02 \x01(\bR\x05reset\"\x95\x05\n" +
  2451. "\n" +
  2452. "Connection\x12\x0e\n" +
  2453. "\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n" +
  2454. "\ainbound\x18\x02 \x01(\tR\ainbound\x12 \n" +
  2455. "\vinboundType\x18\x03 \x01(\tR\vinboundType\x12\x1c\n" +
  2456. "\tipVersion\x18\x04 \x01(\x05R\tipVersion\x12\x18\n" +
  2457. "\anetwork\x18\x05 \x01(\tR\anetwork\x12\x16\n" +
  2458. "\x06source\x18\x06 \x01(\tR\x06source\x12 \n" +
  2459. "\vdestination\x18\a \x01(\tR\vdestination\x12\x16\n" +
  2460. "\x06domain\x18\b \x01(\tR\x06domain\x12\x1a\n" +
  2461. "\bprotocol\x18\t \x01(\tR\bprotocol\x12\x12\n" +
  2462. "\x04user\x18\n" +
  2463. " \x01(\tR\x04user\x12\"\n" +
  2464. "\ffromOutbound\x18\v \x01(\tR\ffromOutbound\x12\x1c\n" +
  2465. "\tcreatedAt\x18\f \x01(\x03R\tcreatedAt\x12\x1a\n" +
  2466. "\bclosedAt\x18\r \x01(\x03R\bclosedAt\x12\x16\n" +
  2467. "\x06uplink\x18\x0e \x01(\x03R\x06uplink\x12\x1a\n" +
  2468. "\bdownlink\x18\x0f \x01(\x03R\bdownlink\x12 \n" +
  2469. "\vuplinkTotal\x18\x10 \x01(\x03R\vuplinkTotal\x12$\n" +
  2470. "\rdownlinkTotal\x18\x11 \x01(\x03R\rdownlinkTotal\x12\x12\n" +
  2471. "\x04rule\x18\x12 \x01(\tR\x04rule\x12\x1a\n" +
  2472. "\boutbound\x18\x13 \x01(\tR\boutbound\x12\"\n" +
  2473. "\foutboundType\x18\x14 \x01(\tR\foutboundType\x12\x1c\n" +
  2474. "\tchainList\x18\x15 \x03(\tR\tchainList\x125\n" +
  2475. "\vprocessInfo\x18\x16 \x01(\v2\x13.daemon.ProcessInfoR\vprocessInfo\"\xa5\x01\n" +
  2476. "\vProcessInfo\x12\x1c\n" +
  2477. "\tprocessId\x18\x01 \x01(\rR\tprocessId\x12\x16\n" +
  2478. "\x06userId\x18\x02 \x01(\x05R\x06userId\x12\x1a\n" +
  2479. "\buserName\x18\x03 \x01(\tR\buserName\x12 \n" +
  2480. "\vprocessPath\x18\x04 \x01(\tR\vprocessPath\x12\"\n" +
  2481. "\fpackageNames\x18\x05 \x03(\tR\fpackageNames\"(\n" +
  2482. "\x16CloseConnectionRequest\x12\x0e\n" +
  2483. "\x02id\x18\x01 \x01(\tR\x02id\"K\n" +
  2484. "\x12DeprecatedWarnings\x125\n" +
  2485. "\bwarnings\x18\x01 \x03(\v2\x19.daemon.DeprecatedWarningR\bwarnings\"\xed\x01\n" +
  2486. "\x11DeprecatedWarning\x12\x18\n" +
  2487. "\amessage\x18\x01 \x01(\tR\amessage\x12\x1c\n" +
  2488. "\timpending\x18\x02 \x01(\bR\timpending\x12$\n" +
  2489. "\rmigrationLink\x18\x03 \x01(\tR\rmigrationLink\x12 \n" +
  2490. "\vdescription\x18\x04 \x01(\tR\vdescription\x12,\n" +
  2491. "\x11deprecatedVersion\x18\x05 \x01(\tR\x11deprecatedVersion\x12*\n" +
  2492. "\x10scheduledVersion\x18\x06 \x01(\tR\x10scheduledVersion\")\n" +
  2493. "\tStartedAt\x12\x1c\n" +
  2494. "\tstartedAt\x18\x01 \x01(\x03R\tstartedAt\"?\n" +
  2495. "\fOutboundList\x12/\n" +
  2496. "\toutbounds\x18\x01 \x03(\v2\x11.daemon.GroupItemR\toutbounds\"\xb7\x01\n" +
  2497. "\x19NetworkQualityTestRequest\x12\x1c\n" +
  2498. "\tconfigURL\x18\x01 \x01(\tR\tconfigURL\x12 \n" +
  2499. "\voutboundTag\x18\x02 \x01(\tR\voutboundTag\x12\x16\n" +
  2500. "\x06serial\x18\x03 \x01(\bR\x06serial\x12,\n" +
  2501. "\x11maxRuntimeSeconds\x18\x04 \x01(\x05R\x11maxRuntimeSeconds\x12\x14\n" +
  2502. "\x05http3\x18\x05 \x01(\bR\x05http3\"\x8e\x04\n" +
  2503. "\x1aNetworkQualityTestProgress\x12\x14\n" +
  2504. "\x05phase\x18\x01 \x01(\x05R\x05phase\x12*\n" +
  2505. "\x10downloadCapacity\x18\x02 \x01(\x03R\x10downloadCapacity\x12&\n" +
  2506. "\x0euploadCapacity\x18\x03 \x01(\x03R\x0euploadCapacity\x12 \n" +
  2507. "\vdownloadRPM\x18\x04 \x01(\x05R\vdownloadRPM\x12\x1c\n" +
  2508. "\tuploadRPM\x18\x05 \x01(\x05R\tuploadRPM\x12$\n" +
  2509. "\ridleLatencyMs\x18\x06 \x01(\x05R\ridleLatencyMs\x12\x1c\n" +
  2510. "\telapsedMs\x18\a \x01(\x03R\telapsedMs\x12\x18\n" +
  2511. "\aisFinal\x18\b \x01(\bR\aisFinal\x12\x14\n" +
  2512. "\x05error\x18\t \x01(\tR\x05error\x12:\n" +
  2513. "\x18downloadCapacityAccuracy\x18\n" +
  2514. " \x01(\x05R\x18downloadCapacityAccuracy\x126\n" +
  2515. "\x16uploadCapacityAccuracy\x18\v \x01(\x05R\x16uploadCapacityAccuracy\x120\n" +
  2516. "\x13downloadRPMAccuracy\x18\f \x01(\x05R\x13downloadRPMAccuracy\x12,\n" +
  2517. "\x11uploadRPMAccuracy\x18\r \x01(\x05R\x11uploadRPMAccuracy\"K\n" +
  2518. "\x0fSTUNTestRequest\x12\x16\n" +
  2519. "\x06server\x18\x01 \x01(\tR\x06server\x12 \n" +
  2520. "\voutboundTag\x18\x02 \x01(\tR\voutboundTag\"\x8a\x02\n" +
  2521. "\x10STUNTestProgress\x12\x14\n" +
  2522. "\x05phase\x18\x01 \x01(\x05R\x05phase\x12\"\n" +
  2523. "\fexternalAddr\x18\x02 \x01(\tR\fexternalAddr\x12\x1c\n" +
  2524. "\tlatencyMs\x18\x03 \x01(\x05R\tlatencyMs\x12\x1e\n" +
  2525. "\n" +
  2526. "natMapping\x18\x04 \x01(\x05R\n" +
  2527. "natMapping\x12\"\n" +
  2528. "\fnatFiltering\x18\x05 \x01(\x05R\fnatFiltering\x12\x18\n" +
  2529. "\aisFinal\x18\x06 \x01(\bR\aisFinal\x12\x14\n" +
  2530. "\x05error\x18\a \x01(\tR\x05error\x12*\n" +
  2531. "\x10natTypeSupported\x18\b \x01(\bR\x10natTypeSupported\"V\n" +
  2532. "\x15TailscaleStatusUpdate\x12=\n" +
  2533. "\tendpoints\x18\x01 \x03(\v2\x1f.daemon.TailscaleEndpointStatusR\tendpoints\"\xaa\x02\n" +
  2534. "\x17TailscaleEndpointStatus\x12 \n" +
  2535. "\vendpointTag\x18\x01 \x01(\tR\vendpointTag\x12\"\n" +
  2536. "\fbackendState\x18\x02 \x01(\tR\fbackendState\x12\x18\n" +
  2537. "\aauthURL\x18\x03 \x01(\tR\aauthURL\x12 \n" +
  2538. "\vnetworkName\x18\x04 \x01(\tR\vnetworkName\x12&\n" +
  2539. "\x0emagicDNSSuffix\x18\x05 \x01(\tR\x0emagicDNSSuffix\x12)\n" +
  2540. "\x04self\x18\x06 \x01(\v2\x15.daemon.TailscalePeerR\x04self\x12:\n" +
  2541. "\n" +
  2542. "userGroups\x18\a \x03(\v2\x1a.daemon.TailscaleUserGroupR\n" +
  2543. "userGroups\"\xbf\x01\n" +
  2544. "\x12TailscaleUserGroup\x12\x16\n" +
  2545. "\x06userID\x18\x01 \x01(\x03R\x06userID\x12\x1c\n" +
  2546. "\tloginName\x18\x02 \x01(\tR\tloginName\x12 \n" +
  2547. "\vdisplayName\x18\x03 \x01(\tR\vdisplayName\x12$\n" +
  2548. "\rprofilePicURL\x18\x04 \x01(\tR\rprofilePicURL\x12+\n" +
  2549. "\x05peers\x18\x05 \x03(\v2\x15.daemon.TailscalePeerR\x05peers\"\xbf\x02\n" +
  2550. "\rTailscalePeer\x12\x1a\n" +
  2551. "\bhostName\x18\x01 \x01(\tR\bhostName\x12\x18\n" +
  2552. "\adnsName\x18\x02 \x01(\tR\adnsName\x12\x0e\n" +
  2553. "\x02os\x18\x03 \x01(\tR\x02os\x12\"\n" +
  2554. "\ftailscaleIPs\x18\x04 \x03(\tR\ftailscaleIPs\x12\x16\n" +
  2555. "\x06online\x18\x05 \x01(\bR\x06online\x12\x1a\n" +
  2556. "\bexitNode\x18\x06 \x01(\bR\bexitNode\x12&\n" +
  2557. "\x0eexitNodeOption\x18\a \x01(\bR\x0eexitNodeOption\x12\x16\n" +
  2558. "\x06active\x18\b \x01(\bR\x06active\x12\x18\n" +
  2559. "\arxBytes\x18\t \x01(\x03R\arxBytes\x12\x18\n" +
  2560. "\atxBytes\x18\n" +
  2561. " \x01(\x03R\atxBytes\x12\x1c\n" +
  2562. "\tkeyExpiry\x18\v \x01(\x03R\tkeyExpiry\"P\n" +
  2563. "\x14TailscalePingRequest\x12 \n" +
  2564. "\vendpointTag\x18\x01 \x01(\tR\vendpointTag\x12\x16\n" +
  2565. "\x06peerIP\x18\x02 \x01(\tR\x06peerIP\"\xcf\x01\n" +
  2566. "\x15TailscalePingResponse\x12\x1c\n" +
  2567. "\tlatencyMs\x18\x01 \x01(\x01R\tlatencyMs\x12\x1a\n" +
  2568. "\bisDirect\x18\x02 \x01(\bR\bisDirect\x12\x1a\n" +
  2569. "\bendpoint\x18\x03 \x01(\tR\bendpoint\x12\"\n" +
  2570. "\fderpRegionID\x18\x04 \x01(\x05R\fderpRegionID\x12&\n" +
  2571. "\x0ederpRegionCode\x18\x05 \x01(\tR\x0ederpRegionCode\x12\x14\n" +
  2572. "\x05error\x18\x06 \x01(\tR\x05error*U\n" +
  2573. "\bLogLevel\x12\t\n" +
  2574. "\x05PANIC\x10\x00\x12\t\n" +
  2575. "\x05FATAL\x10\x01\x12\t\n" +
  2576. "\x05ERROR\x10\x02\x12\b\n" +
  2577. "\x04WARN\x10\x03\x12\b\n" +
  2578. "\x04INFO\x10\x04\x12\t\n" +
  2579. "\x05DEBUG\x10\x05\x12\t\n" +
  2580. "\x05TRACE\x10\x06*i\n" +
  2581. "\x13ConnectionEventType\x12\x18\n" +
  2582. "\x14CONNECTION_EVENT_NEW\x10\x00\x12\x1b\n" +
  2583. "\x17CONNECTION_EVENT_UPDATE\x10\x01\x12\x1b\n" +
  2584. "\x17CONNECTION_EVENT_CLOSED\x10\x022\x99\x10\n" +
  2585. "\x0eStartedService\x12=\n" +
  2586. "\vStopService\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x12?\n" +
  2587. "\rReloadService\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x12K\n" +
  2588. "\x16SubscribeServiceStatus\x12\x16.google.protobuf.Empty\x1a\x15.daemon.ServiceStatus\"\x000\x01\x127\n" +
  2589. "\fSubscribeLog\x12\x16.google.protobuf.Empty\x1a\v.daemon.Log\"\x000\x01\x12G\n" +
  2590. "\x12GetDefaultLogLevel\x12\x16.google.protobuf.Empty\x1a\x17.daemon.DefaultLogLevel\"\x00\x12=\n" +
  2591. "\tClearLogs\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\"\x00\x12E\n" +
  2592. "\x0fSubscribeStatus\x12\x1e.daemon.SubscribeStatusRequest\x1a\x0e.daemon.Status\"\x000\x01\x12=\n" +
  2593. "\x0fSubscribeGroups\x12\x16.google.protobuf.Empty\x1a\x0e.daemon.Groups\"\x000\x01\x12G\n" +
  2594. "\x12GetClashModeStatus\x12\x16.google.protobuf.Empty\x1a\x17.daemon.ClashModeStatus\"\x00\x12C\n" +
  2595. "\x12SubscribeClashMode\x12\x16.google.protobuf.Empty\x1a\x11.daemon.ClashMode\"\x000\x01\x12;\n" +
  2596. "\fSetClashMode\x12\x11.daemon.ClashMode\x1a\x16.google.protobuf.Empty\"\x00\x12;\n" +
  2597. "\aURLTest\x12\x16.daemon.URLTestRequest\x1a\x16.google.protobuf.Empty\"\x00\x12I\n" +
  2598. "\x0eSelectOutbound\x12\x1d.daemon.SelectOutboundRequest\x1a\x16.google.protobuf.Empty\"\x00\x12I\n" +
  2599. "\x0eSetGroupExpand\x12\x1d.daemon.SetGroupExpandRequest\x1a\x16.google.protobuf.Empty\"\x00\x12K\n" +
  2600. "\x14GetSystemProxyStatus\x12\x16.google.protobuf.Empty\x1a\x19.daemon.SystemProxyStatus\"\x00\x12W\n" +
  2601. "\x15SetSystemProxyEnabled\x12$.daemon.SetSystemProxyEnabledRequest\x1a\x16.google.protobuf.Empty\"\x00\x12H\n" +
  2602. "\x11TriggerDebugCrash\x12\x19.daemon.DebugCrashRequest\x1a\x16.google.protobuf.Empty\"\x00\x12D\n" +
  2603. "\x10TriggerOOMReport\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\"\x00\x12Y\n" +
  2604. "\x14SubscribeConnections\x12#.daemon.SubscribeConnectionsRequest\x1a\x18.daemon.ConnectionEvents\"\x000\x01\x12K\n" +
  2605. "\x0fCloseConnection\x12\x1e.daemon.CloseConnectionRequest\x1a\x16.google.protobuf.Empty\"\x00\x12G\n" +
  2606. "\x13CloseAllConnections\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\"\x00\x12M\n" +
  2607. "\x15GetDeprecatedWarnings\x12\x16.google.protobuf.Empty\x1a\x1a.daemon.DeprecatedWarnings\"\x00\x12;\n" +
  2608. "\fGetStartedAt\x12\x16.google.protobuf.Empty\x1a\x11.daemon.StartedAt\"\x00\x12F\n" +
  2609. "\x12SubscribeOutbounds\x12\x16.google.protobuf.Empty\x1a\x14.daemon.OutboundList\"\x000\x01\x12d\n" +
  2610. "\x17StartNetworkQualityTest\x12!.daemon.NetworkQualityTestRequest\x1a\".daemon.NetworkQualityTestProgress\"\x000\x01\x12F\n" +
  2611. "\rStartSTUNTest\x12\x17.daemon.STUNTestRequest\x1a\x18.daemon.STUNTestProgress\"\x000\x01\x12U\n" +
  2612. "\x18SubscribeTailscaleStatus\x12\x16.google.protobuf.Empty\x1a\x1d.daemon.TailscaleStatusUpdate\"\x000\x01\x12U\n" +
  2613. "\x12StartTailscalePing\x12\x1c.daemon.TailscalePingRequest\x1a\x1d.daemon.TailscalePingResponse\"\x000\x01B%Z#github.com/sagernet/sing-box/daemonb\x06proto3"
  2614. var (
  2615. file_daemon_started_service_proto_rawDescOnce sync.Once
  2616. file_daemon_started_service_proto_rawDescData []byte
  2617. )
  2618. func file_daemon_started_service_proto_rawDescGZIP() []byte {
  2619. file_daemon_started_service_proto_rawDescOnce.Do(func() {
  2620. file_daemon_started_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_daemon_started_service_proto_rawDesc), len(file_daemon_started_service_proto_rawDesc)))
  2621. })
  2622. return file_daemon_started_service_proto_rawDescData
  2623. }
  2624. var (
  2625. file_daemon_started_service_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
  2626. file_daemon_started_service_proto_msgTypes = make([]protoimpl.MessageInfo, 38)
  2627. file_daemon_started_service_proto_goTypes = []any{
  2628. (LogLevel)(0), // 0: daemon.LogLevel
  2629. (ConnectionEventType)(0), // 1: daemon.ConnectionEventType
  2630. (ServiceStatus_Type)(0), // 2: daemon.ServiceStatus.Type
  2631. (DebugCrashRequest_Type)(0), // 3: daemon.DebugCrashRequest.Type
  2632. (*ServiceStatus)(nil), // 4: daemon.ServiceStatus
  2633. (*ReloadServiceRequest)(nil), // 5: daemon.ReloadServiceRequest
  2634. (*SubscribeStatusRequest)(nil), // 6: daemon.SubscribeStatusRequest
  2635. (*Log)(nil), // 7: daemon.Log
  2636. (*DefaultLogLevel)(nil), // 8: daemon.DefaultLogLevel
  2637. (*Status)(nil), // 9: daemon.Status
  2638. (*Groups)(nil), // 10: daemon.Groups
  2639. (*Group)(nil), // 11: daemon.Group
  2640. (*GroupItem)(nil), // 12: daemon.GroupItem
  2641. (*URLTestRequest)(nil), // 13: daemon.URLTestRequest
  2642. (*SelectOutboundRequest)(nil), // 14: daemon.SelectOutboundRequest
  2643. (*SetGroupExpandRequest)(nil), // 15: daemon.SetGroupExpandRequest
  2644. (*ClashMode)(nil), // 16: daemon.ClashMode
  2645. (*ClashModeStatus)(nil), // 17: daemon.ClashModeStatus
  2646. (*SystemProxyStatus)(nil), // 18: daemon.SystemProxyStatus
  2647. (*SetSystemProxyEnabledRequest)(nil), // 19: daemon.SetSystemProxyEnabledRequest
  2648. (*DebugCrashRequest)(nil), // 20: daemon.DebugCrashRequest
  2649. (*SubscribeConnectionsRequest)(nil), // 21: daemon.SubscribeConnectionsRequest
  2650. (*ConnectionEvent)(nil), // 22: daemon.ConnectionEvent
  2651. (*ConnectionEvents)(nil), // 23: daemon.ConnectionEvents
  2652. (*Connection)(nil), // 24: daemon.Connection
  2653. (*ProcessInfo)(nil), // 25: daemon.ProcessInfo
  2654. (*CloseConnectionRequest)(nil), // 26: daemon.CloseConnectionRequest
  2655. (*DeprecatedWarnings)(nil), // 27: daemon.DeprecatedWarnings
  2656. (*DeprecatedWarning)(nil), // 28: daemon.DeprecatedWarning
  2657. (*StartedAt)(nil), // 29: daemon.StartedAt
  2658. (*OutboundList)(nil), // 30: daemon.OutboundList
  2659. (*NetworkQualityTestRequest)(nil), // 31: daemon.NetworkQualityTestRequest
  2660. (*NetworkQualityTestProgress)(nil), // 32: daemon.NetworkQualityTestProgress
  2661. (*STUNTestRequest)(nil), // 33: daemon.STUNTestRequest
  2662. (*STUNTestProgress)(nil), // 34: daemon.STUNTestProgress
  2663. (*TailscaleStatusUpdate)(nil), // 35: daemon.TailscaleStatusUpdate
  2664. (*TailscaleEndpointStatus)(nil), // 36: daemon.TailscaleEndpointStatus
  2665. (*TailscaleUserGroup)(nil), // 37: daemon.TailscaleUserGroup
  2666. (*TailscalePeer)(nil), // 38: daemon.TailscalePeer
  2667. (*TailscalePingRequest)(nil), // 39: daemon.TailscalePingRequest
  2668. (*TailscalePingResponse)(nil), // 40: daemon.TailscalePingResponse
  2669. (*Log_Message)(nil), // 41: daemon.Log.Message
  2670. (*emptypb.Empty)(nil), // 42: google.protobuf.Empty
  2671. }
  2672. )
  2673. var file_daemon_started_service_proto_depIdxs = []int32{
  2674. 2, // 0: daemon.ServiceStatus.status:type_name -> daemon.ServiceStatus.Type
  2675. 41, // 1: daemon.Log.messages:type_name -> daemon.Log.Message
  2676. 0, // 2: daemon.DefaultLogLevel.level:type_name -> daemon.LogLevel
  2677. 11, // 3: daemon.Groups.group:type_name -> daemon.Group
  2678. 12, // 4: daemon.Group.items:type_name -> daemon.GroupItem
  2679. 3, // 5: daemon.DebugCrashRequest.type:type_name -> daemon.DebugCrashRequest.Type
  2680. 1, // 6: daemon.ConnectionEvent.type:type_name -> daemon.ConnectionEventType
  2681. 24, // 7: daemon.ConnectionEvent.connection:type_name -> daemon.Connection
  2682. 22, // 8: daemon.ConnectionEvents.events:type_name -> daemon.ConnectionEvent
  2683. 25, // 9: daemon.Connection.processInfo:type_name -> daemon.ProcessInfo
  2684. 28, // 10: daemon.DeprecatedWarnings.warnings:type_name -> daemon.DeprecatedWarning
  2685. 12, // 11: daemon.OutboundList.outbounds:type_name -> daemon.GroupItem
  2686. 36, // 12: daemon.TailscaleStatusUpdate.endpoints:type_name -> daemon.TailscaleEndpointStatus
  2687. 38, // 13: daemon.TailscaleEndpointStatus.self:type_name -> daemon.TailscalePeer
  2688. 37, // 14: daemon.TailscaleEndpointStatus.userGroups:type_name -> daemon.TailscaleUserGroup
  2689. 38, // 15: daemon.TailscaleUserGroup.peers:type_name -> daemon.TailscalePeer
  2690. 0, // 16: daemon.Log.Message.level:type_name -> daemon.LogLevel
  2691. 42, // 17: daemon.StartedService.StopService:input_type -> google.protobuf.Empty
  2692. 42, // 18: daemon.StartedService.ReloadService:input_type -> google.protobuf.Empty
  2693. 42, // 19: daemon.StartedService.SubscribeServiceStatus:input_type -> google.protobuf.Empty
  2694. 42, // 20: daemon.StartedService.SubscribeLog:input_type -> google.protobuf.Empty
  2695. 42, // 21: daemon.StartedService.GetDefaultLogLevel:input_type -> google.protobuf.Empty
  2696. 42, // 22: daemon.StartedService.ClearLogs:input_type -> google.protobuf.Empty
  2697. 6, // 23: daemon.StartedService.SubscribeStatus:input_type -> daemon.SubscribeStatusRequest
  2698. 42, // 24: daemon.StartedService.SubscribeGroups:input_type -> google.protobuf.Empty
  2699. 42, // 25: daemon.StartedService.GetClashModeStatus:input_type -> google.protobuf.Empty
  2700. 42, // 26: daemon.StartedService.SubscribeClashMode:input_type -> google.protobuf.Empty
  2701. 16, // 27: daemon.StartedService.SetClashMode:input_type -> daemon.ClashMode
  2702. 13, // 28: daemon.StartedService.URLTest:input_type -> daemon.URLTestRequest
  2703. 14, // 29: daemon.StartedService.SelectOutbound:input_type -> daemon.SelectOutboundRequest
  2704. 15, // 30: daemon.StartedService.SetGroupExpand:input_type -> daemon.SetGroupExpandRequest
  2705. 42, // 31: daemon.StartedService.GetSystemProxyStatus:input_type -> google.protobuf.Empty
  2706. 19, // 32: daemon.StartedService.SetSystemProxyEnabled:input_type -> daemon.SetSystemProxyEnabledRequest
  2707. 20, // 33: daemon.StartedService.TriggerDebugCrash:input_type -> daemon.DebugCrashRequest
  2708. 42, // 34: daemon.StartedService.TriggerOOMReport:input_type -> google.protobuf.Empty
  2709. 21, // 35: daemon.StartedService.SubscribeConnections:input_type -> daemon.SubscribeConnectionsRequest
  2710. 26, // 36: daemon.StartedService.CloseConnection:input_type -> daemon.CloseConnectionRequest
  2711. 42, // 37: daemon.StartedService.CloseAllConnections:input_type -> google.protobuf.Empty
  2712. 42, // 38: daemon.StartedService.GetDeprecatedWarnings:input_type -> google.protobuf.Empty
  2713. 42, // 39: daemon.StartedService.GetStartedAt:input_type -> google.protobuf.Empty
  2714. 42, // 40: daemon.StartedService.SubscribeOutbounds:input_type -> google.protobuf.Empty
  2715. 31, // 41: daemon.StartedService.StartNetworkQualityTest:input_type -> daemon.NetworkQualityTestRequest
  2716. 33, // 42: daemon.StartedService.StartSTUNTest:input_type -> daemon.STUNTestRequest
  2717. 42, // 43: daemon.StartedService.SubscribeTailscaleStatus:input_type -> google.protobuf.Empty
  2718. 39, // 44: daemon.StartedService.StartTailscalePing:input_type -> daemon.TailscalePingRequest
  2719. 42, // 45: daemon.StartedService.StopService:output_type -> google.protobuf.Empty
  2720. 42, // 46: daemon.StartedService.ReloadService:output_type -> google.protobuf.Empty
  2721. 4, // 47: daemon.StartedService.SubscribeServiceStatus:output_type -> daemon.ServiceStatus
  2722. 7, // 48: daemon.StartedService.SubscribeLog:output_type -> daemon.Log
  2723. 8, // 49: daemon.StartedService.GetDefaultLogLevel:output_type -> daemon.DefaultLogLevel
  2724. 42, // 50: daemon.StartedService.ClearLogs:output_type -> google.protobuf.Empty
  2725. 9, // 51: daemon.StartedService.SubscribeStatus:output_type -> daemon.Status
  2726. 10, // 52: daemon.StartedService.SubscribeGroups:output_type -> daemon.Groups
  2727. 17, // 53: daemon.StartedService.GetClashModeStatus:output_type -> daemon.ClashModeStatus
  2728. 16, // 54: daemon.StartedService.SubscribeClashMode:output_type -> daemon.ClashMode
  2729. 42, // 55: daemon.StartedService.SetClashMode:output_type -> google.protobuf.Empty
  2730. 42, // 56: daemon.StartedService.URLTest:output_type -> google.protobuf.Empty
  2731. 42, // 57: daemon.StartedService.SelectOutbound:output_type -> google.protobuf.Empty
  2732. 42, // 58: daemon.StartedService.SetGroupExpand:output_type -> google.protobuf.Empty
  2733. 18, // 59: daemon.StartedService.GetSystemProxyStatus:output_type -> daemon.SystemProxyStatus
  2734. 42, // 60: daemon.StartedService.SetSystemProxyEnabled:output_type -> google.protobuf.Empty
  2735. 42, // 61: daemon.StartedService.TriggerDebugCrash:output_type -> google.protobuf.Empty
  2736. 42, // 62: daemon.StartedService.TriggerOOMReport:output_type -> google.protobuf.Empty
  2737. 23, // 63: daemon.StartedService.SubscribeConnections:output_type -> daemon.ConnectionEvents
  2738. 42, // 64: daemon.StartedService.CloseConnection:output_type -> google.protobuf.Empty
  2739. 42, // 65: daemon.StartedService.CloseAllConnections:output_type -> google.protobuf.Empty
  2740. 27, // 66: daemon.StartedService.GetDeprecatedWarnings:output_type -> daemon.DeprecatedWarnings
  2741. 29, // 67: daemon.StartedService.GetStartedAt:output_type -> daemon.StartedAt
  2742. 30, // 68: daemon.StartedService.SubscribeOutbounds:output_type -> daemon.OutboundList
  2743. 32, // 69: daemon.StartedService.StartNetworkQualityTest:output_type -> daemon.NetworkQualityTestProgress
  2744. 34, // 70: daemon.StartedService.StartSTUNTest:output_type -> daemon.STUNTestProgress
  2745. 35, // 71: daemon.StartedService.SubscribeTailscaleStatus:output_type -> daemon.TailscaleStatusUpdate
  2746. 40, // 72: daemon.StartedService.StartTailscalePing:output_type -> daemon.TailscalePingResponse
  2747. 45, // [45:73] is the sub-list for method output_type
  2748. 17, // [17:45] is the sub-list for method input_type
  2749. 17, // [17:17] is the sub-list for extension type_name
  2750. 17, // [17:17] is the sub-list for extension extendee
  2751. 0, // [0:17] is the sub-list for field type_name
  2752. }
  2753. func init() { file_daemon_started_service_proto_init() }
  2754. func file_daemon_started_service_proto_init() {
  2755. if File_daemon_started_service_proto != nil {
  2756. return
  2757. }
  2758. type x struct{}
  2759. out := protoimpl.TypeBuilder{
  2760. File: protoimpl.DescBuilder{
  2761. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2762. RawDescriptor: unsafe.Slice(unsafe.StringData(file_daemon_started_service_proto_rawDesc), len(file_daemon_started_service_proto_rawDesc)),
  2763. NumEnums: 4,
  2764. NumMessages: 38,
  2765. NumExtensions: 0,
  2766. NumServices: 1,
  2767. },
  2768. GoTypes: file_daemon_started_service_proto_goTypes,
  2769. DependencyIndexes: file_daemon_started_service_proto_depIdxs,
  2770. EnumInfos: file_daemon_started_service_proto_enumTypes,
  2771. MessageInfos: file_daemon_started_service_proto_msgTypes,
  2772. }.Build()
  2773. File_daemon_started_service_proto = out.File
  2774. file_daemon_started_service_proto_goTypes = nil
  2775. file_daemon_started_service_proto_depIdxs = nil
  2776. }