mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-04-11 17:47:20 +10:00
3198 lines
99 KiB
Go
3198 lines
99 KiB
Go
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
|
|
}
|