github.com/v2fly/v2ray-core/v4@v4.45.2/config.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.27.1
     4  // 	protoc        v3.17.3
     5  // source: config.proto
     6  
     7  package core
     8  
     9  import (
    10  	serial "github.com/v2fly/v2ray-core/v4/common/serial"
    11  	transport "github.com/v2fly/v2ray-core/v4/transport"
    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 V2Ray. V2Ray 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 V2Ray. 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: Do not use.
    46  	Transport *transport.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 V2Ray. V2Ray 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_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_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_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: Do not use.
   107  func (x *Config) GetTransport() *transport.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_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_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_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_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_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_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_config_proto protoreflect.FileDescriptor
   275  
   276  var file_config_proto_rawDesc = []byte{
   277  	0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a,
   278  	0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d,
   279  	0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f,
   280  	0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x74,
   281  	0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
   282  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x02, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   283  	0x12, 0x3a, 0x0a, 0x07, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28,
   284  	0x0b, 0x32, 0x20, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49,
   285  	0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e,
   286  	0x66, 0x69, 0x67, 0x52, 0x07, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x3d, 0x0a, 0x08,
   287  	0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,
   288  	0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4f, 0x75, 0x74, 0x62,
   289  	0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69,
   290  	0x67, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x38, 0x0a, 0x03, 0x61,
   291  	0x70, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
   292  	0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72,
   293  	0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
   294  	0x52, 0x03, 0x61, 0x70, 0x70, 0x12, 0x3e, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
   295  	0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
   296  	0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e,
   297  	0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x74, 0x72, 0x61, 0x6e,
   298  	0x73, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x44, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
   299  	0x6f, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
   300  	0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72,
   301  	0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
   302  	0x52, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4a, 0x04, 0x08, 0x03, 0x10,
   303  	0x04, 0x22, 0xcc, 0x01, 0x0a, 0x14, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e,
   304  	0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61,
   305  	0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x53, 0x0a, 0x11,
   306  	0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
   307  	0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
   308  	0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69,
   309  	0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
   310  	0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
   311  	0x73, 0x12, 0x4d, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69,
   312  	0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x32, 0x72, 0x61,
   313  	0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65,
   314  	0x72, 0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
   315  	0x65, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
   316  	0x22, 0xfb, 0x01, 0x0a, 0x15, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x48, 0x61, 0x6e,
   317  	0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61,
   318  	0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x4f, 0x0a, 0x0f,
   319  	0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18,
   320  	0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
   321  	0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c,
   322  	0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x73,
   323  	0x65, 0x6e, 0x64, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x4d, 0x0a,
   324  	0x0e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18,
   325  	0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
   326  	0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c,
   327  	0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0d, 0x70,
   328  	0x72, 0x6f, 0x78, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06,
   329  	0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, 0x78,
   330  	0x70, 0x69, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18,
   331  	0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x44,
   332  	0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65,
   333  	0x50, 0x01, 0x5a, 0x23, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76,
   334  	0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f,
   335  	0x76, 0x34, 0x3b, 0x63, 0x6f, 0x72, 0x65, 0xaa, 0x02, 0x0a, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e,
   336  	0x43, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   337  }
   338  
   339  var (
   340  	file_config_proto_rawDescOnce sync.Once
   341  	file_config_proto_rawDescData = file_config_proto_rawDesc
   342  )
   343  
   344  func file_config_proto_rawDescGZIP() []byte {
   345  	file_config_proto_rawDescOnce.Do(func() {
   346  		file_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_config_proto_rawDescData)
   347  	})
   348  	return file_config_proto_rawDescData
   349  }
   350  
   351  var file_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   352  var file_config_proto_goTypes = []interface{}{
   353  	(*Config)(nil),                // 0: v2ray.core.Config
   354  	(*InboundHandlerConfig)(nil),  // 1: v2ray.core.InboundHandlerConfig
   355  	(*OutboundHandlerConfig)(nil), // 2: v2ray.core.OutboundHandlerConfig
   356  	(*serial.TypedMessage)(nil),   // 3: v2ray.core.common.serial.TypedMessage
   357  	(*transport.Config)(nil),      // 4: v2ray.core.transport.Config
   358  }
   359  var file_config_proto_depIdxs = []int32{
   360  	1, // 0: v2ray.core.Config.inbound:type_name -> v2ray.core.InboundHandlerConfig
   361  	2, // 1: v2ray.core.Config.outbound:type_name -> v2ray.core.OutboundHandlerConfig
   362  	3, // 2: v2ray.core.Config.app:type_name -> v2ray.core.common.serial.TypedMessage
   363  	4, // 3: v2ray.core.Config.transport:type_name -> v2ray.core.transport.Config
   364  	3, // 4: v2ray.core.Config.extension:type_name -> v2ray.core.common.serial.TypedMessage
   365  	3, // 5: v2ray.core.InboundHandlerConfig.receiver_settings:type_name -> v2ray.core.common.serial.TypedMessage
   366  	3, // 6: v2ray.core.InboundHandlerConfig.proxy_settings:type_name -> v2ray.core.common.serial.TypedMessage
   367  	3, // 7: v2ray.core.OutboundHandlerConfig.sender_settings:type_name -> v2ray.core.common.serial.TypedMessage
   368  	3, // 8: v2ray.core.OutboundHandlerConfig.proxy_settings:type_name -> v2ray.core.common.serial.TypedMessage
   369  	9, // [9:9] is the sub-list for method output_type
   370  	9, // [9:9] is the sub-list for method input_type
   371  	9, // [9:9] is the sub-list for extension type_name
   372  	9, // [9:9] is the sub-list for extension extendee
   373  	0, // [0:9] is the sub-list for field type_name
   374  }
   375  
   376  func init() { file_config_proto_init() }
   377  func file_config_proto_init() {
   378  	if File_config_proto != nil {
   379  		return
   380  	}
   381  	if !protoimpl.UnsafeEnabled {
   382  		file_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   383  			switch v := v.(*Config); i {
   384  			case 0:
   385  				return &v.state
   386  			case 1:
   387  				return &v.sizeCache
   388  			case 2:
   389  				return &v.unknownFields
   390  			default:
   391  				return nil
   392  			}
   393  		}
   394  		file_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   395  			switch v := v.(*InboundHandlerConfig); i {
   396  			case 0:
   397  				return &v.state
   398  			case 1:
   399  				return &v.sizeCache
   400  			case 2:
   401  				return &v.unknownFields
   402  			default:
   403  				return nil
   404  			}
   405  		}
   406  		file_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   407  			switch v := v.(*OutboundHandlerConfig); i {
   408  			case 0:
   409  				return &v.state
   410  			case 1:
   411  				return &v.sizeCache
   412  			case 2:
   413  				return &v.unknownFields
   414  			default:
   415  				return nil
   416  			}
   417  		}
   418  	}
   419  	type x struct{}
   420  	out := protoimpl.TypeBuilder{
   421  		File: protoimpl.DescBuilder{
   422  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   423  			RawDescriptor: file_config_proto_rawDesc,
   424  			NumEnums:      0,
   425  			NumMessages:   3,
   426  			NumExtensions: 0,
   427  			NumServices:   0,
   428  		},
   429  		GoTypes:           file_config_proto_goTypes,
   430  		DependencyIndexes: file_config_proto_depIdxs,
   431  		MessageInfos:      file_config_proto_msgTypes,
   432  	}.Build()
   433  	File_config_proto = out.File
   434  	file_config_proto_rawDesc = nil
   435  	file_config_proto_goTypes = nil
   436  	file_config_proto_depIdxs = nil
   437  }