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