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