github.com/xmplusdev/xray-core@v1.8.10/proxy/freedom/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/freedom/config.proto 6 7 package freedom 8 9 import ( 10 protocol "github.com/xmplusdev/xray-core/common/protocol" 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 Config_DomainStrategy int32 25 26 const ( 27 Config_AS_IS Config_DomainStrategy = 0 28 Config_USE_IP Config_DomainStrategy = 1 29 Config_USE_IP4 Config_DomainStrategy = 2 30 Config_USE_IP6 Config_DomainStrategy = 3 31 Config_USE_IP46 Config_DomainStrategy = 4 32 Config_USE_IP64 Config_DomainStrategy = 5 33 Config_FORCE_IP Config_DomainStrategy = 6 34 Config_FORCE_IP4 Config_DomainStrategy = 7 35 Config_FORCE_IP6 Config_DomainStrategy = 8 36 Config_FORCE_IP46 Config_DomainStrategy = 9 37 Config_FORCE_IP64 Config_DomainStrategy = 10 38 ) 39 40 // Enum value maps for Config_DomainStrategy. 41 var ( 42 Config_DomainStrategy_name = map[int32]string{ 43 0: "AS_IS", 44 1: "USE_IP", 45 2: "USE_IP4", 46 3: "USE_IP6", 47 4: "USE_IP46", 48 5: "USE_IP64", 49 6: "FORCE_IP", 50 7: "FORCE_IP4", 51 8: "FORCE_IP6", 52 9: "FORCE_IP46", 53 10: "FORCE_IP64", 54 } 55 Config_DomainStrategy_value = map[string]int32{ 56 "AS_IS": 0, 57 "USE_IP": 1, 58 "USE_IP4": 2, 59 "USE_IP6": 3, 60 "USE_IP46": 4, 61 "USE_IP64": 5, 62 "FORCE_IP": 6, 63 "FORCE_IP4": 7, 64 "FORCE_IP6": 8, 65 "FORCE_IP46": 9, 66 "FORCE_IP64": 10, 67 } 68 ) 69 70 func (x Config_DomainStrategy) Enum() *Config_DomainStrategy { 71 p := new(Config_DomainStrategy) 72 *p = x 73 return p 74 } 75 76 func (x Config_DomainStrategy) String() string { 77 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 78 } 79 80 func (Config_DomainStrategy) Descriptor() protoreflect.EnumDescriptor { 81 return file_proxy_freedom_config_proto_enumTypes[0].Descriptor() 82 } 83 84 func (Config_DomainStrategy) Type() protoreflect.EnumType { 85 return &file_proxy_freedom_config_proto_enumTypes[0] 86 } 87 88 func (x Config_DomainStrategy) Number() protoreflect.EnumNumber { 89 return protoreflect.EnumNumber(x) 90 } 91 92 // Deprecated: Use Config_DomainStrategy.Descriptor instead. 93 func (Config_DomainStrategy) EnumDescriptor() ([]byte, []int) { 94 return file_proxy_freedom_config_proto_rawDescGZIP(), []int{2, 0} 95 } 96 97 type DestinationOverride struct { 98 state protoimpl.MessageState 99 sizeCache protoimpl.SizeCache 100 unknownFields protoimpl.UnknownFields 101 102 Server *protocol.ServerEndpoint `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` 103 } 104 105 func (x *DestinationOverride) Reset() { 106 *x = DestinationOverride{} 107 if protoimpl.UnsafeEnabled { 108 mi := &file_proxy_freedom_config_proto_msgTypes[0] 109 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 110 ms.StoreMessageInfo(mi) 111 } 112 } 113 114 func (x *DestinationOverride) String() string { 115 return protoimpl.X.MessageStringOf(x) 116 } 117 118 func (*DestinationOverride) ProtoMessage() {} 119 120 func (x *DestinationOverride) ProtoReflect() protoreflect.Message { 121 mi := &file_proxy_freedom_config_proto_msgTypes[0] 122 if protoimpl.UnsafeEnabled && x != nil { 123 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 124 if ms.LoadMessageInfo() == nil { 125 ms.StoreMessageInfo(mi) 126 } 127 return ms 128 } 129 return mi.MessageOf(x) 130 } 131 132 // Deprecated: Use DestinationOverride.ProtoReflect.Descriptor instead. 133 func (*DestinationOverride) Descriptor() ([]byte, []int) { 134 return file_proxy_freedom_config_proto_rawDescGZIP(), []int{0} 135 } 136 137 func (x *DestinationOverride) GetServer() *protocol.ServerEndpoint { 138 if x != nil { 139 return x.Server 140 } 141 return nil 142 } 143 144 type Fragment struct { 145 state protoimpl.MessageState 146 sizeCache protoimpl.SizeCache 147 unknownFields protoimpl.UnknownFields 148 149 PacketsFrom uint64 `protobuf:"varint,1,opt,name=packets_from,json=packetsFrom,proto3" json:"packets_from,omitempty"` 150 PacketsTo uint64 `protobuf:"varint,2,opt,name=packets_to,json=packetsTo,proto3" json:"packets_to,omitempty"` 151 LengthMin uint64 `protobuf:"varint,3,opt,name=length_min,json=lengthMin,proto3" json:"length_min,omitempty"` 152 LengthMax uint64 `protobuf:"varint,4,opt,name=length_max,json=lengthMax,proto3" json:"length_max,omitempty"` 153 IntervalMin uint64 `protobuf:"varint,5,opt,name=interval_min,json=intervalMin,proto3" json:"interval_min,omitempty"` 154 IntervalMax uint64 `protobuf:"varint,6,opt,name=interval_max,json=intervalMax,proto3" json:"interval_max,omitempty"` 155 } 156 157 func (x *Fragment) Reset() { 158 *x = Fragment{} 159 if protoimpl.UnsafeEnabled { 160 mi := &file_proxy_freedom_config_proto_msgTypes[1] 161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 162 ms.StoreMessageInfo(mi) 163 } 164 } 165 166 func (x *Fragment) String() string { 167 return protoimpl.X.MessageStringOf(x) 168 } 169 170 func (*Fragment) ProtoMessage() {} 171 172 func (x *Fragment) ProtoReflect() protoreflect.Message { 173 mi := &file_proxy_freedom_config_proto_msgTypes[1] 174 if protoimpl.UnsafeEnabled && x != nil { 175 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 176 if ms.LoadMessageInfo() == nil { 177 ms.StoreMessageInfo(mi) 178 } 179 return ms 180 } 181 return mi.MessageOf(x) 182 } 183 184 // Deprecated: Use Fragment.ProtoReflect.Descriptor instead. 185 func (*Fragment) Descriptor() ([]byte, []int) { 186 return file_proxy_freedom_config_proto_rawDescGZIP(), []int{1} 187 } 188 189 func (x *Fragment) GetPacketsFrom() uint64 { 190 if x != nil { 191 return x.PacketsFrom 192 } 193 return 0 194 } 195 196 func (x *Fragment) GetPacketsTo() uint64 { 197 if x != nil { 198 return x.PacketsTo 199 } 200 return 0 201 } 202 203 func (x *Fragment) GetLengthMin() uint64 { 204 if x != nil { 205 return x.LengthMin 206 } 207 return 0 208 } 209 210 func (x *Fragment) GetLengthMax() uint64 { 211 if x != nil { 212 return x.LengthMax 213 } 214 return 0 215 } 216 217 func (x *Fragment) GetIntervalMin() uint64 { 218 if x != nil { 219 return x.IntervalMin 220 } 221 return 0 222 } 223 224 func (x *Fragment) GetIntervalMax() uint64 { 225 if x != nil { 226 return x.IntervalMax 227 } 228 return 0 229 } 230 231 type Config struct { 232 state protoimpl.MessageState 233 sizeCache protoimpl.SizeCache 234 unknownFields protoimpl.UnknownFields 235 236 DomainStrategy Config_DomainStrategy `protobuf:"varint,1,opt,name=domain_strategy,json=domainStrategy,proto3,enum=xray.proxy.freedom.Config_DomainStrategy" json:"domain_strategy,omitempty"` 237 // Deprecated: Marked as deprecated in proxy/freedom/config.proto. 238 Timeout uint32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"` 239 DestinationOverride *DestinationOverride `protobuf:"bytes,3,opt,name=destination_override,json=destinationOverride,proto3" json:"destination_override,omitempty"` 240 UserLevel uint32 `protobuf:"varint,4,opt,name=user_level,json=userLevel,proto3" json:"user_level,omitempty"` 241 Fragment *Fragment `protobuf:"bytes,5,opt,name=fragment,proto3" json:"fragment,omitempty"` 242 ProxyProtocol uint32 `protobuf:"varint,6,opt,name=proxy_protocol,json=proxyProtocol,proto3" json:"proxy_protocol,omitempty"` 243 } 244 245 func (x *Config) Reset() { 246 *x = Config{} 247 if protoimpl.UnsafeEnabled { 248 mi := &file_proxy_freedom_config_proto_msgTypes[2] 249 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 250 ms.StoreMessageInfo(mi) 251 } 252 } 253 254 func (x *Config) String() string { 255 return protoimpl.X.MessageStringOf(x) 256 } 257 258 func (*Config) ProtoMessage() {} 259 260 func (x *Config) ProtoReflect() protoreflect.Message { 261 mi := &file_proxy_freedom_config_proto_msgTypes[2] 262 if protoimpl.UnsafeEnabled && x != nil { 263 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 264 if ms.LoadMessageInfo() == nil { 265 ms.StoreMessageInfo(mi) 266 } 267 return ms 268 } 269 return mi.MessageOf(x) 270 } 271 272 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 273 func (*Config) Descriptor() ([]byte, []int) { 274 return file_proxy_freedom_config_proto_rawDescGZIP(), []int{2} 275 } 276 277 func (x *Config) GetDomainStrategy() Config_DomainStrategy { 278 if x != nil { 279 return x.DomainStrategy 280 } 281 return Config_AS_IS 282 } 283 284 // Deprecated: Marked as deprecated in proxy/freedom/config.proto. 285 func (x *Config) GetTimeout() uint32 { 286 if x != nil { 287 return x.Timeout 288 } 289 return 0 290 } 291 292 func (x *Config) GetDestinationOverride() *DestinationOverride { 293 if x != nil { 294 return x.DestinationOverride 295 } 296 return nil 297 } 298 299 func (x *Config) GetUserLevel() uint32 { 300 if x != nil { 301 return x.UserLevel 302 } 303 return 0 304 } 305 306 func (x *Config) GetFragment() *Fragment { 307 if x != nil { 308 return x.Fragment 309 } 310 return nil 311 } 312 313 func (x *Config) GetProxyProtocol() uint32 { 314 if x != nil { 315 return x.ProxyProtocol 316 } 317 return 0 318 } 319 320 var File_proxy_freedom_config_proto protoreflect.FileDescriptor 321 322 var file_proxy_freedom_config_proto_rawDesc = []byte{ 323 0x0a, 0x1a, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x66, 0x72, 0x65, 0x65, 0x64, 0x6f, 0x6d, 0x2f, 324 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x78, 0x72, 325 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x66, 0x72, 0x65, 0x65, 0x64, 0x6f, 0x6d, 326 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 327 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 328 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x13, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 329 0x6f, 0x6e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x3c, 0x0a, 0x06, 0x73, 0x65, 330 0x72, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x78, 0x72, 0x61, 331 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 332 0x6c, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 333 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x22, 0xd0, 0x01, 0x0a, 0x08, 0x46, 0x72, 0x61, 334 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 335 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x61, 0x63, 336 0x6b, 0x65, 0x74, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x63, 0x6b, 337 0x65, 0x74, 0x73, 0x5f, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x70, 0x61, 338 0x63, 0x6b, 0x65, 0x74, 0x73, 0x54, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x65, 0x6e, 0x67, 0x74, 339 0x68, 0x5f, 0x6d, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6c, 0x65, 0x6e, 340 0x67, 0x74, 0x68, 0x4d, 0x69, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 341 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6c, 0x65, 0x6e, 0x67, 342 0x74, 0x68, 0x4d, 0x61, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 343 0x6c, 0x5f, 0x6d, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x69, 0x6e, 0x74, 344 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x69, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x65, 345 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 346 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x61, 0x78, 0x22, 0x82, 0x04, 0x0a, 0x06, 347 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x52, 0x0a, 0x0f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 348 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 349 0x29, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x66, 0x72, 0x65, 350 0x65, 0x64, 0x6f, 0x6d, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 351 0x69, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0e, 0x64, 0x6f, 0x6d, 0x61, 352 0x69, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x1c, 0x0a, 0x07, 0x74, 0x69, 353 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x02, 0x18, 0x01, 0x52, 354 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x5a, 0x0a, 0x14, 0x64, 0x65, 0x73, 0x74, 355 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 356 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 357 0x6f, 0x78, 0x79, 0x2e, 0x66, 0x72, 0x65, 0x65, 0x64, 0x6f, 0x6d, 0x2e, 0x44, 0x65, 0x73, 0x74, 358 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, 359 0x13, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x76, 0x65, 0x72, 360 0x72, 0x69, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6c, 0x65, 0x76, 361 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x65, 362 0x76, 0x65, 0x6c, 0x12, 0x38, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 363 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 364 0x78, 0x79, 0x2e, 0x66, 0x72, 0x65, 0x65, 0x64, 0x6f, 0x6d, 0x2e, 0x46, 0x72, 0x61, 0x67, 0x6d, 365 0x65, 0x6e, 0x74, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 366 0x0e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 367 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x72, 0x6f, 0x74, 368 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0xa9, 0x01, 0x0a, 0x0e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 369 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x53, 0x5f, 0x49, 0x53, 370 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x50, 0x10, 0x01, 0x12, 0x0b, 371 0x0a, 0x07, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x50, 0x34, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x55, 372 0x53, 0x45, 0x5f, 0x49, 0x50, 0x36, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x53, 0x45, 0x5f, 373 0x49, 0x50, 0x34, 0x36, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x50, 374 0x36, 0x34, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x5f, 0x49, 0x50, 375 0x10, 0x06, 0x12, 0x0d, 0x0a, 0x09, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x5f, 0x49, 0x50, 0x34, 0x10, 376 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x5f, 0x49, 0x50, 0x36, 0x10, 0x08, 377 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x5f, 0x49, 0x50, 0x34, 0x36, 0x10, 0x09, 378 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x5f, 0x49, 0x50, 0x36, 0x34, 0x10, 0x0a, 379 0x42, 0x58, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 380 0x78, 0x79, 0x2e, 0x66, 0x72, 0x65, 0x65, 0x64, 0x6f, 0x6d, 0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, 381 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 382 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x66, 0x72, 383 0x65, 0x65, 0x64, 0x6f, 0x6d, 0xaa, 0x02, 0x12, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x50, 0x72, 0x6f, 384 0x78, 0x79, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x64, 0x6f, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 385 0x6f, 0x33, 386 } 387 388 var ( 389 file_proxy_freedom_config_proto_rawDescOnce sync.Once 390 file_proxy_freedom_config_proto_rawDescData = file_proxy_freedom_config_proto_rawDesc 391 ) 392 393 func file_proxy_freedom_config_proto_rawDescGZIP() []byte { 394 file_proxy_freedom_config_proto_rawDescOnce.Do(func() { 395 file_proxy_freedom_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_freedom_config_proto_rawDescData) 396 }) 397 return file_proxy_freedom_config_proto_rawDescData 398 } 399 400 var file_proxy_freedom_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 401 var file_proxy_freedom_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 402 var file_proxy_freedom_config_proto_goTypes = []interface{}{ 403 (Config_DomainStrategy)(0), // 0: xray.proxy.freedom.Config.DomainStrategy 404 (*DestinationOverride)(nil), // 1: xray.proxy.freedom.DestinationOverride 405 (*Fragment)(nil), // 2: xray.proxy.freedom.Fragment 406 (*Config)(nil), // 3: xray.proxy.freedom.Config 407 (*protocol.ServerEndpoint)(nil), // 4: xray.common.protocol.ServerEndpoint 408 } 409 var file_proxy_freedom_config_proto_depIdxs = []int32{ 410 4, // 0: xray.proxy.freedom.DestinationOverride.server:type_name -> xray.common.protocol.ServerEndpoint 411 0, // 1: xray.proxy.freedom.Config.domain_strategy:type_name -> xray.proxy.freedom.Config.DomainStrategy 412 1, // 2: xray.proxy.freedom.Config.destination_override:type_name -> xray.proxy.freedom.DestinationOverride 413 2, // 3: xray.proxy.freedom.Config.fragment:type_name -> xray.proxy.freedom.Fragment 414 4, // [4:4] is the sub-list for method output_type 415 4, // [4:4] is the sub-list for method input_type 416 4, // [4:4] is the sub-list for extension type_name 417 4, // [4:4] is the sub-list for extension extendee 418 0, // [0:4] is the sub-list for field type_name 419 } 420 421 func init() { file_proxy_freedom_config_proto_init() } 422 func file_proxy_freedom_config_proto_init() { 423 if File_proxy_freedom_config_proto != nil { 424 return 425 } 426 if !protoimpl.UnsafeEnabled { 427 file_proxy_freedom_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 428 switch v := v.(*DestinationOverride); i { 429 case 0: 430 return &v.state 431 case 1: 432 return &v.sizeCache 433 case 2: 434 return &v.unknownFields 435 default: 436 return nil 437 } 438 } 439 file_proxy_freedom_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 440 switch v := v.(*Fragment); i { 441 case 0: 442 return &v.state 443 case 1: 444 return &v.sizeCache 445 case 2: 446 return &v.unknownFields 447 default: 448 return nil 449 } 450 } 451 file_proxy_freedom_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 452 switch v := v.(*Config); i { 453 case 0: 454 return &v.state 455 case 1: 456 return &v.sizeCache 457 case 2: 458 return &v.unknownFields 459 default: 460 return nil 461 } 462 } 463 } 464 type x struct{} 465 out := protoimpl.TypeBuilder{ 466 File: protoimpl.DescBuilder{ 467 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 468 RawDescriptor: file_proxy_freedom_config_proto_rawDesc, 469 NumEnums: 1, 470 NumMessages: 3, 471 NumExtensions: 0, 472 NumServices: 0, 473 }, 474 GoTypes: file_proxy_freedom_config_proto_goTypes, 475 DependencyIndexes: file_proxy_freedom_config_proto_depIdxs, 476 EnumInfos: file_proxy_freedom_config_proto_enumTypes, 477 MessageInfos: file_proxy_freedom_config_proto_msgTypes, 478 }.Build() 479 File_proxy_freedom_config_proto = out.File 480 file_proxy_freedom_config_proto_rawDesc = nil 481 file_proxy_freedom_config_proto_goTypes = nil 482 file_proxy_freedom_config_proto_depIdxs = nil 483 }