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