command.pb.go 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.27.1
  4. // protoc v3.17.3
  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, 0x1c, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
  408. 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22,
  409. 0x3b, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
  410. 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  411. 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x73, 0x65, 0x74, 0x18,
  412. 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, 0x73, 0x65, 0x74, 0x22, 0x30, 0x0a, 0x04,
  413. 0x53, 0x74, 0x61, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
  414. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
  415. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x4a,
  416. 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  417. 0x73, 0x65, 0x12, 0x36, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
  418. 0x32, 0x22, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
  419. 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e,
  420. 0x53, 0x74, 0x61, 0x74, 0x52, 0x04, 0x73, 0x74, 0x61, 0x74, 0x22, 0x43, 0x0a, 0x11, 0x51, 0x75,
  421. 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  422. 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  423. 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x73,
  424. 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, 0x73, 0x65, 0x74, 0x22,
  425. 0x4c, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73,
  426. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x74, 0x18, 0x01, 0x20,
  427. 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65,
  428. 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
  429. 0x6e, 0x64, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x04, 0x73, 0x74, 0x61, 0x74, 0x22, 0x11, 0x0a,
  430. 0x0f, 0x53, 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  431. 0x22, 0xa2, 0x02, 0x0a, 0x10, 0x53, 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73,
  432. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x4e, 0x75, 0x6d, 0x47, 0x6f, 0x72, 0x6f,
  433. 0x75, 0x74, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x4e, 0x75, 0x6d,
  434. 0x47, 0x6f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x4e, 0x75, 0x6d,
  435. 0x47, 0x43, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x4e, 0x75, 0x6d, 0x47, 0x43, 0x12,
  436. 0x14, 0x0a, 0x05, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05,
  437. 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x12, 0x1e, 0x0a, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c,
  438. 0x6c, 0x6f, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c,
  439. 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x12, 0x10, 0x0a, 0x03, 0x53, 0x79, 0x73, 0x18, 0x05, 0x20, 0x01,
  440. 0x28, 0x04, 0x52, 0x03, 0x53, 0x79, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x61, 0x6c, 0x6c, 0x6f,
  441. 0x63, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x4d, 0x61, 0x6c, 0x6c, 0x6f, 0x63,
  442. 0x73, 0x12, 0x14, 0x0a, 0x05, 0x46, 0x72, 0x65, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04,
  443. 0x52, 0x05, 0x46, 0x72, 0x65, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x4c, 0x69, 0x76, 0x65, 0x4f,
  444. 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x4c, 0x69,
  445. 0x76, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x50, 0x61, 0x75,
  446. 0x73, 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52,
  447. 0x0c, 0x50, 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x73, 0x12, 0x16, 0x0a,
  448. 0x06, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55,
  449. 0x70, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x08, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32,
  450. 0xde, 0x02, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  451. 0x12, 0x6b, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x2d, 0x2e, 0x76,
  452. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74,
  453. 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x53,
  454. 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x32,
  455. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61,
  456. 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74,
  457. 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x71, 0x0a,
  458. 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x2f, 0x2e, 0x76, 0x32,
  459. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61,
  460. 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79,
  461. 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76,
  462. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74,
  463. 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x51, 0x75, 0x65, 0x72,
  464. 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
  465. 0x12, 0x6e, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x53, 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12,
  466. 0x2d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70,
  467. 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x53,
  468. 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e,
  469. 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e,
  470. 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x53, 0x79,
  471. 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
  472. 0x42, 0x75, 0x0a, 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  473. 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
  474. 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
  475. 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63,
  476. 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73,
  477. 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0xaa, 0x02, 0x1c, 0x56, 0x32, 0x52, 0x61, 0x79,
  478. 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e,
  479. 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  480. }
  481. var (
  482. file_app_stats_command_command_proto_rawDescOnce sync.Once
  483. file_app_stats_command_command_proto_rawDescData = file_app_stats_command_command_proto_rawDesc
  484. )
  485. func file_app_stats_command_command_proto_rawDescGZIP() []byte {
  486. file_app_stats_command_command_proto_rawDescOnce.Do(func() {
  487. file_app_stats_command_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_stats_command_command_proto_rawDescData)
  488. })
  489. return file_app_stats_command_command_proto_rawDescData
  490. }
  491. var file_app_stats_command_command_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
  492. var file_app_stats_command_command_proto_goTypes = []interface{}{
  493. (*GetStatsRequest)(nil), // 0: v2ray.core.app.stats.command.GetStatsRequest
  494. (*Stat)(nil), // 1: v2ray.core.app.stats.command.Stat
  495. (*GetStatsResponse)(nil), // 2: v2ray.core.app.stats.command.GetStatsResponse
  496. (*QueryStatsRequest)(nil), // 3: v2ray.core.app.stats.command.QueryStatsRequest
  497. (*QueryStatsResponse)(nil), // 4: v2ray.core.app.stats.command.QueryStatsResponse
  498. (*SysStatsRequest)(nil), // 5: v2ray.core.app.stats.command.SysStatsRequest
  499. (*SysStatsResponse)(nil), // 6: v2ray.core.app.stats.command.SysStatsResponse
  500. (*Config)(nil), // 7: v2ray.core.app.stats.command.Config
  501. }
  502. var file_app_stats_command_command_proto_depIdxs = []int32{
  503. 1, // 0: v2ray.core.app.stats.command.GetStatsResponse.stat:type_name -> v2ray.core.app.stats.command.Stat
  504. 1, // 1: v2ray.core.app.stats.command.QueryStatsResponse.stat:type_name -> v2ray.core.app.stats.command.Stat
  505. 0, // 2: v2ray.core.app.stats.command.StatsService.GetStats:input_type -> v2ray.core.app.stats.command.GetStatsRequest
  506. 3, // 3: v2ray.core.app.stats.command.StatsService.QueryStats:input_type -> v2ray.core.app.stats.command.QueryStatsRequest
  507. 5, // 4: v2ray.core.app.stats.command.StatsService.GetSysStats:input_type -> v2ray.core.app.stats.command.SysStatsRequest
  508. 2, // 5: v2ray.core.app.stats.command.StatsService.GetStats:output_type -> v2ray.core.app.stats.command.GetStatsResponse
  509. 4, // 6: v2ray.core.app.stats.command.StatsService.QueryStats:output_type -> v2ray.core.app.stats.command.QueryStatsResponse
  510. 6, // 7: v2ray.core.app.stats.command.StatsService.GetSysStats:output_type -> v2ray.core.app.stats.command.SysStatsResponse
  511. 5, // [5:8] is the sub-list for method output_type
  512. 2, // [2:5] is the sub-list for method input_type
  513. 2, // [2:2] is the sub-list for extension type_name
  514. 2, // [2:2] is the sub-list for extension extendee
  515. 0, // [0:2] is the sub-list for field type_name
  516. }
  517. func init() { file_app_stats_command_command_proto_init() }
  518. func file_app_stats_command_command_proto_init() {
  519. if File_app_stats_command_command_proto != nil {
  520. return
  521. }
  522. if !protoimpl.UnsafeEnabled {
  523. file_app_stats_command_command_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  524. switch v := v.(*GetStatsRequest); i {
  525. case 0:
  526. return &v.state
  527. case 1:
  528. return &v.sizeCache
  529. case 2:
  530. return &v.unknownFields
  531. default:
  532. return nil
  533. }
  534. }
  535. file_app_stats_command_command_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  536. switch v := v.(*Stat); i {
  537. case 0:
  538. return &v.state
  539. case 1:
  540. return &v.sizeCache
  541. case 2:
  542. return &v.unknownFields
  543. default:
  544. return nil
  545. }
  546. }
  547. file_app_stats_command_command_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  548. switch v := v.(*GetStatsResponse); i {
  549. case 0:
  550. return &v.state
  551. case 1:
  552. return &v.sizeCache
  553. case 2:
  554. return &v.unknownFields
  555. default:
  556. return nil
  557. }
  558. }
  559. file_app_stats_command_command_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  560. switch v := v.(*QueryStatsRequest); i {
  561. case 0:
  562. return &v.state
  563. case 1:
  564. return &v.sizeCache
  565. case 2:
  566. return &v.unknownFields
  567. default:
  568. return nil
  569. }
  570. }
  571. file_app_stats_command_command_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  572. switch v := v.(*QueryStatsResponse); i {
  573. case 0:
  574. return &v.state
  575. case 1:
  576. return &v.sizeCache
  577. case 2:
  578. return &v.unknownFields
  579. default:
  580. return nil
  581. }
  582. }
  583. file_app_stats_command_command_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  584. switch v := v.(*SysStatsRequest); i {
  585. case 0:
  586. return &v.state
  587. case 1:
  588. return &v.sizeCache
  589. case 2:
  590. return &v.unknownFields
  591. default:
  592. return nil
  593. }
  594. }
  595. file_app_stats_command_command_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  596. switch v := v.(*SysStatsResponse); i {
  597. case 0:
  598. return &v.state
  599. case 1:
  600. return &v.sizeCache
  601. case 2:
  602. return &v.unknownFields
  603. default:
  604. return nil
  605. }
  606. }
  607. file_app_stats_command_command_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  608. switch v := v.(*Config); i {
  609. case 0:
  610. return &v.state
  611. case 1:
  612. return &v.sizeCache
  613. case 2:
  614. return &v.unknownFields
  615. default:
  616. return nil
  617. }
  618. }
  619. }
  620. type x struct{}
  621. out := protoimpl.TypeBuilder{
  622. File: protoimpl.DescBuilder{
  623. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  624. RawDescriptor: file_app_stats_command_command_proto_rawDesc,
  625. NumEnums: 0,
  626. NumMessages: 8,
  627. NumExtensions: 0,
  628. NumServices: 1,
  629. },
  630. GoTypes: file_app_stats_command_command_proto_goTypes,
  631. DependencyIndexes: file_app_stats_command_command_proto_depIdxs,
  632. MessageInfos: file_app_stats_command_command_proto_msgTypes,
  633. }.Build()
  634. File_app_stats_command_command_proto = out.File
  635. file_app_stats_command_command_proto_rawDesc = nil
  636. file_app_stats_command_command_proto_goTypes = nil
  637. file_app_stats_command_command_proto_depIdxs = nil
  638. }