github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/proxy/shadowsocks/simplified/config.pb.go (about) 1 package simplified 2 3 import ( 4 net "github.com/v2fly/v2ray-core/v5/common/net" 5 packetaddr "github.com/v2fly/v2ray-core/v5/common/net/packetaddr" 6 _ "github.com/v2fly/v2ray-core/v5/common/protoext" 7 shadowsocks "github.com/v2fly/v2ray-core/v5/proxy/shadowsocks" 8 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 9 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 10 reflect "reflect" 11 sync "sync" 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 ServerConfig struct { 22 state protoimpl.MessageState 23 sizeCache protoimpl.SizeCache 24 unknownFields protoimpl.UnknownFields 25 26 Method *CipherTypeWrapper `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` 27 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` 28 Networks *net.NetworkList `protobuf:"bytes,3,opt,name=networks,proto3" json:"networks,omitempty"` 29 PacketEncoding packetaddr.PacketAddrType `protobuf:"varint,4,opt,name=packet_encoding,json=packetEncoding,proto3,enum=v2ray.core.net.packetaddr.PacketAddrType" json:"packet_encoding,omitempty"` 30 } 31 32 func (x *ServerConfig) Reset() { 33 *x = ServerConfig{} 34 if protoimpl.UnsafeEnabled { 35 mi := &file_proxy_shadowsocks_simplified_config_proto_msgTypes[0] 36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 37 ms.StoreMessageInfo(mi) 38 } 39 } 40 41 func (x *ServerConfig) String() string { 42 return protoimpl.X.MessageStringOf(x) 43 } 44 45 func (*ServerConfig) ProtoMessage() {} 46 47 func (x *ServerConfig) ProtoReflect() protoreflect.Message { 48 mi := &file_proxy_shadowsocks_simplified_config_proto_msgTypes[0] 49 if protoimpl.UnsafeEnabled && x != nil { 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 if ms.LoadMessageInfo() == nil { 52 ms.StoreMessageInfo(mi) 53 } 54 return ms 55 } 56 return mi.MessageOf(x) 57 } 58 59 // Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead. 60 func (*ServerConfig) Descriptor() ([]byte, []int) { 61 return file_proxy_shadowsocks_simplified_config_proto_rawDescGZIP(), []int{0} 62 } 63 64 func (x *ServerConfig) GetMethod() *CipherTypeWrapper { 65 if x != nil { 66 return x.Method 67 } 68 return nil 69 } 70 71 func (x *ServerConfig) GetPassword() string { 72 if x != nil { 73 return x.Password 74 } 75 return "" 76 } 77 78 func (x *ServerConfig) GetNetworks() *net.NetworkList { 79 if x != nil { 80 return x.Networks 81 } 82 return nil 83 } 84 85 func (x *ServerConfig) GetPacketEncoding() packetaddr.PacketAddrType { 86 if x != nil { 87 return x.PacketEncoding 88 } 89 return packetaddr.PacketAddrType(0) 90 } 91 92 type ClientConfig struct { 93 state protoimpl.MessageState 94 sizeCache protoimpl.SizeCache 95 unknownFields protoimpl.UnknownFields 96 97 Address *net.IPOrDomain `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 98 Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` 99 Method *CipherTypeWrapper `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` 100 Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` 101 ExperimentReducedIvHeadEntropy bool `protobuf:"varint,90001,opt,name=experiment_reduced_iv_head_entropy,json=experimentReducedIvHeadEntropy,proto3" json:"experiment_reduced_iv_head_entropy,omitempty"` 102 } 103 104 func (x *ClientConfig) Reset() { 105 *x = ClientConfig{} 106 if protoimpl.UnsafeEnabled { 107 mi := &file_proxy_shadowsocks_simplified_config_proto_msgTypes[1] 108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 109 ms.StoreMessageInfo(mi) 110 } 111 } 112 113 func (x *ClientConfig) String() string { 114 return protoimpl.X.MessageStringOf(x) 115 } 116 117 func (*ClientConfig) ProtoMessage() {} 118 119 func (x *ClientConfig) ProtoReflect() protoreflect.Message { 120 mi := &file_proxy_shadowsocks_simplified_config_proto_msgTypes[1] 121 if protoimpl.UnsafeEnabled && x != nil { 122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 123 if ms.LoadMessageInfo() == nil { 124 ms.StoreMessageInfo(mi) 125 } 126 return ms 127 } 128 return mi.MessageOf(x) 129 } 130 131 // Deprecated: Use ClientConfig.ProtoReflect.Descriptor instead. 132 func (*ClientConfig) Descriptor() ([]byte, []int) { 133 return file_proxy_shadowsocks_simplified_config_proto_rawDescGZIP(), []int{1} 134 } 135 136 func (x *ClientConfig) GetAddress() *net.IPOrDomain { 137 if x != nil { 138 return x.Address 139 } 140 return nil 141 } 142 143 func (x *ClientConfig) GetPort() uint32 { 144 if x != nil { 145 return x.Port 146 } 147 return 0 148 } 149 150 func (x *ClientConfig) GetMethod() *CipherTypeWrapper { 151 if x != nil { 152 return x.Method 153 } 154 return nil 155 } 156 157 func (x *ClientConfig) GetPassword() string { 158 if x != nil { 159 return x.Password 160 } 161 return "" 162 } 163 164 func (x *ClientConfig) GetExperimentReducedIvHeadEntropy() bool { 165 if x != nil { 166 return x.ExperimentReducedIvHeadEntropy 167 } 168 return false 169 } 170 171 type CipherTypeWrapper struct { 172 state protoimpl.MessageState 173 sizeCache protoimpl.SizeCache 174 unknownFields protoimpl.UnknownFields 175 176 Value shadowsocks.CipherType `protobuf:"varint,1,opt,name=value,proto3,enum=v2ray.core.proxy.shadowsocks.CipherType" json:"value,omitempty"` 177 } 178 179 func (x *CipherTypeWrapper) Reset() { 180 *x = CipherTypeWrapper{} 181 if protoimpl.UnsafeEnabled { 182 mi := &file_proxy_shadowsocks_simplified_config_proto_msgTypes[2] 183 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 184 ms.StoreMessageInfo(mi) 185 } 186 } 187 188 func (x *CipherTypeWrapper) String() string { 189 return protoimpl.X.MessageStringOf(x) 190 } 191 192 func (*CipherTypeWrapper) ProtoMessage() {} 193 194 func (x *CipherTypeWrapper) ProtoReflect() protoreflect.Message { 195 mi := &file_proxy_shadowsocks_simplified_config_proto_msgTypes[2] 196 if protoimpl.UnsafeEnabled && x != nil { 197 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 198 if ms.LoadMessageInfo() == nil { 199 ms.StoreMessageInfo(mi) 200 } 201 return ms 202 } 203 return mi.MessageOf(x) 204 } 205 206 // Deprecated: Use CipherTypeWrapper.ProtoReflect.Descriptor instead. 207 func (*CipherTypeWrapper) Descriptor() ([]byte, []int) { 208 return file_proxy_shadowsocks_simplified_config_proto_rawDescGZIP(), []int{2} 209 } 210 211 func (x *CipherTypeWrapper) GetValue() shadowsocks.CipherType { 212 if x != nil { 213 return x.Value 214 } 215 return shadowsocks.CipherType(0) 216 } 217 218 var File_proxy_shadowsocks_simplified_config_proto protoreflect.FileDescriptor 219 220 var file_proxy_shadowsocks_simplified_config_proto_rawDesc = []byte{ 221 0x0a, 0x29, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 222 0x63, 0x6b, 0x73, 0x2f, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64, 0x2f, 0x63, 223 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x27, 0x76, 0x32, 0x72, 224 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 0x68, 225 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x2e, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x69, 226 0x66, 0x69, 0x65, 0x64, 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 227 0x74, 0x6f, 0x65, 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 228 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 229 0x65, 0x74, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 230 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x6e, 0x65, 0x74, 231 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x63, 0x6f, 0x6d, 0x6d, 232 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x61, 0x64, 0x64, 233 0x72, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 234 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 235 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 236 0x02, 0x0a, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 237 0x52, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 238 0x3a, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 239 0x78, 0x79, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x2e, 0x73, 240 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64, 0x2e, 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 241 0x54, 0x79, 0x70, 0x65, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x52, 0x06, 0x6d, 0x65, 0x74, 242 0x68, 0x6f, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 243 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 244 0x3e, 0x0a, 0x08, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 245 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 246 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 247 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x08, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x12, 248 0x52, 0x0a, 0x0f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 249 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 250 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 251 0x61, 0x64, 0x64, 0x72, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x54, 252 0x79, 0x70, 0x65, 0x52, 0x0e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x45, 0x6e, 0x63, 0x6f, 0x64, 253 0x69, 0x6e, 0x67, 0x3a, 0x1a, 0x82, 0xb5, 0x18, 0x16, 0x0a, 0x07, 0x69, 0x6e, 0x62, 0x6f, 0x75, 254 0x6e, 0x64, 0x12, 0x0b, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x22, 255 0xbe, 0x02, 0x0a, 0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 256 0x12, 0x3b, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 257 0x0b, 0x32, 0x21, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 258 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 259 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 260 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 261 0x74, 0x12, 0x52, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 262 0x0b, 0x32, 0x3a, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 263 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 264 0x2e, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64, 0x2e, 0x43, 0x69, 0x70, 0x68, 265 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x52, 0x06, 0x6d, 266 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 267 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 268 0x64, 0x12, 0x4c, 0x0a, 0x22, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 269 0x72, 0x65, 0x64, 0x75, 0x63, 0x65, 0x64, 0x5f, 0x69, 0x76, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x5f, 270 0x65, 0x6e, 0x74, 0x72, 0x6f, 0x70, 0x79, 0x18, 0x91, 0xbf, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 271 0x1e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x64, 0x75, 0x63, 272 0x65, 0x64, 0x49, 0x76, 0x48, 0x65, 0x61, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x6f, 0x70, 0x79, 0x3a, 273 0x1f, 0x82, 0xb5, 0x18, 0x1b, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x12, 274 0x0b, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x90, 0xff, 0x29, 0x01, 275 0x22, 0x53, 0x0a, 0x11, 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x57, 0x72, 276 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 277 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 278 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 279 0x63, 0x6b, 0x73, 0x2e, 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 280 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x96, 0x01, 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 281 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x73, 282 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x2e, 0x73, 0x69, 0x6d, 0x70, 0x6c, 283 0x69, 0x66, 0x69, 0x65, 0x64, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 284 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 285 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x73, 0x68, 286 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x2f, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x69, 287 0x66, 0x69, 0x65, 0x64, 0xaa, 0x02, 0x27, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 288 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x53, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 289 0x63, 0x6b, 0x73, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x64, 0x62, 0x06, 290 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 291 } 292 293 var ( 294 file_proxy_shadowsocks_simplified_config_proto_rawDescOnce sync.Once 295 file_proxy_shadowsocks_simplified_config_proto_rawDescData = file_proxy_shadowsocks_simplified_config_proto_rawDesc 296 ) 297 298 func file_proxy_shadowsocks_simplified_config_proto_rawDescGZIP() []byte { 299 file_proxy_shadowsocks_simplified_config_proto_rawDescOnce.Do(func() { 300 file_proxy_shadowsocks_simplified_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_shadowsocks_simplified_config_proto_rawDescData) 301 }) 302 return file_proxy_shadowsocks_simplified_config_proto_rawDescData 303 } 304 305 var file_proxy_shadowsocks_simplified_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 306 var file_proxy_shadowsocks_simplified_config_proto_goTypes = []interface{}{ 307 (*ServerConfig)(nil), // 0: v2ray.core.proxy.shadowsocks.simplified.ServerConfig 308 (*ClientConfig)(nil), // 1: v2ray.core.proxy.shadowsocks.simplified.ClientConfig 309 (*CipherTypeWrapper)(nil), // 2: v2ray.core.proxy.shadowsocks.simplified.CipherTypeWrapper 310 (*net.NetworkList)(nil), // 3: v2ray.core.common.net.NetworkList 311 (packetaddr.PacketAddrType)(0), // 4: v2ray.core.net.packetaddr.PacketAddrType 312 (*net.IPOrDomain)(nil), // 5: v2ray.core.common.net.IPOrDomain 313 (shadowsocks.CipherType)(0), // 6: v2ray.core.proxy.shadowsocks.CipherType 314 } 315 var file_proxy_shadowsocks_simplified_config_proto_depIdxs = []int32{ 316 2, // 0: v2ray.core.proxy.shadowsocks.simplified.ServerConfig.method:type_name -> v2ray.core.proxy.shadowsocks.simplified.CipherTypeWrapper 317 3, // 1: v2ray.core.proxy.shadowsocks.simplified.ServerConfig.networks:type_name -> v2ray.core.common.net.NetworkList 318 4, // 2: v2ray.core.proxy.shadowsocks.simplified.ServerConfig.packet_encoding:type_name -> v2ray.core.net.packetaddr.PacketAddrType 319 5, // 3: v2ray.core.proxy.shadowsocks.simplified.ClientConfig.address:type_name -> v2ray.core.common.net.IPOrDomain 320 2, // 4: v2ray.core.proxy.shadowsocks.simplified.ClientConfig.method:type_name -> v2ray.core.proxy.shadowsocks.simplified.CipherTypeWrapper 321 6, // 5: v2ray.core.proxy.shadowsocks.simplified.CipherTypeWrapper.value:type_name -> v2ray.core.proxy.shadowsocks.CipherType 322 6, // [6:6] is the sub-list for method output_type 323 6, // [6:6] is the sub-list for method input_type 324 6, // [6:6] is the sub-list for extension type_name 325 6, // [6:6] is the sub-list for extension extendee 326 0, // [0:6] is the sub-list for field type_name 327 } 328 329 func init() { file_proxy_shadowsocks_simplified_config_proto_init() } 330 func file_proxy_shadowsocks_simplified_config_proto_init() { 331 if File_proxy_shadowsocks_simplified_config_proto != nil { 332 return 333 } 334 if !protoimpl.UnsafeEnabled { 335 file_proxy_shadowsocks_simplified_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 336 switch v := v.(*ServerConfig); i { 337 case 0: 338 return &v.state 339 case 1: 340 return &v.sizeCache 341 case 2: 342 return &v.unknownFields 343 default: 344 return nil 345 } 346 } 347 file_proxy_shadowsocks_simplified_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 348 switch v := v.(*ClientConfig); i { 349 case 0: 350 return &v.state 351 case 1: 352 return &v.sizeCache 353 case 2: 354 return &v.unknownFields 355 default: 356 return nil 357 } 358 } 359 file_proxy_shadowsocks_simplified_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 360 switch v := v.(*CipherTypeWrapper); i { 361 case 0: 362 return &v.state 363 case 1: 364 return &v.sizeCache 365 case 2: 366 return &v.unknownFields 367 default: 368 return nil 369 } 370 } 371 } 372 type x struct{} 373 out := protoimpl.TypeBuilder{ 374 File: protoimpl.DescBuilder{ 375 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 376 RawDescriptor: file_proxy_shadowsocks_simplified_config_proto_rawDesc, 377 NumEnums: 0, 378 NumMessages: 3, 379 NumExtensions: 0, 380 NumServices: 0, 381 }, 382 GoTypes: file_proxy_shadowsocks_simplified_config_proto_goTypes, 383 DependencyIndexes: file_proxy_shadowsocks_simplified_config_proto_depIdxs, 384 MessageInfos: file_proxy_shadowsocks_simplified_config_proto_msgTypes, 385 }.Build() 386 File_proxy_shadowsocks_simplified_config_proto = out.File 387 file_proxy_shadowsocks_simplified_config_proto_rawDesc = nil 388 file_proxy_shadowsocks_simplified_config_proto_goTypes = nil 389 file_proxy_shadowsocks_simplified_config_proto_depIdxs = nil 390 }