github.com/imannamdari/v2ray-core/v5@v5.0.5/app/policy/config.pb.go (about)

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