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