github.com/xraypb/xray-core@v1.6.6/proxy/shadowsocks_2022/config.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.1
     4  // 	protoc        v3.18.0
     5  // source: proxy/shadowsocks_2022/config.proto
     6  
     7  package shadowsocks_2022
     8  
     9  import (
    10  	net "github.com/xraypb/xray-core/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  }
   398  
   399  func (x *ClientConfig) Reset() {
   400  	*x = ClientConfig{}
   401  	if protoimpl.UnsafeEnabled {
   402  		mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[5]
   403  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   404  		ms.StoreMessageInfo(mi)
   405  	}
   406  }
   407  
   408  func (x *ClientConfig) String() string {
   409  	return protoimpl.X.MessageStringOf(x)
   410  }
   411  
   412  func (*ClientConfig) ProtoMessage() {}
   413  
   414  func (x *ClientConfig) ProtoReflect() protoreflect.Message {
   415  	mi := &file_proxy_shadowsocks_2022_config_proto_msgTypes[5]
   416  	if protoimpl.UnsafeEnabled && x != nil {
   417  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   418  		if ms.LoadMessageInfo() == nil {
   419  			ms.StoreMessageInfo(mi)
   420  		}
   421  		return ms
   422  	}
   423  	return mi.MessageOf(x)
   424  }
   425  
   426  // Deprecated: Use ClientConfig.ProtoReflect.Descriptor instead.
   427  func (*ClientConfig) Descriptor() ([]byte, []int) {
   428  	return file_proxy_shadowsocks_2022_config_proto_rawDescGZIP(), []int{5}
   429  }
   430  
   431  func (x *ClientConfig) GetAddress() *net.IPOrDomain {
   432  	if x != nil {
   433  		return x.Address
   434  	}
   435  	return nil
   436  }
   437  
   438  func (x *ClientConfig) GetPort() uint32 {
   439  	if x != nil {
   440  		return x.Port
   441  	}
   442  	return 0
   443  }
   444  
   445  func (x *ClientConfig) GetMethod() string {
   446  	if x != nil {
   447  		return x.Method
   448  	}
   449  	return ""
   450  }
   451  
   452  func (x *ClientConfig) GetKey() string {
   453  	if x != nil {
   454  		return x.Key
   455  	}
   456  	return ""
   457  }
   458  
   459  func (x *ClientConfig) GetUdpOverTcp() bool {
   460  	if x != nil {
   461  		return x.UdpOverTcp
   462  	}
   463  	return false
   464  }
   465  
   466  var File_proxy_shadowsocks_2022_config_proto protoreflect.FileDescriptor
   467  
   468  var file_proxy_shadowsocks_2022_config_proto_rawDesc = []byte{
   469  	0x0a, 0x23, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f,
   470  	0x63, 0x6b, 0x73, 0x5f, 0x32, 0x30, 0x32, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
   471  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78,
   472  	0x79, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x32, 0x30,
   473  	0x32, 0x32, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x6e,
   474  	0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x63, 0x6f,
   475  	0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
   476  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x65,
   477  	0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f,
   478  	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12,
   479  	0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
   480  	0x79, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
   481  	0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c,
   482  	0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x32, 0x0a,
   483  	0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x18,
   484  	0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74,
   485  	0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
   486  	0x6b, 0x22, 0xae, 0x01, 0x0a, 0x15, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x55, 0x73, 0x65, 0x72, 0x53,
   487  	0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x6d,
   488  	0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74,
   489  	0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
   490  	0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x03,
   491  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78,
   492  	0x79, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x32, 0x30,
   493  	0x32, 0x32, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x32,
   494  	0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32,
   495  	0x18, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65,
   496  	0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f,
   497  	0x72, 0x6b, 0x22, 0x9b, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x44, 0x65, 0x73, 0x74,
   498  	0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
   499  	0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35, 0x0a, 0x07, 0x61, 0x64, 0x64,
   500  	0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x78, 0x72, 0x61,
   501  	0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50, 0x4f,
   502  	0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
   503  	0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04,
   504  	0x70, 0x6f, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20,
   505  	0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65,
   506  	0x76, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c,
   507  	0x22, 0xc4, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
   508  	0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64,
   509  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x10,
   510  	0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
   511  	0x12, 0x51, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   512  	0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72,
   513  	0x6f, 0x78, 0x79, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x5f,
   514  	0x32, 0x30, 0x32, 0x32, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e,
   515  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69,
   516  	0x6f, 0x6e, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x04,
   517  	0x20, 0x03, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
   518  	0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x07,
   519  	0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x44, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12,
   520  	0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
   521  	0x79, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
   522  	0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c,
   523  	0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0xa5, 0x01,
   524  	0x0a, 0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x35,
   525  	0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
   526  	0x1b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65,
   527  	0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x07, 0x61, 0x64,
   528  	0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20,
   529  	0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74,
   530  	0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f,
   531  	0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
   532  	0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x75, 0x64, 0x70, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x5f,
   533  	0x74, 0x63, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, 0x64, 0x70, 0x4f, 0x76,
   534  	0x65, 0x72, 0x54, 0x63, 0x70, 0x42, 0x72, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61,
   535  	0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f,
   536  	0x63, 0x6b, 0x73, 0x5f, 0x32, 0x30, 0x32, 0x32, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68,
   537  	0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79,
   538  	0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x73, 0x68, 0x61, 0x64,
   539  	0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x32, 0x30, 0x32, 0x32, 0xaa, 0x02, 0x1a, 0x58,
   540  	0x72, 0x61, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x53, 0x68, 0x61, 0x64, 0x6f, 0x77,
   541  	0x73, 0x6f, 0x63, 0x6b, 0x73, 0x32, 0x30, 0x32, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   542  	0x33,
   543  }
   544  
   545  var (
   546  	file_proxy_shadowsocks_2022_config_proto_rawDescOnce sync.Once
   547  	file_proxy_shadowsocks_2022_config_proto_rawDescData = file_proxy_shadowsocks_2022_config_proto_rawDesc
   548  )
   549  
   550  func file_proxy_shadowsocks_2022_config_proto_rawDescGZIP() []byte {
   551  	file_proxy_shadowsocks_2022_config_proto_rawDescOnce.Do(func() {
   552  		file_proxy_shadowsocks_2022_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_shadowsocks_2022_config_proto_rawDescData)
   553  	})
   554  	return file_proxy_shadowsocks_2022_config_proto_rawDescData
   555  }
   556  
   557  var file_proxy_shadowsocks_2022_config_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
   558  var file_proxy_shadowsocks_2022_config_proto_goTypes = []interface{}{
   559  	(*ServerConfig)(nil),          // 0: xray.proxy.shadowsocks_2022.ServerConfig
   560  	(*MultiUserServerConfig)(nil), // 1: xray.proxy.shadowsocks_2022.MultiUserServerConfig
   561  	(*RelayDestination)(nil),      // 2: xray.proxy.shadowsocks_2022.RelayDestination
   562  	(*RelayServerConfig)(nil),     // 3: xray.proxy.shadowsocks_2022.RelayServerConfig
   563  	(*User)(nil),                  // 4: xray.proxy.shadowsocks_2022.User
   564  	(*ClientConfig)(nil),          // 5: xray.proxy.shadowsocks_2022.ClientConfig
   565  	(net.Network)(0),              // 6: xray.common.net.Network
   566  	(*net.IPOrDomain)(nil),        // 7: xray.common.net.IPOrDomain
   567  }
   568  var file_proxy_shadowsocks_2022_config_proto_depIdxs = []int32{
   569  	6, // 0: xray.proxy.shadowsocks_2022.ServerConfig.network:type_name -> xray.common.net.Network
   570  	4, // 1: xray.proxy.shadowsocks_2022.MultiUserServerConfig.users:type_name -> xray.proxy.shadowsocks_2022.User
   571  	6, // 2: xray.proxy.shadowsocks_2022.MultiUserServerConfig.network:type_name -> xray.common.net.Network
   572  	7, // 3: xray.proxy.shadowsocks_2022.RelayDestination.address:type_name -> xray.common.net.IPOrDomain
   573  	2, // 4: xray.proxy.shadowsocks_2022.RelayServerConfig.destinations:type_name -> xray.proxy.shadowsocks_2022.RelayDestination
   574  	6, // 5: xray.proxy.shadowsocks_2022.RelayServerConfig.network:type_name -> xray.common.net.Network
   575  	7, // 6: xray.proxy.shadowsocks_2022.ClientConfig.address:type_name -> xray.common.net.IPOrDomain
   576  	7, // [7:7] is the sub-list for method output_type
   577  	7, // [7:7] is the sub-list for method input_type
   578  	7, // [7:7] is the sub-list for extension type_name
   579  	7, // [7:7] is the sub-list for extension extendee
   580  	0, // [0:7] is the sub-list for field type_name
   581  }
   582  
   583  func init() { file_proxy_shadowsocks_2022_config_proto_init() }
   584  func file_proxy_shadowsocks_2022_config_proto_init() {
   585  	if File_proxy_shadowsocks_2022_config_proto != nil {
   586  		return
   587  	}
   588  	if !protoimpl.UnsafeEnabled {
   589  		file_proxy_shadowsocks_2022_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   590  			switch v := v.(*ServerConfig); i {
   591  			case 0:
   592  				return &v.state
   593  			case 1:
   594  				return &v.sizeCache
   595  			case 2:
   596  				return &v.unknownFields
   597  			default:
   598  				return nil
   599  			}
   600  		}
   601  		file_proxy_shadowsocks_2022_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   602  			switch v := v.(*MultiUserServerConfig); i {
   603  			case 0:
   604  				return &v.state
   605  			case 1:
   606  				return &v.sizeCache
   607  			case 2:
   608  				return &v.unknownFields
   609  			default:
   610  				return nil
   611  			}
   612  		}
   613  		file_proxy_shadowsocks_2022_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   614  			switch v := v.(*RelayDestination); i {
   615  			case 0:
   616  				return &v.state
   617  			case 1:
   618  				return &v.sizeCache
   619  			case 2:
   620  				return &v.unknownFields
   621  			default:
   622  				return nil
   623  			}
   624  		}
   625  		file_proxy_shadowsocks_2022_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   626  			switch v := v.(*RelayServerConfig); i {
   627  			case 0:
   628  				return &v.state
   629  			case 1:
   630  				return &v.sizeCache
   631  			case 2:
   632  				return &v.unknownFields
   633  			default:
   634  				return nil
   635  			}
   636  		}
   637  		file_proxy_shadowsocks_2022_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   638  			switch v := v.(*User); i {
   639  			case 0:
   640  				return &v.state
   641  			case 1:
   642  				return &v.sizeCache
   643  			case 2:
   644  				return &v.unknownFields
   645  			default:
   646  				return nil
   647  			}
   648  		}
   649  		file_proxy_shadowsocks_2022_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   650  			switch v := v.(*ClientConfig); i {
   651  			case 0:
   652  				return &v.state
   653  			case 1:
   654  				return &v.sizeCache
   655  			case 2:
   656  				return &v.unknownFields
   657  			default:
   658  				return nil
   659  			}
   660  		}
   661  	}
   662  	type x struct{}
   663  	out := protoimpl.TypeBuilder{
   664  		File: protoimpl.DescBuilder{
   665  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   666  			RawDescriptor: file_proxy_shadowsocks_2022_config_proto_rawDesc,
   667  			NumEnums:      0,
   668  			NumMessages:   6,
   669  			NumExtensions: 0,
   670  			NumServices:   0,
   671  		},
   672  		GoTypes:           file_proxy_shadowsocks_2022_config_proto_goTypes,
   673  		DependencyIndexes: file_proxy_shadowsocks_2022_config_proto_depIdxs,
   674  		MessageInfos:      file_proxy_shadowsocks_2022_config_proto_msgTypes,
   675  	}.Build()
   676  	File_proxy_shadowsocks_2022_config_proto = out.File
   677  	file_proxy_shadowsocks_2022_config_proto_rawDesc = nil
   678  	file_proxy_shadowsocks_2022_config_proto_goTypes = nil
   679  	file_proxy_shadowsocks_2022_config_proto_depIdxs = nil
   680  }