config.pb.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.11
  4. // protoc v6.33.5
  5. // source: app/policy/config.proto
  6. package policy
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. unsafe "unsafe"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type Second struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
  23. unknownFields protoimpl.UnknownFields
  24. sizeCache protoimpl.SizeCache
  25. }
  26. func (x *Second) Reset() {
  27. *x = Second{}
  28. mi := &file_app_policy_config_proto_msgTypes[0]
  29. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  30. ms.StoreMessageInfo(mi)
  31. }
  32. func (x *Second) String() string {
  33. return protoimpl.X.MessageStringOf(x)
  34. }
  35. func (*Second) ProtoMessage() {}
  36. func (x *Second) ProtoReflect() protoreflect.Message {
  37. mi := &file_app_policy_config_proto_msgTypes[0]
  38. if x != nil {
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. if ms.LoadMessageInfo() == nil {
  41. ms.StoreMessageInfo(mi)
  42. }
  43. return ms
  44. }
  45. return mi.MessageOf(x)
  46. }
  47. // Deprecated: Use Second.ProtoReflect.Descriptor instead.
  48. func (*Second) Descriptor() ([]byte, []int) {
  49. return file_app_policy_config_proto_rawDescGZIP(), []int{0}
  50. }
  51. func (x *Second) GetValue() uint32 {
  52. if x != nil {
  53. return x.Value
  54. }
  55. return 0
  56. }
  57. type Policy struct {
  58. state protoimpl.MessageState `protogen:"open.v1"`
  59. Timeout *Policy_Timeout `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"`
  60. Stats *Policy_Stats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"`
  61. Buffer *Policy_Buffer `protobuf:"bytes,3,opt,name=buffer,proto3" json:"buffer,omitempty"`
  62. unknownFields protoimpl.UnknownFields
  63. sizeCache protoimpl.SizeCache
  64. }
  65. func (x *Policy) Reset() {
  66. *x = Policy{}
  67. mi := &file_app_policy_config_proto_msgTypes[1]
  68. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  69. ms.StoreMessageInfo(mi)
  70. }
  71. func (x *Policy) String() string {
  72. return protoimpl.X.MessageStringOf(x)
  73. }
  74. func (*Policy) ProtoMessage() {}
  75. func (x *Policy) ProtoReflect() protoreflect.Message {
  76. mi := &file_app_policy_config_proto_msgTypes[1]
  77. if x != nil {
  78. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  79. if ms.LoadMessageInfo() == nil {
  80. ms.StoreMessageInfo(mi)
  81. }
  82. return ms
  83. }
  84. return mi.MessageOf(x)
  85. }
  86. // Deprecated: Use Policy.ProtoReflect.Descriptor instead.
  87. func (*Policy) Descriptor() ([]byte, []int) {
  88. return file_app_policy_config_proto_rawDescGZIP(), []int{1}
  89. }
  90. func (x *Policy) GetTimeout() *Policy_Timeout {
  91. if x != nil {
  92. return x.Timeout
  93. }
  94. return nil
  95. }
  96. func (x *Policy) GetStats() *Policy_Stats {
  97. if x != nil {
  98. return x.Stats
  99. }
  100. return nil
  101. }
  102. func (x *Policy) GetBuffer() *Policy_Buffer {
  103. if x != nil {
  104. return x.Buffer
  105. }
  106. return nil
  107. }
  108. type SystemPolicy struct {
  109. state protoimpl.MessageState `protogen:"open.v1"`
  110. Stats *SystemPolicy_Stats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
  111. unknownFields protoimpl.UnknownFields
  112. sizeCache protoimpl.SizeCache
  113. }
  114. func (x *SystemPolicy) Reset() {
  115. *x = SystemPolicy{}
  116. mi := &file_app_policy_config_proto_msgTypes[2]
  117. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  118. ms.StoreMessageInfo(mi)
  119. }
  120. func (x *SystemPolicy) String() string {
  121. return protoimpl.X.MessageStringOf(x)
  122. }
  123. func (*SystemPolicy) ProtoMessage() {}
  124. func (x *SystemPolicy) ProtoReflect() protoreflect.Message {
  125. mi := &file_app_policy_config_proto_msgTypes[2]
  126. if x != nil {
  127. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  128. if ms.LoadMessageInfo() == nil {
  129. ms.StoreMessageInfo(mi)
  130. }
  131. return ms
  132. }
  133. return mi.MessageOf(x)
  134. }
  135. // Deprecated: Use SystemPolicy.ProtoReflect.Descriptor instead.
  136. func (*SystemPolicy) Descriptor() ([]byte, []int) {
  137. return file_app_policy_config_proto_rawDescGZIP(), []int{2}
  138. }
  139. func (x *SystemPolicy) GetStats() *SystemPolicy_Stats {
  140. if x != nil {
  141. return x.Stats
  142. }
  143. return nil
  144. }
  145. type Config struct {
  146. state protoimpl.MessageState `protogen:"open.v1"`
  147. Level map[uint32]*Policy `protobuf:"bytes,1,rep,name=level,proto3" json:"level,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  148. System *SystemPolicy `protobuf:"bytes,2,opt,name=system,proto3" json:"system,omitempty"`
  149. unknownFields protoimpl.UnknownFields
  150. sizeCache protoimpl.SizeCache
  151. }
  152. func (x *Config) Reset() {
  153. *x = Config{}
  154. mi := &file_app_policy_config_proto_msgTypes[3]
  155. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  156. ms.StoreMessageInfo(mi)
  157. }
  158. func (x *Config) String() string {
  159. return protoimpl.X.MessageStringOf(x)
  160. }
  161. func (*Config) ProtoMessage() {}
  162. func (x *Config) ProtoReflect() protoreflect.Message {
  163. mi := &file_app_policy_config_proto_msgTypes[3]
  164. if x != nil {
  165. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  166. if ms.LoadMessageInfo() == nil {
  167. ms.StoreMessageInfo(mi)
  168. }
  169. return ms
  170. }
  171. return mi.MessageOf(x)
  172. }
  173. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  174. func (*Config) Descriptor() ([]byte, []int) {
  175. return file_app_policy_config_proto_rawDescGZIP(), []int{3}
  176. }
  177. func (x *Config) GetLevel() map[uint32]*Policy {
  178. if x != nil {
  179. return x.Level
  180. }
  181. return nil
  182. }
  183. func (x *Config) GetSystem() *SystemPolicy {
  184. if x != nil {
  185. return x.System
  186. }
  187. return nil
  188. }
  189. // Timeout is a message for timeout settings in various stages, in seconds.
  190. type Policy_Timeout struct {
  191. state protoimpl.MessageState `protogen:"open.v1"`
  192. Handshake *Second `protobuf:"bytes,1,opt,name=handshake,proto3" json:"handshake,omitempty"`
  193. ConnectionIdle *Second `protobuf:"bytes,2,opt,name=connection_idle,json=connectionIdle,proto3" json:"connection_idle,omitempty"`
  194. UplinkOnly *Second `protobuf:"bytes,3,opt,name=uplink_only,json=uplinkOnly,proto3" json:"uplink_only,omitempty"`
  195. DownlinkOnly *Second `protobuf:"bytes,4,opt,name=downlink_only,json=downlinkOnly,proto3" json:"downlink_only,omitempty"`
  196. unknownFields protoimpl.UnknownFields
  197. sizeCache protoimpl.SizeCache
  198. }
  199. func (x *Policy_Timeout) Reset() {
  200. *x = Policy_Timeout{}
  201. mi := &file_app_policy_config_proto_msgTypes[4]
  202. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  203. ms.StoreMessageInfo(mi)
  204. }
  205. func (x *Policy_Timeout) String() string {
  206. return protoimpl.X.MessageStringOf(x)
  207. }
  208. func (*Policy_Timeout) ProtoMessage() {}
  209. func (x *Policy_Timeout) ProtoReflect() protoreflect.Message {
  210. mi := &file_app_policy_config_proto_msgTypes[4]
  211. if 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. // Deprecated: Use Policy_Timeout.ProtoReflect.Descriptor instead.
  221. func (*Policy_Timeout) Descriptor() ([]byte, []int) {
  222. return file_app_policy_config_proto_rawDescGZIP(), []int{1, 0}
  223. }
  224. func (x *Policy_Timeout) GetHandshake() *Second {
  225. if x != nil {
  226. return x.Handshake
  227. }
  228. return nil
  229. }
  230. func (x *Policy_Timeout) GetConnectionIdle() *Second {
  231. if x != nil {
  232. return x.ConnectionIdle
  233. }
  234. return nil
  235. }
  236. func (x *Policy_Timeout) GetUplinkOnly() *Second {
  237. if x != nil {
  238. return x.UplinkOnly
  239. }
  240. return nil
  241. }
  242. func (x *Policy_Timeout) GetDownlinkOnly() *Second {
  243. if x != nil {
  244. return x.DownlinkOnly
  245. }
  246. return nil
  247. }
  248. type Policy_Stats struct {
  249. state protoimpl.MessageState `protogen:"open.v1"`
  250. UserUplink bool `protobuf:"varint,1,opt,name=user_uplink,json=userUplink,proto3" json:"user_uplink,omitempty"`
  251. UserDownlink bool `protobuf:"varint,2,opt,name=user_downlink,json=userDownlink,proto3" json:"user_downlink,omitempty"`
  252. UserOnline bool `protobuf:"varint,3,opt,name=user_online,json=userOnline,proto3" json:"user_online,omitempty"`
  253. unknownFields protoimpl.UnknownFields
  254. sizeCache protoimpl.SizeCache
  255. }
  256. func (x *Policy_Stats) Reset() {
  257. *x = Policy_Stats{}
  258. mi := &file_app_policy_config_proto_msgTypes[5]
  259. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  260. ms.StoreMessageInfo(mi)
  261. }
  262. func (x *Policy_Stats) String() string {
  263. return protoimpl.X.MessageStringOf(x)
  264. }
  265. func (*Policy_Stats) ProtoMessage() {}
  266. func (x *Policy_Stats) ProtoReflect() protoreflect.Message {
  267. mi := &file_app_policy_config_proto_msgTypes[5]
  268. if 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. // Deprecated: Use Policy_Stats.ProtoReflect.Descriptor instead.
  278. func (*Policy_Stats) Descriptor() ([]byte, []int) {
  279. return file_app_policy_config_proto_rawDescGZIP(), []int{1, 1}
  280. }
  281. func (x *Policy_Stats) GetUserUplink() bool {
  282. if x != nil {
  283. return x.UserUplink
  284. }
  285. return false
  286. }
  287. func (x *Policy_Stats) GetUserDownlink() bool {
  288. if x != nil {
  289. return x.UserDownlink
  290. }
  291. return false
  292. }
  293. func (x *Policy_Stats) GetUserOnline() bool {
  294. if x != nil {
  295. return x.UserOnline
  296. }
  297. return false
  298. }
  299. type Policy_Buffer struct {
  300. state protoimpl.MessageState `protogen:"open.v1"`
  301. // Buffer size per connection, in bytes. -1 for unlimited buffer.
  302. Connection int32 `protobuf:"varint,1,opt,name=connection,proto3" json:"connection,omitempty"`
  303. unknownFields protoimpl.UnknownFields
  304. sizeCache protoimpl.SizeCache
  305. }
  306. func (x *Policy_Buffer) Reset() {
  307. *x = Policy_Buffer{}
  308. mi := &file_app_policy_config_proto_msgTypes[6]
  309. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  310. ms.StoreMessageInfo(mi)
  311. }
  312. func (x *Policy_Buffer) String() string {
  313. return protoimpl.X.MessageStringOf(x)
  314. }
  315. func (*Policy_Buffer) ProtoMessage() {}
  316. func (x *Policy_Buffer) ProtoReflect() protoreflect.Message {
  317. mi := &file_app_policy_config_proto_msgTypes[6]
  318. if x != nil {
  319. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  320. if ms.LoadMessageInfo() == nil {
  321. ms.StoreMessageInfo(mi)
  322. }
  323. return ms
  324. }
  325. return mi.MessageOf(x)
  326. }
  327. // Deprecated: Use Policy_Buffer.ProtoReflect.Descriptor instead.
  328. func (*Policy_Buffer) Descriptor() ([]byte, []int) {
  329. return file_app_policy_config_proto_rawDescGZIP(), []int{1, 2}
  330. }
  331. func (x *Policy_Buffer) GetConnection() int32 {
  332. if x != nil {
  333. return x.Connection
  334. }
  335. return 0
  336. }
  337. type SystemPolicy_Stats struct {
  338. state protoimpl.MessageState `protogen:"open.v1"`
  339. InboundUplink bool `protobuf:"varint,1,opt,name=inbound_uplink,json=inboundUplink,proto3" json:"inbound_uplink,omitempty"`
  340. InboundDownlink bool `protobuf:"varint,2,opt,name=inbound_downlink,json=inboundDownlink,proto3" json:"inbound_downlink,omitempty"`
  341. OutboundUplink bool `protobuf:"varint,3,opt,name=outbound_uplink,json=outboundUplink,proto3" json:"outbound_uplink,omitempty"`
  342. OutboundDownlink bool `protobuf:"varint,4,opt,name=outbound_downlink,json=outboundDownlink,proto3" json:"outbound_downlink,omitempty"`
  343. unknownFields protoimpl.UnknownFields
  344. sizeCache protoimpl.SizeCache
  345. }
  346. func (x *SystemPolicy_Stats) Reset() {
  347. *x = SystemPolicy_Stats{}
  348. mi := &file_app_policy_config_proto_msgTypes[7]
  349. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  350. ms.StoreMessageInfo(mi)
  351. }
  352. func (x *SystemPolicy_Stats) String() string {
  353. return protoimpl.X.MessageStringOf(x)
  354. }
  355. func (*SystemPolicy_Stats) ProtoMessage() {}
  356. func (x *SystemPolicy_Stats) ProtoReflect() protoreflect.Message {
  357. mi := &file_app_policy_config_proto_msgTypes[7]
  358. if x != nil {
  359. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  360. if ms.LoadMessageInfo() == nil {
  361. ms.StoreMessageInfo(mi)
  362. }
  363. return ms
  364. }
  365. return mi.MessageOf(x)
  366. }
  367. // Deprecated: Use SystemPolicy_Stats.ProtoReflect.Descriptor instead.
  368. func (*SystemPolicy_Stats) Descriptor() ([]byte, []int) {
  369. return file_app_policy_config_proto_rawDescGZIP(), []int{2, 0}
  370. }
  371. func (x *SystemPolicy_Stats) GetInboundUplink() bool {
  372. if x != nil {
  373. return x.InboundUplink
  374. }
  375. return false
  376. }
  377. func (x *SystemPolicy_Stats) GetInboundDownlink() bool {
  378. if x != nil {
  379. return x.InboundDownlink
  380. }
  381. return false
  382. }
  383. func (x *SystemPolicy_Stats) GetOutboundUplink() bool {
  384. if x != nil {
  385. return x.OutboundUplink
  386. }
  387. return false
  388. }
  389. func (x *SystemPolicy_Stats) GetOutboundDownlink() bool {
  390. if x != nil {
  391. return x.OutboundDownlink
  392. }
  393. return false
  394. }
  395. var File_app_policy_config_proto protoreflect.FileDescriptor
  396. const file_app_policy_config_proto_rawDesc = "" +
  397. "\n" +
  398. "\x17app/policy/config.proto\x12\x0fxray.app.policy\"\x1e\n" +
  399. "\x06Second\x12\x14\n" +
  400. "\x05value\x18\x01 \x01(\rR\x05value\"\xc7\x04\n" +
  401. "\x06Policy\x129\n" +
  402. "\atimeout\x18\x01 \x01(\v2\x1f.xray.app.policy.Policy.TimeoutR\atimeout\x123\n" +
  403. "\x05stats\x18\x02 \x01(\v2\x1d.xray.app.policy.Policy.StatsR\x05stats\x126\n" +
  404. "\x06buffer\x18\x03 \x01(\v2\x1e.xray.app.policy.Policy.BufferR\x06buffer\x1a\xfa\x01\n" +
  405. "\aTimeout\x125\n" +
  406. "\thandshake\x18\x01 \x01(\v2\x17.xray.app.policy.SecondR\thandshake\x12@\n" +
  407. "\x0fconnection_idle\x18\x02 \x01(\v2\x17.xray.app.policy.SecondR\x0econnectionIdle\x128\n" +
  408. "\vuplink_only\x18\x03 \x01(\v2\x17.xray.app.policy.SecondR\n" +
  409. "uplinkOnly\x12<\n" +
  410. "\rdownlink_only\x18\x04 \x01(\v2\x17.xray.app.policy.SecondR\fdownlinkOnly\x1an\n" +
  411. "\x05Stats\x12\x1f\n" +
  412. "\vuser_uplink\x18\x01 \x01(\bR\n" +
  413. "userUplink\x12#\n" +
  414. "\ruser_downlink\x18\x02 \x01(\bR\fuserDownlink\x12\x1f\n" +
  415. "\vuser_online\x18\x03 \x01(\bR\n" +
  416. "userOnline\x1a(\n" +
  417. "\x06Buffer\x12\x1e\n" +
  418. "\n" +
  419. "connection\x18\x01 \x01(\x05R\n" +
  420. "connection\"\xfb\x01\n" +
  421. "\fSystemPolicy\x129\n" +
  422. "\x05stats\x18\x01 \x01(\v2#.xray.app.policy.SystemPolicy.StatsR\x05stats\x1a\xaf\x01\n" +
  423. "\x05Stats\x12%\n" +
  424. "\x0einbound_uplink\x18\x01 \x01(\bR\rinboundUplink\x12)\n" +
  425. "\x10inbound_downlink\x18\x02 \x01(\bR\x0finboundDownlink\x12'\n" +
  426. "\x0foutbound_uplink\x18\x03 \x01(\bR\x0eoutboundUplink\x12+\n" +
  427. "\x11outbound_downlink\x18\x04 \x01(\bR\x10outboundDownlink\"\xcc\x01\n" +
  428. "\x06Config\x128\n" +
  429. "\x05level\x18\x01 \x03(\v2\".xray.app.policy.Config.LevelEntryR\x05level\x125\n" +
  430. "\x06system\x18\x02 \x01(\v2\x1d.xray.app.policy.SystemPolicyR\x06system\x1aQ\n" +
  431. "\n" +
  432. "LevelEntry\x12\x10\n" +
  433. "\x03key\x18\x01 \x01(\rR\x03key\x12-\n" +
  434. "\x05value\x18\x02 \x01(\v2\x17.xray.app.policy.PolicyR\x05value:\x028\x01BO\n" +
  435. "\x13com.xray.app.policyP\x01Z$github.com/xtls/xray-core/app/policy\xaa\x02\x0fXray.App.Policyb\x06proto3"
  436. var (
  437. file_app_policy_config_proto_rawDescOnce sync.Once
  438. file_app_policy_config_proto_rawDescData []byte
  439. )
  440. func file_app_policy_config_proto_rawDescGZIP() []byte {
  441. file_app_policy_config_proto_rawDescOnce.Do(func() {
  442. file_app_policy_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_app_policy_config_proto_rawDesc), len(file_app_policy_config_proto_rawDesc)))
  443. })
  444. return file_app_policy_config_proto_rawDescData
  445. }
  446. var file_app_policy_config_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
  447. var file_app_policy_config_proto_goTypes = []any{
  448. (*Second)(nil), // 0: xray.app.policy.Second
  449. (*Policy)(nil), // 1: xray.app.policy.Policy
  450. (*SystemPolicy)(nil), // 2: xray.app.policy.SystemPolicy
  451. (*Config)(nil), // 3: xray.app.policy.Config
  452. (*Policy_Timeout)(nil), // 4: xray.app.policy.Policy.Timeout
  453. (*Policy_Stats)(nil), // 5: xray.app.policy.Policy.Stats
  454. (*Policy_Buffer)(nil), // 6: xray.app.policy.Policy.Buffer
  455. (*SystemPolicy_Stats)(nil), // 7: xray.app.policy.SystemPolicy.Stats
  456. nil, // 8: xray.app.policy.Config.LevelEntry
  457. }
  458. var file_app_policy_config_proto_depIdxs = []int32{
  459. 4, // 0: xray.app.policy.Policy.timeout:type_name -> xray.app.policy.Policy.Timeout
  460. 5, // 1: xray.app.policy.Policy.stats:type_name -> xray.app.policy.Policy.Stats
  461. 6, // 2: xray.app.policy.Policy.buffer:type_name -> xray.app.policy.Policy.Buffer
  462. 7, // 3: xray.app.policy.SystemPolicy.stats:type_name -> xray.app.policy.SystemPolicy.Stats
  463. 8, // 4: xray.app.policy.Config.level:type_name -> xray.app.policy.Config.LevelEntry
  464. 2, // 5: xray.app.policy.Config.system:type_name -> xray.app.policy.SystemPolicy
  465. 0, // 6: xray.app.policy.Policy.Timeout.handshake:type_name -> xray.app.policy.Second
  466. 0, // 7: xray.app.policy.Policy.Timeout.connection_idle:type_name -> xray.app.policy.Second
  467. 0, // 8: xray.app.policy.Policy.Timeout.uplink_only:type_name -> xray.app.policy.Second
  468. 0, // 9: xray.app.policy.Policy.Timeout.downlink_only:type_name -> xray.app.policy.Second
  469. 1, // 10: xray.app.policy.Config.LevelEntry.value:type_name -> xray.app.policy.Policy
  470. 11, // [11:11] is the sub-list for method output_type
  471. 11, // [11:11] is the sub-list for method input_type
  472. 11, // [11:11] is the sub-list for extension type_name
  473. 11, // [11:11] is the sub-list for extension extendee
  474. 0, // [0:11] is the sub-list for field type_name
  475. }
  476. func init() { file_app_policy_config_proto_init() }
  477. func file_app_policy_config_proto_init() {
  478. if File_app_policy_config_proto != nil {
  479. return
  480. }
  481. type x struct{}
  482. out := protoimpl.TypeBuilder{
  483. File: protoimpl.DescBuilder{
  484. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  485. RawDescriptor: unsafe.Slice(unsafe.StringData(file_app_policy_config_proto_rawDesc), len(file_app_policy_config_proto_rawDesc)),
  486. NumEnums: 0,
  487. NumMessages: 9,
  488. NumExtensions: 0,
  489. NumServices: 0,
  490. },
  491. GoTypes: file_app_policy_config_proto_goTypes,
  492. DependencyIndexes: file_app_policy_config_proto_depIdxs,
  493. MessageInfos: file_app_policy_config_proto_msgTypes,
  494. }.Build()
  495. File_app_policy_config_proto = out.File
  496. file_app_policy_config_proto_goTypes = nil
  497. file_app_policy_config_proto_depIdxs = nil
  498. }