github.com/imannamdari/v2ray-core/v5@v5.0.5/proxy/shadowsocks/config.pb.go (about)

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