Files
umbrix-libcore/hiddifyrpc/hiddify.pb.go

2585 lines
91 KiB
Go
Raw Normal View History

2024-03-03 04:15:19 +01:00
// Code generated by protoc-gen-go. DO NOT EDIT.
2024-09-26 23:16:20 +02:00
// versions:
// protoc-gen-go v1.34.2
// protoc v5.28.0
// source: hiddify.proto
2024-03-03 04:15:19 +01:00
package hiddifyrpc
import (
2024-09-26 23:16:20 +02:00
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
2024-03-03 04:15:19 +01:00
)
const (
2024-09-26 23:16:20 +02:00
// 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)
2024-03-03 04:15:19 +01:00
)
type CoreState int32
const (
CoreState_STOPPED CoreState = 0
CoreState_STARTING CoreState = 1
CoreState_STARTED CoreState = 2
CoreState_STOPPING CoreState = 3
)
2024-09-26 23:16:20 +02:00
// Enum value maps for CoreState.
var (
CoreState_name = map[int32]string{
0: "STOPPED",
1: "STARTING",
2: "STARTED",
3: "STOPPING",
}
CoreState_value = map[string]int32{
"STOPPED": 0,
"STARTING": 1,
"STARTED": 2,
"STOPPING": 3,
}
)
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x CoreState) Enum() *CoreState {
p := new(CoreState)
*p = x
return p
2024-03-03 04:15:19 +01:00
}
func (x CoreState) String() string {
2024-09-26 23:16:20 +02:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CoreState) Descriptor() protoreflect.EnumDescriptor {
return file_hiddify_proto_enumTypes[0].Descriptor()
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (CoreState) Type() protoreflect.EnumType {
return &file_hiddify_proto_enumTypes[0]
}
func (x CoreState) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use CoreState.Descriptor instead.
2024-03-03 04:15:19 +01:00
func (CoreState) EnumDescriptor() ([]byte, []int) {
2024-09-26 23:16:20 +02:00
return file_hiddify_proto_rawDescGZIP(), []int{0}
2024-03-03 04:15:19 +01:00
}
type MessageType int32
const (
MessageType_EMPTY MessageType = 0
MessageType_EMPTY_CONFIGURATION MessageType = 1
MessageType_START_COMMAND_SERVER MessageType = 2
MessageType_CREATE_SERVICE MessageType = 3
MessageType_START_SERVICE MessageType = 4
MessageType_UNEXPECTED_ERROR MessageType = 5
MessageType_ALREADY_STARTED MessageType = 6
MessageType_ALREADY_STOPPED MessageType = 7
MessageType_INSTANCE_NOT_FOUND MessageType = 8
MessageType_INSTANCE_NOT_STOPPED MessageType = 9
MessageType_INSTANCE_NOT_STARTED MessageType = 10
MessageType_ERROR_BUILDING_CONFIG MessageType = 11
MessageType_ERROR_PARSING_CONFIG MessageType = 12
MessageType_ERROR_READING_CONFIG MessageType = 13
)
2024-09-26 23:16:20 +02:00
// Enum value maps for MessageType.
var (
MessageType_name = map[int32]string{
0: "EMPTY",
1: "EMPTY_CONFIGURATION",
2: "START_COMMAND_SERVER",
3: "CREATE_SERVICE",
4: "START_SERVICE",
5: "UNEXPECTED_ERROR",
6: "ALREADY_STARTED",
7: "ALREADY_STOPPED",
8: "INSTANCE_NOT_FOUND",
9: "INSTANCE_NOT_STOPPED",
10: "INSTANCE_NOT_STARTED",
11: "ERROR_BUILDING_CONFIG",
12: "ERROR_PARSING_CONFIG",
13: "ERROR_READING_CONFIG",
}
MessageType_value = map[string]int32{
"EMPTY": 0,
"EMPTY_CONFIGURATION": 1,
"START_COMMAND_SERVER": 2,
"CREATE_SERVICE": 3,
"START_SERVICE": 4,
"UNEXPECTED_ERROR": 5,
"ALREADY_STARTED": 6,
"ALREADY_STOPPED": 7,
"INSTANCE_NOT_FOUND": 8,
"INSTANCE_NOT_STOPPED": 9,
"INSTANCE_NOT_STARTED": 10,
"ERROR_BUILDING_CONFIG": 11,
"ERROR_PARSING_CONFIG": 12,
"ERROR_READING_CONFIG": 13,
}
)
func (x MessageType) Enum() *MessageType {
p := new(MessageType)
*p = x
return p
2024-03-03 04:15:19 +01:00
}
func (x MessageType) String() string {
2024-09-26 23:16:20 +02:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (MessageType) Descriptor() protoreflect.EnumDescriptor {
return file_hiddify_proto_enumTypes[1].Descriptor()
}
func (MessageType) Type() protoreflect.EnumType {
return &file_hiddify_proto_enumTypes[1]
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x MessageType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use MessageType.Descriptor instead.
2024-03-03 04:15:19 +01:00
func (MessageType) EnumDescriptor() ([]byte, []int) {
2024-09-26 23:16:20 +02:00
return file_hiddify_proto_rawDescGZIP(), []int{1}
2024-03-03 04:15:19 +01:00
}
type LogLevel int32
const (
LogLevel_DEBUG LogLevel = 0
LogLevel_INFO LogLevel = 1
LogLevel_WARNING LogLevel = 2
LogLevel_ERROR LogLevel = 3
LogLevel_FATAL LogLevel = 4
)
2024-09-26 23:16:20 +02:00
// Enum value maps for LogLevel.
var (
LogLevel_name = map[int32]string{
0: "DEBUG",
1: "INFO",
2: "WARNING",
3: "ERROR",
4: "FATAL",
}
LogLevel_value = map[string]int32{
"DEBUG": 0,
"INFO": 1,
"WARNING": 2,
"ERROR": 3,
"FATAL": 4,
}
)
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x LogLevel) Enum() *LogLevel {
p := new(LogLevel)
*p = x
return p
2024-03-03 04:15:19 +01:00
}
func (x LogLevel) String() string {
2024-09-26 23:16:20 +02:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (LogLevel) Descriptor() protoreflect.EnumDescriptor {
return file_hiddify_proto_enumTypes[2].Descriptor()
}
func (LogLevel) Type() protoreflect.EnumType {
return &file_hiddify_proto_enumTypes[2]
}
func (x LogLevel) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use LogLevel.Descriptor instead.
2024-03-03 04:15:19 +01:00
func (LogLevel) EnumDescriptor() ([]byte, []int) {
2024-09-26 23:16:20 +02:00
return file_hiddify_proto_rawDescGZIP(), []int{2}
2024-03-03 04:15:19 +01:00
}
type LogType int32
const (
LogType_CORE LogType = 0
LogType_SERVICE LogType = 1
LogType_CONFIG LogType = 2
)
2024-09-26 23:16:20 +02:00
// Enum value maps for LogType.
var (
LogType_name = map[int32]string{
0: "CORE",
1: "SERVICE",
2: "CONFIG",
}
LogType_value = map[string]int32{
"CORE": 0,
"SERVICE": 1,
"CONFIG": 2,
}
)
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x LogType) Enum() *LogType {
p := new(LogType)
*p = x
return p
2024-03-03 04:15:19 +01:00
}
func (x LogType) String() string {
2024-09-26 23:16:20 +02:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (LogType) Descriptor() protoreflect.EnumDescriptor {
return file_hiddify_proto_enumTypes[3].Descriptor()
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (LogType) Type() protoreflect.EnumType {
return &file_hiddify_proto_enumTypes[3]
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x LogType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use LogType.Descriptor instead.
func (LogType) EnumDescriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{3}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
type CoreInfoResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CoreState CoreState `protobuf:"varint,1,opt,name=core_state,json=coreState,proto3,enum=hiddifyrpc.CoreState" json:"core_state,omitempty"`
MessageType MessageType `protobuf:"varint,2,opt,name=message_type,json=messageType,proto3,enum=hiddifyrpc.MessageType" json:"message_type,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *CoreInfoResponse) Reset() {
*x = CoreInfoResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *CoreInfoResponse) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*CoreInfoResponse) ProtoMessage() {}
func (x *CoreInfoResponse) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use CoreInfoResponse.ProtoReflect.Descriptor instead.
func (*CoreInfoResponse) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{0}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *CoreInfoResponse) GetCoreState() CoreState {
if x != nil {
return x.CoreState
2024-03-03 04:15:19 +01:00
}
return CoreState_STOPPED
}
2024-09-26 23:16:20 +02:00
func (x *CoreInfoResponse) GetMessageType() MessageType {
if x != nil {
return x.MessageType
2024-03-03 04:15:19 +01:00
}
return MessageType_EMPTY
}
2024-09-26 23:16:20 +02:00
func (x *CoreInfoResponse) GetMessage() string {
if x != nil {
return x.Message
2024-03-03 04:15:19 +01:00
}
return ""
}
type StartRequest struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
ConfigPath string `protobuf:"bytes,1,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"`
ConfigContent string `protobuf:"bytes,2,opt,name=config_content,json=configContent,proto3" json:"config_content,omitempty"` // Optional if configPath is not provided.
DisableMemoryLimit bool `protobuf:"varint,3,opt,name=disable_memory_limit,json=disableMemoryLimit,proto3" json:"disable_memory_limit,omitempty"`
DelayStart bool `protobuf:"varint,4,opt,name=delay_start,json=delayStart,proto3" json:"delay_start,omitempty"`
EnableOldCommandServer bool `protobuf:"varint,5,opt,name=enable_old_command_server,json=enableOldCommandServer,proto3" json:"enable_old_command_server,omitempty"`
EnableRawConfig bool `protobuf:"varint,6,opt,name=enable_raw_config,json=enableRawConfig,proto3" json:"enable_raw_config,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *StartRequest) Reset() {
*x = StartRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *StartRequest) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*StartRequest) ProtoMessage() {}
func (x *StartRequest) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.
func (*StartRequest) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{1}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *StartRequest) GetConfigPath() string {
if x != nil {
return x.ConfigPath
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *StartRequest) GetConfigContent() string {
if x != nil {
return x.ConfigContent
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *StartRequest) GetDisableMemoryLimit() bool {
if x != nil {
return x.DisableMemoryLimit
2024-03-03 04:15:19 +01:00
}
return false
}
2024-09-26 23:16:20 +02:00
func (x *StartRequest) GetDelayStart() bool {
if x != nil {
return x.DelayStart
2024-03-03 04:15:19 +01:00
}
return false
}
2024-09-26 23:16:20 +02:00
func (x *StartRequest) GetEnableOldCommandServer() bool {
if x != nil {
return x.EnableOldCommandServer
}
return false
}
2024-09-26 23:16:20 +02:00
func (x *StartRequest) GetEnableRawConfig() bool {
if x != nil {
return x.EnableRawConfig
}
return false
}
2024-03-03 04:15:19 +01:00
type SetupRequest struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
BasePath string `protobuf:"bytes,1,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty"`
WorkingPath string `protobuf:"bytes,2,opt,name=working_path,json=workingPath,proto3" json:"working_path,omitempty"`
TempPath string `protobuf:"bytes,3,opt,name=temp_path,json=tempPath,proto3" json:"temp_path,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *SetupRequest) Reset() {
*x = SetupRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *SetupRequest) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*SetupRequest) ProtoMessage() {}
func (x *SetupRequest) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use SetupRequest.ProtoReflect.Descriptor instead.
func (*SetupRequest) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{2}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *SetupRequest) GetBasePath() string {
if x != nil {
return x.BasePath
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *SetupRequest) GetWorkingPath() string {
if x != nil {
return x.WorkingPath
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *SetupRequest) GetTempPath() string {
if x != nil {
return x.TempPath
2024-03-03 04:15:19 +01:00
}
return ""
}
type Response struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
ResponseCode ResponseCode `protobuf:"varint,1,opt,name=response_code,json=responseCode,proto3,enum=hiddifyrpc.ResponseCode" json:"response_code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *Response) Reset() {
*x = Response{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2024-03-03 04:15:19 +01:00
}
}
2024-09-26 23:16:20 +02:00
func (x *Response) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*Response) ProtoMessage() {}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *Response) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use Response.ProtoReflect.Descriptor instead.
func (*Response) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{3}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *Response) GetResponseCode() ResponseCode {
if x != nil {
return x.ResponseCode
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
return ResponseCode_OK
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *Response) GetMessage() string {
if x != nil {
return x.Message
}
return ""
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
type SystemInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
Memory int64 `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=connections_in,json=connectionsIn,proto3" json:"connections_in,omitempty"`
ConnectionsOut int32 `protobuf:"varint,4,opt,name=connections_out,json=connectionsOut,proto3" json:"connections_out,omitempty"`
TrafficAvailable bool `protobuf:"varint,5,opt,name=traffic_available,json=trafficAvailable,proto3" json:"traffic_available,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=uplink_total,json=uplinkTotal,proto3" json:"uplink_total,omitempty"`
DownlinkTotal int64 `protobuf:"varint,9,opt,name=downlink_total,json=downlinkTotal,proto3" json:"downlink_total,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *SystemInfo) Reset() {
*x = SystemInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
2024-03-03 04:15:19 +01:00
}
}
2024-09-26 23:16:20 +02:00
func (x *SystemInfo) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*SystemInfo) ProtoMessage() {}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *SystemInfo) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use SystemInfo.ProtoReflect.Descriptor instead.
2024-03-03 04:15:19 +01:00
func (*SystemInfo) Descriptor() ([]byte, []int) {
2024-09-26 23:16:20 +02:00
return file_hiddify_proto_rawDescGZIP(), []int{4}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *SystemInfo) GetMemory() int64 {
if x != nil {
return x.Memory
2024-03-03 04:15:19 +01:00
}
return 0
}
2024-09-26 23:16:20 +02:00
func (x *SystemInfo) GetGoroutines() int32 {
if x != nil {
return x.Goroutines
2024-03-03 04:15:19 +01:00
}
return 0
}
2024-09-26 23:16:20 +02:00
func (x *SystemInfo) GetConnectionsIn() int32 {
if x != nil {
return x.ConnectionsIn
2024-03-03 04:15:19 +01:00
}
return 0
}
2024-09-26 23:16:20 +02:00
func (x *SystemInfo) GetConnectionsOut() int32 {
if x != nil {
return x.ConnectionsOut
2024-03-03 04:15:19 +01:00
}
return 0
}
2024-09-26 23:16:20 +02:00
func (x *SystemInfo) GetTrafficAvailable() bool {
if x != nil {
return x.TrafficAvailable
2024-03-03 04:15:19 +01:00
}
return false
}
2024-09-26 23:16:20 +02:00
func (x *SystemInfo) GetUplink() int64 {
if x != nil {
return x.Uplink
2024-03-03 04:15:19 +01:00
}
return 0
}
2024-09-26 23:16:20 +02:00
func (x *SystemInfo) GetDownlink() int64 {
if x != nil {
return x.Downlink
2024-03-03 04:15:19 +01:00
}
return 0
}
2024-09-26 23:16:20 +02:00
func (x *SystemInfo) GetUplinkTotal() int64 {
if x != nil {
return x.UplinkTotal
2024-03-03 04:15:19 +01:00
}
return 0
}
2024-09-26 23:16:20 +02:00
func (x *SystemInfo) GetDownlinkTotal() int64 {
if x != nil {
return x.DownlinkTotal
2024-03-03 04:15:19 +01:00
}
return 0
}
type OutboundGroupItem struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
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=url_test_time,json=urlTestTime,proto3" json:"url_test_time,omitempty"`
UrlTestDelay int32 `protobuf:"varint,4,opt,name=url_test_delay,json=urlTestDelay,proto3" json:"url_test_delay,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *OutboundGroupItem) Reset() {
*x = OutboundGroupItem{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *OutboundGroupItem) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*OutboundGroupItem) ProtoMessage() {}
func (x *OutboundGroupItem) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use OutboundGroupItem.ProtoReflect.Descriptor instead.
func (*OutboundGroupItem) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{5}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *OutboundGroupItem) GetTag() string {
if x != nil {
return x.Tag
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *OutboundGroupItem) GetType() string {
if x != nil {
return x.Type
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *OutboundGroupItem) GetUrlTestTime() int64 {
if x != nil {
return x.UrlTestTime
2024-03-03 04:15:19 +01:00
}
return 0
}
2024-09-26 23:16:20 +02:00
func (x *OutboundGroupItem) GetUrlTestDelay() int32 {
if x != nil {
return x.UrlTestDelay
2024-03-03 04:15:19 +01:00
}
return 0
}
type OutboundGroup struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Selected string `protobuf:"bytes,3,opt,name=selected,proto3" json:"selected,omitempty"`
Items []*OutboundGroupItem `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *OutboundGroup) Reset() {
*x = OutboundGroup{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *OutboundGroup) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*OutboundGroup) ProtoMessage() {}
func (x *OutboundGroup) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use OutboundGroup.ProtoReflect.Descriptor instead.
func (*OutboundGroup) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{6}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *OutboundGroup) GetTag() string {
if x != nil {
return x.Tag
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *OutboundGroup) GetType() string {
if x != nil {
return x.Type
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *OutboundGroup) GetSelected() string {
if x != nil {
return x.Selected
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *OutboundGroup) GetItems() []*OutboundGroupItem {
if x != nil {
return x.Items
2024-03-03 04:15:19 +01:00
}
return nil
}
type OutboundGroupList struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
Items []*OutboundGroup `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *OutboundGroupList) Reset() {
*x = OutboundGroupList{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *OutboundGroupList) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*OutboundGroupList) ProtoMessage() {}
func (x *OutboundGroupList) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use OutboundGroupList.ProtoReflect.Descriptor instead.
func (*OutboundGroupList) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{7}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *OutboundGroupList) GetItems() []*OutboundGroup {
if x != nil {
return x.Items
2024-03-03 04:15:19 +01:00
}
return nil
}
type WarpAccount struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *WarpAccount) Reset() {
*x = WarpAccount{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *WarpAccount) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*WarpAccount) ProtoMessage() {}
func (x *WarpAccount) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use WarpAccount.ProtoReflect.Descriptor instead.
func (*WarpAccount) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{8}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *WarpAccount) GetAccountId() string {
if x != nil {
return x.AccountId
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *WarpAccount) GetAccessToken() string {
if x != nil {
return x.AccessToken
2024-03-03 04:15:19 +01:00
}
return ""
}
type WarpWireguardConfig struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
PrivateKey string `protobuf:"bytes,1,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
LocalAddressIpv4 string `protobuf:"bytes,2,opt,name=local_address_ipv4,json=localAddressIpv4,proto3" json:"local_address_ipv4,omitempty"`
LocalAddressIpv6 string `protobuf:"bytes,3,opt,name=local_address_ipv6,json=localAddressIpv6,proto3" json:"local_address_ipv6,omitempty"`
PeerPublicKey string `protobuf:"bytes,4,opt,name=peer_public_key,json=peerPublicKey,proto3" json:"peer_public_key,omitempty"`
ClientId string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *WarpWireguardConfig) Reset() {
*x = WarpWireguardConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *WarpWireguardConfig) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*WarpWireguardConfig) ProtoMessage() {}
func (x *WarpWireguardConfig) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use WarpWireguardConfig.ProtoReflect.Descriptor instead.
func (*WarpWireguardConfig) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{9}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *WarpWireguardConfig) GetPrivateKey() string {
if x != nil {
return x.PrivateKey
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *WarpWireguardConfig) GetLocalAddressIpv4() string {
if x != nil {
return x.LocalAddressIpv4
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *WarpWireguardConfig) GetLocalAddressIpv6() string {
if x != nil {
return x.LocalAddressIpv6
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *WarpWireguardConfig) GetPeerPublicKey() string {
if x != nil {
return x.PeerPublicKey
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *WarpWireguardConfig) GetClientId() string {
if x != nil {
return x.ClientId
}
return ""
}
2024-03-03 04:15:19 +01:00
type WarpGenerationResponse struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
Account *WarpAccount `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
Log string `protobuf:"bytes,2,opt,name=log,proto3" json:"log,omitempty"`
Config *WarpWireguardConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *WarpGenerationResponse) Reset() {
*x = WarpGenerationResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *WarpGenerationResponse) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*WarpGenerationResponse) ProtoMessage() {}
func (x *WarpGenerationResponse) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use WarpGenerationResponse.ProtoReflect.Descriptor instead.
func (*WarpGenerationResponse) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{10}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *WarpGenerationResponse) GetAccount() *WarpAccount {
if x != nil {
return x.Account
2024-03-03 04:15:19 +01:00
}
return nil
}
2024-09-26 23:16:20 +02:00
func (x *WarpGenerationResponse) GetLog() string {
if x != nil {
return x.Log
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *WarpGenerationResponse) GetConfig() *WarpWireguardConfig {
if x != nil {
return x.Config
2024-03-03 04:15:19 +01:00
}
return nil
}
type SystemProxyStatus struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
Available bool `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *SystemProxyStatus) Reset() {
*x = SystemProxyStatus{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *SystemProxyStatus) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*SystemProxyStatus) ProtoMessage() {}
func (x *SystemProxyStatus) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use SystemProxyStatus.ProtoReflect.Descriptor instead.
func (*SystemProxyStatus) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{11}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *SystemProxyStatus) GetAvailable() bool {
if x != nil {
return x.Available
2024-03-03 04:15:19 +01:00
}
return false
}
2024-09-26 23:16:20 +02:00
func (x *SystemProxyStatus) GetEnabled() bool {
if x != nil {
return x.Enabled
2024-03-03 04:15:19 +01:00
}
return false
}
type ParseRequest struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
ConfigPath string `protobuf:"bytes,2,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"`
TempPath string `protobuf:"bytes,3,opt,name=temp_path,json=tempPath,proto3" json:"temp_path,omitempty"`
Debug bool `protobuf:"varint,4,opt,name=debug,proto3" json:"debug,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *ParseRequest) Reset() {
*x = ParseRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *ParseRequest) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*ParseRequest) ProtoMessage() {}
func (x *ParseRequest) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use ParseRequest.ProtoReflect.Descriptor instead.
func (*ParseRequest) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{12}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *ParseRequest) GetContent() string {
if x != nil {
return x.Content
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *ParseRequest) GetConfigPath() string {
if x != nil {
return x.ConfigPath
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *ParseRequest) GetTempPath() string {
if x != nil {
return x.TempPath
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *ParseRequest) GetDebug() bool {
if x != nil {
return x.Debug
2024-03-03 04:15:19 +01:00
}
return false
}
type ParseResponse struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
ResponseCode ResponseCode `protobuf:"varint,1,opt,name=response_code,json=responseCode,proto3,enum=hiddifyrpc.ResponseCode" json:"response_code,omitempty"`
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *ParseResponse) Reset() {
*x = ParseResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *ParseResponse) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*ParseResponse) ProtoMessage() {}
func (x *ParseResponse) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use ParseResponse.ProtoReflect.Descriptor instead.
func (*ParseResponse) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{13}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *ParseResponse) GetResponseCode() ResponseCode {
if x != nil {
return x.ResponseCode
2024-03-03 04:15:19 +01:00
}
return ResponseCode_OK
}
2024-09-26 23:16:20 +02:00
func (x *ParseResponse) GetContent() string {
if x != nil {
return x.Content
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *ParseResponse) GetMessage() string {
if x != nil {
return x.Message
2024-03-03 04:15:19 +01:00
}
return ""
}
type ChangeHiddifySettingsRequest struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
HiddifySettingsJson string `protobuf:"bytes,1,opt,name=hiddify_settings_json,json=hiddifySettingsJson,proto3" json:"hiddify_settings_json,omitempty"`
2024-03-03 04:15:19 +01:00
}
func (x *ChangeHiddifySettingsRequest) Reset() {
*x = ChangeHiddifySettingsRequest{}
2024-09-26 23:16:20 +02:00
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *ChangeHiddifySettingsRequest) String() string {
2024-09-26 23:16:20 +02:00
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*ChangeHiddifySettingsRequest) ProtoMessage() {}
2024-09-26 23:16:20 +02:00
func (x *ChangeHiddifySettingsRequest) ProtoReflect() protoreflect.Message {
2024-09-26 23:16:20 +02:00
mi := &file_hiddify_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
// Deprecated: Use ChangeHiddifySettingsRequest.ProtoReflect.Descriptor instead.
func (*ChangeHiddifySettingsRequest) Descriptor() ([]byte, []int) {
2024-09-26 23:16:20 +02:00
return file_hiddify_proto_rawDescGZIP(), []int{14}
}
2024-03-03 04:15:19 +01:00
func (x *ChangeHiddifySettingsRequest) GetHiddifySettingsJson() string {
2024-09-26 23:16:20 +02:00
if x != nil {
return x.HiddifySettingsJson
2024-03-03 04:15:19 +01:00
}
return ""
}
type GenerateConfigRequest struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
TempPath string `protobuf:"bytes,2,opt,name=temp_path,json=tempPath,proto3" json:"temp_path,omitempty"`
Debug bool `protobuf:"varint,3,opt,name=debug,proto3" json:"debug,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *GenerateConfigRequest) Reset() {
*x = GenerateConfigRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *GenerateConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*GenerateConfigRequest) ProtoMessage() {}
func (x *GenerateConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use GenerateConfigRequest.ProtoReflect.Descriptor instead.
func (*GenerateConfigRequest) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{15}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *GenerateConfigRequest) GetPath() string {
if x != nil {
return x.Path
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *GenerateConfigRequest) GetTempPath() string {
if x != nil {
return x.TempPath
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *GenerateConfigRequest) GetDebug() bool {
if x != nil {
return x.Debug
2024-03-03 04:15:19 +01:00
}
return false
}
type GenerateConfigResponse struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
ConfigContent string `protobuf:"bytes,1,opt,name=config_content,json=configContent,proto3" json:"config_content,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *GenerateConfigResponse) Reset() {
*x = GenerateConfigResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *GenerateConfigResponse) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*GenerateConfigResponse) ProtoMessage() {}
func (x *GenerateConfigResponse) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use GenerateConfigResponse.ProtoReflect.Descriptor instead.
func (*GenerateConfigResponse) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{16}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *GenerateConfigResponse) GetConfigContent() string {
if x != nil {
return x.ConfigContent
2024-03-03 04:15:19 +01:00
}
return ""
}
type SelectOutboundRequest struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
GroupTag string `protobuf:"bytes,1,opt,name=group_tag,json=groupTag,proto3" json:"group_tag,omitempty"`
OutboundTag string `protobuf:"bytes,2,opt,name=outbound_tag,json=outboundTag,proto3" json:"outbound_tag,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *SelectOutboundRequest) Reset() {
*x = SelectOutboundRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *SelectOutboundRequest) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*SelectOutboundRequest) ProtoMessage() {}
func (x *SelectOutboundRequest) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use SelectOutboundRequest.ProtoReflect.Descriptor instead.
func (*SelectOutboundRequest) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{17}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *SelectOutboundRequest) GetGroupTag() string {
if x != nil {
return x.GroupTag
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *SelectOutboundRequest) GetOutboundTag() string {
if x != nil {
return x.OutboundTag
2024-03-03 04:15:19 +01:00
}
return ""
}
type UrlTestRequest struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
GroupTag string `protobuf:"bytes,1,opt,name=group_tag,json=groupTag,proto3" json:"group_tag,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *UrlTestRequest) Reset() {
*x = UrlTestRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *UrlTestRequest) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*UrlTestRequest) ProtoMessage() {}
func (x *UrlTestRequest) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[18]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use UrlTestRequest.ProtoReflect.Descriptor instead.
func (*UrlTestRequest) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{18}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *UrlTestRequest) GetGroupTag() string {
if x != nil {
return x.GroupTag
2024-03-03 04:15:19 +01:00
}
return ""
}
type GenerateWarpConfigRequest struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
LicenseKey string `protobuf:"bytes,1,opt,name=license_key,json=licenseKey,proto3" json:"license_key,omitempty"`
AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *GenerateWarpConfigRequest) Reset() {
*x = GenerateWarpConfigRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *GenerateWarpConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*GenerateWarpConfigRequest) ProtoMessage() {}
func (x *GenerateWarpConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[19]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use GenerateWarpConfigRequest.ProtoReflect.Descriptor instead.
func (*GenerateWarpConfigRequest) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{19}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *GenerateWarpConfigRequest) GetLicenseKey() string {
if x != nil {
return x.LicenseKey
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *GenerateWarpConfigRequest) GetAccountId() string {
if x != nil {
return x.AccountId
2024-03-03 04:15:19 +01:00
}
return ""
}
2024-09-26 23:16:20 +02:00
func (x *GenerateWarpConfigRequest) GetAccessToken() string {
if x != nil {
return x.AccessToken
2024-03-03 04:15:19 +01:00
}
return ""
}
type SetSystemProxyEnabledRequest struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
IsEnabled bool `protobuf:"varint,1,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *SetSystemProxyEnabledRequest) Reset() {
*x = SetSystemProxyEnabledRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *SetSystemProxyEnabledRequest) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*SetSystemProxyEnabledRequest) ProtoMessage() {}
func (x *SetSystemProxyEnabledRequest) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[20]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use SetSystemProxyEnabledRequest.ProtoReflect.Descriptor instead.
func (*SetSystemProxyEnabledRequest) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{20}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *SetSystemProxyEnabledRequest) GetIsEnabled() bool {
if x != nil {
return x.IsEnabled
2024-03-03 04:15:19 +01:00
}
return false
}
type LogMessage struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
Level LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=hiddifyrpc.LogLevel" json:"level,omitempty"`
Type LogType `protobuf:"varint,2,opt,name=type,proto3,enum=hiddifyrpc.LogType" json:"type,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *LogMessage) Reset() {
*x = LogMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *LogMessage) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*LogMessage) ProtoMessage() {}
func (x *LogMessage) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[21]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use LogMessage.ProtoReflect.Descriptor instead.
func (*LogMessage) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{21}
}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *LogMessage) GetLevel() LogLevel {
if x != nil {
return x.Level
2024-03-03 04:15:19 +01:00
}
return LogLevel_DEBUG
}
2024-09-26 23:16:20 +02:00
func (x *LogMessage) GetType() LogType {
if x != nil {
return x.Type
2024-03-03 04:15:19 +01:00
}
return LogType_CORE
}
2024-09-26 23:16:20 +02:00
func (x *LogMessage) GetMessage() string {
if x != nil {
return x.Message
2024-03-03 04:15:19 +01:00
}
return ""
}
type StopRequest struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *StopRequest) Reset() {
*x = StopRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (x *StopRequest) String() string {
return protoimpl.X.MessageStringOf(x)
2024-03-03 04:15:19 +01:00
}
2024-09-26 23:16:20 +02:00
func (*StopRequest) ProtoMessage() {}
2024-03-03 04:15:19 +01:00
2024-09-26 23:16:20 +02:00
func (x *StopRequest) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[22]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.
func (*StopRequest) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{22}
}
2024-09-26 23:16:20 +02:00
type TunnelStartRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Ipv6 bool `protobuf:"varint,1,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
ServerPort int32 `protobuf:"varint,2,opt,name=server_port,json=serverPort,proto3" json:"server_port,omitempty"`
StrictRoute bool `protobuf:"varint,3,opt,name=strict_route,json=strictRoute,proto3" json:"strict_route,omitempty"`
EndpointIndependentNat bool `protobuf:"varint,4,opt,name=endpoint_independent_nat,json=endpointIndependentNat,proto3" json:"endpoint_independent_nat,omitempty"`
Stack string `protobuf:"bytes,5,opt,name=stack,proto3" json:"stack,omitempty"`
}
2024-09-26 23:16:20 +02:00
func (x *TunnelStartRequest) Reset() {
*x = TunnelStartRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2024-09-26 23:16:20 +02:00
func (x *TunnelStartRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
2024-09-26 23:16:20 +02:00
func (*TunnelStartRequest) ProtoMessage() {}
func (x *TunnelStartRequest) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[23]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use TunnelStartRequest.ProtoReflect.Descriptor instead.
func (*TunnelStartRequest) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{23}
}
2024-09-26 23:16:20 +02:00
func (x *TunnelStartRequest) GetIpv6() bool {
if x != nil {
return x.Ipv6
}
return false
}
2024-09-26 23:16:20 +02:00
func (x *TunnelStartRequest) GetServerPort() int32 {
if x != nil {
return x.ServerPort
}
return 0
}
2024-09-26 23:16:20 +02:00
func (x *TunnelStartRequest) GetStrictRoute() bool {
if x != nil {
return x.StrictRoute
}
return false
}
2024-09-26 23:16:20 +02:00
func (x *TunnelStartRequest) GetEndpointIndependentNat() bool {
if x != nil {
return x.EndpointIndependentNat
}
return false
}
2024-09-26 23:16:20 +02:00
func (x *TunnelStartRequest) GetStack() string {
if x != nil {
return x.Stack
}
return ""
}
type TunnelResponse struct {
2024-09-26 23:16:20 +02:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2024-09-26 23:16:20 +02:00
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
}
2024-09-26 23:16:20 +02:00
func (x *TunnelResponse) Reset() {
*x = TunnelResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_hiddify_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2024-09-26 23:16:20 +02:00
func (x *TunnelResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
2024-09-26 23:16:20 +02:00
func (*TunnelResponse) ProtoMessage() {}
func (x *TunnelResponse) ProtoReflect() protoreflect.Message {
mi := &file_hiddify_proto_msgTypes[24]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2024-09-26 23:16:20 +02:00
// Deprecated: Use TunnelResponse.ProtoReflect.Descriptor instead.
func (*TunnelResponse) Descriptor() ([]byte, []int) {
return file_hiddify_proto_rawDescGZIP(), []int{24}
}
2024-09-26 23:16:20 +02:00
func (x *TunnelResponse) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
2024-09-26 23:16:20 +02:00
var File_hiddify_proto protoreflect.FileDescriptor
var file_hiddify_proto_rawDesc = []byte{
0x0a, 0x0d, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
0x0a, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x1a, 0x0a, 0x62, 0x61, 0x73,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x01, 0x0a, 0x10, 0x43, 0x6f, 0x72, 0x65,
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x0a,
0x63, 0x6f, 0x72, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
0x32, 0x15, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f,
0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x09, 0x63, 0x6f, 0x72, 0x65, 0x53, 0x74, 0x61,
0x74, 0x65, 0x12, 0x3a, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79,
0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69,
0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70,
0x65, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18,
0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x90, 0x02, 0x0a, 0x0c, 0x53, 0x74, 0x61,
0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e,
0x66, 0x69, 0x67, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x61, 0x74, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f,
0x6e, 0x66, 0x69, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
0x74, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x65, 0x6d,
0x6f, 0x72, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
0x12, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4c, 0x69,
0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x73, 0x74, 0x61,
0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x53,
0x74, 0x61, 0x72, 0x74, 0x12, 0x39, 0x0a, 0x19, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f,
0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65,
0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4f,
0x6c, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12,
0x2a, 0x0a, 0x11, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x61, 0x77, 0x5f, 0x63, 0x6f,
0x6e, 0x66, 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x65, 0x6e, 0x61, 0x62,
0x6c, 0x65, 0x52, 0x61, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x6b, 0x0a, 0x0c, 0x53,
0x65, 0x74, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x62,
0x61, 0x73, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
0x62, 0x61, 0x73, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b,
0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x74,
0x65, 0x6d, 0x70, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
0x74, 0x65, 0x6d, 0x70, 0x50, 0x61, 0x74, 0x68, 0x22, 0x63, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x68, 0x69,
0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43,
0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xbf, 0x02,
0x0a, 0x0a, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06,
0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6d, 0x65,
0x6d, 0x6f, 0x72, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x6f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e,
0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x67, 0x6f, 0x72, 0x6f, 0x75, 0x74,
0x69, 0x6e, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69,
0x6f, 0x6e, 0x73, 0x5f, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x63, 0x6f,
0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x49, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x63,
0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x04,
0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x73, 0x4f, 0x75, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x5f,
0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52,
0x10, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c,
0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28,
0x03, 0x52, 0x06, 0x75, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x6f, 0x77,
0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x6f, 0x77,
0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x5f,
0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x75, 0x70, 0x6c,
0x69, 0x6e, 0x6b, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x6f, 0x77, 0x6e,
0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03,
0x52, 0x0d, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x22,
0x83, 0x01, 0x0a, 0x11, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75,
0x70, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x75,
0x72, 0x6c, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
0x28, 0x03, 0x52, 0x0b, 0x75, 0x72, 0x6c, 0x54, 0x65, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12,
0x24, 0x0a, 0x0e, 0x75, 0x72, 0x6c, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x64, 0x65, 0x6c, 0x61,
0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x75, 0x72, 0x6c, 0x54, 0x65, 0x73, 0x74,
0x44, 0x65, 0x6c, 0x61, 0x79, 0x22, 0x86, 0x01, 0x0a, 0x0d, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75,
0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a,
0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x33, 0x0a, 0x05, 0x69, 0x74, 0x65,
0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69,
0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x47, 0x72,
0x6f, 0x75, 0x70, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x44,
0x0a, 0x11, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c,
0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e,
0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x69,
0x74, 0x65, 0x6d, 0x73, 0x22, 0x4f, 0x0a, 0x0b, 0x57, 0x61, 0x72, 0x70, 0x41, 0x63, 0x63, 0x6f,
0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b,
0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73,
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xd7, 0x01, 0x0a, 0x13, 0x57, 0x61, 0x72, 0x70, 0x57, 0x69,
0x72, 0x65, 0x67, 0x75, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1f, 0x0a,
0x0b, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x2c,
0x0a, 0x12, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f,
0x69, 0x70, 0x76, 0x34, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x6f, 0x63, 0x61,
0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x70, 0x76, 0x34, 0x12, 0x2c, 0x0a, 0x12,
0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x70,
0x76, 0x36, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x41,
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x70, 0x76, 0x36, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x65,
0x65, 0x72, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x65, 0x65, 0x72, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b,
0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22,
0x96, 0x01, 0x0a, 0x16, 0x57, 0x61, 0x72, 0x70, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x07, 0x61, 0x63,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x68, 0x69,
0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x57, 0x61, 0x72, 0x70, 0x41, 0x63, 0x63,
0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x10, 0x0a,
0x03, 0x6c, 0x6f, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x12,
0x37, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x1f, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x57, 0x61, 0x72,
0x70, 0x57, 0x69, 0x72, 0x65, 0x67, 0x75, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x4b, 0x0a, 0x11, 0x53, 0x79, 0x73, 0x74,
0x65, 0x6d, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a,
0x09, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
0x52, 0x09, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65,
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e,
0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x7c, 0x0a, 0x0c, 0x50, 0x61, 0x72, 0x73, 0x65, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12,
0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x61, 0x74, 0x68,
0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x6d, 0x70, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x50, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a,
0x05, 0x64, 0x65, 0x62, 0x75, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, 0x65,
0x62, 0x75, 0x67, 0x22, 0x82, 0x01, 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x73, 0x65, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x68,
0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x43, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x18,
0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x52, 0x0a, 0x1c, 0x43, 0x68, 0x61, 0x6e,
0x67, 0x65, 0x48, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x68, 0x69, 0x64, 0x64,
0x69, 0x66, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x5f, 0x6a, 0x73, 0x6f,
0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79,
0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x4a, 0x73, 0x6f, 0x6e, 0x22, 0x5e, 0x0a, 0x15,
0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x6d,
0x70, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65,
0x6d, 0x70, 0x50, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x62, 0x75, 0x67, 0x18,
0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, 0x65, 0x62, 0x75, 0x67, 0x22, 0x3f, 0x0a, 0x16,
0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x57, 0x0a,
0x15, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f,
0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70,
0x54, 0x61, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f,
0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x75, 0x74, 0x62, 0x6f,
0x75, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x22, 0x2d, 0x0a, 0x0e, 0x55, 0x72, 0x6c, 0x54, 0x65, 0x73,
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75,
0x70, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x72, 0x6f,
0x75, 0x70, 0x54, 0x61, 0x67, 0x22, 0x7e, 0x0a, 0x19, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
0x65, 0x57, 0x61, 0x72, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x5f, 0x6b, 0x65,
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65,
0x4b, 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b,
0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73,
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x3d, 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x53, 0x79, 0x73, 0x74,
0x65, 0x6d, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x65, 0x6e, 0x61, 0x62,
0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x45, 0x6e, 0x61,
0x62, 0x6c, 0x65, 0x64, 0x22, 0x7b, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61,
0x67, 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0e, 0x32, 0x14, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4c,
0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x27,
0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x68,
0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, 0x54, 0x79, 0x70,
0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x22, 0xbc, 0x01, 0x0a, 0x12, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x72, 0x74,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x70, 0x76, 0x36, 0x18,
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x70, 0x76, 0x36, 0x12, 0x1f, 0x0a, 0x0b, 0x73,
0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x21, 0x0a, 0x0c,
0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01,
0x28, 0x08, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12,
0x38, 0x0a, 0x18, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65,
0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
0x08, 0x52, 0x16, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x70,
0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61,
0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x22,
0x2a, 0x0a, 0x0e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2a, 0x41, 0x0a, 0x09, 0x43,
0x6f, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x50,
0x50, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x54, 0x41, 0x52, 0x54, 0x49, 0x4e,
0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x02,
0x12, 0x0c, 0x0a, 0x08, 0x53, 0x54, 0x4f, 0x50, 0x50, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x2a, 0xcd,
0x02, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09,
0x0a, 0x05, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x4d, 0x50,
0x54, 0x59, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e,
0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x43, 0x4f, 0x4d, 0x4d,
0x41, 0x4e, 0x44, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e,
0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x03,
0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43,
0x45, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x4e, 0x45, 0x58, 0x50, 0x45, 0x43, 0x54, 0x45,
0x44, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x4c, 0x52,
0x45, 0x41, 0x44, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x06, 0x12, 0x13,
0x0a, 0x0f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x53, 0x54, 0x4f, 0x50, 0x50, 0x45,
0x44, 0x10, 0x07, 0x12, 0x16, 0x0a, 0x12, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x5f,
0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x08, 0x12, 0x18, 0x0a, 0x14, 0x49,
0x4e, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x54, 0x4f, 0x50,
0x50, 0x45, 0x44, 0x10, 0x09, 0x12, 0x18, 0x0a, 0x14, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4e, 0x43,
0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x0a, 0x12,
0x19, 0x0a, 0x15, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x49, 0x4e,
0x47, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x0b, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x52,
0x52, 0x4f, 0x52, 0x5f, 0x50, 0x41, 0x52, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x43, 0x4f, 0x4e, 0x46,
0x49, 0x47, 0x10, 0x0c, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x52, 0x45,
0x41, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x0d, 0x2a, 0x42,
0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x45,
0x42, 0x55, 0x47, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x01, 0x12,
0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05,
0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x41, 0x54, 0x41, 0x4c,
0x10, 0x04, 0x2a, 0x2c, 0x0a, 0x07, 0x4c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a,
0x04, 0x43, 0x4f, 0x52, 0x45, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x45, 0x52, 0x56, 0x49,
0x43, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10, 0x02,
0x32, 0x93, 0x01, 0x0a, 0x05, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x3f, 0x0a, 0x08, 0x53, 0x61,
0x79, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x18, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79,
0x72, 0x70, 0x63, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x19, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x48, 0x65,
0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0e, 0x53,
0x61, 0x79, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x18, 0x2e,
0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66,
0x79, 0x72, 0x70, 0x63, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x32, 0xbe, 0x09, 0x0a, 0x04, 0x43, 0x6f, 0x72, 0x65, 0x12,
0x3f, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69,
0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e,
0x43, 0x6f, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x45, 0x0a, 0x10, 0x43, 0x6f, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74,
0x65, 0x6e, 0x65, 0x72, 0x12, 0x11, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70,
0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66,
2024-09-26 23:16:20 +02:00
0x79, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x43, 0x0a, 0x0d, 0x4f, 0x75, 0x74, 0x62, 0x6f,
0x75, 0x6e, 0x64, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x11, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69,
0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1d, 0x2e, 0x68, 0x69,
0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e,
0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x30, 0x01, 0x12, 0x47, 0x0a, 0x11,
0x4d, 0x61, 0x69, 0x6e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x73, 0x49, 0x6e, 0x66,
0x6f, 0x12, 0x11, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x45,
0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1d, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70,
2024-09-26 23:16:20 +02:00
0x63, 0x2e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c,
0x69, 0x73, 0x74, 0x30, 0x01, 0x12, 0x3c, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, 0x79, 0x73, 0x74,
0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x11, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79,
0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x68, 0x69, 0x64, 0x64,
0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6e, 0x66,
0x6f, 0x30, 0x01, 0x12, 0x37, 0x0a, 0x05, 0x53, 0x65, 0x74, 0x75, 0x70, 0x12, 0x18, 0x2e, 0x68,
0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x74, 0x75, 0x70, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79,
0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x05,
0x50, 0x61, 0x72, 0x73, 0x65, 0x12, 0x18, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72,
0x70, 0x63, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x19, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x72,
0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x15, 0x43, 0x68,
0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69,
0x6e, 0x67, 0x73, 0x12, 0x28, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63,
0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x53, 0x65,
0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e,
0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x49,
0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0c, 0x53,
0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x18, 0x2e, 0x68, 0x69,
0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72,
0x70, 0x63, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x11, 0x2e, 0x68, 0x69,
0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c,
0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x72, 0x65,
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x07,
0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66,
0x79, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x1c, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x43,
0x6f, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x49, 0x0a, 0x0e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e,
0x64, 0x12, 0x21, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x53,
0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70,
0x63, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x55, 0x72,
0x6c, 0x54, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72,
0x70, 0x63, 0x2e, 0x55, 0x72, 0x6c, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x14, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x12, 0x47, 0x65, 0x6e, 0x65, 0x72,
0x61, 0x74, 0x65, 0x57, 0x61, 0x72, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x25, 0x2e,
0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72,
0x61, 0x74, 0x65, 0x57, 0x61, 0x72, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70,
0x63, 0x2e, 0x57, 0x61, 0x72, 0x70, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53,
0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
0x12, 0x11, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d,
0x70, 0x74, 0x79, 0x1a, 0x1d, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63,
0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x74, 0x61, 0x74,
0x75, 0x73, 0x12, 0x57, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x50,
0x72, 0x6f, 0x78, 0x79, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x28, 0x2e, 0x68, 0x69,
0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x79, 0x73, 0x74,
0x65, 0x6d, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72,
0x70, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x0b, 0x4c,
0x6f, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x12, 0x11, 0x2e, 0x68, 0x69, 0x64,
0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e,
0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x67, 0x4d, 0x65,
0x73, 0x73, 0x61, 0x67, 0x65, 0x30, 0x01, 0x32, 0xfb, 0x01, 0x0a, 0x0d, 0x54, 0x75, 0x6e, 0x6e,
0x65, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x05, 0x53, 0x74, 0x61,
0x72, 0x74, 0x12, 0x1e, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e,
0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e,
0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35,
0x0a, 0x04, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x11, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79,
0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x68, 0x69, 0x64, 0x64,
0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
0x11, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70,
0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e,
0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35,
0x0a, 0x04, 0x45, 0x78, 0x69, 0x74, 0x12, 0x11, 0x2e, 0x68, 0x69, 0x64, 0x64, 0x69, 0x66, 0x79,
0x72, 0x70, 0x63, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x68, 0x69, 0x64, 0x64,
0x69, 0x66, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x0e, 0x5a, 0x0c, 0x2e, 0x2f, 0x68, 0x69, 0x64, 0x64, 0x69,
0x66, 0x79, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
2024-09-26 23:16:20 +02:00
}
var (
file_hiddify_proto_rawDescOnce sync.Once
file_hiddify_proto_rawDescData = file_hiddify_proto_rawDesc
)
func file_hiddify_proto_rawDescGZIP() []byte {
file_hiddify_proto_rawDescOnce.Do(func() {
file_hiddify_proto_rawDescData = protoimpl.X.CompressGZIP(file_hiddify_proto_rawDescData)
})
return file_hiddify_proto_rawDescData
}
var file_hiddify_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
var file_hiddify_proto_msgTypes = make([]protoimpl.MessageInfo, 25)
var file_hiddify_proto_goTypes = []any{
(CoreState)(0), // 0: hiddifyrpc.CoreState
(MessageType)(0), // 1: hiddifyrpc.MessageType
(LogLevel)(0), // 2: hiddifyrpc.LogLevel
(LogType)(0), // 3: hiddifyrpc.LogType
(*CoreInfoResponse)(nil), // 4: hiddifyrpc.CoreInfoResponse
(*StartRequest)(nil), // 5: hiddifyrpc.StartRequest
(*SetupRequest)(nil), // 6: hiddifyrpc.SetupRequest
(*Response)(nil), // 7: hiddifyrpc.Response
(*SystemInfo)(nil), // 8: hiddifyrpc.SystemInfo
(*OutboundGroupItem)(nil), // 9: hiddifyrpc.OutboundGroupItem
(*OutboundGroup)(nil), // 10: hiddifyrpc.OutboundGroup
(*OutboundGroupList)(nil), // 11: hiddifyrpc.OutboundGroupList
(*WarpAccount)(nil), // 12: hiddifyrpc.WarpAccount
(*WarpWireguardConfig)(nil), // 13: hiddifyrpc.WarpWireguardConfig
(*WarpGenerationResponse)(nil), // 14: hiddifyrpc.WarpGenerationResponse
(*SystemProxyStatus)(nil), // 15: hiddifyrpc.SystemProxyStatus
(*ParseRequest)(nil), // 16: hiddifyrpc.ParseRequest
(*ParseResponse)(nil), // 17: hiddifyrpc.ParseResponse
(*ChangeHiddifySettingsRequest)(nil), // 18: hiddifyrpc.ChangeHiddifySettingsRequest
2024-09-26 23:16:20 +02:00
(*GenerateConfigRequest)(nil), // 19: hiddifyrpc.GenerateConfigRequest
(*GenerateConfigResponse)(nil), // 20: hiddifyrpc.GenerateConfigResponse
(*SelectOutboundRequest)(nil), // 21: hiddifyrpc.SelectOutboundRequest
(*UrlTestRequest)(nil), // 22: hiddifyrpc.UrlTestRequest
(*GenerateWarpConfigRequest)(nil), // 23: hiddifyrpc.GenerateWarpConfigRequest
(*SetSystemProxyEnabledRequest)(nil), // 24: hiddifyrpc.SetSystemProxyEnabledRequest
(*LogMessage)(nil), // 25: hiddifyrpc.LogMessage
(*StopRequest)(nil), // 26: hiddifyrpc.StopRequest
(*TunnelStartRequest)(nil), // 27: hiddifyrpc.TunnelStartRequest
(*TunnelResponse)(nil), // 28: hiddifyrpc.TunnelResponse
(ResponseCode)(0), // 29: hiddifyrpc.ResponseCode
(*HelloRequest)(nil), // 30: hiddifyrpc.HelloRequest
(*Empty)(nil), // 31: hiddifyrpc.Empty
(*HelloResponse)(nil), // 32: hiddifyrpc.HelloResponse
}
var file_hiddify_proto_depIdxs = []int32{
0, // 0: hiddifyrpc.CoreInfoResponse.core_state:type_name -> hiddifyrpc.CoreState
1, // 1: hiddifyrpc.CoreInfoResponse.message_type:type_name -> hiddifyrpc.MessageType
29, // 2: hiddifyrpc.Response.response_code:type_name -> hiddifyrpc.ResponseCode
9, // 3: hiddifyrpc.OutboundGroup.items:type_name -> hiddifyrpc.OutboundGroupItem
10, // 4: hiddifyrpc.OutboundGroupList.items:type_name -> hiddifyrpc.OutboundGroup
12, // 5: hiddifyrpc.WarpGenerationResponse.account:type_name -> hiddifyrpc.WarpAccount
13, // 6: hiddifyrpc.WarpGenerationResponse.config:type_name -> hiddifyrpc.WarpWireguardConfig
29, // 7: hiddifyrpc.ParseResponse.response_code:type_name -> hiddifyrpc.ResponseCode
2, // 8: hiddifyrpc.LogMessage.level:type_name -> hiddifyrpc.LogLevel
3, // 9: hiddifyrpc.LogMessage.type:type_name -> hiddifyrpc.LogType
30, // 10: hiddifyrpc.Hello.SayHello:input_type -> hiddifyrpc.HelloRequest
30, // 11: hiddifyrpc.Hello.SayHelloStream:input_type -> hiddifyrpc.HelloRequest
5, // 12: hiddifyrpc.Core.Start:input_type -> hiddifyrpc.StartRequest
31, // 13: hiddifyrpc.Core.CoreInfoListener:input_type -> hiddifyrpc.Empty
31, // 14: hiddifyrpc.Core.OutboundsInfo:input_type -> hiddifyrpc.Empty
31, // 15: hiddifyrpc.Core.MainOutboundsInfo:input_type -> hiddifyrpc.Empty
31, // 16: hiddifyrpc.Core.GetSystemInfo:input_type -> hiddifyrpc.Empty
2024-09-26 23:16:20 +02:00
6, // 17: hiddifyrpc.Core.Setup:input_type -> hiddifyrpc.SetupRequest
16, // 18: hiddifyrpc.Core.Parse:input_type -> hiddifyrpc.ParseRequest
18, // 19: hiddifyrpc.Core.ChangeHiddifySettings:input_type -> hiddifyrpc.ChangeHiddifySettingsRequest
2024-09-26 23:16:20 +02:00
5, // 20: hiddifyrpc.Core.StartService:input_type -> hiddifyrpc.StartRequest
31, // 21: hiddifyrpc.Core.Stop:input_type -> hiddifyrpc.Empty
5, // 22: hiddifyrpc.Core.Restart:input_type -> hiddifyrpc.StartRequest
21, // 23: hiddifyrpc.Core.SelectOutbound:input_type -> hiddifyrpc.SelectOutboundRequest
22, // 24: hiddifyrpc.Core.UrlTest:input_type -> hiddifyrpc.UrlTestRequest
23, // 25: hiddifyrpc.Core.GenerateWarpConfig:input_type -> hiddifyrpc.GenerateWarpConfigRequest
31, // 26: hiddifyrpc.Core.GetSystemProxyStatus:input_type -> hiddifyrpc.Empty
24, // 27: hiddifyrpc.Core.SetSystemProxyEnabled:input_type -> hiddifyrpc.SetSystemProxyEnabledRequest
31, // 28: hiddifyrpc.Core.LogListener:input_type -> hiddifyrpc.Empty
2024-09-26 23:16:20 +02:00
27, // 29: hiddifyrpc.TunnelService.Start:input_type -> hiddifyrpc.TunnelStartRequest
31, // 30: hiddifyrpc.TunnelService.Stop:input_type -> hiddifyrpc.Empty
31, // 31: hiddifyrpc.TunnelService.Status:input_type -> hiddifyrpc.Empty
31, // 32: hiddifyrpc.TunnelService.Exit:input_type -> hiddifyrpc.Empty
32, // 33: hiddifyrpc.Hello.SayHello:output_type -> hiddifyrpc.HelloResponse
32, // 34: hiddifyrpc.Hello.SayHelloStream:output_type -> hiddifyrpc.HelloResponse
4, // 35: hiddifyrpc.Core.Start:output_type -> hiddifyrpc.CoreInfoResponse
4, // 36: hiddifyrpc.Core.CoreInfoListener:output_type -> hiddifyrpc.CoreInfoResponse
11, // 37: hiddifyrpc.Core.OutboundsInfo:output_type -> hiddifyrpc.OutboundGroupList
11, // 38: hiddifyrpc.Core.MainOutboundsInfo:output_type -> hiddifyrpc.OutboundGroupList
8, // 39: hiddifyrpc.Core.GetSystemInfo:output_type -> hiddifyrpc.SystemInfo
7, // 40: hiddifyrpc.Core.Setup:output_type -> hiddifyrpc.Response
17, // 41: hiddifyrpc.Core.Parse:output_type -> hiddifyrpc.ParseResponse
4, // 42: hiddifyrpc.Core.ChangeHiddifySettings:output_type -> hiddifyrpc.CoreInfoResponse
2024-09-26 23:16:20 +02:00
4, // 43: hiddifyrpc.Core.StartService:output_type -> hiddifyrpc.CoreInfoResponse
4, // 44: hiddifyrpc.Core.Stop:output_type -> hiddifyrpc.CoreInfoResponse
4, // 45: hiddifyrpc.Core.Restart:output_type -> hiddifyrpc.CoreInfoResponse
7, // 46: hiddifyrpc.Core.SelectOutbound:output_type -> hiddifyrpc.Response
7, // 47: hiddifyrpc.Core.UrlTest:output_type -> hiddifyrpc.Response
14, // 48: hiddifyrpc.Core.GenerateWarpConfig:output_type -> hiddifyrpc.WarpGenerationResponse
15, // 49: hiddifyrpc.Core.GetSystemProxyStatus:output_type -> hiddifyrpc.SystemProxyStatus
7, // 50: hiddifyrpc.Core.SetSystemProxyEnabled:output_type -> hiddifyrpc.Response
25, // 51: hiddifyrpc.Core.LogListener:output_type -> hiddifyrpc.LogMessage
28, // 52: hiddifyrpc.TunnelService.Start:output_type -> hiddifyrpc.TunnelResponse
28, // 53: hiddifyrpc.TunnelService.Stop:output_type -> hiddifyrpc.TunnelResponse
28, // 54: hiddifyrpc.TunnelService.Status:output_type -> hiddifyrpc.TunnelResponse
28, // 55: hiddifyrpc.TunnelService.Exit:output_type -> hiddifyrpc.TunnelResponse
33, // [33:56] is the sub-list for method output_type
10, // [10:33] is the sub-list for method input_type
10, // [10:10] is the sub-list for extension type_name
10, // [10:10] is the sub-list for extension extendee
0, // [0:10] is the sub-list for field type_name
}
func init() { file_hiddify_proto_init() }
func file_hiddify_proto_init() {
if File_hiddify_proto != nil {
return
}
file_base_proto_init()
if !protoimpl.UnsafeEnabled {
file_hiddify_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*CoreInfoResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*StartRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*SetupRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*Response); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*SystemInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*OutboundGroupItem); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[6].Exporter = func(v any, i int) any {
switch v := v.(*OutboundGroup); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[7].Exporter = func(v any, i int) any {
switch v := v.(*OutboundGroupList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[8].Exporter = func(v any, i int) any {
switch v := v.(*WarpAccount); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[9].Exporter = func(v any, i int) any {
switch v := v.(*WarpWireguardConfig); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[10].Exporter = func(v any, i int) any {
switch v := v.(*WarpGenerationResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[11].Exporter = func(v any, i int) any {
switch v := v.(*SystemProxyStatus); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[12].Exporter = func(v any, i int) any {
switch v := v.(*ParseRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[13].Exporter = func(v any, i int) any {
switch v := v.(*ParseResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[14].Exporter = func(v any, i int) any {
switch v := v.(*ChangeHiddifySettingsRequest); i {
2024-09-26 23:16:20 +02:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[15].Exporter = func(v any, i int) any {
switch v := v.(*GenerateConfigRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[16].Exporter = func(v any, i int) any {
switch v := v.(*GenerateConfigResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[17].Exporter = func(v any, i int) any {
switch v := v.(*SelectOutboundRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[18].Exporter = func(v any, i int) any {
switch v := v.(*UrlTestRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[19].Exporter = func(v any, i int) any {
switch v := v.(*GenerateWarpConfigRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[20].Exporter = func(v any, i int) any {
switch v := v.(*SetSystemProxyEnabledRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[21].Exporter = func(v any, i int) any {
switch v := v.(*LogMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[22].Exporter = func(v any, i int) any {
switch v := v.(*StopRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[23].Exporter = func(v any, i int) any {
switch v := v.(*TunnelStartRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_hiddify_proto_msgTypes[24].Exporter = func(v any, i int) any {
switch v := v.(*TunnelResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_hiddify_proto_rawDesc,
NumEnums: 4,
NumMessages: 25,
NumExtensions: 0,
NumServices: 3,
},
GoTypes: file_hiddify_proto_goTypes,
DependencyIndexes: file_hiddify_proto_depIdxs,
EnumInfos: file_hiddify_proto_enumTypes,
MessageInfos: file_hiddify_proto_msgTypes,
}.Build()
File_hiddify_proto = out.File
file_hiddify_proto_rawDesc = nil
file_hiddify_proto_goTypes = nil
file_hiddify_proto_depIdxs = nil
2024-03-03 04:15:19 +01:00
}