github.com/eagleql/xray-core@v1.4.4/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.14.0
     5  // source: app/policy/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_app_policy_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_app_policy_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_app_policy_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_app_policy_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_app_policy_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_app_policy_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_app_policy_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_app_policy_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_app_policy_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_app_policy_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_app_policy_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_app_policy_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_app_policy_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_app_policy_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_app_policy_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_app_policy_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_app_policy_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_app_policy_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  }
   375  
   376  func (x *Policy_Buffer) Reset() {
   377  	*x = Policy_Buffer{}
   378  	if protoimpl.UnsafeEnabled {
   379  		mi := &file_app_policy_config_proto_msgTypes[6]
   380  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   381  		ms.StoreMessageInfo(mi)
   382  	}
   383  }
   384  
   385  func (x *Policy_Buffer) String() string {
   386  	return protoimpl.X.MessageStringOf(x)
   387  }
   388  
   389  func (*Policy_Buffer) ProtoMessage() {}
   390  
   391  func (x *Policy_Buffer) ProtoReflect() protoreflect.Message {
   392  	mi := &file_app_policy_config_proto_msgTypes[6]
   393  	if protoimpl.UnsafeEnabled && x != nil {
   394  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   395  		if ms.LoadMessageInfo() == nil {
   396  			ms.StoreMessageInfo(mi)
   397  		}
   398  		return ms
   399  	}
   400  	return mi.MessageOf(x)
   401  }
   402  
   403  // Deprecated: Use Policy_Buffer.ProtoReflect.Descriptor instead.
   404  func (*Policy_Buffer) Descriptor() ([]byte, []int) {
   405  	return file_app_policy_config_proto_rawDescGZIP(), []int{1, 2}
   406  }
   407  
   408  func (x *Policy_Buffer) GetConnection() int32 {
   409  	if x != nil {
   410  		return x.Connection
   411  	}
   412  	return 0
   413  }
   414  
   415  type SystemPolicy_Stats struct {
   416  	state         protoimpl.MessageState
   417  	sizeCache     protoimpl.SizeCache
   418  	unknownFields protoimpl.UnknownFields
   419  
   420  	InboundUplink    bool `protobuf:"varint,1,opt,name=inbound_uplink,json=inboundUplink,proto3" json:"inbound_uplink,omitempty"`
   421  	InboundDownlink  bool `protobuf:"varint,2,opt,name=inbound_downlink,json=inboundDownlink,proto3" json:"inbound_downlink,omitempty"`
   422  	OutboundUplink   bool `protobuf:"varint,3,opt,name=outbound_uplink,json=outboundUplink,proto3" json:"outbound_uplink,omitempty"`
   423  	OutboundDownlink bool `protobuf:"varint,4,opt,name=outbound_downlink,json=outboundDownlink,proto3" json:"outbound_downlink,omitempty"`
   424  }
   425  
   426  func (x *SystemPolicy_Stats) Reset() {
   427  	*x = SystemPolicy_Stats{}
   428  	if protoimpl.UnsafeEnabled {
   429  		mi := &file_app_policy_config_proto_msgTypes[7]
   430  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   431  		ms.StoreMessageInfo(mi)
   432  	}
   433  }
   434  
   435  func (x *SystemPolicy_Stats) String() string {
   436  	return protoimpl.X.MessageStringOf(x)
   437  }
   438  
   439  func (*SystemPolicy_Stats) ProtoMessage() {}
   440  
   441  func (x *SystemPolicy_Stats) ProtoReflect() protoreflect.Message {
   442  	mi := &file_app_policy_config_proto_msgTypes[7]
   443  	if protoimpl.UnsafeEnabled && x != nil {
   444  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   445  		if ms.LoadMessageInfo() == nil {
   446  			ms.StoreMessageInfo(mi)
   447  		}
   448  		return ms
   449  	}
   450  	return mi.MessageOf(x)
   451  }
   452  
   453  // Deprecated: Use SystemPolicy_Stats.ProtoReflect.Descriptor instead.
   454  func (*SystemPolicy_Stats) Descriptor() ([]byte, []int) {
   455  	return file_app_policy_config_proto_rawDescGZIP(), []int{2, 0}
   456  }
   457  
   458  func (x *SystemPolicy_Stats) GetInboundUplink() bool {
   459  	if x != nil {
   460  		return x.InboundUplink
   461  	}
   462  	return false
   463  }
   464  
   465  func (x *SystemPolicy_Stats) GetInboundDownlink() bool {
   466  	if x != nil {
   467  		return x.InboundDownlink
   468  	}
   469  	return false
   470  }
   471  
   472  func (x *SystemPolicy_Stats) GetOutboundUplink() bool {
   473  	if x != nil {
   474  		return x.OutboundUplink
   475  	}
   476  	return false
   477  }
   478  
   479  func (x *SystemPolicy_Stats) GetOutboundDownlink() bool {
   480  	if x != nil {
   481  		return x.OutboundDownlink
   482  	}
   483  	return false
   484  }
   485  
   486  var File_app_policy_config_proto protoreflect.FileDescriptor
   487  
   488  var file_app_policy_config_proto_rawDesc = []byte{
   489  	0x0a, 0x17, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2f, 0x63, 0x6f, 0x6e,
   490  	0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x78, 0x72, 0x61, 0x79, 0x2e,
   491  	0x61, 0x70, 0x70, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x1e, 0x0a, 0x06, 0x53, 0x65,
   492  	0x63, 0x6f, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20,
   493  	0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xa6, 0x04, 0x0a, 0x06, 0x50,
   494  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x39, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74,
   495  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70,
   496  	0x70, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e,
   497  	0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74,
   498  	0x12, 0x33, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
   499  	0x1d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63,
   500  	0x79, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05,
   501  	0x73, 0x74, 0x61, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x06, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x18,
   502  	0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70,
   503  	0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x42,
   504  	0x75, 0x66, 0x66, 0x65, 0x72, 0x52, 0x06, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x1a, 0xfa, 0x01,
   505  	0x0a, 0x07, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x35, 0x0a, 0x09, 0x68, 0x61, 0x6e,
   506  	0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x78,
   507  	0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53,
   508  	0x65, 0x63, 0x6f, 0x6e, 0x64, 0x52, 0x09, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65,
   509  	0x12, 0x40, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69,
   510  	0x64, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x78, 0x72, 0x61, 0x79,
   511  	0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x65, 0x63, 0x6f,
   512  	0x6e, 0x64, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64,
   513  	0x6c, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x75, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x6f, 0x6e, 0x6c,
   514  	0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61,
   515  	0x70, 0x70, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64,
   516  	0x52, 0x0a, 0x75, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x3c, 0x0a, 0x0d,
   517  	0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20,
   518  	0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70,
   519  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x52, 0x0c, 0x64, 0x6f,
   520  	0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x4f, 0x6e, 0x6c, 0x79, 0x1a, 0x4d, 0x0a, 0x05, 0x53, 0x74,
   521  	0x61, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x75, 0x70, 0x6c, 0x69,
   522  	0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x55, 0x70,
   523  	0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x64, 0x6f, 0x77,
   524  	0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x75, 0x73, 0x65,
   525  	0x72, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x1a, 0x28, 0x0a, 0x06, 0x42, 0x75, 0x66,
   526  	0x66, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
   527  	0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
   528  	0x69, 0x6f, 0x6e, 0x22, 0xfb, 0x01, 0x0a, 0x0c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x6f,
   529  	0x6c, 0x69, 0x63, 0x79, 0x12, 0x39, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20,
   530  	0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70,
   531  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x50, 0x6f, 0x6c, 0x69,
   532  	0x63, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x1a,
   533  	0xaf, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x62,
   534  	0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x75, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28,
   535  	0x08, 0x52, 0x0d, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x55, 0x70, 0x6c, 0x69, 0x6e, 0x6b,
   536  	0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x64, 0x6f, 0x77, 0x6e,
   537  	0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x6e, 0x62, 0x6f,
   538  	0x75, 0x6e, 0x64, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x27, 0x0a, 0x0f, 0x6f,
   539  	0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x75, 0x70, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x03,
   540  	0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x55, 0x70,
   541  	0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x2b, 0x0a, 0x11, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64,
   542  	0x5f, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52,
   543  	0x10, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x6e,
   544  	0x6b, 0x22, 0xcc, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x38, 0x0a, 0x05,
   545  	0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x78, 0x72,
   546  	0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x43, 0x6f,
   547  	0x6e, 0x66, 0x69, 0x67, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
   548  	0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x35, 0x0a, 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d,
   549  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70,
   550  	0x70, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x50,
   551  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x1a, 0x51, 0x0a,
   552  	0x0a, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
   553  	0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a,
   554  	0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x78,
   555  	0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x50,
   556  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
   557  	0x42, 0x4f, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70,
   558  	0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x50, 0x01, 0x5a, 0x24, 0x67, 0x69, 0x74, 0x68, 0x75,
   559  	0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d,
   560  	0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0xaa,
   561  	0x02, 0x0f, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63,
   562  	0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   563  }
   564  
   565  var (
   566  	file_app_policy_config_proto_rawDescOnce sync.Once
   567  	file_app_policy_config_proto_rawDescData = file_app_policy_config_proto_rawDesc
   568  )
   569  
   570  func file_app_policy_config_proto_rawDescGZIP() []byte {
   571  	file_app_policy_config_proto_rawDescOnce.Do(func() {
   572  		file_app_policy_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_policy_config_proto_rawDescData)
   573  	})
   574  	return file_app_policy_config_proto_rawDescData
   575  }
   576  
   577  var file_app_policy_config_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
   578  var file_app_policy_config_proto_goTypes = []interface{}{
   579  	(*Second)(nil),             // 0: xray.app.policy.Second
   580  	(*Policy)(nil),             // 1: xray.app.policy.Policy
   581  	(*SystemPolicy)(nil),       // 2: xray.app.policy.SystemPolicy
   582  	(*Config)(nil),             // 3: xray.app.policy.Config
   583  	(*Policy_Timeout)(nil),     // 4: xray.app.policy.Policy.Timeout
   584  	(*Policy_Stats)(nil),       // 5: xray.app.policy.Policy.Stats
   585  	(*Policy_Buffer)(nil),      // 6: xray.app.policy.Policy.Buffer
   586  	(*SystemPolicy_Stats)(nil), // 7: xray.app.policy.SystemPolicy.Stats
   587  	nil,                        // 8: xray.app.policy.Config.LevelEntry
   588  }
   589  var file_app_policy_config_proto_depIdxs = []int32{
   590  	4,  // 0: xray.app.policy.Policy.timeout:type_name -> xray.app.policy.Policy.Timeout
   591  	5,  // 1: xray.app.policy.Policy.stats:type_name -> xray.app.policy.Policy.Stats
   592  	6,  // 2: xray.app.policy.Policy.buffer:type_name -> xray.app.policy.Policy.Buffer
   593  	7,  // 3: xray.app.policy.SystemPolicy.stats:type_name -> xray.app.policy.SystemPolicy.Stats
   594  	8,  // 4: xray.app.policy.Config.level:type_name -> xray.app.policy.Config.LevelEntry
   595  	2,  // 5: xray.app.policy.Config.system:type_name -> xray.app.policy.SystemPolicy
   596  	0,  // 6: xray.app.policy.Policy.Timeout.handshake:type_name -> xray.app.policy.Second
   597  	0,  // 7: xray.app.policy.Policy.Timeout.connection_idle:type_name -> xray.app.policy.Second
   598  	0,  // 8: xray.app.policy.Policy.Timeout.uplink_only:type_name -> xray.app.policy.Second
   599  	0,  // 9: xray.app.policy.Policy.Timeout.downlink_only:type_name -> xray.app.policy.Second
   600  	1,  // 10: xray.app.policy.Config.LevelEntry.value:type_name -> xray.app.policy.Policy
   601  	11, // [11:11] is the sub-list for method output_type
   602  	11, // [11:11] is the sub-list for method input_type
   603  	11, // [11:11] is the sub-list for extension type_name
   604  	11, // [11:11] is the sub-list for extension extendee
   605  	0,  // [0:11] is the sub-list for field type_name
   606  }
   607  
   608  func init() { file_app_policy_config_proto_init() }
   609  func file_app_policy_config_proto_init() {
   610  	if File_app_policy_config_proto != nil {
   611  		return
   612  	}
   613  	if !protoimpl.UnsafeEnabled {
   614  		file_app_policy_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   615  			switch v := v.(*Second); i {
   616  			case 0:
   617  				return &v.state
   618  			case 1:
   619  				return &v.sizeCache
   620  			case 2:
   621  				return &v.unknownFields
   622  			default:
   623  				return nil
   624  			}
   625  		}
   626  		file_app_policy_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   627  			switch v := v.(*Policy); 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[2].Exporter = func(v interface{}, i int) interface{} {
   639  			switch v := v.(*SystemPolicy); 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[3].Exporter = func(v interface{}, i int) interface{} {
   651  			switch v := v.(*Config); 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[4].Exporter = func(v interface{}, i int) interface{} {
   663  			switch v := v.(*Policy_Timeout); 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[5].Exporter = func(v interface{}, i int) interface{} {
   675  			switch v := v.(*Policy_Stats); 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[6].Exporter = func(v interface{}, i int) interface{} {
   687  			switch v := v.(*Policy_Buffer); 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[7].Exporter = func(v interface{}, i int) interface{} {
   699  			switch v := v.(*SystemPolicy_Stats); 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  	}
   711  	type x struct{}
   712  	out := protoimpl.TypeBuilder{
   713  		File: protoimpl.DescBuilder{
   714  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   715  			RawDescriptor: file_app_policy_config_proto_rawDesc,
   716  			NumEnums:      0,
   717  			NumMessages:   9,
   718  			NumExtensions: 0,
   719  			NumServices:   0,
   720  		},
   721  		GoTypes:           file_app_policy_config_proto_goTypes,
   722  		DependencyIndexes: file_app_policy_config_proto_depIdxs,
   723  		MessageInfos:      file_app_policy_config_proto_msgTypes,
   724  	}.Build()
   725  	File_app_policy_config_proto = out.File
   726  	file_app_policy_config_proto_rawDesc = nil
   727  	file_app_policy_config_proto_goTypes = nil
   728  	file_app_policy_config_proto_depIdxs = nil
   729  }