command.pb.go 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618
  1. package command
  2. import (
  3. _ "github.com/v2fly/v2ray-core/v5/common/protoext"
  4. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  5. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  6. reflect "reflect"
  7. sync "sync"
  8. unsafe "unsafe"
  9. )
  10. const (
  11. // Verify that this generated code is sufficiently up-to-date.
  12. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  13. // Verify that runtime/protoimpl is sufficiently up-to-date.
  14. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  15. )
  16. type GetStatsRequest struct {
  17. state protoimpl.MessageState `protogen:"open.v1"`
  18. // Name of the stat counter.
  19. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  20. // Whether or not to reset the counter to fetching its value.
  21. Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
  22. unknownFields protoimpl.UnknownFields
  23. sizeCache protoimpl.SizeCache
  24. }
  25. func (x *GetStatsRequest) Reset() {
  26. *x = GetStatsRequest{}
  27. mi := &file_app_stats_command_command_proto_msgTypes[0]
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. ms.StoreMessageInfo(mi)
  30. }
  31. func (x *GetStatsRequest) String() string {
  32. return protoimpl.X.MessageStringOf(x)
  33. }
  34. func (*GetStatsRequest) ProtoMessage() {}
  35. func (x *GetStatsRequest) ProtoReflect() protoreflect.Message {
  36. mi := &file_app_stats_command_command_proto_msgTypes[0]
  37. if x != nil {
  38. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  39. if ms.LoadMessageInfo() == nil {
  40. ms.StoreMessageInfo(mi)
  41. }
  42. return ms
  43. }
  44. return mi.MessageOf(x)
  45. }
  46. // Deprecated: Use GetStatsRequest.ProtoReflect.Descriptor instead.
  47. func (*GetStatsRequest) Descriptor() ([]byte, []int) {
  48. return file_app_stats_command_command_proto_rawDescGZIP(), []int{0}
  49. }
  50. func (x *GetStatsRequest) GetName() string {
  51. if x != nil {
  52. return x.Name
  53. }
  54. return ""
  55. }
  56. func (x *GetStatsRequest) GetReset_() bool {
  57. if x != nil {
  58. return x.Reset_
  59. }
  60. return false
  61. }
  62. type Stat struct {
  63. state protoimpl.MessageState `protogen:"open.v1"`
  64. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  65. Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
  66. unknownFields protoimpl.UnknownFields
  67. sizeCache protoimpl.SizeCache
  68. }
  69. func (x *Stat) Reset() {
  70. *x = Stat{}
  71. mi := &file_app_stats_command_command_proto_msgTypes[1]
  72. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  73. ms.StoreMessageInfo(mi)
  74. }
  75. func (x *Stat) String() string {
  76. return protoimpl.X.MessageStringOf(x)
  77. }
  78. func (*Stat) ProtoMessage() {}
  79. func (x *Stat) ProtoReflect() protoreflect.Message {
  80. mi := &file_app_stats_command_command_proto_msgTypes[1]
  81. if x != nil {
  82. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  83. if ms.LoadMessageInfo() == nil {
  84. ms.StoreMessageInfo(mi)
  85. }
  86. return ms
  87. }
  88. return mi.MessageOf(x)
  89. }
  90. // Deprecated: Use Stat.ProtoReflect.Descriptor instead.
  91. func (*Stat) Descriptor() ([]byte, []int) {
  92. return file_app_stats_command_command_proto_rawDescGZIP(), []int{1}
  93. }
  94. func (x *Stat) GetName() string {
  95. if x != nil {
  96. return x.Name
  97. }
  98. return ""
  99. }
  100. func (x *Stat) GetValue() int64 {
  101. if x != nil {
  102. return x.Value
  103. }
  104. return 0
  105. }
  106. type GetStatsResponse struct {
  107. state protoimpl.MessageState `protogen:"open.v1"`
  108. Stat *Stat `protobuf:"bytes,1,opt,name=stat,proto3" json:"stat,omitempty"`
  109. unknownFields protoimpl.UnknownFields
  110. sizeCache protoimpl.SizeCache
  111. }
  112. func (x *GetStatsResponse) Reset() {
  113. *x = GetStatsResponse{}
  114. mi := &file_app_stats_command_command_proto_msgTypes[2]
  115. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  116. ms.StoreMessageInfo(mi)
  117. }
  118. func (x *GetStatsResponse) String() string {
  119. return protoimpl.X.MessageStringOf(x)
  120. }
  121. func (*GetStatsResponse) ProtoMessage() {}
  122. func (x *GetStatsResponse) ProtoReflect() protoreflect.Message {
  123. mi := &file_app_stats_command_command_proto_msgTypes[2]
  124. if x != nil {
  125. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  126. if ms.LoadMessageInfo() == nil {
  127. ms.StoreMessageInfo(mi)
  128. }
  129. return ms
  130. }
  131. return mi.MessageOf(x)
  132. }
  133. // Deprecated: Use GetStatsResponse.ProtoReflect.Descriptor instead.
  134. func (*GetStatsResponse) Descriptor() ([]byte, []int) {
  135. return file_app_stats_command_command_proto_rawDescGZIP(), []int{2}
  136. }
  137. func (x *GetStatsResponse) GetStat() *Stat {
  138. if x != nil {
  139. return x.Stat
  140. }
  141. return nil
  142. }
  143. type QueryStatsRequest struct {
  144. state protoimpl.MessageState `protogen:"open.v1"`
  145. // Deprecated, use Patterns instead
  146. Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
  147. Reset_ bool `protobuf:"varint,2,opt,name=reset,proto3" json:"reset,omitempty"`
  148. Patterns []string `protobuf:"bytes,3,rep,name=patterns,proto3" json:"patterns,omitempty"`
  149. Regexp bool `protobuf:"varint,4,opt,name=regexp,proto3" json:"regexp,omitempty"`
  150. unknownFields protoimpl.UnknownFields
  151. sizeCache protoimpl.SizeCache
  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. func (x *QueryStatsRequest) GetPatterns() []string {
  191. if x != nil {
  192. return x.Patterns
  193. }
  194. return nil
  195. }
  196. func (x *QueryStatsRequest) GetRegexp() bool {
  197. if x != nil {
  198. return x.Regexp
  199. }
  200. return false
  201. }
  202. type QueryStatsResponse struct {
  203. state protoimpl.MessageState `protogen:"open.v1"`
  204. Stat []*Stat `protobuf:"bytes,1,rep,name=stat,proto3" json:"stat,omitempty"`
  205. unknownFields protoimpl.UnknownFields
  206. sizeCache protoimpl.SizeCache
  207. }
  208. func (x *QueryStatsResponse) Reset() {
  209. *x = QueryStatsResponse{}
  210. mi := &file_app_stats_command_command_proto_msgTypes[4]
  211. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  212. ms.StoreMessageInfo(mi)
  213. }
  214. func (x *QueryStatsResponse) String() string {
  215. return protoimpl.X.MessageStringOf(x)
  216. }
  217. func (*QueryStatsResponse) ProtoMessage() {}
  218. func (x *QueryStatsResponse) ProtoReflect() protoreflect.Message {
  219. mi := &file_app_stats_command_command_proto_msgTypes[4]
  220. if x != nil {
  221. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  222. if ms.LoadMessageInfo() == nil {
  223. ms.StoreMessageInfo(mi)
  224. }
  225. return ms
  226. }
  227. return mi.MessageOf(x)
  228. }
  229. // Deprecated: Use QueryStatsResponse.ProtoReflect.Descriptor instead.
  230. func (*QueryStatsResponse) Descriptor() ([]byte, []int) {
  231. return file_app_stats_command_command_proto_rawDescGZIP(), []int{4}
  232. }
  233. func (x *QueryStatsResponse) GetStat() []*Stat {
  234. if x != nil {
  235. return x.Stat
  236. }
  237. return nil
  238. }
  239. type SysStatsRequest struct {
  240. state protoimpl.MessageState `protogen:"open.v1"`
  241. unknownFields protoimpl.UnknownFields
  242. sizeCache protoimpl.SizeCache
  243. }
  244. func (x *SysStatsRequest) Reset() {
  245. *x = SysStatsRequest{}
  246. mi := &file_app_stats_command_command_proto_msgTypes[5]
  247. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  248. ms.StoreMessageInfo(mi)
  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 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 `protogen:"open.v1"`
  271. NumGoroutine uint32 `protobuf:"varint,1,opt,name=NumGoroutine,proto3" json:"NumGoroutine,omitempty"`
  272. NumGC uint32 `protobuf:"varint,2,opt,name=NumGC,proto3" json:"NumGC,omitempty"`
  273. Alloc uint64 `protobuf:"varint,3,opt,name=Alloc,proto3" json:"Alloc,omitempty"`
  274. TotalAlloc uint64 `protobuf:"varint,4,opt,name=TotalAlloc,proto3" json:"TotalAlloc,omitempty"`
  275. Sys uint64 `protobuf:"varint,5,opt,name=Sys,proto3" json:"Sys,omitempty"`
  276. Mallocs uint64 `protobuf:"varint,6,opt,name=Mallocs,proto3" json:"Mallocs,omitempty"`
  277. Frees uint64 `protobuf:"varint,7,opt,name=Frees,proto3" json:"Frees,omitempty"`
  278. LiveObjects uint64 `protobuf:"varint,8,opt,name=LiveObjects,proto3" json:"LiveObjects,omitempty"`
  279. PauseTotalNs uint64 `protobuf:"varint,9,opt,name=PauseTotalNs,proto3" json:"PauseTotalNs,omitempty"`
  280. Uptime uint32 `protobuf:"varint,10,opt,name=Uptime,proto3" json:"Uptime,omitempty"`
  281. unknownFields protoimpl.UnknownFields
  282. sizeCache protoimpl.SizeCache
  283. }
  284. func (x *SysStatsResponse) Reset() {
  285. *x = SysStatsResponse{}
  286. mi := &file_app_stats_command_command_proto_msgTypes[6]
  287. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  288. ms.StoreMessageInfo(mi)
  289. }
  290. func (x *SysStatsResponse) String() string {
  291. return protoimpl.X.MessageStringOf(x)
  292. }
  293. func (*SysStatsResponse) ProtoMessage() {}
  294. func (x *SysStatsResponse) ProtoReflect() protoreflect.Message {
  295. mi := &file_app_stats_command_command_proto_msgTypes[6]
  296. if x != nil {
  297. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  298. if ms.LoadMessageInfo() == nil {
  299. ms.StoreMessageInfo(mi)
  300. }
  301. return ms
  302. }
  303. return mi.MessageOf(x)
  304. }
  305. // Deprecated: Use SysStatsResponse.ProtoReflect.Descriptor instead.
  306. func (*SysStatsResponse) Descriptor() ([]byte, []int) {
  307. return file_app_stats_command_command_proto_rawDescGZIP(), []int{6}
  308. }
  309. func (x *SysStatsResponse) GetNumGoroutine() uint32 {
  310. if x != nil {
  311. return x.NumGoroutine
  312. }
  313. return 0
  314. }
  315. func (x *SysStatsResponse) GetNumGC() uint32 {
  316. if x != nil {
  317. return x.NumGC
  318. }
  319. return 0
  320. }
  321. func (x *SysStatsResponse) GetAlloc() uint64 {
  322. if x != nil {
  323. return x.Alloc
  324. }
  325. return 0
  326. }
  327. func (x *SysStatsResponse) GetTotalAlloc() uint64 {
  328. if x != nil {
  329. return x.TotalAlloc
  330. }
  331. return 0
  332. }
  333. func (x *SysStatsResponse) GetSys() uint64 {
  334. if x != nil {
  335. return x.Sys
  336. }
  337. return 0
  338. }
  339. func (x *SysStatsResponse) GetMallocs() uint64 {
  340. if x != nil {
  341. return x.Mallocs
  342. }
  343. return 0
  344. }
  345. func (x *SysStatsResponse) GetFrees() uint64 {
  346. if x != nil {
  347. return x.Frees
  348. }
  349. return 0
  350. }
  351. func (x *SysStatsResponse) GetLiveObjects() uint64 {
  352. if x != nil {
  353. return x.LiveObjects
  354. }
  355. return 0
  356. }
  357. func (x *SysStatsResponse) GetPauseTotalNs() uint64 {
  358. if x != nil {
  359. return x.PauseTotalNs
  360. }
  361. return 0
  362. }
  363. func (x *SysStatsResponse) GetUptime() uint32 {
  364. if x != nil {
  365. return x.Uptime
  366. }
  367. return 0
  368. }
  369. type Config struct {
  370. state protoimpl.MessageState `protogen:"open.v1"`
  371. unknownFields protoimpl.UnknownFields
  372. sizeCache protoimpl.SizeCache
  373. }
  374. func (x *Config) Reset() {
  375. *x = Config{}
  376. mi := &file_app_stats_command_command_proto_msgTypes[7]
  377. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  378. ms.StoreMessageInfo(mi)
  379. }
  380. func (x *Config) String() string {
  381. return protoimpl.X.MessageStringOf(x)
  382. }
  383. func (*Config) ProtoMessage() {}
  384. func (x *Config) ProtoReflect() protoreflect.Message {
  385. mi := &file_app_stats_command_command_proto_msgTypes[7]
  386. if x != nil {
  387. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  388. if ms.LoadMessageInfo() == nil {
  389. ms.StoreMessageInfo(mi)
  390. }
  391. return ms
  392. }
  393. return mi.MessageOf(x)
  394. }
  395. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  396. func (*Config) Descriptor() ([]byte, []int) {
  397. return file_app_stats_command_command_proto_rawDescGZIP(), []int{7}
  398. }
  399. var File_app_stats_command_command_proto protoreflect.FileDescriptor
  400. var file_app_stats_command_command_proto_rawDesc = string([]byte{
  401. 0x0a, 0x1f, 0x61, 0x70, 0x70, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
  402. 0x61, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  403. 0x6f, 0x12, 0x1c, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
  404. 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x1a,
  405. 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 0x74,
  406. 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  407. 0x6f, 0x22, 0x3b, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71,
  408. 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
  409. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x73, 0x65,
  410. 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, 0x73, 0x65, 0x74, 0x22, 0x30,
  411. 0x0a, 0x04, 0x53, 0x74, 0x61, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
  412. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
  413. 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  414. 0x22, 0x4a, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,
  415. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01,
  416. 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  417. 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
  418. 0x64, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x04, 0x73, 0x74, 0x61, 0x74, 0x22, 0x77, 0x0a, 0x11,
  419. 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  420. 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x01,
  421. 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x72,
  422. 0x65, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, 0x73, 0x65,
  423. 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x18, 0x03, 0x20,
  424. 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x12, 0x16, 0x0a,
  425. 0x06, 0x72, 0x65, 0x67, 0x65, 0x78, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72,
  426. 0x65, 0x67, 0x65, 0x78, 0x70, 0x22, 0x4c, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74,
  427. 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x04, 0x73,
  428. 0x74, 0x61, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x76, 0x32, 0x72, 0x61,
  429. 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73,
  430. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x04, 0x73,
  431. 0x74, 0x61, 0x74, 0x22, 0x11, 0x0a, 0x0f, 0x53, 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52,
  432. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa2, 0x02, 0x0a, 0x10, 0x53, 0x79, 0x73, 0x53, 0x74,
  433. 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x4e,
  434. 0x75, 0x6d, 0x47, 0x6f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  435. 0x0d, 0x52, 0x0c, 0x4e, 0x75, 0x6d, 0x47, 0x6f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x12,
  436. 0x14, 0x0a, 0x05, 0x4e, 0x75, 0x6d, 0x47, 0x43, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05,
  437. 0x4e, 0x75, 0x6d, 0x47, 0x43, 0x12, 0x14, 0x0a, 0x05, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x18, 0x03,
  438. 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x12, 0x1e, 0x0a, 0x0a, 0x54,
  439. 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
  440. 0x0a, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x12, 0x10, 0x0a, 0x03, 0x53,
  441. 0x79, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x53, 0x79, 0x73, 0x12, 0x18, 0x0a,
  442. 0x07, 0x4d, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07,
  443. 0x4d, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x46, 0x72, 0x65, 0x65, 0x73,
  444. 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x46, 0x72, 0x65, 0x65, 0x73, 0x12, 0x20, 0x0a,
  445. 0x0b, 0x4c, 0x69, 0x76, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01,
  446. 0x28, 0x04, 0x52, 0x0b, 0x4c, 0x69, 0x76, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12,
  447. 0x22, 0x0a, 0x0c, 0x50, 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x73, 0x18,
  448. 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x50, 0x61, 0x75, 0x73, 0x65, 0x54, 0x6f, 0x74, 0x61,
  449. 0x6c, 0x4e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20,
  450. 0x01, 0x28, 0x0d, 0x52, 0x06, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x22, 0x0a, 0x06, 0x43,
  451. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x18, 0x82, 0xb5, 0x18, 0x14, 0x0a, 0x0b, 0x67, 0x72, 0x70,
  452. 0x63, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x32,
  453. 0xde, 0x02, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
  454. 0x12, 0x6b, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x2d, 0x2e, 0x76,
  455. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74,
  456. 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x53,
  457. 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x76, 0x32,
  458. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61,
  459. 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74,
  460. 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x71, 0x0a,
  461. 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x2f, 0x2e, 0x76, 0x32,
  462. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61,
  463. 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79,
  464. 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x76,
  465. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74,
  466. 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x51, 0x75, 0x65, 0x72,
  467. 0x79, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
  468. 0x12, 0x6e, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x53, 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12,
  469. 0x2d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70,
  470. 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x53,
  471. 0x79, 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e,
  472. 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e,
  473. 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x53, 0x79,
  474. 0x73, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
  475. 0x42, 0x75, 0x0a, 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  476. 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
  477. 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
  478. 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63,
  479. 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73,
  480. 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0xaa, 0x02, 0x1c, 0x56, 0x32, 0x52, 0x61, 0x79,
  481. 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e,
  482. 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  483. })
  484. var (
  485. file_app_stats_command_command_proto_rawDescOnce sync.Once
  486. file_app_stats_command_command_proto_rawDescData []byte
  487. )
  488. func file_app_stats_command_command_proto_rawDescGZIP() []byte {
  489. file_app_stats_command_command_proto_rawDescOnce.Do(func() {
  490. file_app_stats_command_command_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_app_stats_command_command_proto_rawDesc), len(file_app_stats_command_command_proto_rawDesc)))
  491. })
  492. return file_app_stats_command_command_proto_rawDescData
  493. }
  494. var file_app_stats_command_command_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
  495. var file_app_stats_command_command_proto_goTypes = []any{
  496. (*GetStatsRequest)(nil), // 0: v2ray.core.app.stats.command.GetStatsRequest
  497. (*Stat)(nil), // 1: v2ray.core.app.stats.command.Stat
  498. (*GetStatsResponse)(nil), // 2: v2ray.core.app.stats.command.GetStatsResponse
  499. (*QueryStatsRequest)(nil), // 3: v2ray.core.app.stats.command.QueryStatsRequest
  500. (*QueryStatsResponse)(nil), // 4: v2ray.core.app.stats.command.QueryStatsResponse
  501. (*SysStatsRequest)(nil), // 5: v2ray.core.app.stats.command.SysStatsRequest
  502. (*SysStatsResponse)(nil), // 6: v2ray.core.app.stats.command.SysStatsResponse
  503. (*Config)(nil), // 7: v2ray.core.app.stats.command.Config
  504. }
  505. var file_app_stats_command_command_proto_depIdxs = []int32{
  506. 1, // 0: v2ray.core.app.stats.command.GetStatsResponse.stat:type_name -> v2ray.core.app.stats.command.Stat
  507. 1, // 1: v2ray.core.app.stats.command.QueryStatsResponse.stat:type_name -> v2ray.core.app.stats.command.Stat
  508. 0, // 2: v2ray.core.app.stats.command.StatsService.GetStats:input_type -> v2ray.core.app.stats.command.GetStatsRequest
  509. 3, // 3: v2ray.core.app.stats.command.StatsService.QueryStats:input_type -> v2ray.core.app.stats.command.QueryStatsRequest
  510. 5, // 4: v2ray.core.app.stats.command.StatsService.GetSysStats:input_type -> v2ray.core.app.stats.command.SysStatsRequest
  511. 2, // 5: v2ray.core.app.stats.command.StatsService.GetStats:output_type -> v2ray.core.app.stats.command.GetStatsResponse
  512. 4, // 6: v2ray.core.app.stats.command.StatsService.QueryStats:output_type -> v2ray.core.app.stats.command.QueryStatsResponse
  513. 6, // 7: v2ray.core.app.stats.command.StatsService.GetSysStats:output_type -> v2ray.core.app.stats.command.SysStatsResponse
  514. 5, // [5:8] is the sub-list for method output_type
  515. 2, // [2:5] is the sub-list for method input_type
  516. 2, // [2:2] is the sub-list for extension type_name
  517. 2, // [2:2] is the sub-list for extension extendee
  518. 0, // [0:2] is the sub-list for field type_name
  519. }
  520. func init() { file_app_stats_command_command_proto_init() }
  521. func file_app_stats_command_command_proto_init() {
  522. if File_app_stats_command_command_proto != nil {
  523. return
  524. }
  525. type x struct{}
  526. out := protoimpl.TypeBuilder{
  527. File: protoimpl.DescBuilder{
  528. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  529. RawDescriptor: unsafe.Slice(unsafe.StringData(file_app_stats_command_command_proto_rawDesc), len(file_app_stats_command_command_proto_rawDesc)),
  530. NumEnums: 0,
  531. NumMessages: 8,
  532. NumExtensions: 0,
  533. NumServices: 1,
  534. },
  535. GoTypes: file_app_stats_command_command_proto_goTypes,
  536. DependencyIndexes: file_app_stats_command_command_proto_depIdxs,
  537. MessageInfos: file_app_stats_command_command_proto_msgTypes,
  538. }.Build()
  539. File_app_stats_command_command_proto = out.File
  540. file_app_stats_command_command_proto_goTypes = nil
  541. file_app_stats_command_command_proto_depIdxs = nil
  542. }