github.com/moqsien/xraycore@v1.8.5/app/proxyman/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: app/proxyman/config.proto
     6  
     7  package proxyman
     8  
     9  import (
    10  	net "github.com/moqsien/xraycore/common/net"
    11  	serial "github.com/moqsien/xraycore/common/serial"
    12  	internet "github.com/moqsien/xraycore/transport/internet"
    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  type KnownProtocols int32
    27  
    28  const (
    29  	KnownProtocols_HTTP KnownProtocols = 0
    30  	KnownProtocols_TLS  KnownProtocols = 1
    31  )
    32  
    33  // Enum value maps for KnownProtocols.
    34  var (
    35  	KnownProtocols_name = map[int32]string{
    36  		0: "HTTP",
    37  		1: "TLS",
    38  	}
    39  	KnownProtocols_value = map[string]int32{
    40  		"HTTP": 0,
    41  		"TLS":  1,
    42  	}
    43  )
    44  
    45  func (x KnownProtocols) Enum() *KnownProtocols {
    46  	p := new(KnownProtocols)
    47  	*p = x
    48  	return p
    49  }
    50  
    51  func (x KnownProtocols) String() string {
    52  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    53  }
    54  
    55  func (KnownProtocols) Descriptor() protoreflect.EnumDescriptor {
    56  	return file_app_proxyman_config_proto_enumTypes[0].Descriptor()
    57  }
    58  
    59  func (KnownProtocols) Type() protoreflect.EnumType {
    60  	return &file_app_proxyman_config_proto_enumTypes[0]
    61  }
    62  
    63  func (x KnownProtocols) Number() protoreflect.EnumNumber {
    64  	return protoreflect.EnumNumber(x)
    65  }
    66  
    67  // Deprecated: Use KnownProtocols.Descriptor instead.
    68  func (KnownProtocols) EnumDescriptor() ([]byte, []int) {
    69  	return file_app_proxyman_config_proto_rawDescGZIP(), []int{0}
    70  }
    71  
    72  type AllocationStrategy_Type int32
    73  
    74  const (
    75  	// Always allocate all connection handlers.
    76  	AllocationStrategy_Always AllocationStrategy_Type = 0
    77  	// Randomly allocate specific range of handlers.
    78  	AllocationStrategy_Random AllocationStrategy_Type = 1
    79  	// External. Not supported yet.
    80  	AllocationStrategy_External AllocationStrategy_Type = 2
    81  )
    82  
    83  // Enum value maps for AllocationStrategy_Type.
    84  var (
    85  	AllocationStrategy_Type_name = map[int32]string{
    86  		0: "Always",
    87  		1: "Random",
    88  		2: "External",
    89  	}
    90  	AllocationStrategy_Type_value = map[string]int32{
    91  		"Always":   0,
    92  		"Random":   1,
    93  		"External": 2,
    94  	}
    95  )
    96  
    97  func (x AllocationStrategy_Type) Enum() *AllocationStrategy_Type {
    98  	p := new(AllocationStrategy_Type)
    99  	*p = x
   100  	return p
   101  }
   102  
   103  func (x AllocationStrategy_Type) String() string {
   104  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   105  }
   106  
   107  func (AllocationStrategy_Type) Descriptor() protoreflect.EnumDescriptor {
   108  	return file_app_proxyman_config_proto_enumTypes[1].Descriptor()
   109  }
   110  
   111  func (AllocationStrategy_Type) Type() protoreflect.EnumType {
   112  	return &file_app_proxyman_config_proto_enumTypes[1]
   113  }
   114  
   115  func (x AllocationStrategy_Type) Number() protoreflect.EnumNumber {
   116  	return protoreflect.EnumNumber(x)
   117  }
   118  
   119  // Deprecated: Use AllocationStrategy_Type.Descriptor instead.
   120  func (AllocationStrategy_Type) EnumDescriptor() ([]byte, []int) {
   121  	return file_app_proxyman_config_proto_rawDescGZIP(), []int{1, 0}
   122  }
   123  
   124  type InboundConfig struct {
   125  	state         protoimpl.MessageState
   126  	sizeCache     protoimpl.SizeCache
   127  	unknownFields protoimpl.UnknownFields
   128  }
   129  
   130  func (x *InboundConfig) Reset() {
   131  	*x = InboundConfig{}
   132  	if protoimpl.UnsafeEnabled {
   133  		mi := &file_app_proxyman_config_proto_msgTypes[0]
   134  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   135  		ms.StoreMessageInfo(mi)
   136  	}
   137  }
   138  
   139  func (x *InboundConfig) String() string {
   140  	return protoimpl.X.MessageStringOf(x)
   141  }
   142  
   143  func (*InboundConfig) ProtoMessage() {}
   144  
   145  func (x *InboundConfig) ProtoReflect() protoreflect.Message {
   146  	mi := &file_app_proxyman_config_proto_msgTypes[0]
   147  	if protoimpl.UnsafeEnabled && x != nil {
   148  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   149  		if ms.LoadMessageInfo() == nil {
   150  			ms.StoreMessageInfo(mi)
   151  		}
   152  		return ms
   153  	}
   154  	return mi.MessageOf(x)
   155  }
   156  
   157  // Deprecated: Use InboundConfig.ProtoReflect.Descriptor instead.
   158  func (*InboundConfig) Descriptor() ([]byte, []int) {
   159  	return file_app_proxyman_config_proto_rawDescGZIP(), []int{0}
   160  }
   161  
   162  type AllocationStrategy struct {
   163  	state         protoimpl.MessageState
   164  	sizeCache     protoimpl.SizeCache
   165  	unknownFields protoimpl.UnknownFields
   166  
   167  	Type AllocationStrategy_Type `protobuf:"varint,1,opt,name=type,proto3,enum=xray.app.proxyman.AllocationStrategy_Type" json:"type,omitempty"`
   168  	// Number of handlers (ports) running in parallel.
   169  	// Default value is 3 if unset.
   170  	Concurrency *AllocationStrategy_AllocationStrategyConcurrency `protobuf:"bytes,2,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
   171  	// Number of minutes before a handler is regenerated.
   172  	// Default value is 5 if unset.
   173  	Refresh *AllocationStrategy_AllocationStrategyRefresh `protobuf:"bytes,3,opt,name=refresh,proto3" json:"refresh,omitempty"`
   174  }
   175  
   176  func (x *AllocationStrategy) Reset() {
   177  	*x = AllocationStrategy{}
   178  	if protoimpl.UnsafeEnabled {
   179  		mi := &file_app_proxyman_config_proto_msgTypes[1]
   180  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   181  		ms.StoreMessageInfo(mi)
   182  	}
   183  }
   184  
   185  func (x *AllocationStrategy) String() string {
   186  	return protoimpl.X.MessageStringOf(x)
   187  }
   188  
   189  func (*AllocationStrategy) ProtoMessage() {}
   190  
   191  func (x *AllocationStrategy) ProtoReflect() protoreflect.Message {
   192  	mi := &file_app_proxyman_config_proto_msgTypes[1]
   193  	if protoimpl.UnsafeEnabled && x != nil {
   194  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   195  		if ms.LoadMessageInfo() == nil {
   196  			ms.StoreMessageInfo(mi)
   197  		}
   198  		return ms
   199  	}
   200  	return mi.MessageOf(x)
   201  }
   202  
   203  // Deprecated: Use AllocationStrategy.ProtoReflect.Descriptor instead.
   204  func (*AllocationStrategy) Descriptor() ([]byte, []int) {
   205  	return file_app_proxyman_config_proto_rawDescGZIP(), []int{1}
   206  }
   207  
   208  func (x *AllocationStrategy) GetType() AllocationStrategy_Type {
   209  	if x != nil {
   210  		return x.Type
   211  	}
   212  	return AllocationStrategy_Always
   213  }
   214  
   215  func (x *AllocationStrategy) GetConcurrency() *AllocationStrategy_AllocationStrategyConcurrency {
   216  	if x != nil {
   217  		return x.Concurrency
   218  	}
   219  	return nil
   220  }
   221  
   222  func (x *AllocationStrategy) GetRefresh() *AllocationStrategy_AllocationStrategyRefresh {
   223  	if x != nil {
   224  		return x.Refresh
   225  	}
   226  	return nil
   227  }
   228  
   229  type SniffingConfig struct {
   230  	state         protoimpl.MessageState
   231  	sizeCache     protoimpl.SizeCache
   232  	unknownFields protoimpl.UnknownFields
   233  
   234  	// Whether or not to enable content sniffing on an inbound connection.
   235  	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
   236  	// Override target destination if sniff'ed protocol is in the given list.
   237  	// Supported values are "http", "tls", "fakedns".
   238  	DestinationOverride []string `protobuf:"bytes,2,rep,name=destination_override,json=destinationOverride,proto3" json:"destination_override,omitempty"`
   239  	DomainsExcluded     []string `protobuf:"bytes,3,rep,name=domains_excluded,json=domainsExcluded,proto3" json:"domains_excluded,omitempty"`
   240  	// Whether should only try to sniff metadata without waiting for client input.
   241  	// Can be used to support SMTP like protocol where server send the first
   242  	// message.
   243  	MetadataOnly bool `protobuf:"varint,4,opt,name=metadata_only,json=metadataOnly,proto3" json:"metadata_only,omitempty"`
   244  	RouteOnly    bool `protobuf:"varint,5,opt,name=route_only,json=routeOnly,proto3" json:"route_only,omitempty"`
   245  }
   246  
   247  func (x *SniffingConfig) Reset() {
   248  	*x = SniffingConfig{}
   249  	if protoimpl.UnsafeEnabled {
   250  		mi := &file_app_proxyman_config_proto_msgTypes[2]
   251  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   252  		ms.StoreMessageInfo(mi)
   253  	}
   254  }
   255  
   256  func (x *SniffingConfig) String() string {
   257  	return protoimpl.X.MessageStringOf(x)
   258  }
   259  
   260  func (*SniffingConfig) ProtoMessage() {}
   261  
   262  func (x *SniffingConfig) ProtoReflect() protoreflect.Message {
   263  	mi := &file_app_proxyman_config_proto_msgTypes[2]
   264  	if protoimpl.UnsafeEnabled && x != nil {
   265  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   266  		if ms.LoadMessageInfo() == nil {
   267  			ms.StoreMessageInfo(mi)
   268  		}
   269  		return ms
   270  	}
   271  	return mi.MessageOf(x)
   272  }
   273  
   274  // Deprecated: Use SniffingConfig.ProtoReflect.Descriptor instead.
   275  func (*SniffingConfig) Descriptor() ([]byte, []int) {
   276  	return file_app_proxyman_config_proto_rawDescGZIP(), []int{2}
   277  }
   278  
   279  func (x *SniffingConfig) GetEnabled() bool {
   280  	if x != nil {
   281  		return x.Enabled
   282  	}
   283  	return false
   284  }
   285  
   286  func (x *SniffingConfig) GetDestinationOverride() []string {
   287  	if x != nil {
   288  		return x.DestinationOverride
   289  	}
   290  	return nil
   291  }
   292  
   293  func (x *SniffingConfig) GetDomainsExcluded() []string {
   294  	if x != nil {
   295  		return x.DomainsExcluded
   296  	}
   297  	return nil
   298  }
   299  
   300  func (x *SniffingConfig) GetMetadataOnly() bool {
   301  	if x != nil {
   302  		return x.MetadataOnly
   303  	}
   304  	return false
   305  }
   306  
   307  func (x *SniffingConfig) GetRouteOnly() bool {
   308  	if x != nil {
   309  		return x.RouteOnly
   310  	}
   311  	return false
   312  }
   313  
   314  type ReceiverConfig struct {
   315  	state         protoimpl.MessageState
   316  	sizeCache     protoimpl.SizeCache
   317  	unknownFields protoimpl.UnknownFields
   318  
   319  	// PortList specifies the ports which the Receiver should listen on.
   320  	PortList *net.PortList `protobuf:"bytes,1,opt,name=port_list,json=portList,proto3" json:"port_list,omitempty"`
   321  	// Listen specifies the IP address that the Receiver should listen on.
   322  	Listen                     *net.IPOrDomain        `protobuf:"bytes,2,opt,name=listen,proto3" json:"listen,omitempty"`
   323  	AllocationStrategy         *AllocationStrategy    `protobuf:"bytes,3,opt,name=allocation_strategy,json=allocationStrategy,proto3" json:"allocation_strategy,omitempty"`
   324  	StreamSettings             *internet.StreamConfig `protobuf:"bytes,4,opt,name=stream_settings,json=streamSettings,proto3" json:"stream_settings,omitempty"`
   325  	ReceiveOriginalDestination bool                   `protobuf:"varint,5,opt,name=receive_original_destination,json=receiveOriginalDestination,proto3" json:"receive_original_destination,omitempty"`
   326  	// Override domains for the given protocol.
   327  	// Deprecated. Use sniffing_settings.
   328  	//
   329  	// Deprecated: Marked as deprecated in app/proxyman/config.proto.
   330  	DomainOverride   []KnownProtocols `protobuf:"varint,7,rep,packed,name=domain_override,json=domainOverride,proto3,enum=xray.app.proxyman.KnownProtocols" json:"domain_override,omitempty"`
   331  	SniffingSettings *SniffingConfig  `protobuf:"bytes,8,opt,name=sniffing_settings,json=sniffingSettings,proto3" json:"sniffing_settings,omitempty"`
   332  }
   333  
   334  func (x *ReceiverConfig) Reset() {
   335  	*x = ReceiverConfig{}
   336  	if protoimpl.UnsafeEnabled {
   337  		mi := &file_app_proxyman_config_proto_msgTypes[3]
   338  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   339  		ms.StoreMessageInfo(mi)
   340  	}
   341  }
   342  
   343  func (x *ReceiverConfig) String() string {
   344  	return protoimpl.X.MessageStringOf(x)
   345  }
   346  
   347  func (*ReceiverConfig) ProtoMessage() {}
   348  
   349  func (x *ReceiverConfig) ProtoReflect() protoreflect.Message {
   350  	mi := &file_app_proxyman_config_proto_msgTypes[3]
   351  	if protoimpl.UnsafeEnabled && x != nil {
   352  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   353  		if ms.LoadMessageInfo() == nil {
   354  			ms.StoreMessageInfo(mi)
   355  		}
   356  		return ms
   357  	}
   358  	return mi.MessageOf(x)
   359  }
   360  
   361  // Deprecated: Use ReceiverConfig.ProtoReflect.Descriptor instead.
   362  func (*ReceiverConfig) Descriptor() ([]byte, []int) {
   363  	return file_app_proxyman_config_proto_rawDescGZIP(), []int{3}
   364  }
   365  
   366  func (x *ReceiverConfig) GetPortList() *net.PortList {
   367  	if x != nil {
   368  		return x.PortList
   369  	}
   370  	return nil
   371  }
   372  
   373  func (x *ReceiverConfig) GetListen() *net.IPOrDomain {
   374  	if x != nil {
   375  		return x.Listen
   376  	}
   377  	return nil
   378  }
   379  
   380  func (x *ReceiverConfig) GetAllocationStrategy() *AllocationStrategy {
   381  	if x != nil {
   382  		return x.AllocationStrategy
   383  	}
   384  	return nil
   385  }
   386  
   387  func (x *ReceiverConfig) GetStreamSettings() *internet.StreamConfig {
   388  	if x != nil {
   389  		return x.StreamSettings
   390  	}
   391  	return nil
   392  }
   393  
   394  func (x *ReceiverConfig) GetReceiveOriginalDestination() bool {
   395  	if x != nil {
   396  		return x.ReceiveOriginalDestination
   397  	}
   398  	return false
   399  }
   400  
   401  // Deprecated: Marked as deprecated in app/proxyman/config.proto.
   402  func (x *ReceiverConfig) GetDomainOverride() []KnownProtocols {
   403  	if x != nil {
   404  		return x.DomainOverride
   405  	}
   406  	return nil
   407  }
   408  
   409  func (x *ReceiverConfig) GetSniffingSettings() *SniffingConfig {
   410  	if x != nil {
   411  		return x.SniffingSettings
   412  	}
   413  	return nil
   414  }
   415  
   416  type InboundHandlerConfig struct {
   417  	state         protoimpl.MessageState
   418  	sizeCache     protoimpl.SizeCache
   419  	unknownFields protoimpl.UnknownFields
   420  
   421  	Tag              string               `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
   422  	ReceiverSettings *serial.TypedMessage `protobuf:"bytes,2,opt,name=receiver_settings,json=receiverSettings,proto3" json:"receiver_settings,omitempty"`
   423  	ProxySettings    *serial.TypedMessage `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"`
   424  }
   425  
   426  func (x *InboundHandlerConfig) Reset() {
   427  	*x = InboundHandlerConfig{}
   428  	if protoimpl.UnsafeEnabled {
   429  		mi := &file_app_proxyman_config_proto_msgTypes[4]
   430  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   431  		ms.StoreMessageInfo(mi)
   432  	}
   433  }
   434  
   435  func (x *InboundHandlerConfig) String() string {
   436  	return protoimpl.X.MessageStringOf(x)
   437  }
   438  
   439  func (*InboundHandlerConfig) ProtoMessage() {}
   440  
   441  func (x *InboundHandlerConfig) ProtoReflect() protoreflect.Message {
   442  	mi := &file_app_proxyman_config_proto_msgTypes[4]
   443  	if protoimpl.UnsafeEnabled && x != nil {
   444  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   445  		if ms.LoadMessageInfo() == nil {
   446  			ms.StoreMessageInfo(mi)
   447  		}
   448  		return ms
   449  	}
   450  	return mi.MessageOf(x)
   451  }
   452  
   453  // Deprecated: Use InboundHandlerConfig.ProtoReflect.Descriptor instead.
   454  func (*InboundHandlerConfig) Descriptor() ([]byte, []int) {
   455  	return file_app_proxyman_config_proto_rawDescGZIP(), []int{4}
   456  }
   457  
   458  func (x *InboundHandlerConfig) GetTag() string {
   459  	if x != nil {
   460  		return x.Tag
   461  	}
   462  	return ""
   463  }
   464  
   465  func (x *InboundHandlerConfig) GetReceiverSettings() *serial.TypedMessage {
   466  	if x != nil {
   467  		return x.ReceiverSettings
   468  	}
   469  	return nil
   470  }
   471  
   472  func (x *InboundHandlerConfig) GetProxySettings() *serial.TypedMessage {
   473  	if x != nil {
   474  		return x.ProxySettings
   475  	}
   476  	return nil
   477  }
   478  
   479  type OutboundConfig struct {
   480  	state         protoimpl.MessageState
   481  	sizeCache     protoimpl.SizeCache
   482  	unknownFields protoimpl.UnknownFields
   483  }
   484  
   485  func (x *OutboundConfig) Reset() {
   486  	*x = OutboundConfig{}
   487  	if protoimpl.UnsafeEnabled {
   488  		mi := &file_app_proxyman_config_proto_msgTypes[5]
   489  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   490  		ms.StoreMessageInfo(mi)
   491  	}
   492  }
   493  
   494  func (x *OutboundConfig) String() string {
   495  	return protoimpl.X.MessageStringOf(x)
   496  }
   497  
   498  func (*OutboundConfig) ProtoMessage() {}
   499  
   500  func (x *OutboundConfig) ProtoReflect() protoreflect.Message {
   501  	mi := &file_app_proxyman_config_proto_msgTypes[5]
   502  	if protoimpl.UnsafeEnabled && x != nil {
   503  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   504  		if ms.LoadMessageInfo() == nil {
   505  			ms.StoreMessageInfo(mi)
   506  		}
   507  		return ms
   508  	}
   509  	return mi.MessageOf(x)
   510  }
   511  
   512  // Deprecated: Use OutboundConfig.ProtoReflect.Descriptor instead.
   513  func (*OutboundConfig) Descriptor() ([]byte, []int) {
   514  	return file_app_proxyman_config_proto_rawDescGZIP(), []int{5}
   515  }
   516  
   517  type SenderConfig struct {
   518  	state         protoimpl.MessageState
   519  	sizeCache     protoimpl.SizeCache
   520  	unknownFields protoimpl.UnknownFields
   521  
   522  	// Send traffic through the given IP. Only IP is allowed.
   523  	Via               *net.IPOrDomain        `protobuf:"bytes,1,opt,name=via,proto3" json:"via,omitempty"`
   524  	StreamSettings    *internet.StreamConfig `protobuf:"bytes,2,opt,name=stream_settings,json=streamSettings,proto3" json:"stream_settings,omitempty"`
   525  	ProxySettings     *internet.ProxyConfig  `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"`
   526  	MultiplexSettings *MultiplexingConfig    `protobuf:"bytes,4,opt,name=multiplex_settings,json=multiplexSettings,proto3" json:"multiplex_settings,omitempty"`
   527  }
   528  
   529  func (x *SenderConfig) Reset() {
   530  	*x = SenderConfig{}
   531  	if protoimpl.UnsafeEnabled {
   532  		mi := &file_app_proxyman_config_proto_msgTypes[6]
   533  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   534  		ms.StoreMessageInfo(mi)
   535  	}
   536  }
   537  
   538  func (x *SenderConfig) String() string {
   539  	return protoimpl.X.MessageStringOf(x)
   540  }
   541  
   542  func (*SenderConfig) ProtoMessage() {}
   543  
   544  func (x *SenderConfig) ProtoReflect() protoreflect.Message {
   545  	mi := &file_app_proxyman_config_proto_msgTypes[6]
   546  	if protoimpl.UnsafeEnabled && x != nil {
   547  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   548  		if ms.LoadMessageInfo() == nil {
   549  			ms.StoreMessageInfo(mi)
   550  		}
   551  		return ms
   552  	}
   553  	return mi.MessageOf(x)
   554  }
   555  
   556  // Deprecated: Use SenderConfig.ProtoReflect.Descriptor instead.
   557  func (*SenderConfig) Descriptor() ([]byte, []int) {
   558  	return file_app_proxyman_config_proto_rawDescGZIP(), []int{6}
   559  }
   560  
   561  func (x *SenderConfig) GetVia() *net.IPOrDomain {
   562  	if x != nil {
   563  		return x.Via
   564  	}
   565  	return nil
   566  }
   567  
   568  func (x *SenderConfig) GetStreamSettings() *internet.StreamConfig {
   569  	if x != nil {
   570  		return x.StreamSettings
   571  	}
   572  	return nil
   573  }
   574  
   575  func (x *SenderConfig) GetProxySettings() *internet.ProxyConfig {
   576  	if x != nil {
   577  		return x.ProxySettings
   578  	}
   579  	return nil
   580  }
   581  
   582  func (x *SenderConfig) GetMultiplexSettings() *MultiplexingConfig {
   583  	if x != nil {
   584  		return x.MultiplexSettings
   585  	}
   586  	return nil
   587  }
   588  
   589  type MultiplexingConfig struct {
   590  	state         protoimpl.MessageState
   591  	sizeCache     protoimpl.SizeCache
   592  	unknownFields protoimpl.UnknownFields
   593  
   594  	// Whether or not Mux is enabled.
   595  	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
   596  	// Max number of concurrent connections that one Mux connection can handle.
   597  	Concurrency int32 `protobuf:"varint,2,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
   598  	// Transport XUDP in another Mux.
   599  	XudpConcurrency int32 `protobuf:"varint,3,opt,name=xudpConcurrency,proto3" json:"xudpConcurrency,omitempty"`
   600  	// "reject" (default), "allow" or "skip".
   601  	XudpProxyUDP443 string `protobuf:"bytes,4,opt,name=xudpProxyUDP443,proto3" json:"xudpProxyUDP443,omitempty"`
   602  }
   603  
   604  func (x *MultiplexingConfig) Reset() {
   605  	*x = MultiplexingConfig{}
   606  	if protoimpl.UnsafeEnabled {
   607  		mi := &file_app_proxyman_config_proto_msgTypes[7]
   608  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   609  		ms.StoreMessageInfo(mi)
   610  	}
   611  }
   612  
   613  func (x *MultiplexingConfig) String() string {
   614  	return protoimpl.X.MessageStringOf(x)
   615  }
   616  
   617  func (*MultiplexingConfig) ProtoMessage() {}
   618  
   619  func (x *MultiplexingConfig) ProtoReflect() protoreflect.Message {
   620  	mi := &file_app_proxyman_config_proto_msgTypes[7]
   621  	if protoimpl.UnsafeEnabled && x != nil {
   622  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   623  		if ms.LoadMessageInfo() == nil {
   624  			ms.StoreMessageInfo(mi)
   625  		}
   626  		return ms
   627  	}
   628  	return mi.MessageOf(x)
   629  }
   630  
   631  // Deprecated: Use MultiplexingConfig.ProtoReflect.Descriptor instead.
   632  func (*MultiplexingConfig) Descriptor() ([]byte, []int) {
   633  	return file_app_proxyman_config_proto_rawDescGZIP(), []int{7}
   634  }
   635  
   636  func (x *MultiplexingConfig) GetEnabled() bool {
   637  	if x != nil {
   638  		return x.Enabled
   639  	}
   640  	return false
   641  }
   642  
   643  func (x *MultiplexingConfig) GetConcurrency() int32 {
   644  	if x != nil {
   645  		return x.Concurrency
   646  	}
   647  	return 0
   648  }
   649  
   650  func (x *MultiplexingConfig) GetXudpConcurrency() int32 {
   651  	if x != nil {
   652  		return x.XudpConcurrency
   653  	}
   654  	return 0
   655  }
   656  
   657  func (x *MultiplexingConfig) GetXudpProxyUDP443() string {
   658  	if x != nil {
   659  		return x.XudpProxyUDP443
   660  	}
   661  	return ""
   662  }
   663  
   664  type AllocationStrategy_AllocationStrategyConcurrency struct {
   665  	state         protoimpl.MessageState
   666  	sizeCache     protoimpl.SizeCache
   667  	unknownFields protoimpl.UnknownFields
   668  
   669  	Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
   670  }
   671  
   672  func (x *AllocationStrategy_AllocationStrategyConcurrency) Reset() {
   673  	*x = AllocationStrategy_AllocationStrategyConcurrency{}
   674  	if protoimpl.UnsafeEnabled {
   675  		mi := &file_app_proxyman_config_proto_msgTypes[8]
   676  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   677  		ms.StoreMessageInfo(mi)
   678  	}
   679  }
   680  
   681  func (x *AllocationStrategy_AllocationStrategyConcurrency) String() string {
   682  	return protoimpl.X.MessageStringOf(x)
   683  }
   684  
   685  func (*AllocationStrategy_AllocationStrategyConcurrency) ProtoMessage() {}
   686  
   687  func (x *AllocationStrategy_AllocationStrategyConcurrency) ProtoReflect() protoreflect.Message {
   688  	mi := &file_app_proxyman_config_proto_msgTypes[8]
   689  	if protoimpl.UnsafeEnabled && x != nil {
   690  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   691  		if ms.LoadMessageInfo() == nil {
   692  			ms.StoreMessageInfo(mi)
   693  		}
   694  		return ms
   695  	}
   696  	return mi.MessageOf(x)
   697  }
   698  
   699  // Deprecated: Use AllocationStrategy_AllocationStrategyConcurrency.ProtoReflect.Descriptor instead.
   700  func (*AllocationStrategy_AllocationStrategyConcurrency) Descriptor() ([]byte, []int) {
   701  	return file_app_proxyman_config_proto_rawDescGZIP(), []int{1, 0}
   702  }
   703  
   704  func (x *AllocationStrategy_AllocationStrategyConcurrency) GetValue() uint32 {
   705  	if x != nil {
   706  		return x.Value
   707  	}
   708  	return 0
   709  }
   710  
   711  type AllocationStrategy_AllocationStrategyRefresh struct {
   712  	state         protoimpl.MessageState
   713  	sizeCache     protoimpl.SizeCache
   714  	unknownFields protoimpl.UnknownFields
   715  
   716  	Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
   717  }
   718  
   719  func (x *AllocationStrategy_AllocationStrategyRefresh) Reset() {
   720  	*x = AllocationStrategy_AllocationStrategyRefresh{}
   721  	if protoimpl.UnsafeEnabled {
   722  		mi := &file_app_proxyman_config_proto_msgTypes[9]
   723  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   724  		ms.StoreMessageInfo(mi)
   725  	}
   726  }
   727  
   728  func (x *AllocationStrategy_AllocationStrategyRefresh) String() string {
   729  	return protoimpl.X.MessageStringOf(x)
   730  }
   731  
   732  func (*AllocationStrategy_AllocationStrategyRefresh) ProtoMessage() {}
   733  
   734  func (x *AllocationStrategy_AllocationStrategyRefresh) ProtoReflect() protoreflect.Message {
   735  	mi := &file_app_proxyman_config_proto_msgTypes[9]
   736  	if protoimpl.UnsafeEnabled && x != nil {
   737  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   738  		if ms.LoadMessageInfo() == nil {
   739  			ms.StoreMessageInfo(mi)
   740  		}
   741  		return ms
   742  	}
   743  	return mi.MessageOf(x)
   744  }
   745  
   746  // Deprecated: Use AllocationStrategy_AllocationStrategyRefresh.ProtoReflect.Descriptor instead.
   747  func (*AllocationStrategy_AllocationStrategyRefresh) Descriptor() ([]byte, []int) {
   748  	return file_app_proxyman_config_proto_rawDescGZIP(), []int{1, 1}
   749  }
   750  
   751  func (x *AllocationStrategy_AllocationStrategyRefresh) GetValue() uint32 {
   752  	if x != nil {
   753  		return x.Value
   754  	}
   755  	return 0
   756  }
   757  
   758  var File_app_proxyman_config_proto protoreflect.FileDescriptor
   759  
   760  var file_app_proxyman_config_proto_rawDesc = []byte{
   761  	0x0a, 0x19, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2f, 0x63,
   762  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x78, 0x72, 0x61,
   763  	0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x1a, 0x18,
   764  	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65,
   765  	0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
   766  	0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
   767  	0x1f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
   768  	0x6e, 0x65, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   769  	0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2f,
   770  	0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72,
   771  	0x6f, 0x74, 0x6f, 0x22, 0x0f, 0x0a, 0x0d, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f,
   772  	0x6e, 0x66, 0x69, 0x67, 0x22, 0xae, 0x03, 0x0a, 0x12, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74,
   773  	0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x3e, 0x0a, 0x04, 0x74,
   774  	0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x78, 0x72, 0x61, 0x79,
   775  	0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c,
   776  	0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79,
   777  	0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x65, 0x0a, 0x0b, 0x63,
   778  	0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
   779  	0x32, 0x43, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78,
   780  	0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
   781  	0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
   782  	0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72,
   783  	0x72, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,
   784  	0x63, 0x79, 0x12, 0x59, 0x0a, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x03, 0x20,
   785  	0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70,
   786  	0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
   787  	0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63,
   788  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x66,
   789  	0x72, 0x65, 0x73, 0x68, 0x52, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x1a, 0x35, 0x0a,
   790  	0x1d, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74,
   791  	0x65, 0x67, 0x79, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x14,
   792  	0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76,
   793  	0x61, 0x6c, 0x75, 0x65, 0x1a, 0x31, 0x0a, 0x19, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
   794  	0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73,
   795  	0x68, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
   796  	0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x2c, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12,
   797  	0x0a, 0x0a, 0x06, 0x41, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x52,
   798  	0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x78, 0x74, 0x65, 0x72,
   799  	0x6e, 0x61, 0x6c, 0x10, 0x02, 0x22, 0xcc, 0x01, 0x0a, 0x0e, 0x53, 0x6e, 0x69, 0x66, 0x66, 0x69,
   800  	0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62,
   801  	0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c,
   802  	0x65, 0x64, 0x12, 0x31, 0x0a, 0x14, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
   803  	0x6e, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
   804  	0x52, 0x13, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x76, 0x65,
   805  	0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73,
   806  	0x5f, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52,
   807  	0x0f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64,
   808  	0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6f, 0x6e, 0x6c,
   809  	0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
   810  	0x61, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x6f,
   811  	0x6e, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x6f, 0x75, 0x74, 0x65,
   812  	0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x8d, 0x04, 0x0a, 0x0e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
   813  	0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x36, 0x0a, 0x09, 0x70, 0x6f, 0x72, 0x74, 0x5f,
   814  	0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x78, 0x72, 0x61,
   815  	0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x50, 0x6f, 0x72,
   816  	0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x08, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12,
   817  	0x33, 0x0a, 0x06, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
   818  	0x1b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65,
   819  	0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x06, 0x6c, 0x69,
   820  	0x73, 0x74, 0x65, 0x6e, 0x12, 0x56, 0x0a, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
   821  	0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
   822  	0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f,
   823  	0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   824  	0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61,
   825  	0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x4e, 0x0a, 0x0f,
   826  	0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18,
   827  	0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61,
   828  	0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e,
   829  	0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x73, 0x74,
   830  	0x72, 0x65, 0x61, 0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x40, 0x0a, 0x1c,
   831  	0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c,
   832  	0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01,
   833  	0x28, 0x08, 0x52, 0x1a, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69,
   834  	0x6e, 0x61, 0x6c, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e,
   835  	0x0a, 0x0f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64,
   836  	0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61,
   837  	0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x4b, 0x6e, 0x6f, 0x77,
   838  	0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e,
   839  	0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x4e,
   840  	0x0a, 0x11, 0x73, 0x6e, 0x69, 0x66, 0x66, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69,
   841  	0x6e, 0x67, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x78, 0x72, 0x61, 0x79,
   842  	0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x53, 0x6e,
   843  	0x69, 0x66, 0x66, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x73, 0x6e,
   844  	0x69, 0x66, 0x66, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x4a, 0x04,
   845  	0x08, 0x06, 0x10, 0x07, 0x22, 0xc0, 0x01, 0x0a, 0x14, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64,
   846  	0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a,
   847  	0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12,
   848  	0x4d, 0x0a, 0x11, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x74,
   849  	0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61,
   850  	0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e,
   851  	0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x10, 0x72, 0x65,
   852  	0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x47,
   853  	0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
   854  	0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
   855  	0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65,
   856  	0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x53,
   857  	0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x10, 0x0a, 0x0e, 0x4f, 0x75, 0x74, 0x62, 0x6f,
   858  	0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xb0, 0x02, 0x0a, 0x0c, 0x53, 0x65,
   859  	0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2d, 0x0a, 0x03, 0x76, 0x69,
   860  	0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63,
   861  	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f,
   862  	0x6d, 0x61, 0x69, 0x6e, 0x52, 0x03, 0x76, 0x69, 0x61, 0x12, 0x4e, 0x0a, 0x0f, 0x73, 0x74, 0x72,
   863  	0x65, 0x61, 0x6d, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01,
   864  	0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
   865  	0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x72,
   866  	0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x61,
   867  	0x6d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x4b, 0x0a, 0x0e, 0x70, 0x72, 0x6f,
   868  	0x78, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
   869  	0x0b, 0x32, 0x24, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
   870  	0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x78,
   871  	0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x65,
   872  	0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x54, 0x0a, 0x12, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70,
   873  	0x6c, 0x65, 0x78, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01,
   874  	0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72,
   875  	0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x78,
   876  	0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, 0x6d, 0x75, 0x6c, 0x74, 0x69,
   877  	0x70, 0x6c, 0x65, 0x78, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0xa4, 0x01, 0x0a,
   878  	0x12, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e,
   879  	0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01,
   880  	0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x20, 0x0a,
   881  	0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01,
   882  	0x28, 0x05, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12,
   883  	0x28, 0x0a, 0x0f, 0x78, 0x75, 0x64, 0x70, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,
   884  	0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x78, 0x75, 0x64, 0x70, 0x43, 0x6f,
   885  	0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x78, 0x75, 0x64,
   886  	0x70, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x55, 0x44, 0x50, 0x34, 0x34, 0x33, 0x18, 0x04, 0x20, 0x01,
   887  	0x28, 0x09, 0x52, 0x0f, 0x78, 0x75, 0x64, 0x70, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x55, 0x44, 0x50,
   888  	0x34, 0x34, 0x33, 0x2a, 0x23, 0x0a, 0x0e, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x50, 0x72, 0x6f, 0x74,
   889  	0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10, 0x00, 0x12,
   890  	0x07, 0x0a, 0x03, 0x54, 0x4c, 0x53, 0x10, 0x01, 0x42, 0x55, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e,
   891  	0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61,
   892  	0x6e, 0x50, 0x01, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
   893  	0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61,
   894  	0x70, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0xaa, 0x02, 0x11, 0x58, 0x72,
   895  	0x61, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x6d, 0x61, 0x6e, 0x62,
   896  	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   897  }
   898  
   899  var (
   900  	file_app_proxyman_config_proto_rawDescOnce sync.Once
   901  	file_app_proxyman_config_proto_rawDescData = file_app_proxyman_config_proto_rawDesc
   902  )
   903  
   904  func file_app_proxyman_config_proto_rawDescGZIP() []byte {
   905  	file_app_proxyman_config_proto_rawDescOnce.Do(func() {
   906  		file_app_proxyman_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_proxyman_config_proto_rawDescData)
   907  	})
   908  	return file_app_proxyman_config_proto_rawDescData
   909  }
   910  
   911  var file_app_proxyman_config_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
   912  var file_app_proxyman_config_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
   913  var file_app_proxyman_config_proto_goTypes = []interface{}{
   914  	(KnownProtocols)(0),                                      // 0: xray.app.proxyman.KnownProtocols
   915  	(AllocationStrategy_Type)(0),                             // 1: xray.app.proxyman.AllocationStrategy.Type
   916  	(*InboundConfig)(nil),                                    // 2: xray.app.proxyman.InboundConfig
   917  	(*AllocationStrategy)(nil),                               // 3: xray.app.proxyman.AllocationStrategy
   918  	(*SniffingConfig)(nil),                                   // 4: xray.app.proxyman.SniffingConfig
   919  	(*ReceiverConfig)(nil),                                   // 5: xray.app.proxyman.ReceiverConfig
   920  	(*InboundHandlerConfig)(nil),                             // 6: xray.app.proxyman.InboundHandlerConfig
   921  	(*OutboundConfig)(nil),                                   // 7: xray.app.proxyman.OutboundConfig
   922  	(*SenderConfig)(nil),                                     // 8: xray.app.proxyman.SenderConfig
   923  	(*MultiplexingConfig)(nil),                               // 9: xray.app.proxyman.MultiplexingConfig
   924  	(*AllocationStrategy_AllocationStrategyConcurrency)(nil), // 10: xray.app.proxyman.AllocationStrategy.AllocationStrategyConcurrency
   925  	(*AllocationStrategy_AllocationStrategyRefresh)(nil),     // 11: xray.app.proxyman.AllocationStrategy.AllocationStrategyRefresh
   926  	(*net.PortList)(nil),                                     // 12: xray.common.net.PortList
   927  	(*net.IPOrDomain)(nil),                                   // 13: xray.common.net.IPOrDomain
   928  	(*internet.StreamConfig)(nil),                            // 14: xray.transport.internet.StreamConfig
   929  	(*serial.TypedMessage)(nil),                              // 15: xray.common.serial.TypedMessage
   930  	(*internet.ProxyConfig)(nil),                             // 16: xray.transport.internet.ProxyConfig
   931  }
   932  var file_app_proxyman_config_proto_depIdxs = []int32{
   933  	1,  // 0: xray.app.proxyman.AllocationStrategy.type:type_name -> xray.app.proxyman.AllocationStrategy.Type
   934  	10, // 1: xray.app.proxyman.AllocationStrategy.concurrency:type_name -> xray.app.proxyman.AllocationStrategy.AllocationStrategyConcurrency
   935  	11, // 2: xray.app.proxyman.AllocationStrategy.refresh:type_name -> xray.app.proxyman.AllocationStrategy.AllocationStrategyRefresh
   936  	12, // 3: xray.app.proxyman.ReceiverConfig.port_list:type_name -> xray.common.net.PortList
   937  	13, // 4: xray.app.proxyman.ReceiverConfig.listen:type_name -> xray.common.net.IPOrDomain
   938  	3,  // 5: xray.app.proxyman.ReceiverConfig.allocation_strategy:type_name -> xray.app.proxyman.AllocationStrategy
   939  	14, // 6: xray.app.proxyman.ReceiverConfig.stream_settings:type_name -> xray.transport.internet.StreamConfig
   940  	0,  // 7: xray.app.proxyman.ReceiverConfig.domain_override:type_name -> xray.app.proxyman.KnownProtocols
   941  	4,  // 8: xray.app.proxyman.ReceiverConfig.sniffing_settings:type_name -> xray.app.proxyman.SniffingConfig
   942  	15, // 9: xray.app.proxyman.InboundHandlerConfig.receiver_settings:type_name -> xray.common.serial.TypedMessage
   943  	15, // 10: xray.app.proxyman.InboundHandlerConfig.proxy_settings:type_name -> xray.common.serial.TypedMessage
   944  	13, // 11: xray.app.proxyman.SenderConfig.via:type_name -> xray.common.net.IPOrDomain
   945  	14, // 12: xray.app.proxyman.SenderConfig.stream_settings:type_name -> xray.transport.internet.StreamConfig
   946  	16, // 13: xray.app.proxyman.SenderConfig.proxy_settings:type_name -> xray.transport.internet.ProxyConfig
   947  	9,  // 14: xray.app.proxyman.SenderConfig.multiplex_settings:type_name -> xray.app.proxyman.MultiplexingConfig
   948  	15, // [15:15] is the sub-list for method output_type
   949  	15, // [15:15] is the sub-list for method input_type
   950  	15, // [15:15] is the sub-list for extension type_name
   951  	15, // [15:15] is the sub-list for extension extendee
   952  	0,  // [0:15] is the sub-list for field type_name
   953  }
   954  
   955  func init() { file_app_proxyman_config_proto_init() }
   956  func file_app_proxyman_config_proto_init() {
   957  	if File_app_proxyman_config_proto != nil {
   958  		return
   959  	}
   960  	if !protoimpl.UnsafeEnabled {
   961  		file_app_proxyman_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   962  			switch v := v.(*InboundConfig); i {
   963  			case 0:
   964  				return &v.state
   965  			case 1:
   966  				return &v.sizeCache
   967  			case 2:
   968  				return &v.unknownFields
   969  			default:
   970  				return nil
   971  			}
   972  		}
   973  		file_app_proxyman_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   974  			switch v := v.(*AllocationStrategy); i {
   975  			case 0:
   976  				return &v.state
   977  			case 1:
   978  				return &v.sizeCache
   979  			case 2:
   980  				return &v.unknownFields
   981  			default:
   982  				return nil
   983  			}
   984  		}
   985  		file_app_proxyman_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   986  			switch v := v.(*SniffingConfig); i {
   987  			case 0:
   988  				return &v.state
   989  			case 1:
   990  				return &v.sizeCache
   991  			case 2:
   992  				return &v.unknownFields
   993  			default:
   994  				return nil
   995  			}
   996  		}
   997  		file_app_proxyman_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   998  			switch v := v.(*ReceiverConfig); i {
   999  			case 0:
  1000  				return &v.state
  1001  			case 1:
  1002  				return &v.sizeCache
  1003  			case 2:
  1004  				return &v.unknownFields
  1005  			default:
  1006  				return nil
  1007  			}
  1008  		}
  1009  		file_app_proxyman_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1010  			switch v := v.(*InboundHandlerConfig); i {
  1011  			case 0:
  1012  				return &v.state
  1013  			case 1:
  1014  				return &v.sizeCache
  1015  			case 2:
  1016  				return &v.unknownFields
  1017  			default:
  1018  				return nil
  1019  			}
  1020  		}
  1021  		file_app_proxyman_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1022  			switch v := v.(*OutboundConfig); i {
  1023  			case 0:
  1024  				return &v.state
  1025  			case 1:
  1026  				return &v.sizeCache
  1027  			case 2:
  1028  				return &v.unknownFields
  1029  			default:
  1030  				return nil
  1031  			}
  1032  		}
  1033  		file_app_proxyman_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1034  			switch v := v.(*SenderConfig); i {
  1035  			case 0:
  1036  				return &v.state
  1037  			case 1:
  1038  				return &v.sizeCache
  1039  			case 2:
  1040  				return &v.unknownFields
  1041  			default:
  1042  				return nil
  1043  			}
  1044  		}
  1045  		file_app_proxyman_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1046  			switch v := v.(*MultiplexingConfig); i {
  1047  			case 0:
  1048  				return &v.state
  1049  			case 1:
  1050  				return &v.sizeCache
  1051  			case 2:
  1052  				return &v.unknownFields
  1053  			default:
  1054  				return nil
  1055  			}
  1056  		}
  1057  		file_app_proxyman_config_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1058  			switch v := v.(*AllocationStrategy_AllocationStrategyConcurrency); i {
  1059  			case 0:
  1060  				return &v.state
  1061  			case 1:
  1062  				return &v.sizeCache
  1063  			case 2:
  1064  				return &v.unknownFields
  1065  			default:
  1066  				return nil
  1067  			}
  1068  		}
  1069  		file_app_proxyman_config_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1070  			switch v := v.(*AllocationStrategy_AllocationStrategyRefresh); i {
  1071  			case 0:
  1072  				return &v.state
  1073  			case 1:
  1074  				return &v.sizeCache
  1075  			case 2:
  1076  				return &v.unknownFields
  1077  			default:
  1078  				return nil
  1079  			}
  1080  		}
  1081  	}
  1082  	type x struct{}
  1083  	out := protoimpl.TypeBuilder{
  1084  		File: protoimpl.DescBuilder{
  1085  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1086  			RawDescriptor: file_app_proxyman_config_proto_rawDesc,
  1087  			NumEnums:      2,
  1088  			NumMessages:   10,
  1089  			NumExtensions: 0,
  1090  			NumServices:   0,
  1091  		},
  1092  		GoTypes:           file_app_proxyman_config_proto_goTypes,
  1093  		DependencyIndexes: file_app_proxyman_config_proto_depIdxs,
  1094  		EnumInfos:         file_app_proxyman_config_proto_enumTypes,
  1095  		MessageInfos:      file_app_proxyman_config_proto_msgTypes,
  1096  	}.Build()
  1097  	File_app_proxyman_config_proto = out.File
  1098  	file_app_proxyman_config_proto_rawDesc = nil
  1099  	file_app_proxyman_config_proto_goTypes = nil
  1100  	file_app_proxyman_config_proto_depIdxs = nil
  1101  }