github.com/v2fly/v2ray-core/v4@v4.45.2/proxy/socks/config.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.27.1
     4  // 	protoc        v3.17.3
     5  // source: proxy/socks/config.proto
     6  
     7  package socks
     8  
     9  import (
    10  	net "github.com/v2fly/v2ray-core/v4/common/net"
    11  	protocol "github.com/v2fly/v2ray-core/v4/common/protocol"
    12  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    13  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    14  	reflect "reflect"
    15  	sync "sync"
    16  )
    17  
    18  const (
    19  	// Verify that this generated code is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    21  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    23  )
    24  
    25  // AuthType is the authentication type of Socks proxy.
    26  type AuthType int32
    27  
    28  const (
    29  	// NO_AUTH is for anounymous authentication.
    30  	AuthType_NO_AUTH AuthType = 0
    31  	// PASSWORD is for username/password authentication.
    32  	AuthType_PASSWORD AuthType = 1
    33  )
    34  
    35  // Enum value maps for AuthType.
    36  var (
    37  	AuthType_name = map[int32]string{
    38  		0: "NO_AUTH",
    39  		1: "PASSWORD",
    40  	}
    41  	AuthType_value = map[string]int32{
    42  		"NO_AUTH":  0,
    43  		"PASSWORD": 1,
    44  	}
    45  )
    46  
    47  func (x AuthType) Enum() *AuthType {
    48  	p := new(AuthType)
    49  	*p = x
    50  	return p
    51  }
    52  
    53  func (x AuthType) String() string {
    54  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    55  }
    56  
    57  func (AuthType) Descriptor() protoreflect.EnumDescriptor {
    58  	return file_proxy_socks_config_proto_enumTypes[0].Descriptor()
    59  }
    60  
    61  func (AuthType) Type() protoreflect.EnumType {
    62  	return &file_proxy_socks_config_proto_enumTypes[0]
    63  }
    64  
    65  func (x AuthType) Number() protoreflect.EnumNumber {
    66  	return protoreflect.EnumNumber(x)
    67  }
    68  
    69  // Deprecated: Use AuthType.Descriptor instead.
    70  func (AuthType) EnumDescriptor() ([]byte, []int) {
    71  	return file_proxy_socks_config_proto_rawDescGZIP(), []int{0}
    72  }
    73  
    74  // AuthType is the outbound server version of Socks proxy.
    75  type Version int32
    76  
    77  const (
    78  	Version_SOCKS5  Version = 0
    79  	Version_SOCKS4  Version = 1
    80  	Version_SOCKS4A Version = 2
    81  )
    82  
    83  // Enum value maps for Version.
    84  var (
    85  	Version_name = map[int32]string{
    86  		0: "SOCKS5",
    87  		1: "SOCKS4",
    88  		2: "SOCKS4A",
    89  	}
    90  	Version_value = map[string]int32{
    91  		"SOCKS5":  0,
    92  		"SOCKS4":  1,
    93  		"SOCKS4A": 2,
    94  	}
    95  )
    96  
    97  func (x Version) Enum() *Version {
    98  	p := new(Version)
    99  	*p = x
   100  	return p
   101  }
   102  
   103  func (x Version) String() string {
   104  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   105  }
   106  
   107  func (Version) Descriptor() protoreflect.EnumDescriptor {
   108  	return file_proxy_socks_config_proto_enumTypes[1].Descriptor()
   109  }
   110  
   111  func (Version) Type() protoreflect.EnumType {
   112  	return &file_proxy_socks_config_proto_enumTypes[1]
   113  }
   114  
   115  func (x Version) Number() protoreflect.EnumNumber {
   116  	return protoreflect.EnumNumber(x)
   117  }
   118  
   119  // Deprecated: Use Version.Descriptor instead.
   120  func (Version) EnumDescriptor() ([]byte, []int) {
   121  	return file_proxy_socks_config_proto_rawDescGZIP(), []int{1}
   122  }
   123  
   124  // Account represents a Socks account.
   125  type Account struct {
   126  	state         protoimpl.MessageState
   127  	sizeCache     protoimpl.SizeCache
   128  	unknownFields protoimpl.UnknownFields
   129  
   130  	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
   131  	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
   132  }
   133  
   134  func (x *Account) Reset() {
   135  	*x = Account{}
   136  	if protoimpl.UnsafeEnabled {
   137  		mi := &file_proxy_socks_config_proto_msgTypes[0]
   138  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   139  		ms.StoreMessageInfo(mi)
   140  	}
   141  }
   142  
   143  func (x *Account) String() string {
   144  	return protoimpl.X.MessageStringOf(x)
   145  }
   146  
   147  func (*Account) ProtoMessage() {}
   148  
   149  func (x *Account) ProtoReflect() protoreflect.Message {
   150  	mi := &file_proxy_socks_config_proto_msgTypes[0]
   151  	if protoimpl.UnsafeEnabled && x != nil {
   152  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   153  		if ms.LoadMessageInfo() == nil {
   154  			ms.StoreMessageInfo(mi)
   155  		}
   156  		return ms
   157  	}
   158  	return mi.MessageOf(x)
   159  }
   160  
   161  // Deprecated: Use Account.ProtoReflect.Descriptor instead.
   162  func (*Account) Descriptor() ([]byte, []int) {
   163  	return file_proxy_socks_config_proto_rawDescGZIP(), []int{0}
   164  }
   165  
   166  func (x *Account) GetUsername() string {
   167  	if x != nil {
   168  		return x.Username
   169  	}
   170  	return ""
   171  }
   172  
   173  func (x *Account) GetPassword() string {
   174  	if x != nil {
   175  		return x.Password
   176  	}
   177  	return ""
   178  }
   179  
   180  // ServerConfig is the protobuf config for Socks server.
   181  type ServerConfig struct {
   182  	state         protoimpl.MessageState
   183  	sizeCache     protoimpl.SizeCache
   184  	unknownFields protoimpl.UnknownFields
   185  
   186  	AuthType   AuthType          `protobuf:"varint,1,opt,name=auth_type,json=authType,proto3,enum=v2ray.core.proxy.socks.AuthType" json:"auth_type,omitempty"`
   187  	Accounts   map[string]string `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   188  	Address    *net.IPOrDomain   `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
   189  	UdpEnabled bool              `protobuf:"varint,4,opt,name=udp_enabled,json=udpEnabled,proto3" json:"udp_enabled,omitempty"`
   190  	// Deprecated: Do not use.
   191  	Timeout   uint32 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
   192  	UserLevel uint32 `protobuf:"varint,6,opt,name=user_level,json=userLevel,proto3" json:"user_level,omitempty"`
   193  }
   194  
   195  func (x *ServerConfig) Reset() {
   196  	*x = ServerConfig{}
   197  	if protoimpl.UnsafeEnabled {
   198  		mi := &file_proxy_socks_config_proto_msgTypes[1]
   199  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   200  		ms.StoreMessageInfo(mi)
   201  	}
   202  }
   203  
   204  func (x *ServerConfig) String() string {
   205  	return protoimpl.X.MessageStringOf(x)
   206  }
   207  
   208  func (*ServerConfig) ProtoMessage() {}
   209  
   210  func (x *ServerConfig) ProtoReflect() protoreflect.Message {
   211  	mi := &file_proxy_socks_config_proto_msgTypes[1]
   212  	if protoimpl.UnsafeEnabled && x != nil {
   213  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   214  		if ms.LoadMessageInfo() == nil {
   215  			ms.StoreMessageInfo(mi)
   216  		}
   217  		return ms
   218  	}
   219  	return mi.MessageOf(x)
   220  }
   221  
   222  // Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.
   223  func (*ServerConfig) Descriptor() ([]byte, []int) {
   224  	return file_proxy_socks_config_proto_rawDescGZIP(), []int{1}
   225  }
   226  
   227  func (x *ServerConfig) GetAuthType() AuthType {
   228  	if x != nil {
   229  		return x.AuthType
   230  	}
   231  	return AuthType_NO_AUTH
   232  }
   233  
   234  func (x *ServerConfig) GetAccounts() map[string]string {
   235  	if x != nil {
   236  		return x.Accounts
   237  	}
   238  	return nil
   239  }
   240  
   241  func (x *ServerConfig) GetAddress() *net.IPOrDomain {
   242  	if x != nil {
   243  		return x.Address
   244  	}
   245  	return nil
   246  }
   247  
   248  func (x *ServerConfig) GetUdpEnabled() bool {
   249  	if x != nil {
   250  		return x.UdpEnabled
   251  	}
   252  	return false
   253  }
   254  
   255  // Deprecated: Do not use.
   256  func (x *ServerConfig) GetTimeout() uint32 {
   257  	if x != nil {
   258  		return x.Timeout
   259  	}
   260  	return 0
   261  }
   262  
   263  func (x *ServerConfig) GetUserLevel() uint32 {
   264  	if x != nil {
   265  		return x.UserLevel
   266  	}
   267  	return 0
   268  }
   269  
   270  // ClientConfig is the protobuf config for Socks client.
   271  type ClientConfig struct {
   272  	state         protoimpl.MessageState
   273  	sizeCache     protoimpl.SizeCache
   274  	unknownFields protoimpl.UnknownFields
   275  
   276  	// Sever is a list of Socks server addresses.
   277  	Server  []*protocol.ServerEndpoint `protobuf:"bytes,1,rep,name=server,proto3" json:"server,omitempty"`
   278  	Version Version                    `protobuf:"varint,2,opt,name=version,proto3,enum=v2ray.core.proxy.socks.Version" json:"version,omitempty"`
   279  }
   280  
   281  func (x *ClientConfig) Reset() {
   282  	*x = ClientConfig{}
   283  	if protoimpl.UnsafeEnabled {
   284  		mi := &file_proxy_socks_config_proto_msgTypes[2]
   285  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   286  		ms.StoreMessageInfo(mi)
   287  	}
   288  }
   289  
   290  func (x *ClientConfig) String() string {
   291  	return protoimpl.X.MessageStringOf(x)
   292  }
   293  
   294  func (*ClientConfig) ProtoMessage() {}
   295  
   296  func (x *ClientConfig) ProtoReflect() protoreflect.Message {
   297  	mi := &file_proxy_socks_config_proto_msgTypes[2]
   298  	if protoimpl.UnsafeEnabled && x != nil {
   299  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   300  		if ms.LoadMessageInfo() == nil {
   301  			ms.StoreMessageInfo(mi)
   302  		}
   303  		return ms
   304  	}
   305  	return mi.MessageOf(x)
   306  }
   307  
   308  // Deprecated: Use ClientConfig.ProtoReflect.Descriptor instead.
   309  func (*ClientConfig) Descriptor() ([]byte, []int) {
   310  	return file_proxy_socks_config_proto_rawDescGZIP(), []int{2}
   311  }
   312  
   313  func (x *ClientConfig) GetServer() []*protocol.ServerEndpoint {
   314  	if x != nil {
   315  		return x.Server
   316  	}
   317  	return nil
   318  }
   319  
   320  func (x *ClientConfig) GetVersion() Version {
   321  	if x != nil {
   322  		return x.Version
   323  	}
   324  	return Version_SOCKS5
   325  }
   326  
   327  var File_proxy_socks_config_proto protoreflect.FileDescriptor
   328  
   329  var file_proxy_socks_config_proto_rawDesc = []byte{
   330  	0x0a, 0x18, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x2f, 0x63, 0x6f,
   331  	0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x76, 0x32, 0x72, 0x61,
   332  	0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 0x6f, 0x63,
   333  	0x6b, 0x73, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x61,
   334  	0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x63, 0x6f,
   335  	0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x73, 0x65,
   336  	0x72, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
   337  	0x41, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73,
   338  	0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73,
   339  	0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f,
   340  	0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f,
   341  	0x72, 0x64, 0x22, 0xf5, 0x02, 0x0a, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e,
   342  	0x66, 0x69, 0x67, 0x12, 0x3d, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65,
   343  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
   344  	0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x2e,
   345  	0x41, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79,
   346  	0x70, 0x65, 0x12, 0x4e, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02,
   347  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
   348  	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x2e, 0x53, 0x65,
   349  	0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75,
   350  	0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
   351  	0x74, 0x73, 0x12, 0x3b, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20,
   352  	0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65,
   353  	0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72,
   354  	0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12,
   355  	0x1f, 0x0a, 0x0b, 0x75, 0x64, 0x70, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x04,
   356  	0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, 0x64, 0x70, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
   357  	0x12, 0x1c, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
   358  	0x0d, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x1d,
   359  	0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01,
   360  	0x28, 0x0d, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x1a, 0x3b, 0x0a,
   361  	0x0d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
   362  	0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
   363  	0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
   364  	0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x8d, 0x01, 0x0a, 0x0c, 0x43,
   365  	0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x42, 0x0a, 0x06, 0x73,
   366  	0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x76, 0x32,
   367  	0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
   368  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x45,
   369  	0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12,
   370  	0x39, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
   371  	0x32, 0x1f, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72,
   372  	0x6f, 0x78, 0x79, 0x2e, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
   373  	0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2a, 0x25, 0x0a, 0x08, 0x41, 0x75,
   374  	0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x4e, 0x4f, 0x5f, 0x41, 0x55, 0x54,
   375  	0x48, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x41, 0x53, 0x53, 0x57, 0x4f, 0x52, 0x44, 0x10,
   376  	0x01, 0x2a, 0x2e, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0a, 0x0a, 0x06,
   377  	0x53, 0x4f, 0x43, 0x4b, 0x53, 0x35, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x4f, 0x43, 0x4b,
   378  	0x53, 0x34, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x4f, 0x43, 0x4b, 0x53, 0x34, 0x41, 0x10,
   379  	0x02, 0x42, 0x63, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
   380  	0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x50,
   381  	0x01, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32,
   382  	0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76,
   383  	0x34, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0xaa, 0x02, 0x16,
   384  	0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79,
   385  	0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   386  }
   387  
   388  var (
   389  	file_proxy_socks_config_proto_rawDescOnce sync.Once
   390  	file_proxy_socks_config_proto_rawDescData = file_proxy_socks_config_proto_rawDesc
   391  )
   392  
   393  func file_proxy_socks_config_proto_rawDescGZIP() []byte {
   394  	file_proxy_socks_config_proto_rawDescOnce.Do(func() {
   395  		file_proxy_socks_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_socks_config_proto_rawDescData)
   396  	})
   397  	return file_proxy_socks_config_proto_rawDescData
   398  }
   399  
   400  var file_proxy_socks_config_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
   401  var file_proxy_socks_config_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   402  var file_proxy_socks_config_proto_goTypes = []interface{}{
   403  	(AuthType)(0),                   // 0: v2ray.core.proxy.socks.AuthType
   404  	(Version)(0),                    // 1: v2ray.core.proxy.socks.Version
   405  	(*Account)(nil),                 // 2: v2ray.core.proxy.socks.Account
   406  	(*ServerConfig)(nil),            // 3: v2ray.core.proxy.socks.ServerConfig
   407  	(*ClientConfig)(nil),            // 4: v2ray.core.proxy.socks.ClientConfig
   408  	nil,                             // 5: v2ray.core.proxy.socks.ServerConfig.AccountsEntry
   409  	(*net.IPOrDomain)(nil),          // 6: v2ray.core.common.net.IPOrDomain
   410  	(*protocol.ServerEndpoint)(nil), // 7: v2ray.core.common.protocol.ServerEndpoint
   411  }
   412  var file_proxy_socks_config_proto_depIdxs = []int32{
   413  	0, // 0: v2ray.core.proxy.socks.ServerConfig.auth_type:type_name -> v2ray.core.proxy.socks.AuthType
   414  	5, // 1: v2ray.core.proxy.socks.ServerConfig.accounts:type_name -> v2ray.core.proxy.socks.ServerConfig.AccountsEntry
   415  	6, // 2: v2ray.core.proxy.socks.ServerConfig.address:type_name -> v2ray.core.common.net.IPOrDomain
   416  	7, // 3: v2ray.core.proxy.socks.ClientConfig.server:type_name -> v2ray.core.common.protocol.ServerEndpoint
   417  	1, // 4: v2ray.core.proxy.socks.ClientConfig.version:type_name -> v2ray.core.proxy.socks.Version
   418  	5, // [5:5] is the sub-list for method output_type
   419  	5, // [5:5] is the sub-list for method input_type
   420  	5, // [5:5] is the sub-list for extension type_name
   421  	5, // [5:5] is the sub-list for extension extendee
   422  	0, // [0:5] is the sub-list for field type_name
   423  }
   424  
   425  func init() { file_proxy_socks_config_proto_init() }
   426  func file_proxy_socks_config_proto_init() {
   427  	if File_proxy_socks_config_proto != nil {
   428  		return
   429  	}
   430  	if !protoimpl.UnsafeEnabled {
   431  		file_proxy_socks_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   432  			switch v := v.(*Account); i {
   433  			case 0:
   434  				return &v.state
   435  			case 1:
   436  				return &v.sizeCache
   437  			case 2:
   438  				return &v.unknownFields
   439  			default:
   440  				return nil
   441  			}
   442  		}
   443  		file_proxy_socks_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   444  			switch v := v.(*ServerConfig); i {
   445  			case 0:
   446  				return &v.state
   447  			case 1:
   448  				return &v.sizeCache
   449  			case 2:
   450  				return &v.unknownFields
   451  			default:
   452  				return nil
   453  			}
   454  		}
   455  		file_proxy_socks_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   456  			switch v := v.(*ClientConfig); i {
   457  			case 0:
   458  				return &v.state
   459  			case 1:
   460  				return &v.sizeCache
   461  			case 2:
   462  				return &v.unknownFields
   463  			default:
   464  				return nil
   465  			}
   466  		}
   467  	}
   468  	type x struct{}
   469  	out := protoimpl.TypeBuilder{
   470  		File: protoimpl.DescBuilder{
   471  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   472  			RawDescriptor: file_proxy_socks_config_proto_rawDesc,
   473  			NumEnums:      2,
   474  			NumMessages:   4,
   475  			NumExtensions: 0,
   476  			NumServices:   0,
   477  		},
   478  		GoTypes:           file_proxy_socks_config_proto_goTypes,
   479  		DependencyIndexes: file_proxy_socks_config_proto_depIdxs,
   480  		EnumInfos:         file_proxy_socks_config_proto_enumTypes,
   481  		MessageInfos:      file_proxy_socks_config_proto_msgTypes,
   482  	}.Build()
   483  	File_proxy_socks_config_proto = out.File
   484  	file_proxy_socks_config_proto_rawDesc = nil
   485  	file_proxy_socks_config_proto_goTypes = nil
   486  	file_proxy_socks_config_proto_depIdxs = nil
   487  }