github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/app/policy/config.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.25.0
     4  // 	protoc        v3.12.3
     5  // source: config.proto
     6  
     7  package policy
     8  
     9  import (
    10  	proto "github.com/golang/protobuf/proto"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  // This is a compile-time assertion that a sufficiently up-to-date version
    25  // of the legacy proto package is being used.
    26  const _ = proto.ProtoPackageIsVersion4
    27  
    28  type Second struct {
    29  	state         protoimpl.MessageState
    30  	sizeCache     protoimpl.SizeCache
    31  	unknownFields protoimpl.UnknownFields
    32  
    33  	Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
    34  }
    35  
    36  func (x *Second) Reset() {
    37  	*x = Second{}
    38  	if protoimpl.UnsafeEnabled {
    39  		mi := &file_config_proto_msgTypes[0]
    40  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    41  		ms.StoreMessageInfo(mi)
    42  	}
    43  }
    44  
    45  func (x *Second) String() string {
    46  	return protoimpl.X.MessageStringOf(x)
    47  }
    48  
    49  func (*Second) ProtoMessage() {}
    50  
    51  func (x *Second) ProtoReflect() protoreflect.Message {
    52  	mi := &file_config_proto_msgTypes[0]
    53  	if protoimpl.UnsafeEnabled && x != nil {
    54  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    55  		if ms.LoadMessageInfo() == nil {
    56  			ms.StoreMessageInfo(mi)
    57  		}
    58  		return ms
    59  	}
    60  	return mi.MessageOf(x)
    61  }
    62  
    63  // Deprecated: Use Second.ProtoReflect.Descriptor instead.
    64  func (*Second) Descriptor() ([]byte, []int) {
    65  	return file_config_proto_rawDescGZIP(), []int{0}
    66  }
    67  
    68  func (x *Second) GetValue() uint32 {
    69  	if x != nil {
    70  		return x.Value
    71  	}
    72  	return 0
    73  }
    74  
    75  type Policy struct {
    76  	state         protoimpl.MessageState
    77  	sizeCache     protoimpl.SizeCache
    78  	unknownFields protoimpl.UnknownFields
    79  
    80  	Timeout *Policy_Timeout `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"`
    81  	Stats   *Policy_Stats   `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"`
    82  	Buffer  *Policy_Buffer  `protobuf:"bytes,3,opt,name=buffer,proto3" json:"buffer,omitempty"`
    83  }
    84  
    85  func (x *Policy) Reset() {
    86  	*x = Policy{}
    87  	if protoimpl.UnsafeEnabled {
    88  		mi := &file_config_proto_msgTypes[1]
    89  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    90  		ms.StoreMessageInfo(mi)
    91  	}
    92  }
    93  
    94  func (x *Policy) String() string {
    95  	return protoimpl.X.MessageStringOf(x)
    96  }
    97  
    98  func (*Policy) ProtoMessage() {}
    99  
   100  func (x *Policy) ProtoReflect() protoreflect.Message {
   101  	mi := &file_config_proto_msgTypes[1]
   102  	if protoimpl.UnsafeEnabled && x != nil {
   103  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   104  		if ms.LoadMessageInfo() == nil {
   105  			ms.StoreMessageInfo(mi)
   106  		}
   107  		return ms
   108  	}
   109  	return mi.MessageOf(x)
   110  }
   111  
   112  // Deprecated: Use Policy.ProtoReflect.Descriptor instead.
   113  func (*Policy) Descriptor() ([]byte, []int) {
   114  	return file_config_proto_rawDescGZIP(), []int{1}
   115  }
   116  
   117  func (x *Policy) GetTimeout() *Policy_Timeout {
   118  	if x != nil {
   119  		return x.Timeout
   120  	}
   121  	return nil
   122  }
   123  
   124  func (x *Policy) GetStats() *Policy_Stats {
   125  	if x != nil {
   126  		return x.Stats
   127  	}
   128  	return nil
   129  }
   130  
   131  func (x *Policy) GetBuffer() *Policy_Buffer {
   132  	if x != nil {
   133  		return x.Buffer
   134  	}
   135  	return nil
   136  }
   137  
   138  type SystemPolicy struct {
   139  	state         protoimpl.MessageState
   140  	sizeCache     protoimpl.SizeCache
   141  	unknownFields protoimpl.UnknownFields
   142  
   143  	Stats *SystemPolicy_Stats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
   144  }
   145  
   146  func (x *SystemPolicy) Reset() {
   147  	*x = SystemPolicy{}
   148  	if protoimpl.UnsafeEnabled {
   149  		mi := &file_config_proto_msgTypes[2]
   150  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   151  		ms.StoreMessageInfo(mi)
   152  	}
   153  }
   154  
   155  func (x *SystemPolicy) String() string {
   156  	return protoimpl.X.MessageStringOf(x)
   157  }
   158  
   159  func (*SystemPolicy) ProtoMessage() {}
   160  
   161  func (x *SystemPolicy) ProtoReflect() protoreflect.Message {
   162  	mi := &file_config_proto_msgTypes[2]
   163  	if protoimpl.UnsafeEnabled && x != nil {
   164  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   165  		if ms.LoadMessageInfo() == nil {
   166  			ms.StoreMessageInfo(mi)
   167  		}
   168  		return ms
   169  	}
   170  	return mi.MessageOf(x)
   171  }
   172  
   173  // Deprecated: Use SystemPolicy.ProtoReflect.Descriptor instead.
   174  func (*SystemPolicy) Descriptor() ([]byte, []int) {
   175  	return file_config_proto_rawDescGZIP(), []int{2}
   176  }
   177  
   178  func (x *SystemPolicy) GetStats() *SystemPolicy_Stats {
   179  	if x != nil {
   180  		return x.Stats
   181  	}
   182  	return nil
   183  }
   184  
   185  type Config struct {
   186  	state         protoimpl.MessageState
   187  	sizeCache     protoimpl.SizeCache
   188  	unknownFields protoimpl.UnknownFields
   189  
   190  	Level  map[uint32]*Policy `protobuf:"bytes,1,rep,name=level,proto3" json:"level,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   191  	System *SystemPolicy      `protobuf:"bytes,2,opt,name=system,proto3" json:"system,omitempty"`
   192  }
   193  
   194  func (x *Config) Reset() {
   195  	*x = Config{}
   196  	if protoimpl.UnsafeEnabled {
   197  		mi := &file_config_proto_msgTypes[3]
   198  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   199  		ms.StoreMessageInfo(mi)
   200  	}
   201  }
   202  
   203  func (x *Config) String() string {
   204  	return protoimpl.X.MessageStringOf(x)
   205  }
   206  
   207  func (*Config) ProtoMessage() {}
   208  
   209  func (x *Config) ProtoReflect() protoreflect.Message {
   210  	mi := &file_config_proto_msgTypes[3]
   211  	if protoimpl.UnsafeEnabled && x != nil {
   212  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   213  		if ms.LoadMessageInfo() == nil {
   214  			ms.StoreMessageInfo(mi)
   215  		}
   216  		return ms
   217  	}
   218  	return mi.MessageOf(x)
   219  }
   220  
   221  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
   222  func (*Config) Descriptor() ([]byte, []int) {
   223  	return file_config_proto_rawDescGZIP(), []int{3}
   224  }
   225  
   226  func (x *Config) GetLevel() map[uint32]*Policy {
   227  	if x != nil {
   228  		return x.Level
   229  	}
   230  	return nil
   231  }
   232  
   233  func (x *Config) GetSystem() *SystemPolicy {
   234  	if x != nil {
   235  		return x.System
   236  	}
   237  	return nil
   238  }
   239  
   240  // Timeout is a message for timeout settings in various stages, in seconds.
   241  type Policy_Timeout struct {
   242  	state         protoimpl.MessageState
   243  	sizeCache     protoimpl.SizeCache
   244  	unknownFields protoimpl.UnknownFields
   245  
   246  	Handshake      *Second `protobuf:"bytes,1,opt,name=handshake,proto3" json:"handshake,omitempty"`
   247  	ConnectionIdle *Second `protobuf:"bytes,2,opt,name=connection_idle,json=connectionIdle,proto3" json:"connection_idle,omitempty"`
   248  	UplinkOnly     *Second `protobuf:"bytes,3,opt,name=uplink_only,json=uplinkOnly,proto3" json:"uplink_only,omitempty"`
   249  	DownlinkOnly   *Second `protobuf:"bytes,4,opt,name=downlink_only,json=downlinkOnly,proto3" json:"downlink_only,omitempty"`
   250  }
   251  
   252  func (x *Policy_Timeout) Reset() {
   253  	*x = Policy_Timeout{}
   254  	if protoimpl.UnsafeEnabled {
   255  		mi := &file_config_proto_msgTypes[4]
   256  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   257  		ms.StoreMessageInfo(mi)
   258  	}
   259  }
   260  
   261  func (x *Policy_Timeout) String() string {
   262  	return protoimpl.X.MessageStringOf(x)
   263  }
   264  
   265  func (*Policy_Timeout) ProtoMessage() {}
   266  
   267  func (x *Policy_Timeout) ProtoReflect() protoreflect.Message {
   268  	mi := &file_config_proto_msgTypes[4]
   269  	if protoimpl.UnsafeEnabled && x != nil {
   270  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   271  		if ms.LoadMessageInfo() == nil {
   272  			ms.StoreMessageInfo(mi)
   273  		}
   274  		return ms
   275  	}
   276  	return mi.MessageOf(x)
   277  }
   278  
   279  // Deprecated: Use Policy_Timeout.ProtoReflect.Descriptor instead.
   280  func (*Policy_Timeout) Descriptor() ([]byte, []int) {
   281  	return file_config_proto_rawDescGZIP(), []int{1, 0}
   282  }
   283  
   284  func (x *Policy_Timeout) GetHandshake() *Second {
   285  	if x != nil {
   286  		return x.Handshake
   287  	}
   288  	return nil
   289  }
   290  
   291  func (x *Policy_Timeout) GetConnectionIdle() *Second {
   292  	if x != nil {
   293  		return x.ConnectionIdle
   294  	}
   295  	return nil
   296  }
   297  
   298  func (x *Policy_Timeout) GetUplinkOnly() *Second {
   299  	if x != nil {
   300  		return x.UplinkOnly
   301  	}
   302  	return nil
   303  }
   304  
   305  func (x *Policy_Timeout) GetDownlinkOnly() *Second {
   306  	if x != nil {
   307  		return x.DownlinkOnly
   308  	}
   309  	return nil
   310  }
   311  
   312  type Policy_Stats struct {
   313  	state         protoimpl.MessageState
   314  	sizeCache     protoimpl.SizeCache
   315  	unknownFields protoimpl.UnknownFields
   316  
   317  	UserUplink   bool `protobuf:"varint,1,opt,name=user_uplink,json=userUplink,proto3" json:"user_uplink,omitempty"`
   318  	UserDownlink bool `protobuf:"varint,2,opt,name=user_downlink,json=userDownlink,proto3" json:"user_downlink,omitempty"`
   319  }
   320  
   321  func (x *Policy_Stats) Reset() {
   322  	*x = Policy_Stats{}
   323  	if protoimpl.UnsafeEnabled {
   324  		mi := &file_config_proto_msgTypes[5]
   325  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   326  		ms.StoreMessageInfo(mi)
   327  	}
   328  }
   329  
   330  func (x *Policy_Stats) String() string {
   331  	return protoimpl.X.MessageStringOf(x)
   332  }
   333  
   334  func (*Policy_Stats) ProtoMessage() {}
   335  
   336  func (x *Policy_Stats) ProtoReflect() protoreflect.Message {
   337  	mi := &file_config_proto_msgTypes[5]
   338  	if protoimpl.UnsafeEnabled && x != nil {
   339  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   340  		if ms.LoadMessageInfo() == nil {
   341  			ms.StoreMessageInfo(mi)
   342  		}
   343  		return ms
   344  	}
   345  	return mi.MessageOf(x)
   346  }
   347  
   348  // Deprecated: Use Policy_Stats.ProtoReflect.Descriptor instead.
   349  func (*Policy_Stats) Descriptor() ([]byte, []int) {
   350  	return file_config_proto_rawDescGZIP(), []int{1, 1}
   351  }
   352  
   353  func (x *Policy_Stats) GetUserUplink() bool {
   354  	if x != nil {
   355  		return x.UserUplink
   356  	}
   357  	return false
   358  }
   359  
   360  func (x *Policy_Stats) GetUserDownlink() bool {
   361  	if x != nil {
   362  		return x.UserDownlink
   363  	}
   364  	return false
   365  }
   366  
   367  type Policy_Buffer struct {
   368  	state         protoimpl.MessageState
   369  	sizeCache     protoimpl.SizeCache
   370  	unknownFields protoimpl.UnknownFields
   371  
   372  	// Buffer size per connection, in bytes. -1 for unlimited buffer.
   373  	Connection int32  `protobuf:"varint,1,opt,name=connection,proto3" json:"connection,omitempty"`
   374  	Rate       uint64 `protobuf:"varint,2,opt,name=rate,proto3" json:"rate,omitempty"`
   375  }
   376  
   377  func (x *Policy_Buffer) Reset() {
   378  	*x = Policy_Buffer{}
   379  	if protoimpl.UnsafeEnabled {
   380  		mi := &file_config_proto_msgTypes[6]
   381  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   382  		ms.StoreMessageInfo(mi)
   383  	}
   384  }
   385  
   386  func (x *Policy_Buffer) String() string {
   387  	return protoimpl.X.MessageStringOf(x)
   388  }
   389  
   390  func (*Policy_Buffer) ProtoMessage() {}
   391  
   392  func (x *Policy_Buffer) ProtoReflect() protoreflect.Message {
   393  	mi := &file_config_proto_msgTypes[6]
   394  	if protoimpl.UnsafeEnabled && x != nil {
   395  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   396  		if ms.LoadMessageInfo() == nil {
   397  			ms.StoreMessageInfo(mi)
   398  		}
   399  		return ms
   400  	}
   401  	return mi.MessageOf(x)
   402  }
   403  
   404  // Deprecated: Use Policy_Buffer.ProtoReflect.Descriptor instead.
   405  func (*Policy_Buffer) Descriptor() ([]byte, []int) {
   406  	return file_config_proto_rawDescGZIP(), []int{1, 2}
   407  }
   408  
   409  func (x *Policy_Buffer) GetConnection() int32 {
   410  	if x != nil {
   411  		return x.Connection
   412  	}
   413  	return 0
   414  }
   415  
   416  func (x *Policy_Buffer) GetRate() uint64 {
   417  	if x != nil {
   418  		return x.Rate
   419  	}
   420  	return 0
   421  }
   422  
   423  type SystemPolicy_Stats struct {
   424  	state         protoimpl.MessageState
   425  	sizeCache     protoimpl.SizeCache
   426  	unknownFields protoimpl.UnknownFields
   427  
   428  	InboundUplink    bool `protobuf:"varint,1,opt,name=inbound_uplink,json=inboundUplink,proto3" json:"inbound_uplink,omitempty"`
   429  	InboundDownlink  bool `protobuf:"varint,2,opt,name=inbound_downlink,json=inboundDownlink,proto3" json:"inbound_downlink,omitempty"`
   430  	OutboundUplink   bool `protobuf:"varint,3,opt,name=outbound_uplink,json=outboundUplink,proto3" json:"outbound_uplink,omitempty"`
   431  	OutboundDownlink bool `protobuf:"varint,4,opt,name=outbound_downlink,json=outboundDownlink,proto3" json:"outbound_downlink,omitempty"`
   432  }
   433  
   434  func (x *SystemPolicy_Stats) Reset() {
   435  	*x = SystemPolicy_Stats{}
   436  	if protoimpl.UnsafeEnabled {
   437  		mi := &file_config_proto_msgTypes[7]
   438  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   439  		ms.StoreMessageInfo(mi)
   440  	}
   441  }
   442  
   443  func (x *SystemPolicy_Stats) String() string {
   444  	return protoimpl.X.MessageStringOf(x)
   445  }
   446  
   447  func (*SystemPolicy_Stats) ProtoMessage() {}
   448  
   449  func (x *SystemPolicy_Stats) ProtoReflect() protoreflect.Message {
   450  	mi := &file_config_proto_msgTypes[7]
   451  	if protoimpl.UnsafeEnabled && x != nil {
   452  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   453  		if ms.LoadMessageInfo() == nil {
   454  			ms.StoreMessageInfo(mi)
   455  		}
   456  		return ms
   457  	}
   458  	return mi.MessageOf(x)
   459  }
   460  
   461  // Deprecated: Use SystemPolicy_Stats.ProtoReflect.Descriptor instead.
   462  func (*SystemPolicy_Stats) Descriptor() ([]byte, []int) {
   463  	return file_config_proto_rawDescGZIP(), []int{2, 0}
   464  }
   465  
   466  func (x *SystemPolicy_Stats) GetInboundUplink() bool {
   467  	if x != nil {
   468  		return x.InboundUplink
   469  	}
   470  	return false
   471  }
   472  
   473  func (x *SystemPolicy_Stats) GetInboundDownlink() bool {
   474  	if x != nil {
   475  		return x.InboundDownlink
   476  	}
   477  	return false
   478  }
   479  
   480  func (x *SystemPolicy_Stats) GetOutboundUplink() bool {
   481  	if x != nil {
   482  		return x.OutboundUplink
   483  	}
   484  	return false
   485  }
   486  
   487  func (x *SystemPolicy_Stats) GetOutboundDownlink() bool {
   488  	if x != nil {
   489  		return x.OutboundDownlink
   490  	}
   491  	return false
   492  }
   493  
   494  var File_config_proto protoreflect.FileDescriptor
   495  
   496  var file_config_proto_rawDesc = []byte{
   497  	0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15,
   498  	0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70,
   499  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x1e, 0x0a, 0x06, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x12,
   500  	0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05,
   501  	0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xe4, 0x04, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
   502  	0x12, 0x3f, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
   503  	0x0b, 0x32, 0x25, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61,
   504  	0x70, 0x70, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
   505  	0x2e, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75,
   506  	0x74, 0x12, 0x39, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
   507  	0x32, 0x23, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
   508  	0x70, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e,
   509  	0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x06,
   510  	0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x76,
   511  	0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x6f,
   512  	0x6c, 0x69, 0x63, 0x79, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x42, 0x75, 0x66, 0x66,
   513  	0x65, 0x72, 0x52, 0x06, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x1a, 0x92, 0x02, 0x0a, 0x07, 0x54,
   514  	0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x3b, 0x0a, 0x09, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68,
   515  	0x61, 0x6b, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x32, 0x72, 0x61,
   516  	0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63,
   517  	0x79, 0x2e, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x52, 0x09, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68,
   518  	0x61, 0x6b, 0x65, 0x12, 0x46, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
   519  	0x6e, 0x5f, 0x69, 0x64, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76,
   520  	0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x6f,
   521  	0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x52, 0x0e, 0x63, 0x6f, 0x6e,
   522  	0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x6c, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x75,
   523  	0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
   524  	0x32, 0x1d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
   525  	0x70, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x52,
   526  	0x0a, 0x75, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x42, 0x0a, 0x0d, 0x64,
   527  	0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01,
   528  	0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
   529  	0x61, 0x70, 0x70, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x65, 0x63, 0x6f, 0x6e,
   530  	0x64, 0x52, 0x0c, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x4f, 0x6e, 0x6c, 0x79, 0x1a,
   531  	0x4d, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x72,
   532  	0x5f, 0x75, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75,
   533  	0x73, 0x65, 0x72, 0x55, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x75, 0x73, 0x65,
   534  	0x72, 0x5f, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
   535  	0x52, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x1a, 0x3c,
   536  	0x0a, 0x06, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x6e,
   537  	0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x6f,
   538  	0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x61, 0x74, 0x65,
   539  	0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x72, 0x61, 0x74, 0x65, 0x22, 0x81, 0x02, 0x0a,
   540  	0x0c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3f, 0x0a,
   541  	0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x76,
   542  	0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x6f,
   543  	0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63,
   544  	0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x1a, 0xaf,
   545  	0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x62, 0x6f,
   546  	0x75, 0x6e, 0x64, 0x5f, 0x75, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
   547  	0x52, 0x0d, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x55, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x12,
   548  	0x29, 0x0a, 0x10, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x64, 0x6f, 0x77, 0x6e, 0x6c,
   549  	0x69, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x6e, 0x62, 0x6f, 0x75,
   550  	0x6e, 0x64, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x75,
   551  	0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x75, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x03, 0x20,
   552  	0x01, 0x28, 0x08, 0x52, 0x0e, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x55, 0x70, 0x6c,
   553  	0x69, 0x6e, 0x6b, 0x12, 0x2b, 0x0a, 0x11, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f,
   554  	0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10,
   555  	0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b,
   556  	0x22, 0xde, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3e, 0x0a, 0x05, 0x6c,
   557  	0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x76, 0x32, 0x72,
   558  	0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x6f, 0x6c, 0x69,
   559  	0x63, 0x79, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45,
   560  	0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x3b, 0x0a, 0x06, 0x73,
   561  	0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x76, 0x32,
   562  	0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x6f, 0x6c,
   563  	0x69, 0x63, 0x79, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
   564  	0x52, 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x1a, 0x57, 0x0a, 0x0a, 0x4c, 0x65, 0x76, 0x65,
   565  	0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
   566  	0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
   567  	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
   568  	0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e,
   569  	0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
   570  	0x01, 0x42, 0x50, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63,
   571  	0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x50, 0x01,
   572  	0x5a, 0x19, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x65,
   573  	0x2f, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0xaa, 0x02, 0x15, 0x56, 0x32,
   574  	0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x50, 0x6f, 0x6c,
   575  	0x69, 0x63, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   576  }
   577  
   578  var (
   579  	file_config_proto_rawDescOnce sync.Once
   580  	file_config_proto_rawDescData = file_config_proto_rawDesc
   581  )
   582  
   583  func file_config_proto_rawDescGZIP() []byte {
   584  	file_config_proto_rawDescOnce.Do(func() {
   585  		file_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_config_proto_rawDescData)
   586  	})
   587  	return file_config_proto_rawDescData
   588  }
   589  
   590  var file_config_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
   591  var file_config_proto_goTypes = []interface{}{
   592  	(*Second)(nil),             // 0: v2ray.core.app.policy.Second
   593  	(*Policy)(nil),             // 1: v2ray.core.app.policy.Policy
   594  	(*SystemPolicy)(nil),       // 2: v2ray.core.app.policy.SystemPolicy
   595  	(*Config)(nil),             // 3: v2ray.core.app.policy.Config
   596  	(*Policy_Timeout)(nil),     // 4: v2ray.core.app.policy.Policy.Timeout
   597  	(*Policy_Stats)(nil),       // 5: v2ray.core.app.policy.Policy.Stats
   598  	(*Policy_Buffer)(nil),      // 6: v2ray.core.app.policy.Policy.Buffer
   599  	(*SystemPolicy_Stats)(nil), // 7: v2ray.core.app.policy.SystemPolicy.Stats
   600  	nil,                        // 8: v2ray.core.app.policy.Config.LevelEntry
   601  }
   602  var file_config_proto_depIdxs = []int32{
   603  	4,  // 0: v2ray.core.app.policy.Policy.timeout:type_name -> v2ray.core.app.policy.Policy.Timeout
   604  	5,  // 1: v2ray.core.app.policy.Policy.stats:type_name -> v2ray.core.app.policy.Policy.Stats
   605  	6,  // 2: v2ray.core.app.policy.Policy.buffer:type_name -> v2ray.core.app.policy.Policy.Buffer
   606  	7,  // 3: v2ray.core.app.policy.SystemPolicy.stats:type_name -> v2ray.core.app.policy.SystemPolicy.Stats
   607  	8,  // 4: v2ray.core.app.policy.Config.level:type_name -> v2ray.core.app.policy.Config.LevelEntry
   608  	2,  // 5: v2ray.core.app.policy.Config.system:type_name -> v2ray.core.app.policy.SystemPolicy
   609  	0,  // 6: v2ray.core.app.policy.Policy.Timeout.handshake:type_name -> v2ray.core.app.policy.Second
   610  	0,  // 7: v2ray.core.app.policy.Policy.Timeout.connection_idle:type_name -> v2ray.core.app.policy.Second
   611  	0,  // 8: v2ray.core.app.policy.Policy.Timeout.uplink_only:type_name -> v2ray.core.app.policy.Second
   612  	0,  // 9: v2ray.core.app.policy.Policy.Timeout.downlink_only:type_name -> v2ray.core.app.policy.Second
   613  	1,  // 10: v2ray.core.app.policy.Config.LevelEntry.value:type_name -> v2ray.core.app.policy.Policy
   614  	11, // [11:11] is the sub-list for method output_type
   615  	11, // [11:11] is the sub-list for method input_type
   616  	11, // [11:11] is the sub-list for extension type_name
   617  	11, // [11:11] is the sub-list for extension extendee
   618  	0,  // [0:11] is the sub-list for field type_name
   619  }
   620  
   621  func init() { file_config_proto_init() }
   622  func file_config_proto_init() {
   623  	if File_config_proto != nil {
   624  		return
   625  	}
   626  	if !protoimpl.UnsafeEnabled {
   627  		file_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   628  			switch v := v.(*Second); i {
   629  			case 0:
   630  				return &v.state
   631  			case 1:
   632  				return &v.sizeCache
   633  			case 2:
   634  				return &v.unknownFields
   635  			default:
   636  				return nil
   637  			}
   638  		}
   639  		file_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   640  			switch v := v.(*Policy); i {
   641  			case 0:
   642  				return &v.state
   643  			case 1:
   644  				return &v.sizeCache
   645  			case 2:
   646  				return &v.unknownFields
   647  			default:
   648  				return nil
   649  			}
   650  		}
   651  		file_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   652  			switch v := v.(*SystemPolicy); i {
   653  			case 0:
   654  				return &v.state
   655  			case 1:
   656  				return &v.sizeCache
   657  			case 2:
   658  				return &v.unknownFields
   659  			default:
   660  				return nil
   661  			}
   662  		}
   663  		file_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   664  			switch v := v.(*Config); i {
   665  			case 0:
   666  				return &v.state
   667  			case 1:
   668  				return &v.sizeCache
   669  			case 2:
   670  				return &v.unknownFields
   671  			default:
   672  				return nil
   673  			}
   674  		}
   675  		file_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   676  			switch v := v.(*Policy_Timeout); i {
   677  			case 0:
   678  				return &v.state
   679  			case 1:
   680  				return &v.sizeCache
   681  			case 2:
   682  				return &v.unknownFields
   683  			default:
   684  				return nil
   685  			}
   686  		}
   687  		file_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   688  			switch v := v.(*Policy_Stats); i {
   689  			case 0:
   690  				return &v.state
   691  			case 1:
   692  				return &v.sizeCache
   693  			case 2:
   694  				return &v.unknownFields
   695  			default:
   696  				return nil
   697  			}
   698  		}
   699  		file_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   700  			switch v := v.(*Policy_Buffer); i {
   701  			case 0:
   702  				return &v.state
   703  			case 1:
   704  				return &v.sizeCache
   705  			case 2:
   706  				return &v.unknownFields
   707  			default:
   708  				return nil
   709  			}
   710  		}
   711  		file_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
   712  			switch v := v.(*SystemPolicy_Stats); i {
   713  			case 0:
   714  				return &v.state
   715  			case 1:
   716  				return &v.sizeCache
   717  			case 2:
   718  				return &v.unknownFields
   719  			default:
   720  				return nil
   721  			}
   722  		}
   723  	}
   724  	type x struct{}
   725  	out := protoimpl.TypeBuilder{
   726  		File: protoimpl.DescBuilder{
   727  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   728  			RawDescriptor: file_config_proto_rawDesc,
   729  			NumEnums:      0,
   730  			NumMessages:   9,
   731  			NumExtensions: 0,
   732  			NumServices:   0,
   733  		},
   734  		GoTypes:           file_config_proto_goTypes,
   735  		DependencyIndexes: file_config_proto_depIdxs,
   736  		MessageInfos:      file_config_proto_msgTypes,
   737  	}.Build()
   738  	File_config_proto = out.File
   739  	file_config_proto_rawDesc = nil
   740  	file_config_proto_goTypes = nil
   741  	file_config_proto_depIdxs = nil
   742  }