command.pb.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.8
  4. // protoc v6.32.0
  5. // source: command.proto
  6. package command
  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 GetStatsRequest struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. // Name of the stat counter.
  23. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  24. // Whether or not to reset the counter to fetching its value.
  25. Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
  26. unknownFields protoimpl.UnknownFields
  27. sizeCache protoimpl.SizeCache
  28. }
  29. func (x *GetStatsRequest) Reset() {
  30. *x = GetStatsRequest{}
  31. mi := &file_command_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. func (x *GetStatsRequest) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*GetStatsRequest) ProtoMessage() {}
  39. func (x *GetStatsRequest) ProtoReflect() protoreflect.Message {
  40. mi := &file_command_proto_msgTypes[0]
  41. if x != nil {
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. if ms.LoadMessageInfo() == nil {
  44. ms.StoreMessageInfo(mi)
  45. }
  46. return ms
  47. }
  48. return mi.MessageOf(x)
  49. }
  50. // Deprecated: Use GetStatsRequest.ProtoReflect.Descriptor instead.
  51. func (*GetStatsRequest) Descriptor() ([]byte, []int) {
  52. return file_command_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *GetStatsRequest) GetName() string {
  55. if x != nil {
  56. return x.Name
  57. }
  58. return ""
  59. }
  60. func (x *GetStatsRequest) GetReset_() bool {
  61. if x != nil {
  62. return x.Reset_
  63. }
  64. return false
  65. }
  66. type Stat struct {
  67. state protoimpl.MessageState `protogen:"open.v1"`
  68. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  69. Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
  70. unknownFields protoimpl.UnknownFields
  71. sizeCache protoimpl.SizeCache
  72. }
  73. func (x *Stat) Reset() {
  74. *x = Stat{}
  75. mi := &file_command_proto_msgTypes[1]
  76. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  77. ms.StoreMessageInfo(mi)
  78. }
  79. func (x *Stat) String() string {
  80. return protoimpl.X.MessageStringOf(x)
  81. }
  82. func (*Stat) ProtoMessage() {}
  83. func (x *Stat) ProtoReflect() protoreflect.Message {
  84. mi := &file_command_proto_msgTypes[1]
  85. if x != nil {
  86. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  87. if ms.LoadMessageInfo() == nil {
  88. ms.StoreMessageInfo(mi)
  89. }
  90. return ms
  91. }
  92. return mi.MessageOf(x)
  93. }
  94. // Deprecated: Use Stat.ProtoReflect.Descriptor instead.
  95. func (*Stat) Descriptor() ([]byte, []int) {
  96. return file_command_proto_rawDescGZIP(), []int{1}
  97. }
  98. func (x *Stat) GetName() string {
  99. if x != nil {
  100. return x.Name
  101. }
  102. return ""
  103. }
  104. func (x *Stat) GetValue() int64 {
  105. if x != nil {
  106. return x.Value
  107. }
  108. return 0
  109. }
  110. type GetStatsResponse struct {
  111. state protoimpl.MessageState `protogen:"open.v1"`
  112. Stat *Stat `protobuf:"bytes,1,opt,name=stat,proto3" json:"stat,omitempty"`
  113. unknownFields protoimpl.UnknownFields
  114. sizeCache protoimpl.SizeCache
  115. }
  116. func (x *GetStatsResponse) Reset() {
  117. *x = GetStatsResponse{}
  118. mi := &file_command_proto_msgTypes[2]
  119. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  120. ms.StoreMessageInfo(mi)
  121. }
  122. func (x *GetStatsResponse) String() string {
  123. return protoimpl.X.MessageStringOf(x)
  124. }
  125. func (*GetStatsResponse) ProtoMessage() {}
  126. func (x *GetStatsResponse) ProtoReflect() protoreflect.Message {
  127. mi := &file_command_proto_msgTypes[2]
  128. if x != nil {
  129. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  130. if ms.LoadMessageInfo() == nil {
  131. ms.StoreMessageInfo(mi)
  132. }
  133. return ms
  134. }
  135. return mi.MessageOf(x)
  136. }
  137. // Deprecated: Use GetStatsResponse.ProtoReflect.Descriptor instead.
  138. func (*GetStatsResponse) Descriptor() ([]byte, []int) {
  139. return file_command_proto_rawDescGZIP(), []int{2}
  140. }
  141. func (x *GetStatsResponse) GetStat() *Stat {
  142. if x != nil {
  143. return x.Stat
  144. }
  145. return nil
  146. }
  147. type QueryStatsRequest struct {
  148. state protoimpl.MessageState `protogen:"open.v1"`
  149. Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
  150. Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
  151. unknownFields protoimpl.UnknownFields
  152. sizeCache protoimpl.SizeCache
  153. }
  154. func (x *QueryStatsRequest) Reset() {
  155. *x = QueryStatsRequest{}
  156. mi := &file_command_proto_msgTypes[3]
  157. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  158. ms.StoreMessageInfo(mi)
  159. }
  160. func (x *QueryStatsRequest) String() string {
  161. return protoimpl.X.MessageStringOf(x)
  162. }
  163. func (*QueryStatsRequest) ProtoMessage() {}
  164. func (x *QueryStatsRequest) ProtoReflect() protoreflect.Message {
  165. mi := &file_command_proto_msgTypes[3]
  166. if x != nil {
  167. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  168. if ms.LoadMessageInfo() == nil {
  169. ms.StoreMessageInfo(mi)
  170. }
  171. return ms
  172. }
  173. return mi.MessageOf(x)
  174. }
  175. // Deprecated: Use QueryStatsRequest.ProtoReflect.Descriptor instead.
  176. func (*QueryStatsRequest) Descriptor() ([]byte, []int) {
  177. return file_command_proto_rawDescGZIP(), []int{3}
  178. }
  179. func (x *QueryStatsRequest) GetPattern() string {
  180. if x != nil {
  181. return x.Pattern
  182. }
  183. return ""
  184. }
  185. func (x *QueryStatsRequest) GetReset_() bool {
  186. if x != nil {
  187. return x.Reset_
  188. }
  189. return false
  190. }
  191. type QueryStatsResponse struct {
  192. state protoimpl.MessageState `protogen:"open.v1"`
  193. Stat []*Stat `protobuf:"bytes,1,rep,name=stat,proto3" json:"stat,omitempty"`
  194. unknownFields protoimpl.UnknownFields
  195. sizeCache protoimpl.SizeCache
  196. }
  197. func (x *QueryStatsResponse) Reset() {
  198. *x = QueryStatsResponse{}
  199. mi := &file_command_proto_msgTypes[4]
  200. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  201. ms.StoreMessageInfo(mi)
  202. }
  203. func (x *QueryStatsResponse) String() string {
  204. return protoimpl.X.MessageStringOf(x)
  205. }
  206. func (*QueryStatsResponse) ProtoMessage() {}
  207. func (x *QueryStatsResponse) ProtoReflect() protoreflect.Message {
  208. mi := &file_command_proto_msgTypes[4]
  209. if x != nil {
  210. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  211. if ms.LoadMessageInfo() == nil {
  212. ms.StoreMessageInfo(mi)
  213. }
  214. return ms
  215. }
  216. return mi.MessageOf(x)
  217. }
  218. // Deprecated: Use QueryStatsResponse.ProtoReflect.Descriptor instead.
  219. func (*QueryStatsResponse) Descriptor() ([]byte, []int) {
  220. return file_command_proto_rawDescGZIP(), []int{4}
  221. }
  222. func (x *QueryStatsResponse) GetStat() []*Stat {
  223. if x != nil {
  224. return x.Stat
  225. }
  226. return nil
  227. }
  228. type SysStatsRequest struct {
  229. state protoimpl.MessageState `protogen:"open.v1"`
  230. unknownFields protoimpl.UnknownFields
  231. sizeCache protoimpl.SizeCache
  232. }
  233. func (x *SysStatsRequest) Reset() {
  234. *x = SysStatsRequest{}
  235. mi := &file_command_proto_msgTypes[5]
  236. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  237. ms.StoreMessageInfo(mi)
  238. }
  239. func (x *SysStatsRequest) String() string {
  240. return protoimpl.X.MessageStringOf(x)
  241. }
  242. func (*SysStatsRequest) ProtoMessage() {}
  243. func (x *SysStatsRequest) ProtoReflect() protoreflect.Message {
  244. mi := &file_command_proto_msgTypes[5]
  245. if x != nil {
  246. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  247. if ms.LoadMessageInfo() == nil {
  248. ms.StoreMessageInfo(mi)
  249. }
  250. return ms
  251. }
  252. return mi.MessageOf(x)
  253. }
  254. // Deprecated: Use SysStatsRequest.ProtoReflect.Descriptor instead.
  255. func (*SysStatsRequest) Descriptor() ([]byte, []int) {
  256. return file_command_proto_rawDescGZIP(), []int{5}
  257. }
  258. type SysStatsResponse struct {
  259. state protoimpl.MessageState `protogen:"open.v1"`
  260. NumGoroutine uint32 `protobuf:"varint,1,opt,name=NumGoroutine,proto3" json:"NumGoroutine,omitempty"`
  261. NumGC uint32 `protobuf:"varint,2,opt,name=NumGC,proto3" json:"NumGC,omitempty"`
  262. Alloc uint64 `protobuf:"varint,3,opt,name=Alloc,proto3" json:"Alloc,omitempty"`
  263. TotalAlloc uint64 `protobuf:"varint,4,opt,name=TotalAlloc,proto3" json:"TotalAlloc,omitempty"`
  264. Sys uint64 `protobuf:"varint,5,opt,name=Sys,proto3" json:"Sys,omitempty"`
  265. Mallocs uint64 `protobuf:"varint,6,opt,name=Mallocs,proto3" json:"Mallocs,omitempty"`
  266. Frees uint64 `protobuf:"varint,7,opt,name=Frees,proto3" json:"Frees,omitempty"`
  267. LiveObjects uint64 `protobuf:"varint,8,opt,name=LiveObjects,proto3" json:"LiveObjects,omitempty"`
  268. PauseTotalNs uint64 `protobuf:"varint,9,opt,name=PauseTotalNs,proto3" json:"PauseTotalNs,omitempty"`
  269. Uptime uint32 `protobuf:"varint,10,opt,name=Uptime,proto3" json:"Uptime,omitempty"`
  270. unknownFields protoimpl.UnknownFields
  271. sizeCache protoimpl.SizeCache
  272. }
  273. func (x *SysStatsResponse) Reset() {
  274. *x = SysStatsResponse{}
  275. mi := &file_command_proto_msgTypes[6]
  276. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  277. ms.StoreMessageInfo(mi)
  278. }
  279. func (x *SysStatsResponse) String() string {
  280. return protoimpl.X.MessageStringOf(x)
  281. }
  282. func (*SysStatsResponse) ProtoMessage() {}
  283. func (x *SysStatsResponse) ProtoReflect() protoreflect.Message {
  284. mi := &file_command_proto_msgTypes[6]
  285. if x != nil {
  286. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  287. if ms.LoadMessageInfo() == nil {
  288. ms.StoreMessageInfo(mi)
  289. }
  290. return ms
  291. }
  292. return mi.MessageOf(x)
  293. }
  294. // Deprecated: Use SysStatsResponse.ProtoReflect.Descriptor instead.
  295. func (*SysStatsResponse) Descriptor() ([]byte, []int) {
  296. return file_command_proto_rawDescGZIP(), []int{6}
  297. }
  298. func (x *SysStatsResponse) GetNumGoroutine() uint32 {
  299. if x != nil {
  300. return x.NumGoroutine
  301. }
  302. return 0
  303. }
  304. func (x *SysStatsResponse) GetNumGC() uint32 {
  305. if x != nil {
  306. return x.NumGC
  307. }
  308. return 0
  309. }
  310. func (x *SysStatsResponse) GetAlloc() uint64 {
  311. if x != nil {
  312. return x.Alloc
  313. }
  314. return 0
  315. }
  316. func (x *SysStatsResponse) GetTotalAlloc() uint64 {
  317. if x != nil {
  318. return x.TotalAlloc
  319. }
  320. return 0
  321. }
  322. func (x *SysStatsResponse) GetSys() uint64 {
  323. if x != nil {
  324. return x.Sys
  325. }
  326. return 0
  327. }
  328. func (x *SysStatsResponse) GetMallocs() uint64 {
  329. if x != nil {
  330. return x.Mallocs
  331. }
  332. return 0
  333. }
  334. func (x *SysStatsResponse) GetFrees() uint64 {
  335. if x != nil {
  336. return x.Frees
  337. }
  338. return 0
  339. }
  340. func (x *SysStatsResponse) GetLiveObjects() uint64 {
  341. if x != nil {
  342. return x.LiveObjects
  343. }
  344. return 0
  345. }
  346. func (x *SysStatsResponse) GetPauseTotalNs() uint64 {
  347. if x != nil {
  348. return x.PauseTotalNs
  349. }
  350. return 0
  351. }
  352. func (x *SysStatsResponse) GetUptime() uint32 {
  353. if x != nil {
  354. return x.Uptime
  355. }
  356. return 0
  357. }
  358. type GetStatsOnlineIpListResponse struct {
  359. state protoimpl.MessageState `protogen:"open.v1"`
  360. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  361. Ips map[string]int64 `protobuf:"bytes,2,rep,name=ips,proto3" json:"ips,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  362. unknownFields protoimpl.UnknownFields
  363. sizeCache protoimpl.SizeCache
  364. }
  365. func (x *GetStatsOnlineIpListResponse) Reset() {
  366. *x = GetStatsOnlineIpListResponse{}
  367. mi := &file_command_proto_msgTypes[7]
  368. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  369. ms.StoreMessageInfo(mi)
  370. }
  371. func (x *GetStatsOnlineIpListResponse) String() string {
  372. return protoimpl.X.MessageStringOf(x)
  373. }
  374. func (*GetStatsOnlineIpListResponse) ProtoMessage() {}
  375. func (x *GetStatsOnlineIpListResponse) ProtoReflect() protoreflect.Message {
  376. mi := &file_command_proto_msgTypes[7]
  377. if x != nil {
  378. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  379. if ms.LoadMessageInfo() == nil {
  380. ms.StoreMessageInfo(mi)
  381. }
  382. return ms
  383. }
  384. return mi.MessageOf(x)
  385. }
  386. // Deprecated: Use GetStatsOnlineIpListResponse.ProtoReflect.Descriptor instead.
  387. func (*GetStatsOnlineIpListResponse) Descriptor() ([]byte, []int) {
  388. return file_command_proto_rawDescGZIP(), []int{7}
  389. }
  390. func (x *GetStatsOnlineIpListResponse) GetName() string {
  391. if x != nil {
  392. return x.Name
  393. }
  394. return ""
  395. }
  396. func (x *GetStatsOnlineIpListResponse) GetIps() map[string]int64 {
  397. if x != nil {
  398. return x.Ips
  399. }
  400. return nil
  401. }
  402. type GetAllOnlineUsersRequest struct {
  403. state protoimpl.MessageState `protogen:"open.v1"`
  404. unknownFields protoimpl.UnknownFields
  405. sizeCache protoimpl.SizeCache
  406. }
  407. func (x *GetAllOnlineUsersRequest) Reset() {
  408. *x = GetAllOnlineUsersRequest{}
  409. mi := &file_command_proto_msgTypes[8]
  410. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  411. ms.StoreMessageInfo(mi)
  412. }
  413. func (x *GetAllOnlineUsersRequest) String() string {
  414. return protoimpl.X.MessageStringOf(x)
  415. }
  416. func (*GetAllOnlineUsersRequest) ProtoMessage() {}
  417. func (x *GetAllOnlineUsersRequest) ProtoReflect() protoreflect.Message {
  418. mi := &file_command_proto_msgTypes[8]
  419. if x != nil {
  420. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  421. if ms.LoadMessageInfo() == nil {
  422. ms.StoreMessageInfo(mi)
  423. }
  424. return ms
  425. }
  426. return mi.MessageOf(x)
  427. }
  428. // Deprecated: Use GetAllOnlineUsersRequest.ProtoReflect.Descriptor instead.
  429. func (*GetAllOnlineUsersRequest) Descriptor() ([]byte, []int) {
  430. return file_command_proto_rawDescGZIP(), []int{8}
  431. }
  432. type GetAllOnlineUsersResponse struct {
  433. state protoimpl.MessageState `protogen:"open.v1"`
  434. Users []string `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
  435. unknownFields protoimpl.UnknownFields
  436. sizeCache protoimpl.SizeCache
  437. }
  438. func (x *GetAllOnlineUsersResponse) Reset() {
  439. *x = GetAllOnlineUsersResponse{}
  440. mi := &file_command_proto_msgTypes[9]
  441. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  442. ms.StoreMessageInfo(mi)
  443. }
  444. func (x *GetAllOnlineUsersResponse) String() string {
  445. return protoimpl.X.MessageStringOf(x)
  446. }
  447. func (*GetAllOnlineUsersResponse) ProtoMessage() {}
  448. func (x *GetAllOnlineUsersResponse) ProtoReflect() protoreflect.Message {
  449. mi := &file_command_proto_msgTypes[9]
  450. if x != nil {
  451. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  452. if ms.LoadMessageInfo() == nil {
  453. ms.StoreMessageInfo(mi)
  454. }
  455. return ms
  456. }
  457. return mi.MessageOf(x)
  458. }
  459. // Deprecated: Use GetAllOnlineUsersResponse.ProtoReflect.Descriptor instead.
  460. func (*GetAllOnlineUsersResponse) Descriptor() ([]byte, []int) {
  461. return file_command_proto_rawDescGZIP(), []int{9}
  462. }
  463. func (x *GetAllOnlineUsersResponse) GetUsers() []string {
  464. if x != nil {
  465. return x.Users
  466. }
  467. return nil
  468. }
  469. type Config struct {
  470. state protoimpl.MessageState `protogen:"open.v1"`
  471. unknownFields protoimpl.UnknownFields
  472. sizeCache protoimpl.SizeCache
  473. }
  474. func (x *Config) Reset() {
  475. *x = Config{}
  476. mi := &file_command_proto_msgTypes[10]
  477. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  478. ms.StoreMessageInfo(mi)
  479. }
  480. func (x *Config) String() string {
  481. return protoimpl.X.MessageStringOf(x)
  482. }
  483. func (*Config) ProtoMessage() {}
  484. func (x *Config) ProtoReflect() protoreflect.Message {
  485. mi := &file_command_proto_msgTypes[10]
  486. if x != nil {
  487. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  488. if ms.LoadMessageInfo() == nil {
  489. ms.StoreMessageInfo(mi)
  490. }
  491. return ms
  492. }
  493. return mi.MessageOf(x)
  494. }
  495. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  496. func (*Config) Descriptor() ([]byte, []int) {
  497. return file_command_proto_rawDescGZIP(), []int{10}
  498. }
  499. var File_command_proto protoreflect.FileDescriptor
  500. const file_command_proto_rawDesc = "" +
  501. "\n" +
  502. "\rcommand.proto\x12\x16xray.app.stats.command\";\n" +
  503. "\x0fGetStatsRequest\x12\x12\n" +
  504. "\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
  505. "\x05reset\x18\x02 \x01(\bR\x05reset\"0\n" +
  506. "\x04Stat\x12\x12\n" +
  507. "\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
  508. "\x05value\x18\x02 \x01(\x03R\x05value\"D\n" +
  509. "\x10GetStatsResponse\x120\n" +
  510. "\x04stat\x18\x01 \x01(\v2\x1c.xray.app.stats.command.StatR\x04stat\"C\n" +
  511. "\x11QueryStatsRequest\x12\x18\n" +
  512. "\apattern\x18\x01 \x01(\tR\apattern\x12\x14\n" +
  513. "\x05reset\x18\x02 \x01(\bR\x05reset\"F\n" +
  514. "\x12QueryStatsResponse\x120\n" +
  515. "\x04stat\x18\x01 \x03(\v2\x1c.xray.app.stats.command.StatR\x04stat\"\x11\n" +
  516. "\x0fSysStatsRequest\"\xa2\x02\n" +
  517. "\x10SysStatsResponse\x12\"\n" +
  518. "\fNumGoroutine\x18\x01 \x01(\rR\fNumGoroutine\x12\x14\n" +
  519. "\x05NumGC\x18\x02 \x01(\rR\x05NumGC\x12\x14\n" +
  520. "\x05Alloc\x18\x03 \x01(\x04R\x05Alloc\x12\x1e\n" +
  521. "\n" +
  522. "TotalAlloc\x18\x04 \x01(\x04R\n" +
  523. "TotalAlloc\x12\x10\n" +
  524. "\x03Sys\x18\x05 \x01(\x04R\x03Sys\x12\x18\n" +
  525. "\aMallocs\x18\x06 \x01(\x04R\aMallocs\x12\x14\n" +
  526. "\x05Frees\x18\a \x01(\x04R\x05Frees\x12 \n" +
  527. "\vLiveObjects\x18\b \x01(\x04R\vLiveObjects\x12\"\n" +
  528. "\fPauseTotalNs\x18\t \x01(\x04R\fPauseTotalNs\x12\x16\n" +
  529. "\x06Uptime\x18\n" +
  530. " \x01(\rR\x06Uptime\"\xbb\x01\n" +
  531. "\x1cGetStatsOnlineIpListResponse\x12\x12\n" +
  532. "\x04name\x18\x01 \x01(\tR\x04name\x12O\n" +
  533. "\x03ips\x18\x02 \x03(\v2=.xray.app.stats.command.GetStatsOnlineIpListResponse.IpsEntryR\x03ips\x1a6\n" +
  534. "\bIpsEntry\x12\x10\n" +
  535. "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
  536. "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"\x1a\n" +
  537. "\x18GetAllOnlineUsersRequest\"1\n" +
  538. "\x19GetAllOnlineUsersResponse\x12\x14\n" +
  539. "\x05users\x18\x01 \x03(\tR\x05users\"\b\n" +
  540. "\x06Config2\x96\x05\n" +
  541. "\fStatsService\x12_\n" +
  542. "\bGetStats\x12'.xray.app.stats.command.GetStatsRequest\x1a(.xray.app.stats.command.GetStatsResponse\"\x00\x12e\n" +
  543. "\x0eGetStatsOnline\x12'.xray.app.stats.command.GetStatsRequest\x1a(.xray.app.stats.command.GetStatsResponse\"\x00\x12e\n" +
  544. "\n" +
  545. "QueryStats\x12).xray.app.stats.command.QueryStatsRequest\x1a*.xray.app.stats.command.QueryStatsResponse\"\x00\x12b\n" +
  546. "\vGetSysStats\x12'.xray.app.stats.command.SysStatsRequest\x1a(.xray.app.stats.command.SysStatsResponse\"\x00\x12w\n" +
  547. "\x14GetStatsOnlineIpList\x12'.xray.app.stats.command.GetStatsRequest\x1a4.xray.app.stats.command.GetStatsOnlineIpListResponse\"\x00\x12z\n" +
  548. "\x11GetAllOnlineUsers\x120.xray.app.stats.command.GetAllOnlineUsersRequest\x1a1.xray.app.stats.command.GetAllOnlineUsersResponse\"\x00Bd\n" +
  549. "\x1acom.xray.app.stats.commandP\x01Z+github.com/xtls/xray-core/app/stats/command\xaa\x02\x16Xray.App.Stats.Commandb\x06proto3"
  550. var (
  551. file_command_proto_rawDescOnce sync.Once
  552. file_command_proto_rawDescData []byte
  553. )
  554. func file_command_proto_rawDescGZIP() []byte {
  555. file_command_proto_rawDescOnce.Do(func() {
  556. file_command_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_command_proto_rawDesc), len(file_command_proto_rawDesc)))
  557. })
  558. return file_command_proto_rawDescData
  559. }
  560. var file_command_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
  561. var file_command_proto_goTypes = []any{
  562. (*GetStatsRequest)(nil), // 0: xray.app.stats.command.GetStatsRequest
  563. (*Stat)(nil), // 1: xray.app.stats.command.Stat
  564. (*GetStatsResponse)(nil), // 2: xray.app.stats.command.GetStatsResponse
  565. (*QueryStatsRequest)(nil), // 3: xray.app.stats.command.QueryStatsRequest
  566. (*QueryStatsResponse)(nil), // 4: xray.app.stats.command.QueryStatsResponse
  567. (*SysStatsRequest)(nil), // 5: xray.app.stats.command.SysStatsRequest
  568. (*SysStatsResponse)(nil), // 6: xray.app.stats.command.SysStatsResponse
  569. (*GetStatsOnlineIpListResponse)(nil), // 7: xray.app.stats.command.GetStatsOnlineIpListResponse
  570. (*GetAllOnlineUsersRequest)(nil), // 8: xray.app.stats.command.GetAllOnlineUsersRequest
  571. (*GetAllOnlineUsersResponse)(nil), // 9: xray.app.stats.command.GetAllOnlineUsersResponse
  572. (*Config)(nil), // 10: xray.app.stats.command.Config
  573. nil, // 11: xray.app.stats.command.GetStatsOnlineIpListResponse.IpsEntry
  574. }
  575. var file_command_proto_depIdxs = []int32{
  576. 1, // 0: xray.app.stats.command.GetStatsResponse.stat:type_name -> xray.app.stats.command.Stat
  577. 1, // 1: xray.app.stats.command.QueryStatsResponse.stat:type_name -> xray.app.stats.command.Stat
  578. 11, // 2: xray.app.stats.command.GetStatsOnlineIpListResponse.ips:type_name -> xray.app.stats.command.GetStatsOnlineIpListResponse.IpsEntry
  579. 0, // 3: xray.app.stats.command.StatsService.GetStats:input_type -> xray.app.stats.command.GetStatsRequest
  580. 0, // 4: xray.app.stats.command.StatsService.GetStatsOnline:input_type -> xray.app.stats.command.GetStatsRequest
  581. 3, // 5: xray.app.stats.command.StatsService.QueryStats:input_type -> xray.app.stats.command.QueryStatsRequest
  582. 5, // 6: xray.app.stats.command.StatsService.GetSysStats:input_type -> xray.app.stats.command.SysStatsRequest
  583. 0, // 7: xray.app.stats.command.StatsService.GetStatsOnlineIpList:input_type -> xray.app.stats.command.GetStatsRequest
  584. 8, // 8: xray.app.stats.command.StatsService.GetAllOnlineUsers:input_type -> xray.app.stats.command.GetAllOnlineUsersRequest
  585. 2, // 9: xray.app.stats.command.StatsService.GetStats:output_type -> xray.app.stats.command.GetStatsResponse
  586. 2, // 10: xray.app.stats.command.StatsService.GetStatsOnline:output_type -> xray.app.stats.command.GetStatsResponse
  587. 4, // 11: xray.app.stats.command.StatsService.QueryStats:output_type -> xray.app.stats.command.QueryStatsResponse
  588. 6, // 12: xray.app.stats.command.StatsService.GetSysStats:output_type -> xray.app.stats.command.SysStatsResponse
  589. 7, // 13: xray.app.stats.command.StatsService.GetStatsOnlineIpList:output_type -> xray.app.stats.command.GetStatsOnlineIpListResponse
  590. 9, // 14: xray.app.stats.command.StatsService.GetAllOnlineUsers:output_type -> xray.app.stats.command.GetAllOnlineUsersResponse
  591. 9, // [9:15] is the sub-list for method output_type
  592. 3, // [3:9] is the sub-list for method input_type
  593. 3, // [3:3] is the sub-list for extension type_name
  594. 3, // [3:3] is the sub-list for extension extendee
  595. 0, // [0:3] is the sub-list for field type_name
  596. }
  597. func init() { file_command_proto_init() }
  598. func file_command_proto_init() {
  599. if File_command_proto != nil {
  600. return
  601. }
  602. type x struct{}
  603. out := protoimpl.TypeBuilder{
  604. File: protoimpl.DescBuilder{
  605. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  606. RawDescriptor: unsafe.Slice(unsafe.StringData(file_command_proto_rawDesc), len(file_command_proto_rawDesc)),
  607. NumEnums: 0,
  608. NumMessages: 12,
  609. NumExtensions: 0,
  610. NumServices: 1,
  611. },
  612. GoTypes: file_command_proto_goTypes,
  613. DependencyIndexes: file_command_proto_depIdxs,
  614. MessageInfos: file_command_proto_msgTypes,
  615. }.Build()
  616. File_command_proto = out.File
  617. file_command_proto_goTypes = nil
  618. file_command_proto_depIdxs = nil
  619. }