github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/proxy/shadowsocks/config.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.25.0
     4  // 	protoc        v3.13.0
     5  // source: proxy/shadowsocks/config.proto
     6  
     7  package shadowsocks
     8  
     9  import (
    10  	proto "github.com/golang/protobuf/proto"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  	net "v2ray.com/core/common/net"
    16  	protocol "v2ray.com/core/common/protocol"
    17  )
    18  
    19  const (
    20  	// Verify that this generated code is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    22  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    23  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    24  )
    25  
    26  // This is a compile-time assertion that a sufficiently up-to-date version
    27  // of the legacy proto package is being used.
    28  const _ = proto.ProtoPackageIsVersion4
    29  
    30  type CipherType int32
    31  
    32  const (
    33  	CipherType_UNKNOWN           CipherType = 0
    34  	CipherType_AES_128_CFB       CipherType = 1
    35  	CipherType_AES_256_CFB       CipherType = 2
    36  	CipherType_CHACHA20          CipherType = 3
    37  	CipherType_CHACHA20_IETF     CipherType = 4
    38  	CipherType_AES_128_GCM       CipherType = 5
    39  	CipherType_AES_256_GCM       CipherType = 6
    40  	CipherType_CHACHA20_POLY1305 CipherType = 7
    41  	CipherType_NONE              CipherType = 8
    42  )
    43  
    44  // Enum value maps for CipherType.
    45  var (
    46  	CipherType_name = map[int32]string{
    47  		0: "UNKNOWN",
    48  		1: "AES_128_CFB",
    49  		2: "AES_256_CFB",
    50  		3: "CHACHA20",
    51  		4: "CHACHA20_IETF",
    52  		5: "AES_128_GCM",
    53  		6: "AES_256_GCM",
    54  		7: "CHACHA20_POLY1305",
    55  		8: "NONE",
    56  	}
    57  	CipherType_value = map[string]int32{
    58  		"UNKNOWN":           0,
    59  		"AES_128_CFB":       1,
    60  		"AES_256_CFB":       2,
    61  		"CHACHA20":          3,
    62  		"CHACHA20_IETF":     4,
    63  		"AES_128_GCM":       5,
    64  		"AES_256_GCM":       6,
    65  		"CHACHA20_POLY1305": 7,
    66  		"NONE":              8,
    67  	}
    68  )
    69  
    70  func (x CipherType) Enum() *CipherType {
    71  	p := new(CipherType)
    72  	*p = x
    73  	return p
    74  }
    75  
    76  func (x CipherType) String() string {
    77  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    78  }
    79  
    80  func (CipherType) Descriptor() protoreflect.EnumDescriptor {
    81  	return file_proxy_shadowsocks_config_proto_enumTypes[0].Descriptor()
    82  }
    83  
    84  func (CipherType) Type() protoreflect.EnumType {
    85  	return &file_proxy_shadowsocks_config_proto_enumTypes[0]
    86  }
    87  
    88  func (x CipherType) Number() protoreflect.EnumNumber {
    89  	return protoreflect.EnumNumber(x)
    90  }
    91  
    92  // Deprecated: Use CipherType.Descriptor instead.
    93  func (CipherType) EnumDescriptor() ([]byte, []int) {
    94  	return file_proxy_shadowsocks_config_proto_rawDescGZIP(), []int{0}
    95  }
    96  
    97  type Account struct {
    98  	state         protoimpl.MessageState
    99  	sizeCache     protoimpl.SizeCache
   100  	unknownFields protoimpl.UnknownFields
   101  
   102  	Password   string     `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
   103  	CipherType CipherType `protobuf:"varint,2,opt,name=cipher_type,json=cipherType,proto3,enum=v2ray.core.proxy.shadowsocks.CipherType" json:"cipher_type,omitempty"`
   104  }
   105  
   106  func (x *Account) Reset() {
   107  	*x = Account{}
   108  	if protoimpl.UnsafeEnabled {
   109  		mi := &file_proxy_shadowsocks_config_proto_msgTypes[0]
   110  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   111  		ms.StoreMessageInfo(mi)
   112  	}
   113  }
   114  
   115  func (x *Account) String() string {
   116  	return protoimpl.X.MessageStringOf(x)
   117  }
   118  
   119  func (*Account) ProtoMessage() {}
   120  
   121  func (x *Account) ProtoReflect() protoreflect.Message {
   122  	mi := &file_proxy_shadowsocks_config_proto_msgTypes[0]
   123  	if protoimpl.UnsafeEnabled && x != nil {
   124  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   125  		if ms.LoadMessageInfo() == nil {
   126  			ms.StoreMessageInfo(mi)
   127  		}
   128  		return ms
   129  	}
   130  	return mi.MessageOf(x)
   131  }
   132  
   133  // Deprecated: Use Account.ProtoReflect.Descriptor instead.
   134  func (*Account) Descriptor() ([]byte, []int) {
   135  	return file_proxy_shadowsocks_config_proto_rawDescGZIP(), []int{0}
   136  }
   137  
   138  func (x *Account) GetPassword() string {
   139  	if x != nil {
   140  		return x.Password
   141  	}
   142  	return ""
   143  }
   144  
   145  func (x *Account) GetCipherType() CipherType {
   146  	if x != nil {
   147  		return x.CipherType
   148  	}
   149  	return CipherType_UNKNOWN
   150  }
   151  
   152  type ServerConfig struct {
   153  	state         protoimpl.MessageState
   154  	sizeCache     protoimpl.SizeCache
   155  	unknownFields protoimpl.UnknownFields
   156  
   157  	// UdpEnabled specified whether or not to enable UDP for Shadowsocks.
   158  	// Deprecated. Use 'network' field.
   159  	//
   160  	// Deprecated: Do not use.
   161  	UdpEnabled bool           `protobuf:"varint,1,opt,name=udp_enabled,json=udpEnabled,proto3" json:"udp_enabled,omitempty"`
   162  	User       *protocol.User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
   163  	Network    []net.Network  `protobuf:"varint,3,rep,packed,name=network,proto3,enum=v2ray.core.common.net.Network" json:"network,omitempty"`
   164  }
   165  
   166  func (x *ServerConfig) Reset() {
   167  	*x = ServerConfig{}
   168  	if protoimpl.UnsafeEnabled {
   169  		mi := &file_proxy_shadowsocks_config_proto_msgTypes[1]
   170  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   171  		ms.StoreMessageInfo(mi)
   172  	}
   173  }
   174  
   175  func (x *ServerConfig) String() string {
   176  	return protoimpl.X.MessageStringOf(x)
   177  }
   178  
   179  func (*ServerConfig) ProtoMessage() {}
   180  
   181  func (x *ServerConfig) ProtoReflect() protoreflect.Message {
   182  	mi := &file_proxy_shadowsocks_config_proto_msgTypes[1]
   183  	if protoimpl.UnsafeEnabled && x != nil {
   184  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   185  		if ms.LoadMessageInfo() == nil {
   186  			ms.StoreMessageInfo(mi)
   187  		}
   188  		return ms
   189  	}
   190  	return mi.MessageOf(x)
   191  }
   192  
   193  // Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.
   194  func (*ServerConfig) Descriptor() ([]byte, []int) {
   195  	return file_proxy_shadowsocks_config_proto_rawDescGZIP(), []int{1}
   196  }
   197  
   198  // Deprecated: Do not use.
   199  func (x *ServerConfig) GetUdpEnabled() bool {
   200  	if x != nil {
   201  		return x.UdpEnabled
   202  	}
   203  	return false
   204  }
   205  
   206  func (x *ServerConfig) GetUser() *protocol.User {
   207  	if x != nil {
   208  		return x.User
   209  	}
   210  	return nil
   211  }
   212  
   213  func (x *ServerConfig) GetNetwork() []net.Network {
   214  	if x != nil {
   215  		return x.Network
   216  	}
   217  	return nil
   218  }
   219  
   220  type ClientConfig struct {
   221  	state         protoimpl.MessageState
   222  	sizeCache     protoimpl.SizeCache
   223  	unknownFields protoimpl.UnknownFields
   224  
   225  	Server []*protocol.ServerEndpoint `protobuf:"bytes,1,rep,name=server,proto3" json:"server,omitempty"`
   226  }
   227  
   228  func (x *ClientConfig) Reset() {
   229  	*x = ClientConfig{}
   230  	if protoimpl.UnsafeEnabled {
   231  		mi := &file_proxy_shadowsocks_config_proto_msgTypes[2]
   232  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   233  		ms.StoreMessageInfo(mi)
   234  	}
   235  }
   236  
   237  func (x *ClientConfig) String() string {
   238  	return protoimpl.X.MessageStringOf(x)
   239  }
   240  
   241  func (*ClientConfig) ProtoMessage() {}
   242  
   243  func (x *ClientConfig) ProtoReflect() protoreflect.Message {
   244  	mi := &file_proxy_shadowsocks_config_proto_msgTypes[2]
   245  	if protoimpl.UnsafeEnabled && x != nil {
   246  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   247  		if ms.LoadMessageInfo() == nil {
   248  			ms.StoreMessageInfo(mi)
   249  		}
   250  		return ms
   251  	}
   252  	return mi.MessageOf(x)
   253  }
   254  
   255  // Deprecated: Use ClientConfig.ProtoReflect.Descriptor instead.
   256  func (*ClientConfig) Descriptor() ([]byte, []int) {
   257  	return file_proxy_shadowsocks_config_proto_rawDescGZIP(), []int{2}
   258  }
   259  
   260  func (x *ClientConfig) GetServer() []*protocol.ServerEndpoint {
   261  	if x != nil {
   262  		return x.Server
   263  	}
   264  	return nil
   265  }
   266  
   267  var File_proxy_shadowsocks_config_proto protoreflect.FileDescriptor
   268  
   269  var file_proxy_shadowsocks_config_proto_rawDesc = []byte{
   270  	0x0a, 0x1e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f,
   271  	0x63, 0x6b, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   272  	0x12, 0x1c, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   273  	0x78, 0x79, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x1a, 0x18,
   274  	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f,
   275  	0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
   276  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70,
   277  	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f,
   278  	0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x70, 0x65,
   279  	0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75,
   280  	0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x01,
   281  	0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x49,
   282  	0x0a, 0x0b, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
   283  	0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65,
   284  	0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63,
   285  	0x6b, 0x73, 0x2e, 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x63,
   286  	0x69, 0x70, 0x68, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x22, 0xa3, 0x01, 0x0a, 0x0c, 0x53, 0x65,
   287  	0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x23, 0x0a, 0x0b, 0x75, 0x64,
   288  	0x70, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42,
   289  	0x02, 0x18, 0x01, 0x52, 0x0a, 0x75, 0x64, 0x70, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12,
   290  	0x34, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e,
   291  	0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
   292  	0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52,
   293  	0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
   294  	0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
   295  	0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x4e,
   296  	0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22,
   297  	0x52, 0x0a, 0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
   298  	0x42, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
   299  	0x2a, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
   300  	0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x72,
   301  	0x76, 0x65, 0x72, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x73, 0x65, 0x72,
   302  	0x76, 0x65, 0x72, 0x2a, 0x9f, 0x01, 0x0a, 0x0a, 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 0x54, 0x79,
   303  	0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12,
   304  	0x0f, 0x0a, 0x0b, 0x41, 0x45, 0x53, 0x5f, 0x31, 0x32, 0x38, 0x5f, 0x43, 0x46, 0x42, 0x10, 0x01,
   305  	0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x45, 0x53, 0x5f, 0x32, 0x35, 0x36, 0x5f, 0x43, 0x46, 0x42, 0x10,
   306  	0x02, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x48, 0x41, 0x43, 0x48, 0x41, 0x32, 0x30, 0x10, 0x03, 0x12,
   307  	0x11, 0x0a, 0x0d, 0x43, 0x48, 0x41, 0x43, 0x48, 0x41, 0x32, 0x30, 0x5f, 0x49, 0x45, 0x54, 0x46,
   308  	0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x45, 0x53, 0x5f, 0x31, 0x32, 0x38, 0x5f, 0x47, 0x43,
   309  	0x4d, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x45, 0x53, 0x5f, 0x32, 0x35, 0x36, 0x5f, 0x47,
   310  	0x43, 0x4d, 0x10, 0x06, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x48, 0x41, 0x43, 0x48, 0x41, 0x32, 0x30,
   311  	0x5f, 0x50, 0x4f, 0x4c, 0x59, 0x31, 0x33, 0x30, 0x35, 0x10, 0x07, 0x12, 0x08, 0x0a, 0x04, 0x4e,
   312  	0x4f, 0x4e, 0x45, 0x10, 0x08, 0x42, 0x65, 0x0a, 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72,
   313  	0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 0x68,
   314  	0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x50, 0x01, 0x5a, 0x20, 0x76, 0x32, 0x72,
   315  	0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78,
   316  	0x79, 0x2f, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0xaa, 0x02, 0x1c,
   317  	0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79,
   318  	0x2e, 0x53, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x62, 0x06, 0x70, 0x72,
   319  	0x6f, 0x74, 0x6f, 0x33,
   320  }
   321  
   322  var (
   323  	file_proxy_shadowsocks_config_proto_rawDescOnce sync.Once
   324  	file_proxy_shadowsocks_config_proto_rawDescData = file_proxy_shadowsocks_config_proto_rawDesc
   325  )
   326  
   327  func file_proxy_shadowsocks_config_proto_rawDescGZIP() []byte {
   328  	file_proxy_shadowsocks_config_proto_rawDescOnce.Do(func() {
   329  		file_proxy_shadowsocks_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_shadowsocks_config_proto_rawDescData)
   330  	})
   331  	return file_proxy_shadowsocks_config_proto_rawDescData
   332  }
   333  
   334  var file_proxy_shadowsocks_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   335  var file_proxy_shadowsocks_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   336  var file_proxy_shadowsocks_config_proto_goTypes = []interface{}{
   337  	(CipherType)(0),                 // 0: v2ray.core.proxy.shadowsocks.CipherType
   338  	(*Account)(nil),                 // 1: v2ray.core.proxy.shadowsocks.Account
   339  	(*ServerConfig)(nil),            // 2: v2ray.core.proxy.shadowsocks.ServerConfig
   340  	(*ClientConfig)(nil),            // 3: v2ray.core.proxy.shadowsocks.ClientConfig
   341  	(*protocol.User)(nil),           // 4: v2ray.core.common.protocol.User
   342  	(net.Network)(0),                // 5: v2ray.core.common.net.Network
   343  	(*protocol.ServerEndpoint)(nil), // 6: v2ray.core.common.protocol.ServerEndpoint
   344  }
   345  var file_proxy_shadowsocks_config_proto_depIdxs = []int32{
   346  	0, // 0: v2ray.core.proxy.shadowsocks.Account.cipher_type:type_name -> v2ray.core.proxy.shadowsocks.CipherType
   347  	4, // 1: v2ray.core.proxy.shadowsocks.ServerConfig.user:type_name -> v2ray.core.common.protocol.User
   348  	5, // 2: v2ray.core.proxy.shadowsocks.ServerConfig.network:type_name -> v2ray.core.common.net.Network
   349  	6, // 3: v2ray.core.proxy.shadowsocks.ClientConfig.server:type_name -> v2ray.core.common.protocol.ServerEndpoint
   350  	4, // [4:4] is the sub-list for method output_type
   351  	4, // [4:4] is the sub-list for method input_type
   352  	4, // [4:4] is the sub-list for extension type_name
   353  	4, // [4:4] is the sub-list for extension extendee
   354  	0, // [0:4] is the sub-list for field type_name
   355  }
   356  
   357  func init() { file_proxy_shadowsocks_config_proto_init() }
   358  func file_proxy_shadowsocks_config_proto_init() {
   359  	if File_proxy_shadowsocks_config_proto != nil {
   360  		return
   361  	}
   362  	if !protoimpl.UnsafeEnabled {
   363  		file_proxy_shadowsocks_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   364  			switch v := v.(*Account); i {
   365  			case 0:
   366  				return &v.state
   367  			case 1:
   368  				return &v.sizeCache
   369  			case 2:
   370  				return &v.unknownFields
   371  			default:
   372  				return nil
   373  			}
   374  		}
   375  		file_proxy_shadowsocks_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   376  			switch v := v.(*ServerConfig); i {
   377  			case 0:
   378  				return &v.state
   379  			case 1:
   380  				return &v.sizeCache
   381  			case 2:
   382  				return &v.unknownFields
   383  			default:
   384  				return nil
   385  			}
   386  		}
   387  		file_proxy_shadowsocks_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   388  			switch v := v.(*ClientConfig); i {
   389  			case 0:
   390  				return &v.state
   391  			case 1:
   392  				return &v.sizeCache
   393  			case 2:
   394  				return &v.unknownFields
   395  			default:
   396  				return nil
   397  			}
   398  		}
   399  	}
   400  	type x struct{}
   401  	out := protoimpl.TypeBuilder{
   402  		File: protoimpl.DescBuilder{
   403  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   404  			RawDescriptor: file_proxy_shadowsocks_config_proto_rawDesc,
   405  			NumEnums:      1,
   406  			NumMessages:   3,
   407  			NumExtensions: 0,
   408  			NumServices:   0,
   409  		},
   410  		GoTypes:           file_proxy_shadowsocks_config_proto_goTypes,
   411  		DependencyIndexes: file_proxy_shadowsocks_config_proto_depIdxs,
   412  		EnumInfos:         file_proxy_shadowsocks_config_proto_enumTypes,
   413  		MessageInfos:      file_proxy_shadowsocks_config_proto_msgTypes,
   414  	}.Build()
   415  	File_proxy_shadowsocks_config_proto = out.File
   416  	file_proxy_shadowsocks_config_proto_rawDesc = nil
   417  	file_proxy_shadowsocks_config_proto_goTypes = nil
   418  	file_proxy_shadowsocks_config_proto_depIdxs = nil
   419  }