2020-08-24 08:10:26 -04:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.13.0
// source: config.proto
2017-01-02 14:52:45 -05:00
package core
2018-09-17 09:12:58 -04:00
import (
proto "github.com/golang/protobuf/proto"
2020-06-08 04:16:32 -04:00
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
2018-09-17 09:12:58 -04:00
serial "v2ray.com/core/common/serial"
transport "v2ray.com/core/transport"
)
2017-01-02 14:52:45 -05:00
2020-06-08 04:16:32 -04:00
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl . EnforceVersion ( 20 - protoimpl . MinVersion )
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl . EnforceVersion ( protoimpl . MaxVersion - 20 )
)
2017-01-02 14:52:45 -05:00
2020-06-08 04:16:32 -04:00
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto . ProtoPackageIsVersion4
2017-01-02 14:52:45 -05:00
2018-02-16 08:04:02 -05:00
// Config is the master config of V2Ray. V2Ray takes this config as input and functions accordingly.
2017-01-02 14:52:45 -05:00
type Config struct {
2020-06-08 04:16:32 -04:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2017-01-02 14:52:45 -05:00
// Inbound handler configurations. Must have at least one item.
2018-06-26 10:28:54 -04:00
Inbound [ ] * InboundHandlerConfig ` protobuf:"bytes,1,rep,name=inbound,proto3" json:"inbound,omitempty" `
2017-01-02 14:52:45 -05:00
// Outbound handler configurations. Must have at least one item. The first item is used as default for routing.
2018-06-26 10:28:54 -04:00
Outbound [ ] * OutboundHandlerConfig ` protobuf:"bytes,2,rep,name=outbound,proto3" json:"outbound,omitempty" `
2018-03-30 13:56:59 -04:00
// App is for configurations of all features in V2Ray. A feature must implement the Feature interface, and its config type must be registered through common.RegisterConfig.
2018-06-26 10:28:54 -04:00
App [ ] * serial . TypedMessage ` protobuf:"bytes,4,rep,name=app,proto3" json:"app,omitempty" `
2017-04-02 08:24:10 -04:00
// Transport settings.
2019-01-13 14:14:24 -05:00
// Deprecated. Each inbound and outbound should choose their own transport config.
// Date to remove: 2020-01-13
2020-06-08 04:16:32 -04:00
//
// Deprecated: Do not use.
Transport * transport . Config ` protobuf:"bytes,5,opt,name=transport,proto3" json:"transport,omitempty" `
2017-07-24 15:41:12 -04:00
// Configuration for extensions. The config may not work if corresponding extension is not loaded into V2Ray.
// V2Ray will ignore such config during initialization.
2020-06-08 04:16:32 -04:00
Extension [ ] * serial . TypedMessage ` protobuf:"bytes,6,rep,name=extension,proto3" json:"extension,omitempty" `
2017-01-02 14:52:45 -05:00
}
2020-06-08 04:16:32 -04:00
func ( x * Config ) Reset ( ) {
* x = Config { }
if protoimpl . UnsafeEnabled {
2020-08-24 08:10:26 -04:00
mi := & file_config_proto_msgTypes [ 0 ]
2020-06-08 04:16:32 -04:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2018-05-25 05:56:01 -04:00
}
2018-09-30 12:39:28 -04:00
2020-06-08 04:16:32 -04:00
func ( x * Config ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2018-05-25 05:56:01 -04:00
}
2020-06-08 04:16:32 -04:00
func ( * Config ) ProtoMessage ( ) { }
func ( x * Config ) ProtoReflect ( ) protoreflect . Message {
2020-08-24 08:10:26 -04:00
mi := & file_config_proto_msgTypes [ 0 ]
2020-06-08 04:16:32 -04:00
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2018-05-25 05:56:01 -04:00
}
2020-06-08 04:16:32 -04:00
// Deprecated: Use Config.ProtoReflect.Descriptor instead.
func ( * Config ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2020-08-24 08:10:26 -04:00
return file_config_proto_rawDescGZIP ( ) , [ ] int { 0 }
2020-06-08 04:16:32 -04:00
}
2017-01-02 14:52:45 -05:00
2020-06-08 04:16:32 -04:00
func ( x * Config ) GetInbound ( ) [ ] * InboundHandlerConfig {
if x != nil {
return x . Inbound
2017-01-02 14:52:45 -05:00
}
return nil
}
2020-06-08 04:16:32 -04:00
func ( x * Config ) GetOutbound ( ) [ ] * OutboundHandlerConfig {
if x != nil {
return x . Outbound
2017-01-02 14:52:45 -05:00
}
return nil
}
2020-06-08 04:16:32 -04:00
func ( x * Config ) GetApp ( ) [ ] * serial . TypedMessage {
if x != nil {
return x . App
2017-01-02 14:52:45 -05:00
}
return nil
}
2019-01-13 14:14:24 -05:00
// Deprecated: Do not use.
2020-06-08 04:16:32 -04:00
func ( x * Config ) GetTransport ( ) * transport . Config {
if x != nil {
return x . Transport
2017-01-02 14:52:45 -05:00
}
return nil
}
2020-06-08 04:16:32 -04:00
func ( x * Config ) GetExtension ( ) [ ] * serial . TypedMessage {
if x != nil {
return x . Extension
2017-07-24 15:41:12 -04:00
}
return nil
}
2018-03-30 13:56:59 -04:00
// InboundHandlerConfig is the configuration for inbound handler.
2018-01-10 06:22:37 -05:00
type InboundHandlerConfig struct {
2020-06-08 04:16:32 -04:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2018-03-30 13:56:59 -04:00
// Tag of the inbound handler. The tag must be unique among all inbound handlers
2018-06-26 10:28:54 -04:00
Tag string ` protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty" `
2018-03-30 13:56:59 -04:00
// Settings for how this inbound proxy is handled.
2018-06-26 10:28:54 -04:00
ReceiverSettings * serial . TypedMessage ` protobuf:"bytes,2,opt,name=receiver_settings,json=receiverSettings,proto3" json:"receiver_settings,omitempty" `
2018-01-10 06:22:37 -05:00
// Settings for inbound proxy. Must be one of the inbound proxies.
2020-06-08 04:16:32 -04:00
ProxySettings * serial . TypedMessage ` protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty" `
2018-01-10 06:22:37 -05:00
}
2020-06-08 04:16:32 -04:00
func ( x * InboundHandlerConfig ) Reset ( ) {
* x = InboundHandlerConfig { }
if protoimpl . UnsafeEnabled {
2020-08-24 08:10:26 -04:00
mi := & file_config_proto_msgTypes [ 1 ]
2020-06-08 04:16:32 -04:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2018-05-25 05:56:01 -04:00
}
2018-09-30 12:39:28 -04:00
2020-06-08 04:16:32 -04:00
func ( x * InboundHandlerConfig ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2018-05-25 05:56:01 -04:00
}
2020-06-08 04:16:32 -04:00
func ( * InboundHandlerConfig ) ProtoMessage ( ) { }
func ( x * InboundHandlerConfig ) ProtoReflect ( ) protoreflect . Message {
2020-08-24 08:10:26 -04:00
mi := & file_config_proto_msgTypes [ 1 ]
2020-06-08 04:16:32 -04:00
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2018-05-25 05:56:01 -04:00
}
2020-06-08 04:16:32 -04:00
// Deprecated: Use InboundHandlerConfig.ProtoReflect.Descriptor instead.
func ( * InboundHandlerConfig ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2020-08-24 08:10:26 -04:00
return file_config_proto_rawDescGZIP ( ) , [ ] int { 1 }
2020-06-08 04:16:32 -04:00
}
2018-01-10 06:22:37 -05:00
2020-06-08 04:16:32 -04:00
func ( x * InboundHandlerConfig ) GetTag ( ) string {
if x != nil {
return x . Tag
2018-01-10 06:22:37 -05:00
}
return ""
}
2020-06-08 04:16:32 -04:00
func ( x * InboundHandlerConfig ) GetReceiverSettings ( ) * serial . TypedMessage {
if x != nil {
return x . ReceiverSettings
2018-01-10 06:22:37 -05:00
}
return nil
}
2020-06-08 04:16:32 -04:00
func ( x * InboundHandlerConfig ) GetProxySettings ( ) * serial . TypedMessage {
if x != nil {
return x . ProxySettings
2018-01-10 06:22:37 -05:00
}
return nil
}
2018-03-30 13:56:59 -04:00
// OutboundHandlerConfig is the configuration for outbound handler.
2018-01-10 06:22:37 -05:00
type OutboundHandlerConfig struct {
2020-06-08 04:16:32 -04:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2018-01-10 06:22:37 -05:00
// Tag of this outbound handler.
2018-06-26 10:28:54 -04:00
Tag string ` protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty" `
2018-03-30 13:56:59 -04:00
// Settings for how to dial connection for this outbound handler.
2018-06-26 10:28:54 -04:00
SenderSettings * serial . TypedMessage ` protobuf:"bytes,2,opt,name=sender_settings,json=senderSettings,proto3" json:"sender_settings,omitempty" `
2018-01-10 06:22:37 -05:00
// Settings for this outbound proxy. Must be one of the outbound proxies.
2018-06-26 10:28:54 -04:00
ProxySettings * serial . TypedMessage ` protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty" `
2018-01-10 06:22:37 -05:00
// If not zero, this outbound will be expired in seconds. Not used for now.
2018-06-26 10:28:54 -04:00
Expire int64 ` protobuf:"varint,4,opt,name=expire,proto3" json:"expire,omitempty" `
2018-01-10 06:22:37 -05:00
// Comment of this outbound handler. Not used for now.
2020-06-08 04:16:32 -04:00
Comment string ` protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty" `
2018-05-25 05:56:01 -04:00
}
2020-06-08 04:16:32 -04:00
func ( x * OutboundHandlerConfig ) Reset ( ) {
* x = OutboundHandlerConfig { }
if protoimpl . UnsafeEnabled {
2020-08-24 08:10:26 -04:00
mi := & file_config_proto_msgTypes [ 2 ]
2020-06-08 04:16:32 -04:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
2018-05-25 05:56:01 -04:00
}
2018-09-30 12:39:28 -04:00
2020-06-08 04:16:32 -04:00
func ( x * OutboundHandlerConfig ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
2018-05-25 05:56:01 -04:00
}
2020-06-08 04:16:32 -04:00
func ( * OutboundHandlerConfig ) ProtoMessage ( ) { }
func ( x * OutboundHandlerConfig ) ProtoReflect ( ) protoreflect . Message {
2020-08-24 08:10:26 -04:00
mi := & file_config_proto_msgTypes [ 2 ]
2020-06-08 04:16:32 -04:00
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
2018-01-10 06:22:37 -05:00
}
2020-06-08 04:16:32 -04:00
// Deprecated: Use OutboundHandlerConfig.ProtoReflect.Descriptor instead.
func ( * OutboundHandlerConfig ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2020-08-24 08:10:26 -04:00
return file_config_proto_rawDescGZIP ( ) , [ ] int { 2 }
2020-06-08 04:16:32 -04:00
}
2018-01-10 06:22:37 -05:00
2020-06-08 04:16:32 -04:00
func ( x * OutboundHandlerConfig ) GetTag ( ) string {
if x != nil {
return x . Tag
2018-01-10 06:22:37 -05:00
}
return ""
}
2020-06-08 04:16:32 -04:00
func ( x * OutboundHandlerConfig ) GetSenderSettings ( ) * serial . TypedMessage {
if x != nil {
return x . SenderSettings
2018-01-10 06:22:37 -05:00
}
return nil
}
2020-06-08 04:16:32 -04:00
func ( x * OutboundHandlerConfig ) GetProxySettings ( ) * serial . TypedMessage {
if x != nil {
return x . ProxySettings
2018-01-10 06:22:37 -05:00
}
return nil
}
2020-06-08 04:16:32 -04:00
func ( x * OutboundHandlerConfig ) GetExpire ( ) int64 {
if x != nil {
return x . Expire
2018-01-10 06:22:37 -05:00
}
return 0
}
2020-06-08 04:16:32 -04:00
func ( x * OutboundHandlerConfig ) GetComment ( ) string {
if x != nil {
return x . Comment
2018-01-10 06:22:37 -05:00
}
return ""
}
2020-08-24 08:10:26 -04:00
var File_config_proto protoreflect . FileDescriptor
var file_config_proto_rawDesc = [ ] byte {
0x0a , 0x0c , 0x63 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x12 , 0x0a ,
0x76 , 0x32 , 0x72 , 0x61 , 0x79 , 0x2e , 0x63 , 0x6f , 0x72 , 0x65 , 0x1a , 0x21 , 0x63 , 0x6f , 0x6d , 0x6d ,
0x6f , 0x6e , 0x2f , 0x73 , 0x65 , 0x72 , 0x69 , 0x61 , 0x6c , 0x2f , 0x74 , 0x79 , 0x70 , 0x65 , 0x64 , 0x5f ,
0x6d , 0x65 , 0x73 , 0x73 , 0x61 , 0x67 , 0x65 , 0x2e , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x1a , 0x16 , 0x74 ,
0x72 , 0x61 , 0x6e , 0x73 , 0x70 , 0x6f , 0x72 , 0x74 , 0x2f , 0x63 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x2e ,
0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x22 , 0xc9 , 0x02 , 0x0a , 0x06 , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 ,
0x12 , 0x3a , 0x0a , 0x07 , 0x69 , 0x6e , 0x62 , 0x6f , 0x75 , 0x6e , 0x64 , 0x18 , 0x01 , 0x20 , 0x03 , 0x28 ,
0x0b , 0x32 , 0x20 , 0x2e , 0x76 , 0x32 , 0x72 , 0x61 , 0x79 , 0x2e , 0x63 , 0x6f , 0x72 , 0x65 , 0x2e , 0x49 ,
0x6e , 0x62 , 0x6f , 0x75 , 0x6e , 0x64 , 0x48 , 0x61 , 0x6e , 0x64 , 0x6c , 0x65 , 0x72 , 0x43 , 0x6f , 0x6e ,
0x66 , 0x69 , 0x67 , 0x52 , 0x07 , 0x69 , 0x6e , 0x62 , 0x6f , 0x75 , 0x6e , 0x64 , 0x12 , 0x3d , 0x0a , 0x08 ,
0x6f , 0x75 , 0x74 , 0x62 , 0x6f , 0x75 , 0x6e , 0x64 , 0x18 , 0x02 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x21 ,
0x2e , 0x76 , 0x32 , 0x72 , 0x61 , 0x79 , 0x2e , 0x63 , 0x6f , 0x72 , 0x65 , 0x2e , 0x4f , 0x75 , 0x74 , 0x62 ,
0x6f , 0x75 , 0x6e , 0x64 , 0x48 , 0x61 , 0x6e , 0x64 , 0x6c , 0x65 , 0x72 , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 ,
0x67 , 0x52 , 0x08 , 0x6f , 0x75 , 0x74 , 0x62 , 0x6f , 0x75 , 0x6e , 0x64 , 0x12 , 0x38 , 0x0a , 0x03 , 0x61 ,
0x70 , 0x70 , 0x18 , 0x04 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x26 , 0x2e , 0x76 , 0x32 , 0x72 , 0x61 , 0x79 ,
0x2e , 0x63 , 0x6f , 0x72 , 0x65 , 0x2e , 0x63 , 0x6f , 0x6d , 0x6d , 0x6f , 0x6e , 0x2e , 0x73 , 0x65 , 0x72 ,
0x69 , 0x61 , 0x6c , 0x2e , 0x54 , 0x79 , 0x70 , 0x65 , 0x64 , 0x4d , 0x65 , 0x73 , 0x73 , 0x61 , 0x67 , 0x65 ,
0x52 , 0x03 , 0x61 , 0x70 , 0x70 , 0x12 , 0x3e , 0x0a , 0x09 , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 , 0x6f ,
0x72 , 0x74 , 0x18 , 0x05 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x1c , 0x2e , 0x76 , 0x32 , 0x72 , 0x61 , 0x79 ,
0x2e , 0x63 , 0x6f , 0x72 , 0x65 , 0x2e , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 , 0x6f , 0x72 , 0x74 , 0x2e ,
0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x42 , 0x02 , 0x18 , 0x01 , 0x52 , 0x09 , 0x74 , 0x72 , 0x61 , 0x6e ,
0x73 , 0x70 , 0x6f , 0x72 , 0x74 , 0x12 , 0x44 , 0x0a , 0x09 , 0x65 , 0x78 , 0x74 , 0x65 , 0x6e , 0x73 , 0x69 ,
0x6f , 0x6e , 0x18 , 0x06 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 , 0x26 , 0x2e , 0x76 , 0x32 , 0x72 , 0x61 , 0x79 ,
0x2e , 0x63 , 0x6f , 0x72 , 0x65 , 0x2e , 0x63 , 0x6f , 0x6d , 0x6d , 0x6f , 0x6e , 0x2e , 0x73 , 0x65 , 0x72 ,
0x69 , 0x61 , 0x6c , 0x2e , 0x54 , 0x79 , 0x70 , 0x65 , 0x64 , 0x4d , 0x65 , 0x73 , 0x73 , 0x61 , 0x67 , 0x65 ,
0x52 , 0x09 , 0x65 , 0x78 , 0x74 , 0x65 , 0x6e , 0x73 , 0x69 , 0x6f , 0x6e , 0x4a , 0x04 , 0x08 , 0x03 , 0x10 ,
0x04 , 0x22 , 0xcc , 0x01 , 0x0a , 0x14 , 0x49 , 0x6e , 0x62 , 0x6f , 0x75 , 0x6e , 0x64 , 0x48 , 0x61 , 0x6e ,
0x64 , 0x6c , 0x65 , 0x72 , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x12 , 0x10 , 0x0a , 0x03 , 0x74 , 0x61 ,
0x67 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x03 , 0x74 , 0x61 , 0x67 , 0x12 , 0x53 , 0x0a , 0x11 ,
0x72 , 0x65 , 0x63 , 0x65 , 0x69 , 0x76 , 0x65 , 0x72 , 0x5f , 0x73 , 0x65 , 0x74 , 0x74 , 0x69 , 0x6e , 0x67 ,
0x73 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x26 , 0x2e , 0x76 , 0x32 , 0x72 , 0x61 , 0x79 , 0x2e ,
0x63 , 0x6f , 0x72 , 0x65 , 0x2e , 0x63 , 0x6f , 0x6d , 0x6d , 0x6f , 0x6e , 0x2e , 0x73 , 0x65 , 0x72 , 0x69 ,
0x61 , 0x6c , 0x2e , 0x54 , 0x79 , 0x70 , 0x65 , 0x64 , 0x4d , 0x65 , 0x73 , 0x73 , 0x61 , 0x67 , 0x65 , 0x52 ,
0x10 , 0x72 , 0x65 , 0x63 , 0x65 , 0x69 , 0x76 , 0x65 , 0x72 , 0x53 , 0x65 , 0x74 , 0x74 , 0x69 , 0x6e , 0x67 ,
0x73 , 0x12 , 0x4d , 0x0a , 0x0e , 0x70 , 0x72 , 0x6f , 0x78 , 0x79 , 0x5f , 0x73 , 0x65 , 0x74 , 0x74 , 0x69 ,
0x6e , 0x67 , 0x73 , 0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x26 , 0x2e , 0x76 , 0x32 , 0x72 , 0x61 ,
0x79 , 0x2e , 0x63 , 0x6f , 0x72 , 0x65 , 0x2e , 0x63 , 0x6f , 0x6d , 0x6d , 0x6f , 0x6e , 0x2e , 0x73 , 0x65 ,
0x72 , 0x69 , 0x61 , 0x6c , 0x2e , 0x54 , 0x79 , 0x70 , 0x65 , 0x64 , 0x4d , 0x65 , 0x73 , 0x73 , 0x61 , 0x67 ,
0x65 , 0x52 , 0x0d , 0x70 , 0x72 , 0x6f , 0x78 , 0x79 , 0x53 , 0x65 , 0x74 , 0x74 , 0x69 , 0x6e , 0x67 , 0x73 ,
0x22 , 0xfb , 0x01 , 0x0a , 0x15 , 0x4f , 0x75 , 0x74 , 0x62 , 0x6f , 0x75 , 0x6e , 0x64 , 0x48 , 0x61 , 0x6e ,
0x64 , 0x6c , 0x65 , 0x72 , 0x43 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x12 , 0x10 , 0x0a , 0x03 , 0x74 , 0x61 ,
0x67 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x03 , 0x74 , 0x61 , 0x67 , 0x12 , 0x4f , 0x0a , 0x0f ,
0x73 , 0x65 , 0x6e , 0x64 , 0x65 , 0x72 , 0x5f , 0x73 , 0x65 , 0x74 , 0x74 , 0x69 , 0x6e , 0x67 , 0x73 , 0x18 ,
0x02 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x26 , 0x2e , 0x76 , 0x32 , 0x72 , 0x61 , 0x79 , 0x2e , 0x63 , 0x6f ,
2020-06-08 04:16:32 -04:00
0x72 , 0x65 , 0x2e , 0x63 , 0x6f , 0x6d , 0x6d , 0x6f , 0x6e , 0x2e , 0x73 , 0x65 , 0x72 , 0x69 , 0x61 , 0x6c ,
2020-08-24 08:10:26 -04:00
0x2e , 0x54 , 0x79 , 0x70 , 0x65 , 0x64 , 0x4d , 0x65 , 0x73 , 0x73 , 0x61 , 0x67 , 0x65 , 0x52 , 0x0e , 0x73 ,
0x65 , 0x6e , 0x64 , 0x65 , 0x72 , 0x53 , 0x65 , 0x74 , 0x74 , 0x69 , 0x6e , 0x67 , 0x73 , 0x12 , 0x4d , 0x0a ,
0x0e , 0x70 , 0x72 , 0x6f , 0x78 , 0x79 , 0x5f , 0x73 , 0x65 , 0x74 , 0x74 , 0x69 , 0x6e , 0x67 , 0x73 , 0x18 ,
0x03 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x26 , 0x2e , 0x76 , 0x32 , 0x72 , 0x61 , 0x79 , 0x2e , 0x63 , 0x6f ,
2020-06-08 04:16:32 -04:00
0x72 , 0x65 , 0x2e , 0x63 , 0x6f , 0x6d , 0x6d , 0x6f , 0x6e , 0x2e , 0x73 , 0x65 , 0x72 , 0x69 , 0x61 , 0x6c ,
2020-08-24 08:10:26 -04:00
0x2e , 0x54 , 0x79 , 0x70 , 0x65 , 0x64 , 0x4d , 0x65 , 0x73 , 0x73 , 0x61 , 0x67 , 0x65 , 0x52 , 0x0d , 0x70 ,
0x72 , 0x6f , 0x78 , 0x79 , 0x53 , 0x65 , 0x74 , 0x74 , 0x69 , 0x6e , 0x67 , 0x73 , 0x12 , 0x16 , 0x0a , 0x06 ,
0x65 , 0x78 , 0x70 , 0x69 , 0x72 , 0x65 , 0x18 , 0x04 , 0x20 , 0x01 , 0x28 , 0x03 , 0x52 , 0x06 , 0x65 , 0x78 ,
0x70 , 0x69 , 0x72 , 0x65 , 0x12 , 0x18 , 0x0a , 0x07 , 0x63 , 0x6f , 0x6d , 0x6d , 0x65 , 0x6e , 0x74 , 0x18 ,
0x05 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x07 , 0x63 , 0x6f , 0x6d , 0x6d , 0x65 , 0x6e , 0x74 , 0x42 , 0x2f ,
0x0a , 0x0e , 0x63 , 0x6f , 0x6d , 0x2e , 0x76 , 0x32 , 0x72 , 0x61 , 0x79 , 0x2e , 0x63 , 0x6f , 0x72 , 0x65 ,
0x50 , 0x01 , 0x5a , 0x0e , 0x76 , 0x32 , 0x72 , 0x61 , 0x79 , 0x2e , 0x63 , 0x6f , 0x6d , 0x2f , 0x63 , 0x6f ,
0x72 , 0x65 , 0xaa , 0x02 , 0x0a , 0x56 , 0x32 , 0x52 , 0x61 , 0x79 , 0x2e , 0x43 , 0x6f , 0x72 , 0x65 , 0x62 ,
0x06 , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x33 ,
2020-06-08 04:16:32 -04:00
}
var (
2020-08-24 08:10:26 -04:00
file_config_proto_rawDescOnce sync . Once
file_config_proto_rawDescData = file_config_proto_rawDesc
2020-06-08 04:16:32 -04:00
)
2020-08-24 08:10:26 -04:00
func file_config_proto_rawDescGZIP ( ) [ ] byte {
file_config_proto_rawDescOnce . Do ( func ( ) {
file_config_proto_rawDescData = protoimpl . X . CompressGZIP ( file_config_proto_rawDescData )
2020-06-08 04:16:32 -04:00
} )
2020-08-24 08:10:26 -04:00
return file_config_proto_rawDescData
2020-06-08 04:16:32 -04:00
}
2020-08-24 08:10:26 -04:00
var file_config_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 3 )
var file_config_proto_goTypes = [ ] interface { } {
2020-06-08 04:16:32 -04:00
( * Config ) ( nil ) , // 0: v2ray.core.Config
( * InboundHandlerConfig ) ( nil ) , // 1: v2ray.core.InboundHandlerConfig
( * OutboundHandlerConfig ) ( nil ) , // 2: v2ray.core.OutboundHandlerConfig
( * serial . TypedMessage ) ( nil ) , // 3: v2ray.core.common.serial.TypedMessage
( * transport . Config ) ( nil ) , // 4: v2ray.core.transport.Config
}
2020-08-24 08:10:26 -04:00
var file_config_proto_depIdxs = [ ] int32 {
2020-06-08 04:16:32 -04:00
1 , // 0: v2ray.core.Config.inbound:type_name -> v2ray.core.InboundHandlerConfig
2 , // 1: v2ray.core.Config.outbound:type_name -> v2ray.core.OutboundHandlerConfig
3 , // 2: v2ray.core.Config.app:type_name -> v2ray.core.common.serial.TypedMessage
4 , // 3: v2ray.core.Config.transport:type_name -> v2ray.core.transport.Config
3 , // 4: v2ray.core.Config.extension:type_name -> v2ray.core.common.serial.TypedMessage
3 , // 5: v2ray.core.InboundHandlerConfig.receiver_settings:type_name -> v2ray.core.common.serial.TypedMessage
3 , // 6: v2ray.core.InboundHandlerConfig.proxy_settings:type_name -> v2ray.core.common.serial.TypedMessage
3 , // 7: v2ray.core.OutboundHandlerConfig.sender_settings:type_name -> v2ray.core.common.serial.TypedMessage
3 , // 8: v2ray.core.OutboundHandlerConfig.proxy_settings:type_name -> v2ray.core.common.serial.TypedMessage
9 , // [9:9] is the sub-list for method output_type
9 , // [9:9] is the sub-list for method input_type
9 , // [9:9] is the sub-list for extension type_name
9 , // [9:9] is the sub-list for extension extendee
0 , // [0:9] is the sub-list for field type_name
}
2020-08-24 08:10:26 -04:00
func init ( ) { file_config_proto_init ( ) }
func file_config_proto_init ( ) {
if File_config_proto != nil {
2020-06-08 04:16:32 -04:00
return
}
if ! protoimpl . UnsafeEnabled {
2020-08-24 08:10:26 -04:00
file_config_proto_msgTypes [ 0 ] . Exporter = func ( v interface { } , i int ) interface { } {
2020-06-08 04:16:32 -04:00
switch v := v . ( * Config ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2020-08-24 08:10:26 -04:00
file_config_proto_msgTypes [ 1 ] . Exporter = func ( v interface { } , i int ) interface { } {
2020-06-08 04:16:32 -04:00
switch v := v . ( * InboundHandlerConfig ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
2020-08-24 08:10:26 -04:00
file_config_proto_msgTypes [ 2 ] . Exporter = func ( v interface { } , i int ) interface { } {
2020-06-08 04:16:32 -04:00
switch v := v . ( * OutboundHandlerConfig ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
}
type x struct { }
out := protoimpl . TypeBuilder {
File : protoimpl . DescBuilder {
GoPackagePath : reflect . TypeOf ( x { } ) . PkgPath ( ) ,
2020-08-24 08:10:26 -04:00
RawDescriptor : file_config_proto_rawDesc ,
2020-06-08 04:16:32 -04:00
NumEnums : 0 ,
NumMessages : 3 ,
NumExtensions : 0 ,
NumServices : 0 ,
} ,
2020-08-24 08:10:26 -04:00
GoTypes : file_config_proto_goTypes ,
DependencyIndexes : file_config_proto_depIdxs ,
MessageInfos : file_config_proto_msgTypes ,
2020-06-08 04:16:32 -04:00
} . Build ( )
2020-08-24 08:10:26 -04:00
File_config_proto = out . File
file_config_proto_rawDesc = nil
file_config_proto_goTypes = nil
file_config_proto_depIdxs = nil
2017-01-02 14:52:45 -05:00
}