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

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