stats.pb.go 21 KB

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