1
0

command.pb.go 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.1
  4. // protoc v5.28.2
  5. // source: app/stats/command/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. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type GetStatsRequest struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. // Name of the stat counter.
  24. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  25. // Whether or not to reset the counter to fetching its value.
  26. Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
  27. }
  28. func (x *GetStatsRequest) Reset() {
  29. *x = GetStatsRequest{}
  30. mi := &file_app_stats_command_command_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. func (x *GetStatsRequest) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*GetStatsRequest) ProtoMessage() {}
  38. func (x *GetStatsRequest) ProtoReflect() protoreflect.Message {
  39. mi := &file_app_stats_command_command_proto_msgTypes[0]
  40. if x != nil {
  41. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  42. if ms.LoadMessageInfo() == nil {
  43. ms.StoreMessageInfo(mi)
  44. }
  45. return ms
  46. }
  47. return mi.MessageOf(x)
  48. }
  49. // Deprecated: Use GetStatsRequest.ProtoReflect.Descriptor instead.
  50. func (*GetStatsRequest) Descriptor() ([]byte, []int) {
  51. return file_app_stats_command_command_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *GetStatsRequest) GetName() string {
  54. if x != nil {
  55. return x.Name
  56. }
  57. return ""
  58. }
  59. func (x *GetStatsRequest) GetReset_() bool {
  60. if x != nil {
  61. return x.Reset_
  62. }
  63. return false
  64. }
  65. type Stat struct {
  66. state protoimpl.MessageState
  67. sizeCache protoimpl.SizeCache
  68. unknownFields protoimpl.UnknownFields
  69. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  70. Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
  71. }
  72. func (x *Stat) Reset() {
  73. *x = Stat{}
  74. mi := &file_app_stats_command_command_proto_msgTypes[1]
  75. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  76. ms.StoreMessageInfo(mi)
  77. }
  78. func (x *Stat) String() string {
  79. return protoimpl.X.MessageStringOf(x)
  80. }
  81. func (*Stat) ProtoMessage() {}
  82. func (x *Stat) ProtoReflect() protoreflect.Message {
  83. mi := &file_app_stats_command_command_proto_msgTypes[1]
  84. if x != nil {
  85. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  86. if ms.LoadMessageInfo() == nil {
  87. ms.StoreMessageInfo(mi)
  88. }
  89. return ms
  90. }
  91. return mi.MessageOf(x)
  92. }
  93. // Deprecated: Use Stat.ProtoReflect.Descriptor instead.
  94. func (*Stat) Descriptor() ([]byte, []int) {
  95. return file_app_stats_command_command_proto_rawDescGZIP(), []int{1}
  96. }
  97. func (x *Stat) GetName() string {
  98. if x != nil {
  99. return x.Name
  100. }
  101. return ""
  102. }
  103. func (x *Stat) GetValue() int64 {
  104. if x != nil {
  105. return x.Value
  106. }
  107. return 0
  108. }
  109. type GetStatsResponse struct {
  110. state protoimpl.MessageState
  111. sizeCache protoimpl.SizeCache
  112. unknownFields protoimpl.UnknownFields
  113. Stat *Stat `protobuf:"bytes,1,opt,name=stat,proto3" json:"stat,omitempty"`
  114. }
  115. func (x *GetStatsResponse) Reset() {
  116. *x = GetStatsResponse{}
  117. mi := &file_app_stats_command_command_proto_msgTypes[2]
  118. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  119. ms.StoreMessageInfo(mi)
  120. }
  121. func (x *GetStatsResponse) String() string {
  122. return protoimpl.X.MessageStringOf(x)
  123. }
  124. func (*GetStatsResponse) ProtoMessage() {}
  125. func (x *GetStatsResponse) ProtoReflect() protoreflect.Message {
  126. mi := &file_app_stats_command_command_proto_msgTypes[2]
  127. if x != nil {
  128. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  129. if ms.LoadMessageInfo() == nil {
  130. ms.StoreMessageInfo(mi)
  131. }
  132. return ms
  133. }
  134. return mi.MessageOf(x)
  135. }
  136. // Deprecated: Use GetStatsResponse.ProtoReflect.Descriptor instead.
  137. func (*GetStatsResponse) Descriptor() ([]byte, []int) {
  138. return file_app_stats_command_command_proto_rawDescGZIP(), []int{2}
  139. }
  140. func (x *GetStatsResponse) GetStat() *Stat {
  141. if x != nil {
  142. return x.Stat
  143. }
  144. return nil
  145. }
  146. type QueryStatsRequest struct {
  147. state protoimpl.MessageState
  148. sizeCache protoimpl.SizeCache
  149. unknownFields protoimpl.UnknownFields
  150. Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
  151. Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
  152. }
  153. func (x *QueryStatsRequest) Reset() {
  154. *x = QueryStatsRequest{}
  155. mi := &file_app_stats_command_command_proto_msgTypes[3]
  156. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  157. ms.StoreMessageInfo(mi)
  158. }
  159. func (x *QueryStatsRequest) String() string {
  160. return protoimpl.X.MessageStringOf(x)
  161. }
  162. func (*QueryStatsRequest) ProtoMessage() {}
  163. func (x *QueryStatsRequest) ProtoReflect() protoreflect.Message {
  164. mi := &file_app_stats_command_command_proto_msgTypes[3]
  165. if x != nil {
  166. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  167. if ms.LoadMessageInfo() == nil {
  168. ms.StoreMessageInfo(mi)
  169. }
  170. return ms
  171. }
  172. return mi.MessageOf(x)
  173. }
  174. // Deprecated: Use QueryStatsRequest.ProtoReflect.Descriptor instead.
  175. func (*QueryStatsRequest) Descriptor() ([]byte, []int) {
  176. return file_app_stats_command_command_proto_rawDescGZIP(), []int{3}
  177. }
  178. func (x *QueryStatsRequest) GetPattern() string {
  179. if x != nil {
  180. return x.Pattern
  181. }
  182. return ""
  183. }
  184. func (x *QueryStatsRequest) GetReset_() bool {
  185. if x != nil {
  186. return x.Reset_
  187. }
  188. return false
  189. }
  190. type QueryStatsResponse struct {
  191. state protoimpl.MessageState
  192. sizeCache protoimpl.SizeCache
  193. unknownFields protoimpl.UnknownFields
  194. Stat []*Stat `protobuf:"bytes,1,rep,name=stat,proto3" json:"stat,omitempty"`
  195. }
  196. func (x *QueryStatsResponse) Reset() {
  197. *x = QueryStatsResponse{}
  198. mi := &file_app_stats_command_command_proto_msgTypes[4]
  199. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  200. ms.StoreMessageInfo(mi)
  201. }
  202. func (x *QueryStatsResponse) String() string {
  203. return protoimpl.X.MessageStringOf(x)
  204. }
  205. func (*QueryStatsResponse) ProtoMessage() {}
  206. func (x *QueryStatsResponse) ProtoReflect() protoreflect.Message {
  207. mi := &file_app_stats_command_command_proto_msgTypes[4]
  208. if x != nil {
  209. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  210. if ms.LoadMessageInfo() == nil {
  211. ms.StoreMessageInfo(mi)
  212. }
  213. return ms
  214. }
  215. return mi.MessageOf(x)
  216. }
  217. // Deprecated: Use QueryStatsResponse.ProtoReflect.Descriptor instead.
  218. func (*QueryStatsResponse) Descriptor() ([]byte, []int) {
  219. return file_app_stats_command_command_proto_rawDescGZIP(), []int{4}
  220. }
  221. func (x *QueryStatsResponse) GetStat() []*Stat {
  222. if x != nil {
  223. return x.Stat
  224. }
  225. return nil
  226. }
  227. type SysStatsRequest struct {
  228. state protoimpl.MessageState
  229. sizeCache protoimpl.SizeCache
  230. unknownFields protoimpl.UnknownFields
  231. }
  232. func (x *SysStatsRequest) Reset() {
  233. *x = SysStatsRequest{}
  234. mi := &file_app_stats_command_command_proto_msgTypes[5]
  235. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  236. ms.StoreMessageInfo(mi)
  237. }
  238. func (x *SysStatsRequest) String() string {
  239. return protoimpl.X.MessageStringOf(x)
  240. }
  241. func (*SysStatsRequest) ProtoMessage() {}
  242. func (x *SysStatsRequest) ProtoReflect() protoreflect.Message {
  243. mi := &file_app_stats_command_command_proto_msgTypes[5]
  244. if x != nil {
  245. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  246. if ms.LoadMessageInfo() == nil {
  247. ms.StoreMessageInfo(mi)
  248. }
  249. return ms
  250. }
  251. return mi.MessageOf(x)
  252. }
  253. // Deprecated: Use SysStatsRequest.ProtoReflect.Descriptor instead.
  254. func (*SysStatsRequest) Descriptor() ([]byte, []int) {
  255. return file_app_stats_command_command_proto_rawDescGZIP(), []int{5}
  256. }
  257. type SysStatsResponse struct {
  258. state protoimpl.MessageState
  259. sizeCache protoimpl.SizeCache
  260. unknownFields protoimpl.UnknownFields
  261. NumGoroutine uint32 `protobuf:"varint,1,opt,name=NumGoroutine,proto3" json:"NumGoroutine,omitempty"`
  262. NumGC uint32 `protobuf:"varint,2,opt,name=NumGC,proto3" json:"NumGC,omitempty"`
  263. Alloc uint64 `protobuf:"varint,3,opt,name=Alloc,proto3" json:"Alloc,omitempty"`
  264. TotalAlloc uint64 `protobuf:"varint,4,opt,name=TotalAlloc,proto3" json:"TotalAlloc,omitempty"`
  265. Sys uint64 `protobuf:"varint,5,opt,name=Sys,proto3" json:"Sys,omitempty"`
  266. Mallocs uint64 `protobuf:"varint,6,opt,name=Mallocs,proto3" json:"Mallocs,omitempty"`
  267. Frees uint64 `protobuf:"varint,7,opt,name=Frees,proto3" json:"Frees,omitempty"`
  268. LiveObjects uint64 `protobuf:"varint,8,opt,name=LiveObjects,proto3" json:"LiveObjects,omitempty"`
  269. PauseTotalNs uint64 `protobuf:"varint,9,opt,name=PauseTotalNs,proto3" json:"PauseTotalNs,omitempty"`
  270. Uptime uint32 `protobuf:"varint,10,opt,name=Uptime,proto3" json:"Uptime,omitempty"`
  271. }
  272. func (x *SysStatsResponse) Reset() {
  273. *x = SysStatsResponse{}
  274. mi := &file_app_stats_command_command_proto_msgTypes[6]
  275. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  276. ms.StoreMessageInfo(mi)
  277. }
  278. func (x *SysStatsResponse) String() string {
  279. return protoimpl.X.MessageStringOf(x)
  280. }
  281. func (*SysStatsResponse) ProtoMessage() {}
  282. func (x *SysStatsResponse) ProtoReflect() protoreflect.Message {
  283. mi := &file_app_stats_command_command_proto_msgTypes[6]
  284. if x != nil {
  285. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  286. if ms.LoadMessageInfo() == nil {
  287. ms.StoreMessageInfo(mi)
  288. }
  289. return ms
  290. }
  291. return mi.MessageOf(x)
  292. }
  293. // Deprecated: Use SysStatsResponse.ProtoReflect.Descriptor instead.
  294. func (*SysStatsResponse) Descriptor() ([]byte, []int) {
  295. return file_app_stats_command_command_proto_rawDescGZIP(), []int{6}
  296. }
  297. func (x *SysStatsResponse) GetNumGoroutine() uint32 {
  298. if x != nil {
  299. return x.NumGoroutine
  300. }
  301. return 0
  302. }
  303. func (x *SysStatsResponse) GetNumGC() uint32 {
  304. if x != nil {
  305. return x.NumGC
  306. }
  307. return 0
  308. }
  309. func (x *SysStatsResponse) GetAlloc() uint64 {
  310. if x != nil {
  311. return x.Alloc
  312. }
  313. return 0
  314. }
  315. func (x *SysStatsResponse) GetTotalAlloc() uint64 {
  316. if x != nil {
  317. return x.TotalAlloc
  318. }
  319. return 0
  320. }
  321. func (x *SysStatsResponse) GetSys() uint64 {
  322. if x != nil {
  323. return x.Sys
  324. }
  325. return 0
  326. }
  327. func (x *SysStatsResponse) GetMallocs() uint64 {
  328. if x != nil {
  329. return x.Mallocs
  330. }
  331. return 0
  332. }
  333. func (x *SysStatsResponse) GetFrees() uint64 {
  334. if x != nil {
  335. return x.Frees
  336. }
  337. return 0
  338. }
  339. func (x *SysStatsResponse) GetLiveObjects() uint64 {
  340. if x != nil {
  341. return x.LiveObjects
  342. }
  343. return 0
  344. }
  345. func (x *SysStatsResponse) GetPauseTotalNs() uint64 {
  346. if x != nil {
  347. return x.PauseTotalNs
  348. }
  349. return 0
  350. }
  351. func (x *SysStatsResponse) GetUptime() uint32 {
  352. if x != nil {
  353. return x.Uptime
  354. }
  355. return 0
  356. }
  357. type GetStatsOnlineIpListResponse struct {
  358. state protoimpl.MessageState
  359. sizeCache protoimpl.SizeCache
  360. unknownFields protoimpl.UnknownFields
  361. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  362. Ips map[string]int64 `protobuf:"bytes,2,rep,name=ips,proto3" json:"ips,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  363. }
  364. func (x *GetStatsOnlineIpListResponse) Reset() {
  365. *x = GetStatsOnlineIpListResponse{}
  366. mi := &file_app_stats_command_command_proto_msgTypes[7]
  367. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  368. ms.StoreMessageInfo(mi)
  369. }
  370. func (x *GetStatsOnlineIpListResponse) String() string {
  371. return protoimpl.X.MessageStringOf(x)
  372. }
  373. func (*GetStatsOnlineIpListResponse) ProtoMessage() {}
  374. func (x *GetStatsOnlineIpListResponse) ProtoReflect() protoreflect.Message {
  375. mi := &file_app_stats_command_command_proto_msgTypes[7]
  376. if x != nil {
  377. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  378. if ms.LoadMessageInfo() == nil {
  379. ms.StoreMessageInfo(mi)
  380. }
  381. return ms
  382. }
  383. return mi.MessageOf(x)
  384. }
  385. // Deprecated: Use GetStatsOnlineIpListResponse.ProtoReflect.Descriptor instead.
  386. func (*GetStatsOnlineIpListResponse) Descriptor() ([]byte, []int) {
  387. return file_app_stats_command_command_proto_rawDescGZIP(), []int{7}
  388. }
  389. func (x *GetStatsOnlineIpListResponse) GetName() string {
  390. if x != nil {
  391. return x.Name
  392. }
  393. return ""
  394. }
  395. func (x *GetStatsOnlineIpListResponse) GetIps() map[string]int64 {
  396. if x != nil {
  397. return x.Ips
  398. }
  399. return nil
  400. }
  401. type Config struct {
  402. state protoimpl.MessageState
  403. sizeCache protoimpl.SizeCache
  404. unknownFields protoimpl.UnknownFields
  405. }
  406. func (x *Config) Reset() {
  407. *x = Config{}
  408. mi := &file_app_stats_command_command_proto_msgTypes[8]
  409. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  410. ms.StoreMessageInfo(mi)
  411. }
  412. func (x *Config) String() string {
  413. return protoimpl.X.MessageStringOf(x)
  414. }
  415. func (*Config) ProtoMessage() {}
  416. func (x *Config) ProtoReflect() protoreflect.Message {
  417. mi := &file_app_stats_command_command_proto_msgTypes[8]
  418. if x != nil {
  419. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  420. if ms.LoadMessageInfo() == nil {
  421. ms.StoreMessageInfo(mi)
  422. }
  423. return ms
  424. }
  425. return mi.MessageOf(x)
  426. }
  427. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  428. func (*Config) Descriptor() ([]byte, []int) {
  429. return file_app_stats_command_command_proto_rawDescGZIP(), []int{8}
  430. }
  431. var File_app_stats_command_command_proto protoreflect.FileDescriptor
  432. var file_app_stats_command_command_proto_rawDesc = []byte{
  433. 0x0a, 0x1f, 0x61, 0x70, 0x70, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
  434. 0x61, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  435. 0x6f, 0x12, 0x16, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74,
  436. 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x3b, 0x0a, 0x0f, 0x47, 0x65, 0x74,
  437. 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04,
  438. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  439. 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
  440. 0x05, 0x72, 0x65, 0x73, 0x65, 0x74, 0x22, 0x30, 0x0a, 0x04, 0x53, 0x74, 0x61, 0x74, 0x12, 0x12,
  441. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  442. 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  443. 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x44, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53,
  444. 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04,
  445. 0x73, 0x74, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x78, 0x72, 0x61,
  446. 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  447. 0x61, 0x6e, 0x64, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x04, 0x73, 0x74, 0x61, 0x74, 0x22, 0x43,
  448. 0x0a, 0x11, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
  449. 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x01,
  450. 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x14, 0x0a,
  451. 0x05, 0x72, 0x65, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65,
  452. 0x73, 0x65, 0x74, 0x22, 0x46, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74,
  453. 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x73, 0x74, 0x61,
  454. 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61,
  455. 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
  456. 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x04, 0x73, 0x74, 0x61, 0x74, 0x22, 0x11, 0x0a, 0x0f, 0x53,
  457. 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa2,
  458. 0x02, 0x0a, 0x10, 0x53, 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
  459. 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x4e, 0x75, 0x6d, 0x47, 0x6f, 0x72, 0x6f, 0x75, 0x74,
  460. 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x4e, 0x75, 0x6d, 0x47, 0x6f,
  461. 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x4e, 0x75, 0x6d, 0x47, 0x43,
  462. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x4e, 0x75, 0x6d, 0x47, 0x43, 0x12, 0x14, 0x0a,
  463. 0x05, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x41, 0x6c,
  464. 0x6c, 0x6f, 0x63, 0x12, 0x1e, 0x0a, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f,
  465. 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c,
  466. 0x6c, 0x6f, 0x63, 0x12, 0x10, 0x0a, 0x03, 0x53, 0x79, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04,
  467. 0x52, 0x03, 0x53, 0x79, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x73,
  468. 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x4d, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x73, 0x12,
  469. 0x14, 0x0a, 0x05, 0x46, 0x72, 0x65, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05,
  470. 0x46, 0x72, 0x65, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x4c, 0x69, 0x76, 0x65, 0x4f, 0x62, 0x6a,
  471. 0x65, 0x63, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x4c, 0x69, 0x76, 0x65,
  472. 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x50, 0x61, 0x75, 0x73, 0x65,
  473. 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x50,
  474. 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x55,
  475. 0x70, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x70, 0x74,
  476. 0x69, 0x6d, 0x65, 0x22, 0xbb, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73,
  477. 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70,
  478. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
  479. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x03, 0x69, 0x70, 0x73, 0x18,
  480. 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70,
  481. 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47,
  482. 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x70, 0x4c,
  483. 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x70, 0x73, 0x45,
  484. 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x69, 0x70, 0x73, 0x1a, 0x36, 0x0a, 0x08, 0x49, 0x70, 0x73,
  485. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
  486. 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  487. 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
  488. 0x01, 0x22, 0x08, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0x9a, 0x04, 0x0a, 0x0c,
  489. 0x53, 0x74, 0x61, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5f, 0x0a, 0x08,
  490. 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x27, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e,
  491. 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
  492. 0x64, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  493. 0x74, 0x1a, 0x28, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61,
  494. 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74,
  495. 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x65, 0x0a,
  496. 0x0e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x12,
  497. 0x27, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73,
  498. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74,
  499. 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e,
  500. 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
  501. 0x64, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  502. 0x73, 0x65, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61,
  503. 0x74, 0x73, 0x12, 0x29, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74,
  504. 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x51, 0x75, 0x65, 0x72,
  505. 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e,
  506. 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63,
  507. 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74,
  508. 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x0b, 0x47,
  509. 0x65, 0x74, 0x53, 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x27, 0x2e, 0x78, 0x72, 0x61,
  510. 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  511. 0x61, 0x6e, 0x64, 0x2e, 0x53, 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
  512. 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73,
  513. 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x53, 0x79, 0x73,
  514. 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
  515. 0x77, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e,
  516. 0x65, 0x49, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x27, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61,
  517. 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
  518. 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  519. 0x1a, 0x34, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74,
  520. 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61,
  521. 0x74, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x49, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
  522. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x64, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e,
  523. 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63,
  524. 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
  525. 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63,
  526. 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2f, 0x63, 0x6f,
  527. 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0xaa, 0x02, 0x16, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x41, 0x70, 0x70,
  528. 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x62, 0x06,
  529. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  530. }
  531. var (
  532. file_app_stats_command_command_proto_rawDescOnce sync.Once
  533. file_app_stats_command_command_proto_rawDescData = file_app_stats_command_command_proto_rawDesc
  534. )
  535. func file_app_stats_command_command_proto_rawDescGZIP() []byte {
  536. file_app_stats_command_command_proto_rawDescOnce.Do(func() {
  537. file_app_stats_command_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_stats_command_command_proto_rawDescData)
  538. })
  539. return file_app_stats_command_command_proto_rawDescData
  540. }
  541. var file_app_stats_command_command_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  542. var file_app_stats_command_command_proto_goTypes = []any{
  543. (*GetStatsRequest)(nil), // 0: xray.app.stats.command.GetStatsRequest
  544. (*Stat)(nil), // 1: xray.app.stats.command.Stat
  545. (*GetStatsResponse)(nil), // 2: xray.app.stats.command.GetStatsResponse
  546. (*QueryStatsRequest)(nil), // 3: xray.app.stats.command.QueryStatsRequest
  547. (*QueryStatsResponse)(nil), // 4: xray.app.stats.command.QueryStatsResponse
  548. (*SysStatsRequest)(nil), // 5: xray.app.stats.command.SysStatsRequest
  549. (*SysStatsResponse)(nil), // 6: xray.app.stats.command.SysStatsResponse
  550. (*GetStatsOnlineIpListResponse)(nil), // 7: xray.app.stats.command.GetStatsOnlineIpListResponse
  551. (*Config)(nil), // 8: xray.app.stats.command.Config
  552. nil, // 9: xray.app.stats.command.GetStatsOnlineIpListResponse.IpsEntry
  553. }
  554. var file_app_stats_command_command_proto_depIdxs = []int32{
  555. 1, // 0: xray.app.stats.command.GetStatsResponse.stat:type_name -> xray.app.stats.command.Stat
  556. 1, // 1: xray.app.stats.command.QueryStatsResponse.stat:type_name -> xray.app.stats.command.Stat
  557. 9, // 2: xray.app.stats.command.GetStatsOnlineIpListResponse.ips:type_name -> xray.app.stats.command.GetStatsOnlineIpListResponse.IpsEntry
  558. 0, // 3: xray.app.stats.command.StatsService.GetStats:input_type -> xray.app.stats.command.GetStatsRequest
  559. 0, // 4: xray.app.stats.command.StatsService.GetStatsOnline:input_type -> xray.app.stats.command.GetStatsRequest
  560. 3, // 5: xray.app.stats.command.StatsService.QueryStats:input_type -> xray.app.stats.command.QueryStatsRequest
  561. 5, // 6: xray.app.stats.command.StatsService.GetSysStats:input_type -> xray.app.stats.command.SysStatsRequest
  562. 0, // 7: xray.app.stats.command.StatsService.GetStatsOnlineIpList:input_type -> xray.app.stats.command.GetStatsRequest
  563. 2, // 8: xray.app.stats.command.StatsService.GetStats:output_type -> xray.app.stats.command.GetStatsResponse
  564. 2, // 9: xray.app.stats.command.StatsService.GetStatsOnline:output_type -> xray.app.stats.command.GetStatsResponse
  565. 4, // 10: xray.app.stats.command.StatsService.QueryStats:output_type -> xray.app.stats.command.QueryStatsResponse
  566. 6, // 11: xray.app.stats.command.StatsService.GetSysStats:output_type -> xray.app.stats.command.SysStatsResponse
  567. 7, // 12: xray.app.stats.command.StatsService.GetStatsOnlineIpList:output_type -> xray.app.stats.command.GetStatsOnlineIpListResponse
  568. 8, // [8:13] is the sub-list for method output_type
  569. 3, // [3:8] is the sub-list for method input_type
  570. 3, // [3:3] is the sub-list for extension type_name
  571. 3, // [3:3] is the sub-list for extension extendee
  572. 0, // [0:3] is the sub-list for field type_name
  573. }
  574. func init() { file_app_stats_command_command_proto_init() }
  575. func file_app_stats_command_command_proto_init() {
  576. if File_app_stats_command_command_proto != nil {
  577. return
  578. }
  579. type x struct{}
  580. out := protoimpl.TypeBuilder{
  581. File: protoimpl.DescBuilder{
  582. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  583. RawDescriptor: file_app_stats_command_command_proto_rawDesc,
  584. NumEnums: 0,
  585. NumMessages: 10,
  586. NumExtensions: 0,
  587. NumServices: 1,
  588. },
  589. GoTypes: file_app_stats_command_command_proto_goTypes,
  590. DependencyIndexes: file_app_stats_command_command_proto_depIdxs,
  591. MessageInfos: file_app_stats_command_command_proto_msgTypes,
  592. }.Build()
  593. File_app_stats_command_command_proto = out.File
  594. file_app_stats_command_command_proto_rawDesc = nil
  595. file_app_stats_command_command_proto_goTypes = nil
  596. file_app_stats_command_command_proto_depIdxs = nil
  597. }