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