github.com/EagleQL/Xray-core@v1.4.3/core/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.15.6 5 // source: core/config.proto 6 7 package core 8 9 import ( 10 proto "github.com/golang/protobuf/proto" 11 serial "github.com/xtls/xray-core/common/serial" 12 global "github.com/xtls/xray-core/transport/global" 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 reflect "reflect" 16 sync "sync" 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 // Config is the master config of Xray. Xray takes this config as input and 31 // functions accordingly. 32 type Config struct { 33 state protoimpl.MessageState 34 sizeCache protoimpl.SizeCache 35 unknownFields protoimpl.UnknownFields 36 37 // Inbound handler configurations. Must have at least one item. 38 Inbound []*InboundHandlerConfig `protobuf:"bytes,1,rep,name=inbound,proto3" json:"inbound,omitempty"` 39 // Outbound handler configurations. Must have at least one item. The first 40 // item is used as default for routing. 41 Outbound []*OutboundHandlerConfig `protobuf:"bytes,2,rep,name=outbound,proto3" json:"outbound,omitempty"` 42 // App is for configurations of all features in Xray. A feature must 43 // implement the Feature interface, and its config type must be registered 44 // through common.RegisterConfig. 45 App []*serial.TypedMessage `protobuf:"bytes,4,rep,name=app,proto3" json:"app,omitempty"` 46 // Transport settings. 47 // Deprecated. Each inbound and outbound should choose their own transport 48 // config. Date to remove: 2020-01-13 49 // 50 // Deprecated: Do not use. 51 Transport *global.Config `protobuf:"bytes,5,opt,name=transport,proto3" json:"transport,omitempty"` 52 // Configuration for extensions. The config may not work if corresponding 53 // extension is not loaded into Xray. Xray will ignore such config during 54 // initialization. 55 Extension []*serial.TypedMessage `protobuf:"bytes,6,rep,name=extension,proto3" json:"extension,omitempty"` 56 } 57 58 func (x *Config) Reset() { 59 *x = Config{} 60 if protoimpl.UnsafeEnabled { 61 mi := &file_core_config_proto_msgTypes[0] 62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 63 ms.StoreMessageInfo(mi) 64 } 65 } 66 67 func (x *Config) String() string { 68 return protoimpl.X.MessageStringOf(x) 69 } 70 71 func (*Config) ProtoMessage() {} 72 73 func (x *Config) ProtoReflect() protoreflect.Message { 74 mi := &file_core_config_proto_msgTypes[0] 75 if protoimpl.UnsafeEnabled && x != nil { 76 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 77 if ms.LoadMessageInfo() == nil { 78 ms.StoreMessageInfo(mi) 79 } 80 return ms 81 } 82 return mi.MessageOf(x) 83 } 84 85 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 86 func (*Config) Descriptor() ([]byte, []int) { 87 return file_core_config_proto_rawDescGZIP(), []int{0} 88 } 89 90 func (x *Config) GetInbound() []*InboundHandlerConfig { 91 if x != nil { 92 return x.Inbound 93 } 94 return nil 95 } 96 97 func (x *Config) GetOutbound() []*OutboundHandlerConfig { 98 if x != nil { 99 return x.Outbound 100 } 101 return nil 102 } 103 104 func (x *Config) GetApp() []*serial.TypedMessage { 105 if x != nil { 106 return x.App 107 } 108 return nil 109 } 110 111 // Deprecated: Do not use. 112 func (x *Config) GetTransport() *global.Config { 113 if x != nil { 114 return x.Transport 115 } 116 return nil 117 } 118 119 func (x *Config) GetExtension() []*serial.TypedMessage { 120 if x != nil { 121 return x.Extension 122 } 123 return nil 124 } 125 126 // InboundHandlerConfig is the configuration for inbound handler. 127 type InboundHandlerConfig struct { 128 state protoimpl.MessageState 129 sizeCache protoimpl.SizeCache 130 unknownFields protoimpl.UnknownFields 131 132 // Tag of the inbound handler. The tag must be unique among all inbound 133 // handlers 134 Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` 135 // Settings for how this inbound proxy is handled. 136 ReceiverSettings *serial.TypedMessage `protobuf:"bytes,2,opt,name=receiver_settings,json=receiverSettings,proto3" json:"receiver_settings,omitempty"` 137 // Settings for inbound proxy. Must be one of the inbound proxies. 138 ProxySettings *serial.TypedMessage `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"` 139 } 140 141 func (x *InboundHandlerConfig) Reset() { 142 *x = InboundHandlerConfig{} 143 if protoimpl.UnsafeEnabled { 144 mi := &file_core_config_proto_msgTypes[1] 145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 146 ms.StoreMessageInfo(mi) 147 } 148 } 149 150 func (x *InboundHandlerConfig) String() string { 151 return protoimpl.X.MessageStringOf(x) 152 } 153 154 func (*InboundHandlerConfig) ProtoMessage() {} 155 156 func (x *InboundHandlerConfig) ProtoReflect() protoreflect.Message { 157 mi := &file_core_config_proto_msgTypes[1] 158 if protoimpl.UnsafeEnabled && x != nil { 159 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 160 if ms.LoadMessageInfo() == nil { 161 ms.StoreMessageInfo(mi) 162 } 163 return ms 164 } 165 return mi.MessageOf(x) 166 } 167 168 // Deprecated: Use InboundHandlerConfig.ProtoReflect.Descriptor instead. 169 func (*InboundHandlerConfig) Descriptor() ([]byte, []int) { 170 return file_core_config_proto_rawDescGZIP(), []int{1} 171 } 172 173 func (x *InboundHandlerConfig) GetTag() string { 174 if x != nil { 175 return x.Tag 176 } 177 return "" 178 } 179 180 func (x *InboundHandlerConfig) GetReceiverSettings() *serial.TypedMessage { 181 if x != nil { 182 return x.ReceiverSettings 183 } 184 return nil 185 } 186 187 func (x *InboundHandlerConfig) GetProxySettings() *serial.TypedMessage { 188 if x != nil { 189 return x.ProxySettings 190 } 191 return nil 192 } 193 194 // OutboundHandlerConfig is the configuration for outbound handler. 195 type OutboundHandlerConfig struct { 196 state protoimpl.MessageState 197 sizeCache protoimpl.SizeCache 198 unknownFields protoimpl.UnknownFields 199 200 // Tag of this outbound handler. 201 Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` 202 // Settings for how to dial connection for this outbound handler. 203 SenderSettings *serial.TypedMessage `protobuf:"bytes,2,opt,name=sender_settings,json=senderSettings,proto3" json:"sender_settings,omitempty"` 204 // Settings for this outbound proxy. Must be one of the outbound proxies. 205 ProxySettings *serial.TypedMessage `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"` 206 // If not zero, this outbound will be expired in seconds. Not used for now. 207 Expire int64 `protobuf:"varint,4,opt,name=expire,proto3" json:"expire,omitempty"` 208 // Comment of this outbound handler. Not used for now. 209 Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"` 210 } 211 212 func (x *OutboundHandlerConfig) Reset() { 213 *x = OutboundHandlerConfig{} 214 if protoimpl.UnsafeEnabled { 215 mi := &file_core_config_proto_msgTypes[2] 216 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 217 ms.StoreMessageInfo(mi) 218 } 219 } 220 221 func (x *OutboundHandlerConfig) String() string { 222 return protoimpl.X.MessageStringOf(x) 223 } 224 225 func (*OutboundHandlerConfig) ProtoMessage() {} 226 227 func (x *OutboundHandlerConfig) ProtoReflect() protoreflect.Message { 228 mi := &file_core_config_proto_msgTypes[2] 229 if protoimpl.UnsafeEnabled && x != nil { 230 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 231 if ms.LoadMessageInfo() == nil { 232 ms.StoreMessageInfo(mi) 233 } 234 return ms 235 } 236 return mi.MessageOf(x) 237 } 238 239 // Deprecated: Use OutboundHandlerConfig.ProtoReflect.Descriptor instead. 240 func (*OutboundHandlerConfig) Descriptor() ([]byte, []int) { 241 return file_core_config_proto_rawDescGZIP(), []int{2} 242 } 243 244 func (x *OutboundHandlerConfig) GetTag() string { 245 if x != nil { 246 return x.Tag 247 } 248 return "" 249 } 250 251 func (x *OutboundHandlerConfig) GetSenderSettings() *serial.TypedMessage { 252 if x != nil { 253 return x.SenderSettings 254 } 255 return nil 256 } 257 258 func (x *OutboundHandlerConfig) GetProxySettings() *serial.TypedMessage { 259 if x != nil { 260 return x.ProxySettings 261 } 262 return nil 263 } 264 265 func (x *OutboundHandlerConfig) GetExpire() int64 { 266 if x != nil { 267 return x.Expire 268 } 269 return 0 270 } 271 272 func (x *OutboundHandlerConfig) GetComment() string { 273 if x != nil { 274 return x.Comment 275 } 276 return "" 277 } 278 279 var File_core_config_proto protoreflect.FileDescriptor 280 281 var file_core_config_proto_rawDesc = []byte{ 282 0x0a, 0x11, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 283 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x21, 284 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2f, 0x74, 0x79, 285 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 286 0x6f, 0x1a, 0x1d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x67, 0x6c, 0x6f, 287 0x62, 0x61, 0x6c, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 288 0x22, 0xb5, 0x02, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x39, 0x0a, 0x07, 0x69, 289 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x78, 290 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 291 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x07, 0x69, 292 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x3c, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 293 0x6e, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 294 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e, 295 0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x62, 296 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x32, 0x0a, 0x03, 0x61, 0x70, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 297 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 298 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 299 0x61, 0x67, 0x65, 0x52, 0x03, 0x61, 0x70, 0x70, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, 300 0x73, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x78, 0x72, 301 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 302 0x66, 0x69, 0x67, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 303 0x72, 0x74, 0x12, 0x3e, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 304 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 305 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 306 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 307 0x6f, 0x6e, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0xc0, 0x01, 0x0a, 0x14, 0x49, 0x6e, 0x62, 308 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 309 0x67, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 310 0x74, 0x61, 0x67, 0x12, 0x4d, 0x0a, 0x11, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 311 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 312 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 313 0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 314 0x52, 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 315 0x67, 0x73, 0x12, 0x47, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 316 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 317 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 318 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0d, 0x70, 0x72, 319 0x6f, 0x78, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0xef, 0x01, 0x0a, 0x15, 320 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x43, 321 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 322 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x49, 0x0a, 0x0f, 0x73, 0x65, 0x6e, 0x64, 0x65, 323 0x72, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 324 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 325 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 326 0x67, 0x65, 0x52, 0x0e, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 327 0x67, 0x73, 0x12, 0x47, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 328 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 329 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 330 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0d, 0x70, 0x72, 331 0x6f, 0x78, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 332 0x78, 0x70, 0x69, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, 0x78, 0x70, 333 0x69, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 334 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x3d, 0x0a, 335 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x50, 0x01, 336 0x5a, 0x1e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 337 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x72, 0x65, 338 0xaa, 0x02, 0x09, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 339 0x6f, 0x74, 0x6f, 0x33, 340 } 341 342 var ( 343 file_core_config_proto_rawDescOnce sync.Once 344 file_core_config_proto_rawDescData = file_core_config_proto_rawDesc 345 ) 346 347 func file_core_config_proto_rawDescGZIP() []byte { 348 file_core_config_proto_rawDescOnce.Do(func() { 349 file_core_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_config_proto_rawDescData) 350 }) 351 return file_core_config_proto_rawDescData 352 } 353 354 var file_core_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 355 var file_core_config_proto_goTypes = []interface{}{ 356 (*Config)(nil), // 0: xray.core.Config 357 (*InboundHandlerConfig)(nil), // 1: xray.core.InboundHandlerConfig 358 (*OutboundHandlerConfig)(nil), // 2: xray.core.OutboundHandlerConfig 359 (*serial.TypedMessage)(nil), // 3: xray.common.serial.TypedMessage 360 (*global.Config)(nil), // 4: xray.transport.Config 361 } 362 var file_core_config_proto_depIdxs = []int32{ 363 1, // 0: xray.core.Config.inbound:type_name -> xray.core.InboundHandlerConfig 364 2, // 1: xray.core.Config.outbound:type_name -> xray.core.OutboundHandlerConfig 365 3, // 2: xray.core.Config.app:type_name -> xray.common.serial.TypedMessage 366 4, // 3: xray.core.Config.transport:type_name -> xray.transport.Config 367 3, // 4: xray.core.Config.extension:type_name -> xray.common.serial.TypedMessage 368 3, // 5: xray.core.InboundHandlerConfig.receiver_settings:type_name -> xray.common.serial.TypedMessage 369 3, // 6: xray.core.InboundHandlerConfig.proxy_settings:type_name -> xray.common.serial.TypedMessage 370 3, // 7: xray.core.OutboundHandlerConfig.sender_settings:type_name -> xray.common.serial.TypedMessage 371 3, // 8: xray.core.OutboundHandlerConfig.proxy_settings:type_name -> xray.common.serial.TypedMessage 372 9, // [9:9] is the sub-list for method output_type 373 9, // [9:9] is the sub-list for method input_type 374 9, // [9:9] is the sub-list for extension type_name 375 9, // [9:9] is the sub-list for extension extendee 376 0, // [0:9] is the sub-list for field type_name 377 } 378 379 func init() { file_core_config_proto_init() } 380 func file_core_config_proto_init() { 381 if File_core_config_proto != nil { 382 return 383 } 384 if !protoimpl.UnsafeEnabled { 385 file_core_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 386 switch v := v.(*Config); i { 387 case 0: 388 return &v.state 389 case 1: 390 return &v.sizeCache 391 case 2: 392 return &v.unknownFields 393 default: 394 return nil 395 } 396 } 397 file_core_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 398 switch v := v.(*InboundHandlerConfig); i { 399 case 0: 400 return &v.state 401 case 1: 402 return &v.sizeCache 403 case 2: 404 return &v.unknownFields 405 default: 406 return nil 407 } 408 } 409 file_core_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 410 switch v := v.(*OutboundHandlerConfig); i { 411 case 0: 412 return &v.state 413 case 1: 414 return &v.sizeCache 415 case 2: 416 return &v.unknownFields 417 default: 418 return nil 419 } 420 } 421 } 422 type x struct{} 423 out := protoimpl.TypeBuilder{ 424 File: protoimpl.DescBuilder{ 425 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 426 RawDescriptor: file_core_config_proto_rawDesc, 427 NumEnums: 0, 428 NumMessages: 3, 429 NumExtensions: 0, 430 NumServices: 0, 431 }, 432 GoTypes: file_core_config_proto_goTypes, 433 DependencyIndexes: file_core_config_proto_depIdxs, 434 MessageInfos: file_core_config_proto_msgTypes, 435 }.Build() 436 File_core_config_proto = out.File 437 file_core_config_proto_rawDesc = nil 438 file_core_config_proto_goTypes = nil 439 file_core_config_proto_depIdxs = nil 440 }