command.pb.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609
  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 Config struct {
  358. state protoimpl.MessageState
  359. sizeCache protoimpl.SizeCache
  360. unknownFields protoimpl.UnknownFields
  361. }
  362. func (x *Config) Reset() {
  363. *x = Config{}
  364. mi := &file_app_stats_command_command_proto_msgTypes[7]
  365. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  366. ms.StoreMessageInfo(mi)
  367. }
  368. func (x *Config) String() string {
  369. return protoimpl.X.MessageStringOf(x)
  370. }
  371. func (*Config) ProtoMessage() {}
  372. func (x *Config) ProtoReflect() protoreflect.Message {
  373. mi := &file_app_stats_command_command_proto_msgTypes[7]
  374. if x != nil {
  375. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  376. if ms.LoadMessageInfo() == nil {
  377. ms.StoreMessageInfo(mi)
  378. }
  379. return ms
  380. }
  381. return mi.MessageOf(x)
  382. }
  383. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  384. func (*Config) Descriptor() ([]byte, []int) {
  385. return file_app_stats_command_command_proto_rawDescGZIP(), []int{7}
  386. }
  387. var File_app_stats_command_command_proto protoreflect.FileDescriptor
  388. var file_app_stats_command_command_proto_rawDesc = []byte{
  389. 0x0a, 0x1f, 0x61, 0x70, 0x70, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
  390. 0x61, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  391. 0x6f, 0x12, 0x16, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74,
  392. 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x3b, 0x0a, 0x0f, 0x47, 0x65, 0x74,
  393. 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04,
  394. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  395. 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
  396. 0x05, 0x72, 0x65, 0x73, 0x65, 0x74, 0x22, 0x30, 0x0a, 0x04, 0x53, 0x74, 0x61, 0x74, 0x12, 0x12,
  397. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  398. 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  399. 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x44, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53,
  400. 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04,
  401. 0x73, 0x74, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x78, 0x72, 0x61,
  402. 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  403. 0x61, 0x6e, 0x64, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x04, 0x73, 0x74, 0x61, 0x74, 0x22, 0x43,
  404. 0x0a, 0x11, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
  405. 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x01,
  406. 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x14, 0x0a,
  407. 0x05, 0x72, 0x65, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65,
  408. 0x73, 0x65, 0x74, 0x22, 0x46, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74,
  409. 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x73, 0x74, 0x61,
  410. 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61,
  411. 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
  412. 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x04, 0x73, 0x74, 0x61, 0x74, 0x22, 0x11, 0x0a, 0x0f, 0x53,
  413. 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa2,
  414. 0x02, 0x0a, 0x10, 0x53, 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
  415. 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x4e, 0x75, 0x6d, 0x47, 0x6f, 0x72, 0x6f, 0x75, 0x74,
  416. 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x4e, 0x75, 0x6d, 0x47, 0x6f,
  417. 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x4e, 0x75, 0x6d, 0x47, 0x43,
  418. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x4e, 0x75, 0x6d, 0x47, 0x43, 0x12, 0x14, 0x0a,
  419. 0x05, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x41, 0x6c,
  420. 0x6c, 0x6f, 0x63, 0x12, 0x1e, 0x0a, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f,
  421. 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c,
  422. 0x6c, 0x6f, 0x63, 0x12, 0x10, 0x0a, 0x03, 0x53, 0x79, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04,
  423. 0x52, 0x03, 0x53, 0x79, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x73,
  424. 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x4d, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x73, 0x12,
  425. 0x14, 0x0a, 0x05, 0x46, 0x72, 0x65, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05,
  426. 0x46, 0x72, 0x65, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x4c, 0x69, 0x76, 0x65, 0x4f, 0x62, 0x6a,
  427. 0x65, 0x63, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x4c, 0x69, 0x76, 0x65,
  428. 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x50, 0x61, 0x75, 0x73, 0x65,
  429. 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x50,
  430. 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x55,
  431. 0x70, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x70, 0x74,
  432. 0x69, 0x6d, 0x65, 0x22, 0x08, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0xa1, 0x03,
  433. 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5f,
  434. 0x0a, 0x08, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x27, 0x2e, 0x78, 0x72, 0x61,
  435. 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  436. 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
  437. 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73,
  438. 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74,
  439. 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
  440. 0x65, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e,
  441. 0x65, 0x12, 0x27, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61,
  442. 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74,
  443. 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x78, 0x72, 0x61,
  444. 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
  445. 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,
  446. 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53,
  447. 0x74, 0x61, 0x74, 0x73, 0x12, 0x29, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e,
  448. 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x51, 0x75,
  449. 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  450. 0x2a, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73,
  451. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74,
  452. 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x62, 0x0a,
  453. 0x0b, 0x47, 0x65, 0x74, 0x53, 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x27, 0x2e, 0x78,
  454. 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f,
  455. 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x53, 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65,
  456. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70,
  457. 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x53,
  458. 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
  459. 0x00, 0x42, 0x64, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70,
  460. 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x50,
  461. 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74,
  462. 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x70,
  463. 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0xaa, 0x02,
  464. 0x16, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e,
  465. 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  466. }
  467. var (
  468. file_app_stats_command_command_proto_rawDescOnce sync.Once
  469. file_app_stats_command_command_proto_rawDescData = file_app_stats_command_command_proto_rawDesc
  470. )
  471. func file_app_stats_command_command_proto_rawDescGZIP() []byte {
  472. file_app_stats_command_command_proto_rawDescOnce.Do(func() {
  473. file_app_stats_command_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_stats_command_command_proto_rawDescData)
  474. })
  475. return file_app_stats_command_command_proto_rawDescData
  476. }
  477. var file_app_stats_command_command_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
  478. var file_app_stats_command_command_proto_goTypes = []any{
  479. (*GetStatsRequest)(nil), // 0: xray.app.stats.command.GetStatsRequest
  480. (*Stat)(nil), // 1: xray.app.stats.command.Stat
  481. (*GetStatsResponse)(nil), // 2: xray.app.stats.command.GetStatsResponse
  482. (*QueryStatsRequest)(nil), // 3: xray.app.stats.command.QueryStatsRequest
  483. (*QueryStatsResponse)(nil), // 4: xray.app.stats.command.QueryStatsResponse
  484. (*SysStatsRequest)(nil), // 5: xray.app.stats.command.SysStatsRequest
  485. (*SysStatsResponse)(nil), // 6: xray.app.stats.command.SysStatsResponse
  486. (*Config)(nil), // 7: xray.app.stats.command.Config
  487. }
  488. var file_app_stats_command_command_proto_depIdxs = []int32{
  489. 1, // 0: xray.app.stats.command.GetStatsResponse.stat:type_name -> xray.app.stats.command.Stat
  490. 1, // 1: xray.app.stats.command.QueryStatsResponse.stat:type_name -> xray.app.stats.command.Stat
  491. 0, // 2: xray.app.stats.command.StatsService.GetStats:input_type -> xray.app.stats.command.GetStatsRequest
  492. 0, // 3: xray.app.stats.command.StatsService.GetStatsOnline:input_type -> xray.app.stats.command.GetStatsRequest
  493. 3, // 4: xray.app.stats.command.StatsService.QueryStats:input_type -> xray.app.stats.command.QueryStatsRequest
  494. 5, // 5: xray.app.stats.command.StatsService.GetSysStats:input_type -> xray.app.stats.command.SysStatsRequest
  495. 2, // 6: xray.app.stats.command.StatsService.GetStats:output_type -> xray.app.stats.command.GetStatsResponse
  496. 2, // 7: xray.app.stats.command.StatsService.GetStatsOnline:output_type -> xray.app.stats.command.GetStatsResponse
  497. 4, // 8: xray.app.stats.command.StatsService.QueryStats:output_type -> xray.app.stats.command.QueryStatsResponse
  498. 6, // 9: xray.app.stats.command.StatsService.GetSysStats:output_type -> xray.app.stats.command.SysStatsResponse
  499. 6, // [6:10] is the sub-list for method output_type
  500. 2, // [2:6] is the sub-list for method input_type
  501. 2, // [2:2] is the sub-list for extension type_name
  502. 2, // [2:2] is the sub-list for extension extendee
  503. 0, // [0:2] is the sub-list for field type_name
  504. }
  505. func init() { file_app_stats_command_command_proto_init() }
  506. func file_app_stats_command_command_proto_init() {
  507. if File_app_stats_command_command_proto != nil {
  508. return
  509. }
  510. type x struct{}
  511. out := protoimpl.TypeBuilder{
  512. File: protoimpl.DescBuilder{
  513. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  514. RawDescriptor: file_app_stats_command_command_proto_rawDesc,
  515. NumEnums: 0,
  516. NumMessages: 8,
  517. NumExtensions: 0,
  518. NumServices: 1,
  519. },
  520. GoTypes: file_app_stats_command_command_proto_goTypes,
  521. DependencyIndexes: file_app_stats_command_command_proto_depIdxs,
  522. MessageInfos: file_app_stats_command_command_proto_msgTypes,
  523. }.Build()
  524. File_app_stats_command_command_proto = out.File
  525. file_app_stats_command_command_proto_rawDesc = nil
  526. file_app_stats_command_command_proto_goTypes = nil
  527. file_app_stats_command_command_proto_depIdxs = nil
  528. }