| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197 |
- package daemon
- import (
- reflect "reflect"
- sync "sync"
- unsafe "unsafe"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- emptypb "google.golang.org/protobuf/types/known/emptypb"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- type LogLevel int32
- const (
- LogLevel_PANIC LogLevel = 0
- LogLevel_FATAL LogLevel = 1
- LogLevel_ERROR LogLevel = 2
- LogLevel_WARN LogLevel = 3
- LogLevel_INFO LogLevel = 4
- LogLevel_DEBUG LogLevel = 5
- LogLevel_TRACE LogLevel = 6
- )
- // Enum value maps for LogLevel.
- var (
- LogLevel_name = map[int32]string{
- 0: "PANIC",
- 1: "FATAL",
- 2: "ERROR",
- 3: "WARN",
- 4: "INFO",
- 5: "DEBUG",
- 6: "TRACE",
- }
- LogLevel_value = map[string]int32{
- "PANIC": 0,
- "FATAL": 1,
- "ERROR": 2,
- "WARN": 3,
- "INFO": 4,
- "DEBUG": 5,
- "TRACE": 6,
- }
- )
- func (x LogLevel) Enum() *LogLevel {
- p := new(LogLevel)
- *p = x
- return p
- }
- func (x LogLevel) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (LogLevel) Descriptor() protoreflect.EnumDescriptor {
- return file_daemon_started_service_proto_enumTypes[0].Descriptor()
- }
- func (LogLevel) Type() protoreflect.EnumType {
- return &file_daemon_started_service_proto_enumTypes[0]
- }
- func (x LogLevel) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use LogLevel.Descriptor instead.
- func (LogLevel) EnumDescriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{0}
- }
- type ConnectionEventType int32
- const (
- ConnectionEventType_CONNECTION_EVENT_NEW ConnectionEventType = 0
- ConnectionEventType_CONNECTION_EVENT_UPDATE ConnectionEventType = 1
- ConnectionEventType_CONNECTION_EVENT_CLOSED ConnectionEventType = 2
- )
- // Enum value maps for ConnectionEventType.
- var (
- ConnectionEventType_name = map[int32]string{
- 0: "CONNECTION_EVENT_NEW",
- 1: "CONNECTION_EVENT_UPDATE",
- 2: "CONNECTION_EVENT_CLOSED",
- }
- ConnectionEventType_value = map[string]int32{
- "CONNECTION_EVENT_NEW": 0,
- "CONNECTION_EVENT_UPDATE": 1,
- "CONNECTION_EVENT_CLOSED": 2,
- }
- )
- func (x ConnectionEventType) Enum() *ConnectionEventType {
- p := new(ConnectionEventType)
- *p = x
- return p
- }
- func (x ConnectionEventType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (ConnectionEventType) Descriptor() protoreflect.EnumDescriptor {
- return file_daemon_started_service_proto_enumTypes[1].Descriptor()
- }
- func (ConnectionEventType) Type() protoreflect.EnumType {
- return &file_daemon_started_service_proto_enumTypes[1]
- }
- func (x ConnectionEventType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use ConnectionEventType.Descriptor instead.
- func (ConnectionEventType) EnumDescriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{1}
- }
- type ServiceStatus_Type int32
- const (
- ServiceStatus_IDLE ServiceStatus_Type = 0
- ServiceStatus_STARTING ServiceStatus_Type = 1
- ServiceStatus_STARTED ServiceStatus_Type = 2
- ServiceStatus_STOPPING ServiceStatus_Type = 3
- ServiceStatus_FATAL ServiceStatus_Type = 4
- )
- // Enum value maps for ServiceStatus_Type.
- var (
- ServiceStatus_Type_name = map[int32]string{
- 0: "IDLE",
- 1: "STARTING",
- 2: "STARTED",
- 3: "STOPPING",
- 4: "FATAL",
- }
- ServiceStatus_Type_value = map[string]int32{
- "IDLE": 0,
- "STARTING": 1,
- "STARTED": 2,
- "STOPPING": 3,
- "FATAL": 4,
- }
- )
- func (x ServiceStatus_Type) Enum() *ServiceStatus_Type {
- p := new(ServiceStatus_Type)
- *p = x
- return p
- }
- func (x ServiceStatus_Type) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (ServiceStatus_Type) Descriptor() protoreflect.EnumDescriptor {
- return file_daemon_started_service_proto_enumTypes[2].Descriptor()
- }
- func (ServiceStatus_Type) Type() protoreflect.EnumType {
- return &file_daemon_started_service_proto_enumTypes[2]
- }
- func (x ServiceStatus_Type) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use ServiceStatus_Type.Descriptor instead.
- func (ServiceStatus_Type) EnumDescriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{0, 0}
- }
- type DebugCrashRequest_Type int32
- const (
- DebugCrashRequest_GO DebugCrashRequest_Type = 0
- DebugCrashRequest_NATIVE DebugCrashRequest_Type = 1
- )
- // Enum value maps for DebugCrashRequest_Type.
- var (
- DebugCrashRequest_Type_name = map[int32]string{
- 0: "GO",
- 1: "NATIVE",
- }
- DebugCrashRequest_Type_value = map[string]int32{
- "GO": 0,
- "NATIVE": 1,
- }
- )
- func (x DebugCrashRequest_Type) Enum() *DebugCrashRequest_Type {
- p := new(DebugCrashRequest_Type)
- *p = x
- return p
- }
- func (x DebugCrashRequest_Type) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (DebugCrashRequest_Type) Descriptor() protoreflect.EnumDescriptor {
- return file_daemon_started_service_proto_enumTypes[3].Descriptor()
- }
- func (DebugCrashRequest_Type) Type() protoreflect.EnumType {
- return &file_daemon_started_service_proto_enumTypes[3]
- }
- func (x DebugCrashRequest_Type) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use DebugCrashRequest_Type.Descriptor instead.
- func (DebugCrashRequest_Type) EnumDescriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{16, 0}
- }
- type ServiceStatus struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Status ServiceStatus_Type `protobuf:"varint,1,opt,name=status,proto3,enum=daemon.ServiceStatus_Type" json:"status,omitempty"`
- ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ServiceStatus) Reset() {
- *x = ServiceStatus{}
- mi := &file_daemon_started_service_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ServiceStatus) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ServiceStatus) ProtoMessage() {}
- func (x *ServiceStatus) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ServiceStatus.ProtoReflect.Descriptor instead.
- func (*ServiceStatus) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{0}
- }
- func (x *ServiceStatus) GetStatus() ServiceStatus_Type {
- if x != nil {
- return x.Status
- }
- return ServiceStatus_IDLE
- }
- func (x *ServiceStatus) GetErrorMessage() string {
- if x != nil {
- return x.ErrorMessage
- }
- return ""
- }
- type ReloadServiceRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- NewProfileContent string `protobuf:"bytes,1,opt,name=newProfileContent,proto3" json:"newProfileContent,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ReloadServiceRequest) Reset() {
- *x = ReloadServiceRequest{}
- mi := &file_daemon_started_service_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ReloadServiceRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ReloadServiceRequest) ProtoMessage() {}
- func (x *ReloadServiceRequest) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[1]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ReloadServiceRequest.ProtoReflect.Descriptor instead.
- func (*ReloadServiceRequest) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{1}
- }
- func (x *ReloadServiceRequest) GetNewProfileContent() string {
- if x != nil {
- return x.NewProfileContent
- }
- return ""
- }
- type SubscribeStatusRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Interval int64 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SubscribeStatusRequest) Reset() {
- *x = SubscribeStatusRequest{}
- mi := &file_daemon_started_service_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SubscribeStatusRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SubscribeStatusRequest) ProtoMessage() {}
- func (x *SubscribeStatusRequest) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[2]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SubscribeStatusRequest.ProtoReflect.Descriptor instead.
- func (*SubscribeStatusRequest) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{2}
- }
- func (x *SubscribeStatusRequest) GetInterval() int64 {
- if x != nil {
- return x.Interval
- }
- return 0
- }
- type Log struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Messages []*Log_Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
- Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Log) Reset() {
- *x = Log{}
- mi := &file_daemon_started_service_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Log) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Log) ProtoMessage() {}
- func (x *Log) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[3]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Log.ProtoReflect.Descriptor instead.
- func (*Log) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{3}
- }
- func (x *Log) GetMessages() []*Log_Message {
- if x != nil {
- return x.Messages
- }
- return nil
- }
- func (x *Log) GetReset_() bool {
- if x != nil {
- return x.Reset_
- }
- return false
- }
- type DefaultLogLevel struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Level LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=daemon.LogLevel" json:"level,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *DefaultLogLevel) Reset() {
- *x = DefaultLogLevel{}
- mi := &file_daemon_started_service_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *DefaultLogLevel) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DefaultLogLevel) ProtoMessage() {}
- func (x *DefaultLogLevel) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[4]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DefaultLogLevel.ProtoReflect.Descriptor instead.
- func (*DefaultLogLevel) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{4}
- }
- func (x *DefaultLogLevel) GetLevel() LogLevel {
- if x != nil {
- return x.Level
- }
- return LogLevel_PANIC
- }
- type Status struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Memory uint64 `protobuf:"varint,1,opt,name=memory,proto3" json:"memory,omitempty"`
- Goroutines int32 `protobuf:"varint,2,opt,name=goroutines,proto3" json:"goroutines,omitempty"`
- ConnectionsIn int32 `protobuf:"varint,3,opt,name=connectionsIn,proto3" json:"connectionsIn,omitempty"`
- ConnectionsOut int32 `protobuf:"varint,4,opt,name=connectionsOut,proto3" json:"connectionsOut,omitempty"`
- TrafficAvailable bool `protobuf:"varint,5,opt,name=trafficAvailable,proto3" json:"trafficAvailable,omitempty"`
- Uplink int64 `protobuf:"varint,6,opt,name=uplink,proto3" json:"uplink,omitempty"`
- Downlink int64 `protobuf:"varint,7,opt,name=downlink,proto3" json:"downlink,omitempty"`
- UplinkTotal int64 `protobuf:"varint,8,opt,name=uplinkTotal,proto3" json:"uplinkTotal,omitempty"`
- DownlinkTotal int64 `protobuf:"varint,9,opt,name=downlinkTotal,proto3" json:"downlinkTotal,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Status) Reset() {
- *x = Status{}
- mi := &file_daemon_started_service_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Status) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Status) ProtoMessage() {}
- func (x *Status) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[5]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Status.ProtoReflect.Descriptor instead.
- func (*Status) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{5}
- }
- func (x *Status) GetMemory() uint64 {
- if x != nil {
- return x.Memory
- }
- return 0
- }
- func (x *Status) GetGoroutines() int32 {
- if x != nil {
- return x.Goroutines
- }
- return 0
- }
- func (x *Status) GetConnectionsIn() int32 {
- if x != nil {
- return x.ConnectionsIn
- }
- return 0
- }
- func (x *Status) GetConnectionsOut() int32 {
- if x != nil {
- return x.ConnectionsOut
- }
- return 0
- }
- func (x *Status) GetTrafficAvailable() bool {
- if x != nil {
- return x.TrafficAvailable
- }
- return false
- }
- func (x *Status) GetUplink() int64 {
- if x != nil {
- return x.Uplink
- }
- return 0
- }
- func (x *Status) GetDownlink() int64 {
- if x != nil {
- return x.Downlink
- }
- return 0
- }
- func (x *Status) GetUplinkTotal() int64 {
- if x != nil {
- return x.UplinkTotal
- }
- return 0
- }
- func (x *Status) GetDownlinkTotal() int64 {
- if x != nil {
- return x.DownlinkTotal
- }
- return 0
- }
- type Groups struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Group []*Group `protobuf:"bytes,1,rep,name=group,proto3" json:"group,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Groups) Reset() {
- *x = Groups{}
- mi := &file_daemon_started_service_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Groups) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Groups) ProtoMessage() {}
- func (x *Groups) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[6]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Groups.ProtoReflect.Descriptor instead.
- func (*Groups) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{6}
- }
- func (x *Groups) GetGroup() []*Group {
- if x != nil {
- return x.Group
- }
- return nil
- }
- type Group struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
- Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
- Selectable bool `protobuf:"varint,3,opt,name=selectable,proto3" json:"selectable,omitempty"`
- Selected string `protobuf:"bytes,4,opt,name=selected,proto3" json:"selected,omitempty"`
- IsExpand bool `protobuf:"varint,5,opt,name=isExpand,proto3" json:"isExpand,omitempty"`
- Items []*GroupItem `protobuf:"bytes,6,rep,name=items,proto3" json:"items,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Group) Reset() {
- *x = Group{}
- mi := &file_daemon_started_service_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Group) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Group) ProtoMessage() {}
- func (x *Group) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[7]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Group.ProtoReflect.Descriptor instead.
- func (*Group) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{7}
- }
- func (x *Group) GetTag() string {
- if x != nil {
- return x.Tag
- }
- return ""
- }
- func (x *Group) GetType() string {
- if x != nil {
- return x.Type
- }
- return ""
- }
- func (x *Group) GetSelectable() bool {
- if x != nil {
- return x.Selectable
- }
- return false
- }
- func (x *Group) GetSelected() string {
- if x != nil {
- return x.Selected
- }
- return ""
- }
- func (x *Group) GetIsExpand() bool {
- if x != nil {
- return x.IsExpand
- }
- return false
- }
- func (x *Group) GetItems() []*GroupItem {
- if x != nil {
- return x.Items
- }
- return nil
- }
- type GroupItem struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
- Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
- UrlTestTime int64 `protobuf:"varint,3,opt,name=urlTestTime,proto3" json:"urlTestTime,omitempty"`
- UrlTestDelay int32 `protobuf:"varint,4,opt,name=urlTestDelay,proto3" json:"urlTestDelay,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *GroupItem) Reset() {
- *x = GroupItem{}
- mi := &file_daemon_started_service_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *GroupItem) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GroupItem) ProtoMessage() {}
- func (x *GroupItem) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[8]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GroupItem.ProtoReflect.Descriptor instead.
- func (*GroupItem) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{8}
- }
- func (x *GroupItem) GetTag() string {
- if x != nil {
- return x.Tag
- }
- return ""
- }
- func (x *GroupItem) GetType() string {
- if x != nil {
- return x.Type
- }
- return ""
- }
- func (x *GroupItem) GetUrlTestTime() int64 {
- if x != nil {
- return x.UrlTestTime
- }
- return 0
- }
- func (x *GroupItem) GetUrlTestDelay() int32 {
- if x != nil {
- return x.UrlTestDelay
- }
- return 0
- }
- type URLTestRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- OutboundTag string `protobuf:"bytes,1,opt,name=outboundTag,proto3" json:"outboundTag,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *URLTestRequest) Reset() {
- *x = URLTestRequest{}
- mi := &file_daemon_started_service_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *URLTestRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*URLTestRequest) ProtoMessage() {}
- func (x *URLTestRequest) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[9]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use URLTestRequest.ProtoReflect.Descriptor instead.
- func (*URLTestRequest) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{9}
- }
- func (x *URLTestRequest) GetOutboundTag() string {
- if x != nil {
- return x.OutboundTag
- }
- return ""
- }
- type SelectOutboundRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- GroupTag string `protobuf:"bytes,1,opt,name=groupTag,proto3" json:"groupTag,omitempty"`
- OutboundTag string `protobuf:"bytes,2,opt,name=outboundTag,proto3" json:"outboundTag,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SelectOutboundRequest) Reset() {
- *x = SelectOutboundRequest{}
- mi := &file_daemon_started_service_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SelectOutboundRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SelectOutboundRequest) ProtoMessage() {}
- func (x *SelectOutboundRequest) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[10]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SelectOutboundRequest.ProtoReflect.Descriptor instead.
- func (*SelectOutboundRequest) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{10}
- }
- func (x *SelectOutboundRequest) GetGroupTag() string {
- if x != nil {
- return x.GroupTag
- }
- return ""
- }
- func (x *SelectOutboundRequest) GetOutboundTag() string {
- if x != nil {
- return x.OutboundTag
- }
- return ""
- }
- type SetGroupExpandRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- GroupTag string `protobuf:"bytes,1,opt,name=groupTag,proto3" json:"groupTag,omitempty"`
- IsExpand bool `protobuf:"varint,2,opt,name=isExpand,proto3" json:"isExpand,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SetGroupExpandRequest) Reset() {
- *x = SetGroupExpandRequest{}
- mi := &file_daemon_started_service_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SetGroupExpandRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SetGroupExpandRequest) ProtoMessage() {}
- func (x *SetGroupExpandRequest) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[11]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SetGroupExpandRequest.ProtoReflect.Descriptor instead.
- func (*SetGroupExpandRequest) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{11}
- }
- func (x *SetGroupExpandRequest) GetGroupTag() string {
- if x != nil {
- return x.GroupTag
- }
- return ""
- }
- func (x *SetGroupExpandRequest) GetIsExpand() bool {
- if x != nil {
- return x.IsExpand
- }
- return false
- }
- type ClashMode struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Mode string `protobuf:"bytes,3,opt,name=mode,proto3" json:"mode,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ClashMode) Reset() {
- *x = ClashMode{}
- mi := &file_daemon_started_service_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ClashMode) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ClashMode) ProtoMessage() {}
- func (x *ClashMode) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[12]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ClashMode.ProtoReflect.Descriptor instead.
- func (*ClashMode) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{12}
- }
- func (x *ClashMode) GetMode() string {
- if x != nil {
- return x.Mode
- }
- return ""
- }
- type ClashModeStatus struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- ModeList []string `protobuf:"bytes,1,rep,name=modeList,proto3" json:"modeList,omitempty"`
- CurrentMode string `protobuf:"bytes,2,opt,name=currentMode,proto3" json:"currentMode,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ClashModeStatus) Reset() {
- *x = ClashModeStatus{}
- mi := &file_daemon_started_service_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ClashModeStatus) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ClashModeStatus) ProtoMessage() {}
- func (x *ClashModeStatus) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[13]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ClashModeStatus.ProtoReflect.Descriptor instead.
- func (*ClashModeStatus) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{13}
- }
- func (x *ClashModeStatus) GetModeList() []string {
- if x != nil {
- return x.ModeList
- }
- return nil
- }
- func (x *ClashModeStatus) GetCurrentMode() string {
- if x != nil {
- return x.CurrentMode
- }
- return ""
- }
- type SystemProxyStatus struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Available bool `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"`
- Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SystemProxyStatus) Reset() {
- *x = SystemProxyStatus{}
- mi := &file_daemon_started_service_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SystemProxyStatus) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SystemProxyStatus) ProtoMessage() {}
- func (x *SystemProxyStatus) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[14]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SystemProxyStatus.ProtoReflect.Descriptor instead.
- func (*SystemProxyStatus) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{14}
- }
- func (x *SystemProxyStatus) GetAvailable() bool {
- if x != nil {
- return x.Available
- }
- return false
- }
- func (x *SystemProxyStatus) GetEnabled() bool {
- if x != nil {
- return x.Enabled
- }
- return false
- }
- type SetSystemProxyEnabledRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SetSystemProxyEnabledRequest) Reset() {
- *x = SetSystemProxyEnabledRequest{}
- mi := &file_daemon_started_service_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SetSystemProxyEnabledRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SetSystemProxyEnabledRequest) ProtoMessage() {}
- func (x *SetSystemProxyEnabledRequest) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[15]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SetSystemProxyEnabledRequest.ProtoReflect.Descriptor instead.
- func (*SetSystemProxyEnabledRequest) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{15}
- }
- func (x *SetSystemProxyEnabledRequest) GetEnabled() bool {
- if x != nil {
- return x.Enabled
- }
- return false
- }
- type DebugCrashRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Type DebugCrashRequest_Type `protobuf:"varint,1,opt,name=type,proto3,enum=daemon.DebugCrashRequest_Type" json:"type,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *DebugCrashRequest) Reset() {
- *x = DebugCrashRequest{}
- mi := &file_daemon_started_service_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *DebugCrashRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DebugCrashRequest) ProtoMessage() {}
- func (x *DebugCrashRequest) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[16]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DebugCrashRequest.ProtoReflect.Descriptor instead.
- func (*DebugCrashRequest) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{16}
- }
- func (x *DebugCrashRequest) GetType() DebugCrashRequest_Type {
- if x != nil {
- return x.Type
- }
- return DebugCrashRequest_GO
- }
- type SubscribeConnectionsRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Interval int64 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *SubscribeConnectionsRequest) Reset() {
- *x = SubscribeConnectionsRequest{}
- mi := &file_daemon_started_service_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *SubscribeConnectionsRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SubscribeConnectionsRequest) ProtoMessage() {}
- func (x *SubscribeConnectionsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[17]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SubscribeConnectionsRequest.ProtoReflect.Descriptor instead.
- func (*SubscribeConnectionsRequest) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{17}
- }
- func (x *SubscribeConnectionsRequest) GetInterval() int64 {
- if x != nil {
- return x.Interval
- }
- return 0
- }
- type ConnectionEvent struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Type ConnectionEventType `protobuf:"varint,1,opt,name=type,proto3,enum=daemon.ConnectionEventType" json:"type,omitempty"`
- Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
- Connection *Connection `protobuf:"bytes,3,opt,name=connection,proto3" json:"connection,omitempty"`
- UplinkDelta int64 `protobuf:"varint,4,opt,name=uplinkDelta,proto3" json:"uplinkDelta,omitempty"`
- DownlinkDelta int64 `protobuf:"varint,5,opt,name=downlinkDelta,proto3" json:"downlinkDelta,omitempty"`
- ClosedAt int64 `protobuf:"varint,6,opt,name=closedAt,proto3" json:"closedAt,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConnectionEvent) Reset() {
- *x = ConnectionEvent{}
- mi := &file_daemon_started_service_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConnectionEvent) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConnectionEvent) ProtoMessage() {}
- func (x *ConnectionEvent) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[18]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConnectionEvent.ProtoReflect.Descriptor instead.
- func (*ConnectionEvent) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{18}
- }
- func (x *ConnectionEvent) GetType() ConnectionEventType {
- if x != nil {
- return x.Type
- }
- return ConnectionEventType_CONNECTION_EVENT_NEW
- }
- func (x *ConnectionEvent) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *ConnectionEvent) GetConnection() *Connection {
- if x != nil {
- return x.Connection
- }
- return nil
- }
- func (x *ConnectionEvent) GetUplinkDelta() int64 {
- if x != nil {
- return x.UplinkDelta
- }
- return 0
- }
- func (x *ConnectionEvent) GetDownlinkDelta() int64 {
- if x != nil {
- return x.DownlinkDelta
- }
- return 0
- }
- func (x *ConnectionEvent) GetClosedAt() int64 {
- if x != nil {
- return x.ClosedAt
- }
- return 0
- }
- type ConnectionEvents struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Events []*ConnectionEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
- Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ConnectionEvents) Reset() {
- *x = ConnectionEvents{}
- mi := &file_daemon_started_service_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ConnectionEvents) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ConnectionEvents) ProtoMessage() {}
- func (x *ConnectionEvents) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[19]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ConnectionEvents.ProtoReflect.Descriptor instead.
- func (*ConnectionEvents) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{19}
- }
- func (x *ConnectionEvents) GetEvents() []*ConnectionEvent {
- if x != nil {
- return x.Events
- }
- return nil
- }
- func (x *ConnectionEvents) GetReset_() bool {
- if x != nil {
- return x.Reset_
- }
- return false
- }
- type Connection struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Inbound string `protobuf:"bytes,2,opt,name=inbound,proto3" json:"inbound,omitempty"`
- InboundType string `protobuf:"bytes,3,opt,name=inboundType,proto3" json:"inboundType,omitempty"`
- IpVersion int32 `protobuf:"varint,4,opt,name=ipVersion,proto3" json:"ipVersion,omitempty"`
- Network string `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"`
- Source string `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"`
- Destination string `protobuf:"bytes,7,opt,name=destination,proto3" json:"destination,omitempty"`
- Domain string `protobuf:"bytes,8,opt,name=domain,proto3" json:"domain,omitempty"`
- Protocol string `protobuf:"bytes,9,opt,name=protocol,proto3" json:"protocol,omitempty"`
- User string `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"`
- FromOutbound string `protobuf:"bytes,11,opt,name=fromOutbound,proto3" json:"fromOutbound,omitempty"`
- CreatedAt int64 `protobuf:"varint,12,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
- ClosedAt int64 `protobuf:"varint,13,opt,name=closedAt,proto3" json:"closedAt,omitempty"`
- Uplink int64 `protobuf:"varint,14,opt,name=uplink,proto3" json:"uplink,omitempty"`
- Downlink int64 `protobuf:"varint,15,opt,name=downlink,proto3" json:"downlink,omitempty"`
- UplinkTotal int64 `protobuf:"varint,16,opt,name=uplinkTotal,proto3" json:"uplinkTotal,omitempty"`
- DownlinkTotal int64 `protobuf:"varint,17,opt,name=downlinkTotal,proto3" json:"downlinkTotal,omitempty"`
- Rule string `protobuf:"bytes,18,opt,name=rule,proto3" json:"rule,omitempty"`
- Outbound string `protobuf:"bytes,19,opt,name=outbound,proto3" json:"outbound,omitempty"`
- OutboundType string `protobuf:"bytes,20,opt,name=outboundType,proto3" json:"outboundType,omitempty"`
- ChainList []string `protobuf:"bytes,21,rep,name=chainList,proto3" json:"chainList,omitempty"`
- ProcessInfo *ProcessInfo `protobuf:"bytes,22,opt,name=processInfo,proto3" json:"processInfo,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Connection) Reset() {
- *x = Connection{}
- mi := &file_daemon_started_service_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Connection) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Connection) ProtoMessage() {}
- func (x *Connection) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[20]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Connection.ProtoReflect.Descriptor instead.
- func (*Connection) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{20}
- }
- func (x *Connection) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *Connection) GetInbound() string {
- if x != nil {
- return x.Inbound
- }
- return ""
- }
- func (x *Connection) GetInboundType() string {
- if x != nil {
- return x.InboundType
- }
- return ""
- }
- func (x *Connection) GetIpVersion() int32 {
- if x != nil {
- return x.IpVersion
- }
- return 0
- }
- func (x *Connection) GetNetwork() string {
- if x != nil {
- return x.Network
- }
- return ""
- }
- func (x *Connection) GetSource() string {
- if x != nil {
- return x.Source
- }
- return ""
- }
- func (x *Connection) GetDestination() string {
- if x != nil {
- return x.Destination
- }
- return ""
- }
- func (x *Connection) GetDomain() string {
- if x != nil {
- return x.Domain
- }
- return ""
- }
- func (x *Connection) GetProtocol() string {
- if x != nil {
- return x.Protocol
- }
- return ""
- }
- func (x *Connection) GetUser() string {
- if x != nil {
- return x.User
- }
- return ""
- }
- func (x *Connection) GetFromOutbound() string {
- if x != nil {
- return x.FromOutbound
- }
- return ""
- }
- func (x *Connection) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
- }
- func (x *Connection) GetClosedAt() int64 {
- if x != nil {
- return x.ClosedAt
- }
- return 0
- }
- func (x *Connection) GetUplink() int64 {
- if x != nil {
- return x.Uplink
- }
- return 0
- }
- func (x *Connection) GetDownlink() int64 {
- if x != nil {
- return x.Downlink
- }
- return 0
- }
- func (x *Connection) GetUplinkTotal() int64 {
- if x != nil {
- return x.UplinkTotal
- }
- return 0
- }
- func (x *Connection) GetDownlinkTotal() int64 {
- if x != nil {
- return x.DownlinkTotal
- }
- return 0
- }
- func (x *Connection) GetRule() string {
- if x != nil {
- return x.Rule
- }
- return ""
- }
- func (x *Connection) GetOutbound() string {
- if x != nil {
- return x.Outbound
- }
- return ""
- }
- func (x *Connection) GetOutboundType() string {
- if x != nil {
- return x.OutboundType
- }
- return ""
- }
- func (x *Connection) GetChainList() []string {
- if x != nil {
- return x.ChainList
- }
- return nil
- }
- func (x *Connection) GetProcessInfo() *ProcessInfo {
- if x != nil {
- return x.ProcessInfo
- }
- return nil
- }
- type ProcessInfo struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- ProcessId uint32 `protobuf:"varint,1,opt,name=processId,proto3" json:"processId,omitempty"`
- UserId int32 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
- UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName,omitempty"`
- ProcessPath string `protobuf:"bytes,4,opt,name=processPath,proto3" json:"processPath,omitempty"`
- PackageNames []string `protobuf:"bytes,5,rep,name=packageNames,proto3" json:"packageNames,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *ProcessInfo) Reset() {
- *x = ProcessInfo{}
- mi := &file_daemon_started_service_proto_msgTypes[21]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *ProcessInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ProcessInfo) ProtoMessage() {}
- func (x *ProcessInfo) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[21]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use ProcessInfo.ProtoReflect.Descriptor instead.
- func (*ProcessInfo) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{21}
- }
- func (x *ProcessInfo) GetProcessId() uint32 {
- if x != nil {
- return x.ProcessId
- }
- return 0
- }
- func (x *ProcessInfo) GetUserId() int32 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
- func (x *ProcessInfo) GetUserName() string {
- if x != nil {
- return x.UserName
- }
- return ""
- }
- func (x *ProcessInfo) GetProcessPath() string {
- if x != nil {
- return x.ProcessPath
- }
- return ""
- }
- func (x *ProcessInfo) GetPackageNames() []string {
- if x != nil {
- return x.PackageNames
- }
- return nil
- }
- type CloseConnectionRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *CloseConnectionRequest) Reset() {
- *x = CloseConnectionRequest{}
- mi := &file_daemon_started_service_proto_msgTypes[22]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *CloseConnectionRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CloseConnectionRequest) ProtoMessage() {}
- func (x *CloseConnectionRequest) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[22]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use CloseConnectionRequest.ProtoReflect.Descriptor instead.
- func (*CloseConnectionRequest) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{22}
- }
- func (x *CloseConnectionRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- type DeprecatedWarnings struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Warnings []*DeprecatedWarning `protobuf:"bytes,1,rep,name=warnings,proto3" json:"warnings,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *DeprecatedWarnings) Reset() {
- *x = DeprecatedWarnings{}
- mi := &file_daemon_started_service_proto_msgTypes[23]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *DeprecatedWarnings) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DeprecatedWarnings) ProtoMessage() {}
- func (x *DeprecatedWarnings) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[23]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DeprecatedWarnings.ProtoReflect.Descriptor instead.
- func (*DeprecatedWarnings) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{23}
- }
- func (x *DeprecatedWarnings) GetWarnings() []*DeprecatedWarning {
- if x != nil {
- return x.Warnings
- }
- return nil
- }
- type DeprecatedWarning struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
- Impending bool `protobuf:"varint,2,opt,name=impending,proto3" json:"impending,omitempty"`
- MigrationLink string `protobuf:"bytes,3,opt,name=migrationLink,proto3" json:"migrationLink,omitempty"`
- Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
- DeprecatedVersion string `protobuf:"bytes,5,opt,name=deprecatedVersion,proto3" json:"deprecatedVersion,omitempty"`
- ScheduledVersion string `protobuf:"bytes,6,opt,name=scheduledVersion,proto3" json:"scheduledVersion,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *DeprecatedWarning) Reset() {
- *x = DeprecatedWarning{}
- mi := &file_daemon_started_service_proto_msgTypes[24]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *DeprecatedWarning) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DeprecatedWarning) ProtoMessage() {}
- func (x *DeprecatedWarning) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[24]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DeprecatedWarning.ProtoReflect.Descriptor instead.
- func (*DeprecatedWarning) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{24}
- }
- func (x *DeprecatedWarning) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
- }
- func (x *DeprecatedWarning) GetImpending() bool {
- if x != nil {
- return x.Impending
- }
- return false
- }
- func (x *DeprecatedWarning) GetMigrationLink() string {
- if x != nil {
- return x.MigrationLink
- }
- return ""
- }
- func (x *DeprecatedWarning) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
- }
- func (x *DeprecatedWarning) GetDeprecatedVersion() string {
- if x != nil {
- return x.DeprecatedVersion
- }
- return ""
- }
- func (x *DeprecatedWarning) GetScheduledVersion() string {
- if x != nil {
- return x.ScheduledVersion
- }
- return ""
- }
- type StartedAt struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- StartedAt int64 `protobuf:"varint,1,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *StartedAt) Reset() {
- *x = StartedAt{}
- mi := &file_daemon_started_service_proto_msgTypes[25]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *StartedAt) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*StartedAt) ProtoMessage() {}
- func (x *StartedAt) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[25]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use StartedAt.ProtoReflect.Descriptor instead.
- func (*StartedAt) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{25}
- }
- func (x *StartedAt) GetStartedAt() int64 {
- if x != nil {
- return x.StartedAt
- }
- return 0
- }
- type OutboundList struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Outbounds []*GroupItem `protobuf:"bytes,1,rep,name=outbounds,proto3" json:"outbounds,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *OutboundList) Reset() {
- *x = OutboundList{}
- mi := &file_daemon_started_service_proto_msgTypes[26]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *OutboundList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*OutboundList) ProtoMessage() {}
- func (x *OutboundList) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[26]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use OutboundList.ProtoReflect.Descriptor instead.
- func (*OutboundList) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{26}
- }
- func (x *OutboundList) GetOutbounds() []*GroupItem {
- if x != nil {
- return x.Outbounds
- }
- return nil
- }
- type NetworkQualityTestRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- ConfigURL string `protobuf:"bytes,1,opt,name=configURL,proto3" json:"configURL,omitempty"`
- OutboundTag string `protobuf:"bytes,2,opt,name=outboundTag,proto3" json:"outboundTag,omitempty"`
- Serial bool `protobuf:"varint,3,opt,name=serial,proto3" json:"serial,omitempty"`
- MaxRuntimeSeconds int32 `protobuf:"varint,4,opt,name=maxRuntimeSeconds,proto3" json:"maxRuntimeSeconds,omitempty"`
- Http3 bool `protobuf:"varint,5,opt,name=http3,proto3" json:"http3,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *NetworkQualityTestRequest) Reset() {
- *x = NetworkQualityTestRequest{}
- mi := &file_daemon_started_service_proto_msgTypes[27]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *NetworkQualityTestRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NetworkQualityTestRequest) ProtoMessage() {}
- func (x *NetworkQualityTestRequest) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[27]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use NetworkQualityTestRequest.ProtoReflect.Descriptor instead.
- func (*NetworkQualityTestRequest) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{27}
- }
- func (x *NetworkQualityTestRequest) GetConfigURL() string {
- if x != nil {
- return x.ConfigURL
- }
- return ""
- }
- func (x *NetworkQualityTestRequest) GetOutboundTag() string {
- if x != nil {
- return x.OutboundTag
- }
- return ""
- }
- func (x *NetworkQualityTestRequest) GetSerial() bool {
- if x != nil {
- return x.Serial
- }
- return false
- }
- func (x *NetworkQualityTestRequest) GetMaxRuntimeSeconds() int32 {
- if x != nil {
- return x.MaxRuntimeSeconds
- }
- return 0
- }
- func (x *NetworkQualityTestRequest) GetHttp3() bool {
- if x != nil {
- return x.Http3
- }
- return false
- }
- type NetworkQualityTestProgress struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Phase int32 `protobuf:"varint,1,opt,name=phase,proto3" json:"phase,omitempty"`
- DownloadCapacity int64 `protobuf:"varint,2,opt,name=downloadCapacity,proto3" json:"downloadCapacity,omitempty"`
- UploadCapacity int64 `protobuf:"varint,3,opt,name=uploadCapacity,proto3" json:"uploadCapacity,omitempty"`
- DownloadRPM int32 `protobuf:"varint,4,opt,name=downloadRPM,proto3" json:"downloadRPM,omitempty"`
- UploadRPM int32 `protobuf:"varint,5,opt,name=uploadRPM,proto3" json:"uploadRPM,omitempty"`
- IdleLatencyMs int32 `protobuf:"varint,6,opt,name=idleLatencyMs,proto3" json:"idleLatencyMs,omitempty"`
- ElapsedMs int64 `protobuf:"varint,7,opt,name=elapsedMs,proto3" json:"elapsedMs,omitempty"`
- IsFinal bool `protobuf:"varint,8,opt,name=isFinal,proto3" json:"isFinal,omitempty"`
- Error string `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
- DownloadCapacityAccuracy int32 `protobuf:"varint,10,opt,name=downloadCapacityAccuracy,proto3" json:"downloadCapacityAccuracy,omitempty"`
- UploadCapacityAccuracy int32 `protobuf:"varint,11,opt,name=uploadCapacityAccuracy,proto3" json:"uploadCapacityAccuracy,omitempty"`
- DownloadRPMAccuracy int32 `protobuf:"varint,12,opt,name=downloadRPMAccuracy,proto3" json:"downloadRPMAccuracy,omitempty"`
- UploadRPMAccuracy int32 `protobuf:"varint,13,opt,name=uploadRPMAccuracy,proto3" json:"uploadRPMAccuracy,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *NetworkQualityTestProgress) Reset() {
- *x = NetworkQualityTestProgress{}
- mi := &file_daemon_started_service_proto_msgTypes[28]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *NetworkQualityTestProgress) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*NetworkQualityTestProgress) ProtoMessage() {}
- func (x *NetworkQualityTestProgress) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[28]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use NetworkQualityTestProgress.ProtoReflect.Descriptor instead.
- func (*NetworkQualityTestProgress) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{28}
- }
- func (x *NetworkQualityTestProgress) GetPhase() int32 {
- if x != nil {
- return x.Phase
- }
- return 0
- }
- func (x *NetworkQualityTestProgress) GetDownloadCapacity() int64 {
- if x != nil {
- return x.DownloadCapacity
- }
- return 0
- }
- func (x *NetworkQualityTestProgress) GetUploadCapacity() int64 {
- if x != nil {
- return x.UploadCapacity
- }
- return 0
- }
- func (x *NetworkQualityTestProgress) GetDownloadRPM() int32 {
- if x != nil {
- return x.DownloadRPM
- }
- return 0
- }
- func (x *NetworkQualityTestProgress) GetUploadRPM() int32 {
- if x != nil {
- return x.UploadRPM
- }
- return 0
- }
- func (x *NetworkQualityTestProgress) GetIdleLatencyMs() int32 {
- if x != nil {
- return x.IdleLatencyMs
- }
- return 0
- }
- func (x *NetworkQualityTestProgress) GetElapsedMs() int64 {
- if x != nil {
- return x.ElapsedMs
- }
- return 0
- }
- func (x *NetworkQualityTestProgress) GetIsFinal() bool {
- if x != nil {
- return x.IsFinal
- }
- return false
- }
- func (x *NetworkQualityTestProgress) GetError() string {
- if x != nil {
- return x.Error
- }
- return ""
- }
- func (x *NetworkQualityTestProgress) GetDownloadCapacityAccuracy() int32 {
- if x != nil {
- return x.DownloadCapacityAccuracy
- }
- return 0
- }
- func (x *NetworkQualityTestProgress) GetUploadCapacityAccuracy() int32 {
- if x != nil {
- return x.UploadCapacityAccuracy
- }
- return 0
- }
- func (x *NetworkQualityTestProgress) GetDownloadRPMAccuracy() int32 {
- if x != nil {
- return x.DownloadRPMAccuracy
- }
- return 0
- }
- func (x *NetworkQualityTestProgress) GetUploadRPMAccuracy() int32 {
- if x != nil {
- return x.UploadRPMAccuracy
- }
- return 0
- }
- type STUNTestRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
- OutboundTag string `protobuf:"bytes,2,opt,name=outboundTag,proto3" json:"outboundTag,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *STUNTestRequest) Reset() {
- *x = STUNTestRequest{}
- mi := &file_daemon_started_service_proto_msgTypes[29]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *STUNTestRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*STUNTestRequest) ProtoMessage() {}
- func (x *STUNTestRequest) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[29]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use STUNTestRequest.ProtoReflect.Descriptor instead.
- func (*STUNTestRequest) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{29}
- }
- func (x *STUNTestRequest) GetServer() string {
- if x != nil {
- return x.Server
- }
- return ""
- }
- func (x *STUNTestRequest) GetOutboundTag() string {
- if x != nil {
- return x.OutboundTag
- }
- return ""
- }
- type STUNTestProgress struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Phase int32 `protobuf:"varint,1,opt,name=phase,proto3" json:"phase,omitempty"`
- ExternalAddr string `protobuf:"bytes,2,opt,name=externalAddr,proto3" json:"externalAddr,omitempty"`
- LatencyMs int32 `protobuf:"varint,3,opt,name=latencyMs,proto3" json:"latencyMs,omitempty"`
- NatMapping int32 `protobuf:"varint,4,opt,name=natMapping,proto3" json:"natMapping,omitempty"`
- NatFiltering int32 `protobuf:"varint,5,opt,name=natFiltering,proto3" json:"natFiltering,omitempty"`
- IsFinal bool `protobuf:"varint,6,opt,name=isFinal,proto3" json:"isFinal,omitempty"`
- Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
- NatTypeSupported bool `protobuf:"varint,8,opt,name=natTypeSupported,proto3" json:"natTypeSupported,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *STUNTestProgress) Reset() {
- *x = STUNTestProgress{}
- mi := &file_daemon_started_service_proto_msgTypes[30]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *STUNTestProgress) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*STUNTestProgress) ProtoMessage() {}
- func (x *STUNTestProgress) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[30]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use STUNTestProgress.ProtoReflect.Descriptor instead.
- func (*STUNTestProgress) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{30}
- }
- func (x *STUNTestProgress) GetPhase() int32 {
- if x != nil {
- return x.Phase
- }
- return 0
- }
- func (x *STUNTestProgress) GetExternalAddr() string {
- if x != nil {
- return x.ExternalAddr
- }
- return ""
- }
- func (x *STUNTestProgress) GetLatencyMs() int32 {
- if x != nil {
- return x.LatencyMs
- }
- return 0
- }
- func (x *STUNTestProgress) GetNatMapping() int32 {
- if x != nil {
- return x.NatMapping
- }
- return 0
- }
- func (x *STUNTestProgress) GetNatFiltering() int32 {
- if x != nil {
- return x.NatFiltering
- }
- return 0
- }
- func (x *STUNTestProgress) GetIsFinal() bool {
- if x != nil {
- return x.IsFinal
- }
- return false
- }
- func (x *STUNTestProgress) GetError() string {
- if x != nil {
- return x.Error
- }
- return ""
- }
- func (x *STUNTestProgress) GetNatTypeSupported() bool {
- if x != nil {
- return x.NatTypeSupported
- }
- return false
- }
- type TailscaleStatusUpdate struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Endpoints []*TailscaleEndpointStatus `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *TailscaleStatusUpdate) Reset() {
- *x = TailscaleStatusUpdate{}
- mi := &file_daemon_started_service_proto_msgTypes[31]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *TailscaleStatusUpdate) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TailscaleStatusUpdate) ProtoMessage() {}
- func (x *TailscaleStatusUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[31]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use TailscaleStatusUpdate.ProtoReflect.Descriptor instead.
- func (*TailscaleStatusUpdate) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{31}
- }
- func (x *TailscaleStatusUpdate) GetEndpoints() []*TailscaleEndpointStatus {
- if x != nil {
- return x.Endpoints
- }
- return nil
- }
- type TailscaleEndpointStatus struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- EndpointTag string `protobuf:"bytes,1,opt,name=endpointTag,proto3" json:"endpointTag,omitempty"`
- BackendState string `protobuf:"bytes,2,opt,name=backendState,proto3" json:"backendState,omitempty"`
- AuthURL string `protobuf:"bytes,3,opt,name=authURL,proto3" json:"authURL,omitempty"`
- NetworkName string `protobuf:"bytes,4,opt,name=networkName,proto3" json:"networkName,omitempty"`
- MagicDNSSuffix string `protobuf:"bytes,5,opt,name=magicDNSSuffix,proto3" json:"magicDNSSuffix,omitempty"`
- Self *TailscalePeer `protobuf:"bytes,6,opt,name=self,proto3" json:"self,omitempty"`
- UserGroups []*TailscaleUserGroup `protobuf:"bytes,7,rep,name=userGroups,proto3" json:"userGroups,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *TailscaleEndpointStatus) Reset() {
- *x = TailscaleEndpointStatus{}
- mi := &file_daemon_started_service_proto_msgTypes[32]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *TailscaleEndpointStatus) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TailscaleEndpointStatus) ProtoMessage() {}
- func (x *TailscaleEndpointStatus) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[32]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use TailscaleEndpointStatus.ProtoReflect.Descriptor instead.
- func (*TailscaleEndpointStatus) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{32}
- }
- func (x *TailscaleEndpointStatus) GetEndpointTag() string {
- if x != nil {
- return x.EndpointTag
- }
- return ""
- }
- func (x *TailscaleEndpointStatus) GetBackendState() string {
- if x != nil {
- return x.BackendState
- }
- return ""
- }
- func (x *TailscaleEndpointStatus) GetAuthURL() string {
- if x != nil {
- return x.AuthURL
- }
- return ""
- }
- func (x *TailscaleEndpointStatus) GetNetworkName() string {
- if x != nil {
- return x.NetworkName
- }
- return ""
- }
- func (x *TailscaleEndpointStatus) GetMagicDNSSuffix() string {
- if x != nil {
- return x.MagicDNSSuffix
- }
- return ""
- }
- func (x *TailscaleEndpointStatus) GetSelf() *TailscalePeer {
- if x != nil {
- return x.Self
- }
- return nil
- }
- func (x *TailscaleEndpointStatus) GetUserGroups() []*TailscaleUserGroup {
- if x != nil {
- return x.UserGroups
- }
- return nil
- }
- type TailscaleUserGroup struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- UserID int64 `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"`
- LoginName string `protobuf:"bytes,2,opt,name=loginName,proto3" json:"loginName,omitempty"`
- DisplayName string `protobuf:"bytes,3,opt,name=displayName,proto3" json:"displayName,omitempty"`
- ProfilePicURL string `protobuf:"bytes,4,opt,name=profilePicURL,proto3" json:"profilePicURL,omitempty"`
- Peers []*TailscalePeer `protobuf:"bytes,5,rep,name=peers,proto3" json:"peers,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *TailscaleUserGroup) Reset() {
- *x = TailscaleUserGroup{}
- mi := &file_daemon_started_service_proto_msgTypes[33]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *TailscaleUserGroup) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TailscaleUserGroup) ProtoMessage() {}
- func (x *TailscaleUserGroup) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[33]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use TailscaleUserGroup.ProtoReflect.Descriptor instead.
- func (*TailscaleUserGroup) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{33}
- }
- func (x *TailscaleUserGroup) GetUserID() int64 {
- if x != nil {
- return x.UserID
- }
- return 0
- }
- func (x *TailscaleUserGroup) GetLoginName() string {
- if x != nil {
- return x.LoginName
- }
- return ""
- }
- func (x *TailscaleUserGroup) GetDisplayName() string {
- if x != nil {
- return x.DisplayName
- }
- return ""
- }
- func (x *TailscaleUserGroup) GetProfilePicURL() string {
- if x != nil {
- return x.ProfilePicURL
- }
- return ""
- }
- func (x *TailscaleUserGroup) GetPeers() []*TailscalePeer {
- if x != nil {
- return x.Peers
- }
- return nil
- }
- type TailscalePeer struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- HostName string `protobuf:"bytes,1,opt,name=hostName,proto3" json:"hostName,omitempty"`
- DnsName string `protobuf:"bytes,2,opt,name=dnsName,proto3" json:"dnsName,omitempty"`
- Os string `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"`
- TailscaleIPs []string `protobuf:"bytes,4,rep,name=tailscaleIPs,proto3" json:"tailscaleIPs,omitempty"`
- Online bool `protobuf:"varint,5,opt,name=online,proto3" json:"online,omitempty"`
- ExitNode bool `protobuf:"varint,6,opt,name=exitNode,proto3" json:"exitNode,omitempty"`
- ExitNodeOption bool `protobuf:"varint,7,opt,name=exitNodeOption,proto3" json:"exitNodeOption,omitempty"`
- Active bool `protobuf:"varint,8,opt,name=active,proto3" json:"active,omitempty"`
- RxBytes int64 `protobuf:"varint,9,opt,name=rxBytes,proto3" json:"rxBytes,omitempty"`
- TxBytes int64 `protobuf:"varint,10,opt,name=txBytes,proto3" json:"txBytes,omitempty"`
- KeyExpiry int64 `protobuf:"varint,11,opt,name=keyExpiry,proto3" json:"keyExpiry,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *TailscalePeer) Reset() {
- *x = TailscalePeer{}
- mi := &file_daemon_started_service_proto_msgTypes[34]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *TailscalePeer) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TailscalePeer) ProtoMessage() {}
- func (x *TailscalePeer) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[34]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use TailscalePeer.ProtoReflect.Descriptor instead.
- func (*TailscalePeer) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{34}
- }
- func (x *TailscalePeer) GetHostName() string {
- if x != nil {
- return x.HostName
- }
- return ""
- }
- func (x *TailscalePeer) GetDnsName() string {
- if x != nil {
- return x.DnsName
- }
- return ""
- }
- func (x *TailscalePeer) GetOs() string {
- if x != nil {
- return x.Os
- }
- return ""
- }
- func (x *TailscalePeer) GetTailscaleIPs() []string {
- if x != nil {
- return x.TailscaleIPs
- }
- return nil
- }
- func (x *TailscalePeer) GetOnline() bool {
- if x != nil {
- return x.Online
- }
- return false
- }
- func (x *TailscalePeer) GetExitNode() bool {
- if x != nil {
- return x.ExitNode
- }
- return false
- }
- func (x *TailscalePeer) GetExitNodeOption() bool {
- if x != nil {
- return x.ExitNodeOption
- }
- return false
- }
- func (x *TailscalePeer) GetActive() bool {
- if x != nil {
- return x.Active
- }
- return false
- }
- func (x *TailscalePeer) GetRxBytes() int64 {
- if x != nil {
- return x.RxBytes
- }
- return 0
- }
- func (x *TailscalePeer) GetTxBytes() int64 {
- if x != nil {
- return x.TxBytes
- }
- return 0
- }
- func (x *TailscalePeer) GetKeyExpiry() int64 {
- if x != nil {
- return x.KeyExpiry
- }
- return 0
- }
- type TailscalePingRequest struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- EndpointTag string `protobuf:"bytes,1,opt,name=endpointTag,proto3" json:"endpointTag,omitempty"`
- PeerIP string `protobuf:"bytes,2,opt,name=peerIP,proto3" json:"peerIP,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *TailscalePingRequest) Reset() {
- *x = TailscalePingRequest{}
- mi := &file_daemon_started_service_proto_msgTypes[35]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *TailscalePingRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TailscalePingRequest) ProtoMessage() {}
- func (x *TailscalePingRequest) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[35]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use TailscalePingRequest.ProtoReflect.Descriptor instead.
- func (*TailscalePingRequest) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{35}
- }
- func (x *TailscalePingRequest) GetEndpointTag() string {
- if x != nil {
- return x.EndpointTag
- }
- return ""
- }
- func (x *TailscalePingRequest) GetPeerIP() string {
- if x != nil {
- return x.PeerIP
- }
- return ""
- }
- type TailscalePingResponse struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- LatencyMs float64 `protobuf:"fixed64,1,opt,name=latencyMs,proto3" json:"latencyMs,omitempty"`
- IsDirect bool `protobuf:"varint,2,opt,name=isDirect,proto3" json:"isDirect,omitempty"`
- Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
- DerpRegionID int32 `protobuf:"varint,4,opt,name=derpRegionID,proto3" json:"derpRegionID,omitempty"`
- DerpRegionCode string `protobuf:"bytes,5,opt,name=derpRegionCode,proto3" json:"derpRegionCode,omitempty"`
- Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *TailscalePingResponse) Reset() {
- *x = TailscalePingResponse{}
- mi := &file_daemon_started_service_proto_msgTypes[36]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *TailscalePingResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TailscalePingResponse) ProtoMessage() {}
- func (x *TailscalePingResponse) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[36]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use TailscalePingResponse.ProtoReflect.Descriptor instead.
- func (*TailscalePingResponse) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{36}
- }
- func (x *TailscalePingResponse) GetLatencyMs() float64 {
- if x != nil {
- return x.LatencyMs
- }
- return 0
- }
- func (x *TailscalePingResponse) GetIsDirect() bool {
- if x != nil {
- return x.IsDirect
- }
- return false
- }
- func (x *TailscalePingResponse) GetEndpoint() string {
- if x != nil {
- return x.Endpoint
- }
- return ""
- }
- func (x *TailscalePingResponse) GetDerpRegionID() int32 {
- if x != nil {
- return x.DerpRegionID
- }
- return 0
- }
- func (x *TailscalePingResponse) GetDerpRegionCode() string {
- if x != nil {
- return x.DerpRegionCode
- }
- return ""
- }
- func (x *TailscalePingResponse) GetError() string {
- if x != nil {
- return x.Error
- }
- return ""
- }
- type Log_Message struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Level LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=daemon.LogLevel" json:"level,omitempty"`
- Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *Log_Message) Reset() {
- *x = Log_Message{}
- mi := &file_daemon_started_service_proto_msgTypes[37]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *Log_Message) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Log_Message) ProtoMessage() {}
- func (x *Log_Message) ProtoReflect() protoreflect.Message {
- mi := &file_daemon_started_service_proto_msgTypes[37]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Log_Message.ProtoReflect.Descriptor instead.
- func (*Log_Message) Descriptor() ([]byte, []int) {
- return file_daemon_started_service_proto_rawDescGZIP(), []int{3, 0}
- }
- func (x *Log_Message) GetLevel() LogLevel {
- if x != nil {
- return x.Level
- }
- return LogLevel_PANIC
- }
- func (x *Log_Message) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
- }
- var File_daemon_started_service_proto protoreflect.FileDescriptor
- const file_daemon_started_service_proto_rawDesc = "" +
- "\n" +
- "\x1cdaemon/started_service.proto\x12\x06daemon\x1a\x1bgoogle/protobuf/empty.proto\"\xad\x01\n" +
- "\rServiceStatus\x122\n" +
- "\x06status\x18\x01 \x01(\x0e2\x1a.daemon.ServiceStatus.TypeR\x06status\x12\"\n" +
- "\ferrorMessage\x18\x02 \x01(\tR\ferrorMessage\"D\n" +
- "\x04Type\x12\b\n" +
- "\x04IDLE\x10\x00\x12\f\n" +
- "\bSTARTING\x10\x01\x12\v\n" +
- "\aSTARTED\x10\x02\x12\f\n" +
- "\bSTOPPING\x10\x03\x12\t\n" +
- "\x05FATAL\x10\x04\"D\n" +
- "\x14ReloadServiceRequest\x12,\n" +
- "\x11newProfileContent\x18\x01 \x01(\tR\x11newProfileContent\"4\n" +
- "\x16SubscribeStatusRequest\x12\x1a\n" +
- "\binterval\x18\x01 \x01(\x03R\binterval\"\x99\x01\n" +
- "\x03Log\x12/\n" +
- "\bmessages\x18\x01 \x03(\v2\x13.daemon.Log.MessageR\bmessages\x12\x14\n" +
- "\x05reset\x18\x02 \x01(\bR\x05reset\x1aK\n" +
- "\aMessage\x12&\n" +
- "\x05level\x18\x01 \x01(\x0e2\x10.daemon.LogLevelR\x05level\x12\x18\n" +
- "\amessage\x18\x02 \x01(\tR\amessage\"9\n" +
- "\x0fDefaultLogLevel\x12&\n" +
- "\x05level\x18\x01 \x01(\x0e2\x10.daemon.LogLevelR\x05level\"\xb6\x02\n" +
- "\x06Status\x12\x16\n" +
- "\x06memory\x18\x01 \x01(\x04R\x06memory\x12\x1e\n" +
- "\n" +
- "goroutines\x18\x02 \x01(\x05R\n" +
- "goroutines\x12$\n" +
- "\rconnectionsIn\x18\x03 \x01(\x05R\rconnectionsIn\x12&\n" +
- "\x0econnectionsOut\x18\x04 \x01(\x05R\x0econnectionsOut\x12*\n" +
- "\x10trafficAvailable\x18\x05 \x01(\bR\x10trafficAvailable\x12\x16\n" +
- "\x06uplink\x18\x06 \x01(\x03R\x06uplink\x12\x1a\n" +
- "\bdownlink\x18\a \x01(\x03R\bdownlink\x12 \n" +
- "\vuplinkTotal\x18\b \x01(\x03R\vuplinkTotal\x12$\n" +
- "\rdownlinkTotal\x18\t \x01(\x03R\rdownlinkTotal\"-\n" +
- "\x06Groups\x12#\n" +
- "\x05group\x18\x01 \x03(\v2\r.daemon.GroupR\x05group\"\xae\x01\n" +
- "\x05Group\x12\x10\n" +
- "\x03tag\x18\x01 \x01(\tR\x03tag\x12\x12\n" +
- "\x04type\x18\x02 \x01(\tR\x04type\x12\x1e\n" +
- "\n" +
- "selectable\x18\x03 \x01(\bR\n" +
- "selectable\x12\x1a\n" +
- "\bselected\x18\x04 \x01(\tR\bselected\x12\x1a\n" +
- "\bisExpand\x18\x05 \x01(\bR\bisExpand\x12'\n" +
- "\x05items\x18\x06 \x03(\v2\x11.daemon.GroupItemR\x05items\"w\n" +
- "\tGroupItem\x12\x10\n" +
- "\x03tag\x18\x01 \x01(\tR\x03tag\x12\x12\n" +
- "\x04type\x18\x02 \x01(\tR\x04type\x12 \n" +
- "\vurlTestTime\x18\x03 \x01(\x03R\vurlTestTime\x12\"\n" +
- "\furlTestDelay\x18\x04 \x01(\x05R\furlTestDelay\"2\n" +
- "\x0eURLTestRequest\x12 \n" +
- "\voutboundTag\x18\x01 \x01(\tR\voutboundTag\"U\n" +
- "\x15SelectOutboundRequest\x12\x1a\n" +
- "\bgroupTag\x18\x01 \x01(\tR\bgroupTag\x12 \n" +
- "\voutboundTag\x18\x02 \x01(\tR\voutboundTag\"O\n" +
- "\x15SetGroupExpandRequest\x12\x1a\n" +
- "\bgroupTag\x18\x01 \x01(\tR\bgroupTag\x12\x1a\n" +
- "\bisExpand\x18\x02 \x01(\bR\bisExpand\"\x1f\n" +
- "\tClashMode\x12\x12\n" +
- "\x04mode\x18\x03 \x01(\tR\x04mode\"O\n" +
- "\x0fClashModeStatus\x12\x1a\n" +
- "\bmodeList\x18\x01 \x03(\tR\bmodeList\x12 \n" +
- "\vcurrentMode\x18\x02 \x01(\tR\vcurrentMode\"K\n" +
- "\x11SystemProxyStatus\x12\x1c\n" +
- "\tavailable\x18\x01 \x01(\bR\tavailable\x12\x18\n" +
- "\aenabled\x18\x02 \x01(\bR\aenabled\"8\n" +
- "\x1cSetSystemProxyEnabledRequest\x12\x18\n" +
- "\aenabled\x18\x01 \x01(\bR\aenabled\"c\n" +
- "\x11DebugCrashRequest\x122\n" +
- "\x04type\x18\x01 \x01(\x0e2\x1e.daemon.DebugCrashRequest.TypeR\x04type\"\x1a\n" +
- "\x04Type\x12\x06\n" +
- "\x02GO\x10\x00\x12\n" +
- "\n" +
- "\x06NATIVE\x10\x01\"9\n" +
- "\x1bSubscribeConnectionsRequest\x12\x1a\n" +
- "\binterval\x18\x01 \x01(\x03R\binterval\"\xea\x01\n" +
- "\x0fConnectionEvent\x12/\n" +
- "\x04type\x18\x01 \x01(\x0e2\x1b.daemon.ConnectionEventTypeR\x04type\x12\x0e\n" +
- "\x02id\x18\x02 \x01(\tR\x02id\x122\n" +
- "\n" +
- "connection\x18\x03 \x01(\v2\x12.daemon.ConnectionR\n" +
- "connection\x12 \n" +
- "\vuplinkDelta\x18\x04 \x01(\x03R\vuplinkDelta\x12$\n" +
- "\rdownlinkDelta\x18\x05 \x01(\x03R\rdownlinkDelta\x12\x1a\n" +
- "\bclosedAt\x18\x06 \x01(\x03R\bclosedAt\"Y\n" +
- "\x10ConnectionEvents\x12/\n" +
- "\x06events\x18\x01 \x03(\v2\x17.daemon.ConnectionEventR\x06events\x12\x14\n" +
- "\x05reset\x18\x02 \x01(\bR\x05reset\"\x95\x05\n" +
- "\n" +
- "Connection\x12\x0e\n" +
- "\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n" +
- "\ainbound\x18\x02 \x01(\tR\ainbound\x12 \n" +
- "\vinboundType\x18\x03 \x01(\tR\vinboundType\x12\x1c\n" +
- "\tipVersion\x18\x04 \x01(\x05R\tipVersion\x12\x18\n" +
- "\anetwork\x18\x05 \x01(\tR\anetwork\x12\x16\n" +
- "\x06source\x18\x06 \x01(\tR\x06source\x12 \n" +
- "\vdestination\x18\a \x01(\tR\vdestination\x12\x16\n" +
- "\x06domain\x18\b \x01(\tR\x06domain\x12\x1a\n" +
- "\bprotocol\x18\t \x01(\tR\bprotocol\x12\x12\n" +
- "\x04user\x18\n" +
- " \x01(\tR\x04user\x12\"\n" +
- "\ffromOutbound\x18\v \x01(\tR\ffromOutbound\x12\x1c\n" +
- "\tcreatedAt\x18\f \x01(\x03R\tcreatedAt\x12\x1a\n" +
- "\bclosedAt\x18\r \x01(\x03R\bclosedAt\x12\x16\n" +
- "\x06uplink\x18\x0e \x01(\x03R\x06uplink\x12\x1a\n" +
- "\bdownlink\x18\x0f \x01(\x03R\bdownlink\x12 \n" +
- "\vuplinkTotal\x18\x10 \x01(\x03R\vuplinkTotal\x12$\n" +
- "\rdownlinkTotal\x18\x11 \x01(\x03R\rdownlinkTotal\x12\x12\n" +
- "\x04rule\x18\x12 \x01(\tR\x04rule\x12\x1a\n" +
- "\boutbound\x18\x13 \x01(\tR\boutbound\x12\"\n" +
- "\foutboundType\x18\x14 \x01(\tR\foutboundType\x12\x1c\n" +
- "\tchainList\x18\x15 \x03(\tR\tchainList\x125\n" +
- "\vprocessInfo\x18\x16 \x01(\v2\x13.daemon.ProcessInfoR\vprocessInfo\"\xa5\x01\n" +
- "\vProcessInfo\x12\x1c\n" +
- "\tprocessId\x18\x01 \x01(\rR\tprocessId\x12\x16\n" +
- "\x06userId\x18\x02 \x01(\x05R\x06userId\x12\x1a\n" +
- "\buserName\x18\x03 \x01(\tR\buserName\x12 \n" +
- "\vprocessPath\x18\x04 \x01(\tR\vprocessPath\x12\"\n" +
- "\fpackageNames\x18\x05 \x03(\tR\fpackageNames\"(\n" +
- "\x16CloseConnectionRequest\x12\x0e\n" +
- "\x02id\x18\x01 \x01(\tR\x02id\"K\n" +
- "\x12DeprecatedWarnings\x125\n" +
- "\bwarnings\x18\x01 \x03(\v2\x19.daemon.DeprecatedWarningR\bwarnings\"\xed\x01\n" +
- "\x11DeprecatedWarning\x12\x18\n" +
- "\amessage\x18\x01 \x01(\tR\amessage\x12\x1c\n" +
- "\timpending\x18\x02 \x01(\bR\timpending\x12$\n" +
- "\rmigrationLink\x18\x03 \x01(\tR\rmigrationLink\x12 \n" +
- "\vdescription\x18\x04 \x01(\tR\vdescription\x12,\n" +
- "\x11deprecatedVersion\x18\x05 \x01(\tR\x11deprecatedVersion\x12*\n" +
- "\x10scheduledVersion\x18\x06 \x01(\tR\x10scheduledVersion\")\n" +
- "\tStartedAt\x12\x1c\n" +
- "\tstartedAt\x18\x01 \x01(\x03R\tstartedAt\"?\n" +
- "\fOutboundList\x12/\n" +
- "\toutbounds\x18\x01 \x03(\v2\x11.daemon.GroupItemR\toutbounds\"\xb7\x01\n" +
- "\x19NetworkQualityTestRequest\x12\x1c\n" +
- "\tconfigURL\x18\x01 \x01(\tR\tconfigURL\x12 \n" +
- "\voutboundTag\x18\x02 \x01(\tR\voutboundTag\x12\x16\n" +
- "\x06serial\x18\x03 \x01(\bR\x06serial\x12,\n" +
- "\x11maxRuntimeSeconds\x18\x04 \x01(\x05R\x11maxRuntimeSeconds\x12\x14\n" +
- "\x05http3\x18\x05 \x01(\bR\x05http3\"\x8e\x04\n" +
- "\x1aNetworkQualityTestProgress\x12\x14\n" +
- "\x05phase\x18\x01 \x01(\x05R\x05phase\x12*\n" +
- "\x10downloadCapacity\x18\x02 \x01(\x03R\x10downloadCapacity\x12&\n" +
- "\x0euploadCapacity\x18\x03 \x01(\x03R\x0euploadCapacity\x12 \n" +
- "\vdownloadRPM\x18\x04 \x01(\x05R\vdownloadRPM\x12\x1c\n" +
- "\tuploadRPM\x18\x05 \x01(\x05R\tuploadRPM\x12$\n" +
- "\ridleLatencyMs\x18\x06 \x01(\x05R\ridleLatencyMs\x12\x1c\n" +
- "\telapsedMs\x18\a \x01(\x03R\telapsedMs\x12\x18\n" +
- "\aisFinal\x18\b \x01(\bR\aisFinal\x12\x14\n" +
- "\x05error\x18\t \x01(\tR\x05error\x12:\n" +
- "\x18downloadCapacityAccuracy\x18\n" +
- " \x01(\x05R\x18downloadCapacityAccuracy\x126\n" +
- "\x16uploadCapacityAccuracy\x18\v \x01(\x05R\x16uploadCapacityAccuracy\x120\n" +
- "\x13downloadRPMAccuracy\x18\f \x01(\x05R\x13downloadRPMAccuracy\x12,\n" +
- "\x11uploadRPMAccuracy\x18\r \x01(\x05R\x11uploadRPMAccuracy\"K\n" +
- "\x0fSTUNTestRequest\x12\x16\n" +
- "\x06server\x18\x01 \x01(\tR\x06server\x12 \n" +
- "\voutboundTag\x18\x02 \x01(\tR\voutboundTag\"\x8a\x02\n" +
- "\x10STUNTestProgress\x12\x14\n" +
- "\x05phase\x18\x01 \x01(\x05R\x05phase\x12\"\n" +
- "\fexternalAddr\x18\x02 \x01(\tR\fexternalAddr\x12\x1c\n" +
- "\tlatencyMs\x18\x03 \x01(\x05R\tlatencyMs\x12\x1e\n" +
- "\n" +
- "natMapping\x18\x04 \x01(\x05R\n" +
- "natMapping\x12\"\n" +
- "\fnatFiltering\x18\x05 \x01(\x05R\fnatFiltering\x12\x18\n" +
- "\aisFinal\x18\x06 \x01(\bR\aisFinal\x12\x14\n" +
- "\x05error\x18\a \x01(\tR\x05error\x12*\n" +
- "\x10natTypeSupported\x18\b \x01(\bR\x10natTypeSupported\"V\n" +
- "\x15TailscaleStatusUpdate\x12=\n" +
- "\tendpoints\x18\x01 \x03(\v2\x1f.daemon.TailscaleEndpointStatusR\tendpoints\"\xaa\x02\n" +
- "\x17TailscaleEndpointStatus\x12 \n" +
- "\vendpointTag\x18\x01 \x01(\tR\vendpointTag\x12\"\n" +
- "\fbackendState\x18\x02 \x01(\tR\fbackendState\x12\x18\n" +
- "\aauthURL\x18\x03 \x01(\tR\aauthURL\x12 \n" +
- "\vnetworkName\x18\x04 \x01(\tR\vnetworkName\x12&\n" +
- "\x0emagicDNSSuffix\x18\x05 \x01(\tR\x0emagicDNSSuffix\x12)\n" +
- "\x04self\x18\x06 \x01(\v2\x15.daemon.TailscalePeerR\x04self\x12:\n" +
- "\n" +
- "userGroups\x18\a \x03(\v2\x1a.daemon.TailscaleUserGroupR\n" +
- "userGroups\"\xbf\x01\n" +
- "\x12TailscaleUserGroup\x12\x16\n" +
- "\x06userID\x18\x01 \x01(\x03R\x06userID\x12\x1c\n" +
- "\tloginName\x18\x02 \x01(\tR\tloginName\x12 \n" +
- "\vdisplayName\x18\x03 \x01(\tR\vdisplayName\x12$\n" +
- "\rprofilePicURL\x18\x04 \x01(\tR\rprofilePicURL\x12+\n" +
- "\x05peers\x18\x05 \x03(\v2\x15.daemon.TailscalePeerR\x05peers\"\xbf\x02\n" +
- "\rTailscalePeer\x12\x1a\n" +
- "\bhostName\x18\x01 \x01(\tR\bhostName\x12\x18\n" +
- "\adnsName\x18\x02 \x01(\tR\adnsName\x12\x0e\n" +
- "\x02os\x18\x03 \x01(\tR\x02os\x12\"\n" +
- "\ftailscaleIPs\x18\x04 \x03(\tR\ftailscaleIPs\x12\x16\n" +
- "\x06online\x18\x05 \x01(\bR\x06online\x12\x1a\n" +
- "\bexitNode\x18\x06 \x01(\bR\bexitNode\x12&\n" +
- "\x0eexitNodeOption\x18\a \x01(\bR\x0eexitNodeOption\x12\x16\n" +
- "\x06active\x18\b \x01(\bR\x06active\x12\x18\n" +
- "\arxBytes\x18\t \x01(\x03R\arxBytes\x12\x18\n" +
- "\atxBytes\x18\n" +
- " \x01(\x03R\atxBytes\x12\x1c\n" +
- "\tkeyExpiry\x18\v \x01(\x03R\tkeyExpiry\"P\n" +
- "\x14TailscalePingRequest\x12 \n" +
- "\vendpointTag\x18\x01 \x01(\tR\vendpointTag\x12\x16\n" +
- "\x06peerIP\x18\x02 \x01(\tR\x06peerIP\"\xcf\x01\n" +
- "\x15TailscalePingResponse\x12\x1c\n" +
- "\tlatencyMs\x18\x01 \x01(\x01R\tlatencyMs\x12\x1a\n" +
- "\bisDirect\x18\x02 \x01(\bR\bisDirect\x12\x1a\n" +
- "\bendpoint\x18\x03 \x01(\tR\bendpoint\x12\"\n" +
- "\fderpRegionID\x18\x04 \x01(\x05R\fderpRegionID\x12&\n" +
- "\x0ederpRegionCode\x18\x05 \x01(\tR\x0ederpRegionCode\x12\x14\n" +
- "\x05error\x18\x06 \x01(\tR\x05error*U\n" +
- "\bLogLevel\x12\t\n" +
- "\x05PANIC\x10\x00\x12\t\n" +
- "\x05FATAL\x10\x01\x12\t\n" +
- "\x05ERROR\x10\x02\x12\b\n" +
- "\x04WARN\x10\x03\x12\b\n" +
- "\x04INFO\x10\x04\x12\t\n" +
- "\x05DEBUG\x10\x05\x12\t\n" +
- "\x05TRACE\x10\x06*i\n" +
- "\x13ConnectionEventType\x12\x18\n" +
- "\x14CONNECTION_EVENT_NEW\x10\x00\x12\x1b\n" +
- "\x17CONNECTION_EVENT_UPDATE\x10\x01\x12\x1b\n" +
- "\x17CONNECTION_EVENT_CLOSED\x10\x022\x99\x10\n" +
- "\x0eStartedService\x12=\n" +
- "\vStopService\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x12?\n" +
- "\rReloadService\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x12K\n" +
- "\x16SubscribeServiceStatus\x12\x16.google.protobuf.Empty\x1a\x15.daemon.ServiceStatus\"\x000\x01\x127\n" +
- "\fSubscribeLog\x12\x16.google.protobuf.Empty\x1a\v.daemon.Log\"\x000\x01\x12G\n" +
- "\x12GetDefaultLogLevel\x12\x16.google.protobuf.Empty\x1a\x17.daemon.DefaultLogLevel\"\x00\x12=\n" +
- "\tClearLogs\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\"\x00\x12E\n" +
- "\x0fSubscribeStatus\x12\x1e.daemon.SubscribeStatusRequest\x1a\x0e.daemon.Status\"\x000\x01\x12=\n" +
- "\x0fSubscribeGroups\x12\x16.google.protobuf.Empty\x1a\x0e.daemon.Groups\"\x000\x01\x12G\n" +
- "\x12GetClashModeStatus\x12\x16.google.protobuf.Empty\x1a\x17.daemon.ClashModeStatus\"\x00\x12C\n" +
- "\x12SubscribeClashMode\x12\x16.google.protobuf.Empty\x1a\x11.daemon.ClashMode\"\x000\x01\x12;\n" +
- "\fSetClashMode\x12\x11.daemon.ClashMode\x1a\x16.google.protobuf.Empty\"\x00\x12;\n" +
- "\aURLTest\x12\x16.daemon.URLTestRequest\x1a\x16.google.protobuf.Empty\"\x00\x12I\n" +
- "\x0eSelectOutbound\x12\x1d.daemon.SelectOutboundRequest\x1a\x16.google.protobuf.Empty\"\x00\x12I\n" +
- "\x0eSetGroupExpand\x12\x1d.daemon.SetGroupExpandRequest\x1a\x16.google.protobuf.Empty\"\x00\x12K\n" +
- "\x14GetSystemProxyStatus\x12\x16.google.protobuf.Empty\x1a\x19.daemon.SystemProxyStatus\"\x00\x12W\n" +
- "\x15SetSystemProxyEnabled\x12$.daemon.SetSystemProxyEnabledRequest\x1a\x16.google.protobuf.Empty\"\x00\x12H\n" +
- "\x11TriggerDebugCrash\x12\x19.daemon.DebugCrashRequest\x1a\x16.google.protobuf.Empty\"\x00\x12D\n" +
- "\x10TriggerOOMReport\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\"\x00\x12Y\n" +
- "\x14SubscribeConnections\x12#.daemon.SubscribeConnectionsRequest\x1a\x18.daemon.ConnectionEvents\"\x000\x01\x12K\n" +
- "\x0fCloseConnection\x12\x1e.daemon.CloseConnectionRequest\x1a\x16.google.protobuf.Empty\"\x00\x12G\n" +
- "\x13CloseAllConnections\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\"\x00\x12M\n" +
- "\x15GetDeprecatedWarnings\x12\x16.google.protobuf.Empty\x1a\x1a.daemon.DeprecatedWarnings\"\x00\x12;\n" +
- "\fGetStartedAt\x12\x16.google.protobuf.Empty\x1a\x11.daemon.StartedAt\"\x00\x12F\n" +
- "\x12SubscribeOutbounds\x12\x16.google.protobuf.Empty\x1a\x14.daemon.OutboundList\"\x000\x01\x12d\n" +
- "\x17StartNetworkQualityTest\x12!.daemon.NetworkQualityTestRequest\x1a\".daemon.NetworkQualityTestProgress\"\x000\x01\x12F\n" +
- "\rStartSTUNTest\x12\x17.daemon.STUNTestRequest\x1a\x18.daemon.STUNTestProgress\"\x000\x01\x12U\n" +
- "\x18SubscribeTailscaleStatus\x12\x16.google.protobuf.Empty\x1a\x1d.daemon.TailscaleStatusUpdate\"\x000\x01\x12U\n" +
- "\x12StartTailscalePing\x12\x1c.daemon.TailscalePingRequest\x1a\x1d.daemon.TailscalePingResponse\"\x000\x01B%Z#github.com/sagernet/sing-box/daemonb\x06proto3"
- var (
- file_daemon_started_service_proto_rawDescOnce sync.Once
- file_daemon_started_service_proto_rawDescData []byte
- )
- func file_daemon_started_service_proto_rawDescGZIP() []byte {
- file_daemon_started_service_proto_rawDescOnce.Do(func() {
- 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)))
- })
- return file_daemon_started_service_proto_rawDescData
- }
- var (
- file_daemon_started_service_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
- file_daemon_started_service_proto_msgTypes = make([]protoimpl.MessageInfo, 38)
- file_daemon_started_service_proto_goTypes = []any{
- (LogLevel)(0), // 0: daemon.LogLevel
- (ConnectionEventType)(0), // 1: daemon.ConnectionEventType
- (ServiceStatus_Type)(0), // 2: daemon.ServiceStatus.Type
- (DebugCrashRequest_Type)(0), // 3: daemon.DebugCrashRequest.Type
- (*ServiceStatus)(nil), // 4: daemon.ServiceStatus
- (*ReloadServiceRequest)(nil), // 5: daemon.ReloadServiceRequest
- (*SubscribeStatusRequest)(nil), // 6: daemon.SubscribeStatusRequest
- (*Log)(nil), // 7: daemon.Log
- (*DefaultLogLevel)(nil), // 8: daemon.DefaultLogLevel
- (*Status)(nil), // 9: daemon.Status
- (*Groups)(nil), // 10: daemon.Groups
- (*Group)(nil), // 11: daemon.Group
- (*GroupItem)(nil), // 12: daemon.GroupItem
- (*URLTestRequest)(nil), // 13: daemon.URLTestRequest
- (*SelectOutboundRequest)(nil), // 14: daemon.SelectOutboundRequest
- (*SetGroupExpandRequest)(nil), // 15: daemon.SetGroupExpandRequest
- (*ClashMode)(nil), // 16: daemon.ClashMode
- (*ClashModeStatus)(nil), // 17: daemon.ClashModeStatus
- (*SystemProxyStatus)(nil), // 18: daemon.SystemProxyStatus
- (*SetSystemProxyEnabledRequest)(nil), // 19: daemon.SetSystemProxyEnabledRequest
- (*DebugCrashRequest)(nil), // 20: daemon.DebugCrashRequest
- (*SubscribeConnectionsRequest)(nil), // 21: daemon.SubscribeConnectionsRequest
- (*ConnectionEvent)(nil), // 22: daemon.ConnectionEvent
- (*ConnectionEvents)(nil), // 23: daemon.ConnectionEvents
- (*Connection)(nil), // 24: daemon.Connection
- (*ProcessInfo)(nil), // 25: daemon.ProcessInfo
- (*CloseConnectionRequest)(nil), // 26: daemon.CloseConnectionRequest
- (*DeprecatedWarnings)(nil), // 27: daemon.DeprecatedWarnings
- (*DeprecatedWarning)(nil), // 28: daemon.DeprecatedWarning
- (*StartedAt)(nil), // 29: daemon.StartedAt
- (*OutboundList)(nil), // 30: daemon.OutboundList
- (*NetworkQualityTestRequest)(nil), // 31: daemon.NetworkQualityTestRequest
- (*NetworkQualityTestProgress)(nil), // 32: daemon.NetworkQualityTestProgress
- (*STUNTestRequest)(nil), // 33: daemon.STUNTestRequest
- (*STUNTestProgress)(nil), // 34: daemon.STUNTestProgress
- (*TailscaleStatusUpdate)(nil), // 35: daemon.TailscaleStatusUpdate
- (*TailscaleEndpointStatus)(nil), // 36: daemon.TailscaleEndpointStatus
- (*TailscaleUserGroup)(nil), // 37: daemon.TailscaleUserGroup
- (*TailscalePeer)(nil), // 38: daemon.TailscalePeer
- (*TailscalePingRequest)(nil), // 39: daemon.TailscalePingRequest
- (*TailscalePingResponse)(nil), // 40: daemon.TailscalePingResponse
- (*Log_Message)(nil), // 41: daemon.Log.Message
- (*emptypb.Empty)(nil), // 42: google.protobuf.Empty
- }
- )
- var file_daemon_started_service_proto_depIdxs = []int32{
- 2, // 0: daemon.ServiceStatus.status:type_name -> daemon.ServiceStatus.Type
- 41, // 1: daemon.Log.messages:type_name -> daemon.Log.Message
- 0, // 2: daemon.DefaultLogLevel.level:type_name -> daemon.LogLevel
- 11, // 3: daemon.Groups.group:type_name -> daemon.Group
- 12, // 4: daemon.Group.items:type_name -> daemon.GroupItem
- 3, // 5: daemon.DebugCrashRequest.type:type_name -> daemon.DebugCrashRequest.Type
- 1, // 6: daemon.ConnectionEvent.type:type_name -> daemon.ConnectionEventType
- 24, // 7: daemon.ConnectionEvent.connection:type_name -> daemon.Connection
- 22, // 8: daemon.ConnectionEvents.events:type_name -> daemon.ConnectionEvent
- 25, // 9: daemon.Connection.processInfo:type_name -> daemon.ProcessInfo
- 28, // 10: daemon.DeprecatedWarnings.warnings:type_name -> daemon.DeprecatedWarning
- 12, // 11: daemon.OutboundList.outbounds:type_name -> daemon.GroupItem
- 36, // 12: daemon.TailscaleStatusUpdate.endpoints:type_name -> daemon.TailscaleEndpointStatus
- 38, // 13: daemon.TailscaleEndpointStatus.self:type_name -> daemon.TailscalePeer
- 37, // 14: daemon.TailscaleEndpointStatus.userGroups:type_name -> daemon.TailscaleUserGroup
- 38, // 15: daemon.TailscaleUserGroup.peers:type_name -> daemon.TailscalePeer
- 0, // 16: daemon.Log.Message.level:type_name -> daemon.LogLevel
- 42, // 17: daemon.StartedService.StopService:input_type -> google.protobuf.Empty
- 42, // 18: daemon.StartedService.ReloadService:input_type -> google.protobuf.Empty
- 42, // 19: daemon.StartedService.SubscribeServiceStatus:input_type -> google.protobuf.Empty
- 42, // 20: daemon.StartedService.SubscribeLog:input_type -> google.protobuf.Empty
- 42, // 21: daemon.StartedService.GetDefaultLogLevel:input_type -> google.protobuf.Empty
- 42, // 22: daemon.StartedService.ClearLogs:input_type -> google.protobuf.Empty
- 6, // 23: daemon.StartedService.SubscribeStatus:input_type -> daemon.SubscribeStatusRequest
- 42, // 24: daemon.StartedService.SubscribeGroups:input_type -> google.protobuf.Empty
- 42, // 25: daemon.StartedService.GetClashModeStatus:input_type -> google.protobuf.Empty
- 42, // 26: daemon.StartedService.SubscribeClashMode:input_type -> google.protobuf.Empty
- 16, // 27: daemon.StartedService.SetClashMode:input_type -> daemon.ClashMode
- 13, // 28: daemon.StartedService.URLTest:input_type -> daemon.URLTestRequest
- 14, // 29: daemon.StartedService.SelectOutbound:input_type -> daemon.SelectOutboundRequest
- 15, // 30: daemon.StartedService.SetGroupExpand:input_type -> daemon.SetGroupExpandRequest
- 42, // 31: daemon.StartedService.GetSystemProxyStatus:input_type -> google.protobuf.Empty
- 19, // 32: daemon.StartedService.SetSystemProxyEnabled:input_type -> daemon.SetSystemProxyEnabledRequest
- 20, // 33: daemon.StartedService.TriggerDebugCrash:input_type -> daemon.DebugCrashRequest
- 42, // 34: daemon.StartedService.TriggerOOMReport:input_type -> google.protobuf.Empty
- 21, // 35: daemon.StartedService.SubscribeConnections:input_type -> daemon.SubscribeConnectionsRequest
- 26, // 36: daemon.StartedService.CloseConnection:input_type -> daemon.CloseConnectionRequest
- 42, // 37: daemon.StartedService.CloseAllConnections:input_type -> google.protobuf.Empty
- 42, // 38: daemon.StartedService.GetDeprecatedWarnings:input_type -> google.protobuf.Empty
- 42, // 39: daemon.StartedService.GetStartedAt:input_type -> google.protobuf.Empty
- 42, // 40: daemon.StartedService.SubscribeOutbounds:input_type -> google.protobuf.Empty
- 31, // 41: daemon.StartedService.StartNetworkQualityTest:input_type -> daemon.NetworkQualityTestRequest
- 33, // 42: daemon.StartedService.StartSTUNTest:input_type -> daemon.STUNTestRequest
- 42, // 43: daemon.StartedService.SubscribeTailscaleStatus:input_type -> google.protobuf.Empty
- 39, // 44: daemon.StartedService.StartTailscalePing:input_type -> daemon.TailscalePingRequest
- 42, // 45: daemon.StartedService.StopService:output_type -> google.protobuf.Empty
- 42, // 46: daemon.StartedService.ReloadService:output_type -> google.protobuf.Empty
- 4, // 47: daemon.StartedService.SubscribeServiceStatus:output_type -> daemon.ServiceStatus
- 7, // 48: daemon.StartedService.SubscribeLog:output_type -> daemon.Log
- 8, // 49: daemon.StartedService.GetDefaultLogLevel:output_type -> daemon.DefaultLogLevel
- 42, // 50: daemon.StartedService.ClearLogs:output_type -> google.protobuf.Empty
- 9, // 51: daemon.StartedService.SubscribeStatus:output_type -> daemon.Status
- 10, // 52: daemon.StartedService.SubscribeGroups:output_type -> daemon.Groups
- 17, // 53: daemon.StartedService.GetClashModeStatus:output_type -> daemon.ClashModeStatus
- 16, // 54: daemon.StartedService.SubscribeClashMode:output_type -> daemon.ClashMode
- 42, // 55: daemon.StartedService.SetClashMode:output_type -> google.protobuf.Empty
- 42, // 56: daemon.StartedService.URLTest:output_type -> google.protobuf.Empty
- 42, // 57: daemon.StartedService.SelectOutbound:output_type -> google.protobuf.Empty
- 42, // 58: daemon.StartedService.SetGroupExpand:output_type -> google.protobuf.Empty
- 18, // 59: daemon.StartedService.GetSystemProxyStatus:output_type -> daemon.SystemProxyStatus
- 42, // 60: daemon.StartedService.SetSystemProxyEnabled:output_type -> google.protobuf.Empty
- 42, // 61: daemon.StartedService.TriggerDebugCrash:output_type -> google.protobuf.Empty
- 42, // 62: daemon.StartedService.TriggerOOMReport:output_type -> google.protobuf.Empty
- 23, // 63: daemon.StartedService.SubscribeConnections:output_type -> daemon.ConnectionEvents
- 42, // 64: daemon.StartedService.CloseConnection:output_type -> google.protobuf.Empty
- 42, // 65: daemon.StartedService.CloseAllConnections:output_type -> google.protobuf.Empty
- 27, // 66: daemon.StartedService.GetDeprecatedWarnings:output_type -> daemon.DeprecatedWarnings
- 29, // 67: daemon.StartedService.GetStartedAt:output_type -> daemon.StartedAt
- 30, // 68: daemon.StartedService.SubscribeOutbounds:output_type -> daemon.OutboundList
- 32, // 69: daemon.StartedService.StartNetworkQualityTest:output_type -> daemon.NetworkQualityTestProgress
- 34, // 70: daemon.StartedService.StartSTUNTest:output_type -> daemon.STUNTestProgress
- 35, // 71: daemon.StartedService.SubscribeTailscaleStatus:output_type -> daemon.TailscaleStatusUpdate
- 40, // 72: daemon.StartedService.StartTailscalePing:output_type -> daemon.TailscalePingResponse
- 45, // [45:73] is the sub-list for method output_type
- 17, // [17:45] is the sub-list for method input_type
- 17, // [17:17] is the sub-list for extension type_name
- 17, // [17:17] is the sub-list for extension extendee
- 0, // [0:17] is the sub-list for field type_name
- }
- func init() { file_daemon_started_service_proto_init() }
- func file_daemon_started_service_proto_init() {
- if File_daemon_started_service_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_daemon_started_service_proto_rawDesc), len(file_daemon_started_service_proto_rawDesc)),
- NumEnums: 4,
- NumMessages: 38,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_daemon_started_service_proto_goTypes,
- DependencyIndexes: file_daemon_started_service_proto_depIdxs,
- EnumInfos: file_daemon_started_service_proto_enumTypes,
- MessageInfos: file_daemon_started_service_proto_msgTypes,
- }.Build()
- File_daemon_started_service_proto = out.File
- file_daemon_started_service_proto_goTypes = nil
- file_daemon_started_service_proto_depIdxs = nil
- }
|