github.com/xmplusdev/xmcore@v1.8.11-0.20240412132628-5518b55526af/proxy/shadowsocks_2022/config.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.33.0
     4  // 	protoc        v4.23.1
     5  // source: proxy/shadowsocks_2022/config.proto
     6  
     7  package shadowsocks_2022
     8  
     9  import (
    10  	net "github.com/xmplusdev/xmcore/common/net"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type ServerConfig struct {
    25  	state         protoimpl.MessageState
    26  	sizeCache     protoimpl.SizeCache
    27  	unknownFields protoimpl.UnknownFields
    28  
    29  	Method  string        `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
    30  	Key     string        `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
    31  	Email   string        `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
    32  	Level   int32         `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
    33  	Network []net.Network `protobuf:"varint,5,rep,packed,name=network,proto3,enum=xray.common.net.Network" json:"network,omitempty"`
    34  }
    35  
    36  func (x *ServerConfig) Reset() {
    37  	*x = ServerConfig{}
    38  	if protoimpl.UnsafeEnabled {
    39  		mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[0]
    40  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    41  		ms.StoreMessageInfo(mi)
    42  	}
    43  }
    44  
    45  func (x *ServerConfig) String() string {
    46  	return protoimpl.X.MessageStringOf(x)
    47  }
    48  
    49  func (*ServerConfig) ProtoMessage() {}
    50  
    51  func (x *ServerConfig) ProtoReflect() protoreflect.Message {
    52  	mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[0]
    53  	if protoimpl.UnsafeEnabled && x != nil {
    54  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    55  		if ms.LoadMessageInfo() == nil {
    56  			ms.StoreMessageInfo(mi)
    57  		}
    58  		return ms
    59  	}
    60  	return mi.MessageOf(x)
    61  }
    62  
    63  // Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.
    64  func (*ServerConfig) Descriptor() ([]byte, []int) {
    65  	return file_proxy_shadowsocks_2022_config_proto_rawDescGZIP(), []int{0}
    66  }
    67  
    68  func (x *ServerConfig) GetMethod() string {
    69  	if x != nil {
    70  		return x.Method
    71  	}
    72  	return ""
    73  }
    74  
    75  func (x *ServerConfig) GetKey() string {
    76  	if x != nil {
    77  		return x.Key
    78  	}
    79  	return ""
    80  }
    81  
    82  func (x *ServerConfig) GetEmail() string {
    83  	if x != nil {
    84  		return x.Email
    85  	}
    86  	return ""
    87  }
    88  
    89  func (x *ServerConfig) GetLevel() int32 {
    90  	if x != nil {
    91  		return x.Level
    92  	}
    93  	return 0
    94  }
    95  
    96  func (x *ServerConfig) GetNetwork() []net.Network {
    97  	if x != nil {
    98  		return x.Network
    99  	}
   100  	return nil
   101  }
   102  
   103  type MultiUserServerConfig struct {
   104  	state         protoimpl.MessageState
   105  	sizeCache     protoimpl.SizeCache
   106  	unknownFields protoimpl.UnknownFields
   107  
   108  	Method  string        `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
   109  	Key     string        `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
   110  	Users   []*User       `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"`
   111  	Network []net.Network `protobuf:"varint,4,rep,packed,name=network,proto3,enum=xray.common.net.Network" json:"network,omitempty"`
   112  }
   113  
   114  func (x *MultiUserServerConfig) Reset() {
   115  	*x = MultiUserServerConfig{}
   116  	if protoimpl.UnsafeEnabled {
   117  		mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[1]
   118  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   119  		ms.StoreMessageInfo(mi)
   120  	}
   121  }
   122  
   123  func (x *MultiUserServerConfig) String() string {
   124  	return protoimpl.X.MessageStringOf(x)
   125  }
   126  
   127  func (*MultiUserServerConfig) ProtoMessage() {}
   128  
   129  func (x *MultiUserServerConfig) ProtoReflect() protoreflect.Message {
   130  	mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[1]
   131  	if protoimpl.UnsafeEnabled && x != nil {
   132  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   133  		if ms.LoadMessageInfo() == nil {
   134  			ms.StoreMessageInfo(mi)
   135  		}
   136  		return ms
   137  	}
   138  	return mi.MessageOf(x)
   139  }
   140  
   141  // Deprecated: Use MultiUserServerConfig.ProtoReflect.Descriptor instead.
   142  func (*MultiUserServerConfig) Descriptor() ([]byte, []int) {
   143  	return file_proxy_shadowsocks_2022_config_proto_rawDescGZIP(), []int{1}
   144  }
   145  
   146  func (x *MultiUserServerConfig) GetMethod() string {
   147  	if x != nil {
   148  		return x.Method
   149  	}
   150  	return ""
   151  }
   152  
   153  func (x *MultiUserServerConfig) GetKey() string {
   154  	if x != nil {
   155  		return x.Key
   156  	}
   157  	return ""
   158  }
   159  
   160  func (x *MultiUserServerConfig) GetUsers() []*User {
   161  	if x != nil {
   162  		return x.Users
   163  	}
   164  	return nil
   165  }
   166  
   167  func (x *MultiUserServerConfig) GetNetwork() []net.Network {
   168  	if x != nil {
   169  		return x.Network
   170  	}
   171  	return nil
   172  }
   173  
   174  type RelayDestination struct {
   175  	state         protoimpl.MessageState
   176  	sizeCache     protoimpl.SizeCache
   177  	unknownFields protoimpl.UnknownFields
   178  
   179  	Key     string          `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   180  	Address *net.IPOrDomain `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
   181  	Port    uint32          `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
   182  	Email   string          `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
   183  	Level   int32           `protobuf:"varint,5,opt,name=level,proto3" json:"level,omitempty"`
   184  }
   185  
   186  func (x *RelayDestination) Reset() {
   187  	*x = RelayDestination{}
   188  	if protoimpl.UnsafeEnabled {
   189  		mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[2]
   190  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   191  		ms.StoreMessageInfo(mi)
   192  	}
   193  }
   194  
   195  func (x *RelayDestination) String() string {
   196  	return protoimpl.X.MessageStringOf(x)
   197  }
   198  
   199  func (*RelayDestination) ProtoMessage() {}
   200  
   201  func (x *RelayDestination) ProtoReflect() protoreflect.Message {
   202  	mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[2]
   203  	if protoimpl.UnsafeEnabled && x != nil {
   204  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   205  		if ms.LoadMessageInfo() == nil {
   206  			ms.StoreMessageInfo(mi)
   207  		}
   208  		return ms
   209  	}
   210  	return mi.MessageOf(x)
   211  }
   212  
   213  // Deprecated: Use RelayDestination.ProtoReflect.Descriptor instead.
   214  func (*RelayDestination) Descriptor() ([]byte, []int) {
   215  	return file_proxy_shadowsocks_2022_config_proto_rawDescGZIP(), []int{2}
   216  }
   217  
   218  func (x *RelayDestination) GetKey() string {
   219  	if x != nil {
   220  		return x.Key
   221  	}
   222  	return ""
   223  }
   224  
   225  func (x *RelayDestination) GetAddress() *net.IPOrDomain {
   226  	if x != nil {
   227  		return x.Address
   228  	}
   229  	return nil
   230  }
   231  
   232  func (x *RelayDestination) GetPort() uint32 {
   233  	if x != nil {
   234  		return x.Port
   235  	}
   236  	return 0
   237  }
   238  
   239  func (x *RelayDestination) GetEmail() string {
   240  	if x != nil {
   241  		return x.Email
   242  	}
   243  	return ""
   244  }
   245  
   246  func (x *RelayDestination) GetLevel() int32 {
   247  	if x != nil {
   248  		return x.Level
   249  	}
   250  	return 0
   251  }
   252  
   253  type RelayServerConfig struct {
   254  	state         protoimpl.MessageState
   255  	sizeCache     protoimpl.SizeCache
   256  	unknownFields protoimpl.UnknownFields
   257  
   258  	Method       string              `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
   259  	Key          string              `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
   260  	Destinations []*RelayDestination `protobuf:"bytes,3,rep,name=destinations,proto3" json:"destinations,omitempty"`
   261  	Network      []net.Network       `protobuf:"varint,4,rep,packed,name=network,proto3,enum=xray.common.net.Network" json:"network,omitempty"`
   262  }
   263  
   264  func (x *RelayServerConfig) Reset() {
   265  	*x = RelayServerConfig{}
   266  	if protoimpl.UnsafeEnabled {
   267  		mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[3]
   268  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   269  		ms.StoreMessageInfo(mi)
   270  	}
   271  }
   272  
   273  func (x *RelayServerConfig) String() string {
   274  	return protoimpl.X.MessageStringOf(x)
   275  }
   276  
   277  func (*RelayServerConfig) ProtoMessage() {}
   278  
   279  func (x *RelayServerConfig) ProtoReflect() protoreflect.Message {
   280  	mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[3]
   281  	if protoimpl.UnsafeEnabled && x != nil {
   282  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   283  		if ms.LoadMessageInfo() == nil {
   284  			ms.StoreMessageInfo(mi)
   285  		}
   286  		return ms
   287  	}
   288  	return mi.MessageOf(x)
   289  }
   290  
   291  // Deprecated: Use RelayServerConfig.ProtoReflect.Descriptor instead.
   292  func (*RelayServerConfig) Descriptor() ([]byte, []int) {
   293  	return file_proxy_shadowsocks_2022_config_proto_rawDescGZIP(), []int{3}
   294  }
   295  
   296  func (x *RelayServerConfig) GetMethod() string {
   297  	if x != nil {
   298  		return x.Method
   299  	}
   300  	return ""
   301  }
   302  
   303  func (x *RelayServerConfig) GetKey() string {
   304  	if x != nil {
   305  		return x.Key
   306  	}
   307  	return ""
   308  }
   309  
   310  func (x *RelayServerConfig) GetDestinations() []*RelayDestination {
   311  	if x != nil {
   312  		return x.Destinations
   313  	}
   314  	return nil
   315  }
   316  
   317  func (x *RelayServerConfig) GetNetwork() []net.Network {
   318  	if x != nil {
   319  		return x.Network
   320  	}
   321  	return nil
   322  }
   323  
   324  type User struct {
   325  	state         protoimpl.MessageState
   326  	sizeCache     protoimpl.SizeCache
   327  	unknownFields protoimpl.UnknownFields
   328  
   329  	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   330  	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
   331  	Level int32  `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
   332  }
   333  
   334  func (x *User) Reset() {
   335  	*x = User{}
   336  	if protoimpl.UnsafeEnabled {
   337  		mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[4]
   338  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   339  		ms.StoreMessageInfo(mi)
   340  	}
   341  }
   342  
   343  func (x *User) String() string {
   344  	return protoimpl.X.MessageStringOf(x)
   345  }
   346  
   347  func (*User) ProtoMessage() {}
   348  
   349  func (x *User) ProtoReflect() protoreflect.Message {
   350  	mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[4]
   351  	if protoimpl.UnsafeEnabled && x != nil {
   352  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   353  		if ms.LoadMessageInfo() == nil {
   354  			ms.StoreMessageInfo(mi)
   355  		}
   356  		return ms
   357  	}
   358  	return mi.MessageOf(x)
   359  }
   360  
   361  // Deprecated: Use User.ProtoReflect.Descriptor instead.
   362  func (*User) Descriptor() ([]byte, []int) {
   363  	return file_proxy_shadowsocks_2022_config_proto_rawDescGZIP(), []int{4}
   364  }
   365  
   366  func (x *User) GetKey() string {
   367  	if x != nil {
   368  		return x.Key
   369  	}
   370  	return ""
   371  }
   372  
   373  func (x *User) GetEmail() string {
   374  	if x != nil {
   375  		return x.Email
   376  	}
   377  	return ""
   378  }
   379  
   380  func (x *User) GetLevel() int32 {
   381  	if x != nil {
   382  		return x.Level
   383  	}
   384  	return 0
   385  }
   386  
   387  type ClientConfig struct {
   388  	state         protoimpl.MessageState
   389  	sizeCache     protoimpl.SizeCache
   390  	unknownFields protoimpl.UnknownFields
   391  
   392  	Address           *net.IPOrDomain `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
   393  	Port              uint32          `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
   394  	Method            string          `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
   395  	Key               string          `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
   396  	UdpOverTcp        bool            `protobuf:"varint,5,opt,name=udp_over_tcp,json=udpOverTcp,proto3" json:"udp_over_tcp,omitempty"`
   397  	UdpOverTcpVersion uint32          `protobuf:"varint,6,opt,name=udp_over_tcp_version,json=udpOverTcpVersion,proto3" json:"udp_over_tcp_version,omitempty"`
   398  }
   399  
   400  func (x *ClientConfig) Reset() {
   401  	*x = ClientConfig{}
   402  	if protoimpl.UnsafeEnabled {
   403  		mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[5]
   404  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   405  		ms.StoreMessageInfo(mi)
   406  	}
   407  }
   408  
   409  func (x *ClientConfig) String() string {
   410  	return protoimpl.X.MessageStringOf(x)
   411  }
   412  
   413  func (*ClientConfig) ProtoMessage() {}
   414  
   415  func (x *ClientConfig) ProtoReflect() protoreflect.Message {
   416  	mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[5]
   417  	if protoimpl.UnsafeEnabled && x != nil {
   418  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   419  		if ms.LoadMessageInfo() == nil {
   420  			ms.StoreMessageInfo(mi)
   421  		}
   422  		return ms
   423  	}
   424  	return mi.MessageOf(x)
   425  }
   426  
   427  // Deprecated: Use ClientConfig.ProtoReflect.Descriptor instead.
   428  func (*ClientConfig) Descriptor() ([]byte, []int) {
   429  	return file_proxy_shadowsocks_2022_config_proto_rawDescGZIP(), []int{5}
   430  }
   431  
   432  func (x *ClientConfig) GetAddress() *net.IPOrDomain {
   433  	if x != nil {
   434  		return x.Address
   435  	}
   436  	return nil
   437  }
   438  
   439  func (x *ClientConfig) GetPort() uint32 {
   440  	if x != nil {
   441  		return x.Port
   442  	}
   443  	return 0
   444  }
   445  
   446  func (x *ClientConfig) GetMethod() string {
   447  	if x != nil {
   448  		return x.Method
   449  	}
   450  	return ""
   451  }
   452  
   453  func (x *ClientConfig) GetKey() string {
   454  	if x != nil {
   455  		return x.Key
   456  	}
   457  	return ""
   458  }
   459  
   460  func (x *ClientConfig) GetUdpOverTcp() bool {
   461  	if x != nil {
   462  		return x.UdpOverTcp
   463  	}
   464  	return false
   465  }
   466  
   467  func (x *ClientConfig) GetUdpOverTcpVersion() uint32 {
   468  	if x != nil {
   469  		return x.UdpOverTcpVersion
   470  	}
   471  	return 0
   472  }
   473  
   474  var File_proxy_shadowsocks_2022_config_proto protoreflect.FileDescriptor
   475  
   476  var file_proxy_shadowsocks_2022_config_proto_rawDesc = []byte{
   477  	0x0a, 0x23, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f,
   478  	0x63, 0x6b, 0x73, 0x5f, 0x32, 0x30, 0x32, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
   479  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78,
   480  	0x79, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x32, 0x30,
   481  	0x32, 0x32, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x6e,
   482  	0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x63, 0x6f,
   483  	0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
   484  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x65,
   485  	0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f,
   486  	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12,
   487  	0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
   488  	0x79, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
   489  	0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c,
   490  	0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x32, 0x0a,
   491  	0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x18,
   492  	0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74,
   493  	0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
   494  	0x6b, 0x22, 0xae, 0x01, 0x0a, 0x15, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x55, 0x73, 0x65, 0x72, 0x53,
   495  	0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x6d,
   496  	0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74,
   497  	0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
   498  	0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x03,
   499  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78,
   500  	0x79, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x32, 0x30,
   501  	0x32, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x32,
   502  	0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32,
   503  	0x18, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65,
   504  	0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f,
   505  	0x72, 0x6b, 0x22, 0x9b, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x44, 0x65, 0x73, 0x74,
   506  	0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
   507  	0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35, 0x0a, 0x07, 0x61, 0x64, 0x64,
   508  	0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x78, 0x72, 0x61,
   509  	0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50, 0x4f,
   510  	0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
   511  	0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04,
   512  	0x70, 0x6f, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20,
   513  	0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65,
   514  	0x76, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c,
   515  	0x22, 0xc4, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
   516  	0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64,
   517  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x10,
   518  	0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
   519  	0x12, 0x51, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   520  	0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72,
   521  	0x6f, 0x78, 0x79, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x5f,
   522  	0x32, 0x30, 0x32, 0x32, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e,
   523  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69,
   524  	0x6f, 0x6e, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x04,
   525  	0x20, 0x03, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
   526  	0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x07,
   527  	0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x44, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12,
   528  	0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
   529  	0x79, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
   530  	0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c,
   531  	0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0xd6, 0x01,
   532  	0x0a, 0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x35,
   533  	0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
   534  	0x1b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65,
   535  	0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x07, 0x61, 0x64,
   536  	0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20,
   537  	0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74,
   538  	0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f,
   539  	0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
   540  	0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x75, 0x64, 0x70, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x5f,
   541  	0x74, 0x63, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, 0x64, 0x70, 0x4f, 0x76,
   542  	0x65, 0x72, 0x54, 0x63, 0x70, 0x12, 0x2f, 0x0a, 0x14, 0x75, 0x64, 0x70, 0x5f, 0x6f, 0x76, 0x65,
   543  	0x72, 0x5f, 0x74, 0x63, 0x70, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20,
   544  	0x01, 0x28, 0x0d, 0x52, 0x11, 0x75, 0x64, 0x70, 0x4f, 0x76, 0x65, 0x72, 0x54, 0x63, 0x70, 0x56,
   545  	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72,
   546  	0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73,
   547  	0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x32, 0x30, 0x32, 0x32, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74,
   548  	0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61,
   549  	0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x73, 0x68, 0x61,
   550  	0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x32, 0x30, 0x32, 0x32, 0xaa, 0x02, 0x1a,
   551  	0x58, 0x72, 0x61, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x53, 0x68, 0x61, 0x64, 0x6f,
   552  	0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x32, 0x30, 0x32, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   553  	0x6f, 0x33,
   554  }
   555  
   556  var (
   557  	file_proxy_shadowsocks_2022_config_proto_rawDescOnce sync.Once
   558  	file_proxy_shadowsocks_2022_config_proto_rawDescData = file_proxy_shadowsocks_2022_config_proto_rawDesc
   559  )
   560  
   561  func file_proxy_shadowsocks_2022_config_proto_rawDescGZIP() []byte {
   562  	file_proxy_shadowsocks_2022_config_proto_rawDescOnce.Do(func() {
   563  		file_proxy_shadowsocks_2022_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_shadowsocks_2022_config_proto_rawDescData)
   564  	})
   565  	return file_proxy_shadowsocks_2022_config_proto_rawDescData
   566  }
   567  
   568  var file_proxy_shadowsocks_2022_config_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
   569  var file_proxy_shadowsocks_2022_config_proto_goTypes = []interface{}{
   570  	(*ServerConfig)(nil),          // 0: xray.proxy.shadowsocks_2022.ServerConfig
   571  	(*MultiUserServerConfig)(nil), // 1: xray.proxy.shadowsocks_2022.MultiUserServerConfig
   572  	(*RelayDestination)(nil),      // 2: xray.proxy.shadowsocks_2022.RelayDestination
   573  	(*RelayServerConfig)(nil),     // 3: xray.proxy.shadowsocks_2022.RelayServerConfig
   574  	(*User)(nil),                  // 4: xray.proxy.shadowsocks_2022.User
   575  	(*ClientConfig)(nil),          // 5: xray.proxy.shadowsocks_2022.ClientConfig
   576  	(net.Network)(0),              // 6: xray.common.net.Network
   577  	(*net.IPOrDomain)(nil),        // 7: xray.common.net.IPOrDomain
   578  }
   579  var file_proxy_shadowsocks_2022_config_proto_depIdxs = []int32{
   580  	6, // 0: xray.proxy.shadowsocks_2022.ServerConfig.network:type_name -> xray.common.net.Network
   581  	4, // 1: xray.proxy.shadowsocks_2022.MultiUserServerConfig.users:type_name -> xray.proxy.shadowsocks_2022.User
   582  	6, // 2: xray.proxy.shadowsocks_2022.MultiUserServerConfig.network:type_name -> xray.common.net.Network
   583  	7, // 3: xray.proxy.shadowsocks_2022.RelayDestination.address:type_name -> xray.common.net.IPOrDomain
   584  	2, // 4: xray.proxy.shadowsocks_2022.RelayServerConfig.destinations:type_name -> xray.proxy.shadowsocks_2022.RelayDestination
   585  	6, // 5: xray.proxy.shadowsocks_2022.RelayServerConfig.network:type_name -> xray.common.net.Network
   586  	7, // 6: xray.proxy.shadowsocks_2022.ClientConfig.address:type_name -> xray.common.net.IPOrDomain
   587  	7, // [7:7] is the sub-list for method output_type
   588  	7, // [7:7] is the sub-list for method input_type
   589  	7, // [7:7] is the sub-list for extension type_name
   590  	7, // [7:7] is the sub-list for extension extendee
   591  	0, // [0:7] is the sub-list for field type_name
   592  }
   593  
   594  func init() { file_proxy_shadowsocks_2022_config_proto_init() }
   595  func file_proxy_shadowsocks_2022_config_proto_init() {
   596  	if File_proxy_shadowsocks_2022_config_proto != nil {
   597  		return
   598  	}
   599  	if !protoimpl.UnsafeEnabled {
   600  		file_proxy_shadowsocks_2022_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   601  			switch v := v.(*ServerConfig); i {
   602  			case 0:
   603  				return &v.state
   604  			case 1:
   605  				return &v.sizeCache
   606  			case 2:
   607  				return &v.unknownFields
   608  			default:
   609  				return nil
   610  			}
   611  		}
   612  		file_proxy_shadowsocks_2022_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   613  			switch v := v.(*MultiUserServerConfig); i {
   614  			case 0:
   615  				return &v.state
   616  			case 1:
   617  				return &v.sizeCache
   618  			case 2:
   619  				return &v.unknownFields
   620  			default:
   621  				return nil
   622  			}
   623  		}
   624  		file_proxy_shadowsocks_2022_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   625  			switch v := v.(*RelayDestination); i {
   626  			case 0:
   627  				return &v.state
   628  			case 1:
   629  				return &v.sizeCache
   630  			case 2:
   631  				return &v.unknownFields
   632  			default:
   633  				return nil
   634  			}
   635  		}
   636  		file_proxy_shadowsocks_2022_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   637  			switch v := v.(*RelayServerConfig); i {
   638  			case 0:
   639  				return &v.state
   640  			case 1:
   641  				return &v.sizeCache
   642  			case 2:
   643  				return &v.unknownFields
   644  			default:
   645  				return nil
   646  			}
   647  		}
   648  		file_proxy_shadowsocks_2022_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   649  			switch v := v.(*User); i {
   650  			case 0:
   651  				return &v.state
   652  			case 1:
   653  				return &v.sizeCache
   654  			case 2:
   655  				return &v.unknownFields
   656  			default:
   657  				return nil
   658  			}
   659  		}
   660  		file_proxy_shadowsocks_2022_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   661  			switch v := v.(*ClientConfig); i {
   662  			case 0:
   663  				return &v.state
   664  			case 1:
   665  				return &v.sizeCache
   666  			case 2:
   667  				return &v.unknownFields
   668  			default:
   669  				return nil
   670  			}
   671  		}
   672  	}
   673  	type x struct{}
   674  	out := protoimpl.TypeBuilder{
   675  		File: protoimpl.DescBuilder{
   676  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   677  			RawDescriptor: file_proxy_shadowsocks_2022_config_proto_rawDesc,
   678  			NumEnums:      0,
   679  			NumMessages:   6,
   680  			NumExtensions: 0,
   681  			NumServices:   0,
   682  		},
   683  		GoTypes:           file_proxy_shadowsocks_2022_config_proto_goTypes,
   684  		DependencyIndexes: file_proxy_shadowsocks_2022_config_proto_depIdxs,
   685  		MessageInfos:      file_proxy_shadowsocks_2022_config_proto_msgTypes,
   686  	}.Build()
   687  	File_proxy_shadowsocks_2022_config_proto = out.File
   688  	file_proxy_shadowsocks_2022_config_proto_rawDesc = nil
   689  	file_proxy_shadowsocks_2022_config_proto_goTypes = nil
   690  	file_proxy_shadowsocks_2022_config_proto_depIdxs = nil
   691  }