command.pb.go 24 KB

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