metrics.pb.go (48864B)
1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.1 4 // protoc v3.21.5 5 // source: github.com/containerd/cgroups/cgroup2/stats/metrics.proto 6 7 package stats 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 Metrics struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 Pids *PidsStat `protobuf:"bytes,1,opt,name=pids,proto3" json:"pids,omitempty"` 29 CPU *CPUStat `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"` 30 Memory *MemoryStat `protobuf:"bytes,4,opt,name=memory,proto3" json:"memory,omitempty"` 31 Rdma *RdmaStat `protobuf:"bytes,5,opt,name=rdma,proto3" json:"rdma,omitempty"` 32 Io *IOStat `protobuf:"bytes,6,opt,name=io,proto3" json:"io,omitempty"` 33 Hugetlb []*HugeTlbStat `protobuf:"bytes,7,rep,name=hugetlb,proto3" json:"hugetlb,omitempty"` 34 MemoryEvents *MemoryEvents `protobuf:"bytes,8,opt,name=memory_events,json=memoryEvents,proto3" json:"memory_events,omitempty"` 35 } 36 37 func (x *Metrics) Reset() { 38 *x = Metrics{} 39 if protoimpl.UnsafeEnabled { 40 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[0] 41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 42 ms.StoreMessageInfo(mi) 43 } 44 } 45 46 func (x *Metrics) String() string { 47 return protoimpl.X.MessageStringOf(x) 48 } 49 50 func (*Metrics) ProtoMessage() {} 51 52 func (x *Metrics) ProtoReflect() protoreflect.Message { 53 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[0] 54 if protoimpl.UnsafeEnabled && x != nil { 55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 56 if ms.LoadMessageInfo() == nil { 57 ms.StoreMessageInfo(mi) 58 } 59 return ms 60 } 61 return mi.MessageOf(x) 62 } 63 64 // Deprecated: Use Metrics.ProtoReflect.Descriptor instead. 65 func (*Metrics) Descriptor() ([]byte, []int) { 66 return file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDescGZIP(), []int{0} 67 } 68 69 func (x *Metrics) GetPids() *PidsStat { 70 if x != nil { 71 return x.Pids 72 } 73 return nil 74 } 75 76 func (x *Metrics) GetCPU() *CPUStat { 77 if x != nil { 78 return x.CPU 79 } 80 return nil 81 } 82 83 func (x *Metrics) GetMemory() *MemoryStat { 84 if x != nil { 85 return x.Memory 86 } 87 return nil 88 } 89 90 func (x *Metrics) GetRdma() *RdmaStat { 91 if x != nil { 92 return x.Rdma 93 } 94 return nil 95 } 96 97 func (x *Metrics) GetIo() *IOStat { 98 if x != nil { 99 return x.Io 100 } 101 return nil 102 } 103 104 func (x *Metrics) GetHugetlb() []*HugeTlbStat { 105 if x != nil { 106 return x.Hugetlb 107 } 108 return nil 109 } 110 111 func (x *Metrics) GetMemoryEvents() *MemoryEvents { 112 if x != nil { 113 return x.MemoryEvents 114 } 115 return nil 116 } 117 118 type PidsStat struct { 119 state protoimpl.MessageState 120 sizeCache protoimpl.SizeCache 121 unknownFields protoimpl.UnknownFields 122 123 Current uint64 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"` 124 Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` 125 } 126 127 func (x *PidsStat) Reset() { 128 *x = PidsStat{} 129 if protoimpl.UnsafeEnabled { 130 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[1] 131 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 132 ms.StoreMessageInfo(mi) 133 } 134 } 135 136 func (x *PidsStat) String() string { 137 return protoimpl.X.MessageStringOf(x) 138 } 139 140 func (*PidsStat) ProtoMessage() {} 141 142 func (x *PidsStat) ProtoReflect() protoreflect.Message { 143 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[1] 144 if protoimpl.UnsafeEnabled && x != nil { 145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 146 if ms.LoadMessageInfo() == nil { 147 ms.StoreMessageInfo(mi) 148 } 149 return ms 150 } 151 return mi.MessageOf(x) 152 } 153 154 // Deprecated: Use PidsStat.ProtoReflect.Descriptor instead. 155 func (*PidsStat) Descriptor() ([]byte, []int) { 156 return file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDescGZIP(), []int{1} 157 } 158 159 func (x *PidsStat) GetCurrent() uint64 { 160 if x != nil { 161 return x.Current 162 } 163 return 0 164 } 165 166 func (x *PidsStat) GetLimit() uint64 { 167 if x != nil { 168 return x.Limit 169 } 170 return 0 171 } 172 173 type CPUStat struct { 174 state protoimpl.MessageState 175 sizeCache protoimpl.SizeCache 176 unknownFields protoimpl.UnknownFields 177 178 UsageUsec uint64 `protobuf:"varint,1,opt,name=usage_usec,json=usageUsec,proto3" json:"usage_usec,omitempty"` 179 UserUsec uint64 `protobuf:"varint,2,opt,name=user_usec,json=userUsec,proto3" json:"user_usec,omitempty"` 180 SystemUsec uint64 `protobuf:"varint,3,opt,name=system_usec,json=systemUsec,proto3" json:"system_usec,omitempty"` 181 NrPeriods uint64 `protobuf:"varint,4,opt,name=nr_periods,json=nrPeriods,proto3" json:"nr_periods,omitempty"` 182 NrThrottled uint64 `protobuf:"varint,5,opt,name=nr_throttled,json=nrThrottled,proto3" json:"nr_throttled,omitempty"` 183 ThrottledUsec uint64 `protobuf:"varint,6,opt,name=throttled_usec,json=throttledUsec,proto3" json:"throttled_usec,omitempty"` 184 } 185 186 func (x *CPUStat) Reset() { 187 *x = CPUStat{} 188 if protoimpl.UnsafeEnabled { 189 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[2] 190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 191 ms.StoreMessageInfo(mi) 192 } 193 } 194 195 func (x *CPUStat) String() string { 196 return protoimpl.X.MessageStringOf(x) 197 } 198 199 func (*CPUStat) ProtoMessage() {} 200 201 func (x *CPUStat) ProtoReflect() protoreflect.Message { 202 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[2] 203 if protoimpl.UnsafeEnabled && x != nil { 204 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 205 if ms.LoadMessageInfo() == nil { 206 ms.StoreMessageInfo(mi) 207 } 208 return ms 209 } 210 return mi.MessageOf(x) 211 } 212 213 // Deprecated: Use CPUStat.ProtoReflect.Descriptor instead. 214 func (*CPUStat) Descriptor() ([]byte, []int) { 215 return file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDescGZIP(), []int{2} 216 } 217 218 func (x *CPUStat) GetUsageUsec() uint64 { 219 if x != nil { 220 return x.UsageUsec 221 } 222 return 0 223 } 224 225 func (x *CPUStat) GetUserUsec() uint64 { 226 if x != nil { 227 return x.UserUsec 228 } 229 return 0 230 } 231 232 func (x *CPUStat) GetSystemUsec() uint64 { 233 if x != nil { 234 return x.SystemUsec 235 } 236 return 0 237 } 238 239 func (x *CPUStat) GetNrPeriods() uint64 { 240 if x != nil { 241 return x.NrPeriods 242 } 243 return 0 244 } 245 246 func (x *CPUStat) GetNrThrottled() uint64 { 247 if x != nil { 248 return x.NrThrottled 249 } 250 return 0 251 } 252 253 func (x *CPUStat) GetThrottledUsec() uint64 { 254 if x != nil { 255 return x.ThrottledUsec 256 } 257 return 0 258 } 259 260 type MemoryStat struct { 261 state protoimpl.MessageState 262 sizeCache protoimpl.SizeCache 263 unknownFields protoimpl.UnknownFields 264 265 Anon uint64 `protobuf:"varint,1,opt,name=anon,proto3" json:"anon,omitempty"` 266 File uint64 `protobuf:"varint,2,opt,name=file,proto3" json:"file,omitempty"` 267 KernelStack uint64 `protobuf:"varint,3,opt,name=kernel_stack,json=kernelStack,proto3" json:"kernel_stack,omitempty"` 268 Slab uint64 `protobuf:"varint,4,opt,name=slab,proto3" json:"slab,omitempty"` 269 Sock uint64 `protobuf:"varint,5,opt,name=sock,proto3" json:"sock,omitempty"` 270 Shmem uint64 `protobuf:"varint,6,opt,name=shmem,proto3" json:"shmem,omitempty"` 271 FileMapped uint64 `protobuf:"varint,7,opt,name=file_mapped,json=fileMapped,proto3" json:"file_mapped,omitempty"` 272 FileDirty uint64 `protobuf:"varint,8,opt,name=file_dirty,json=fileDirty,proto3" json:"file_dirty,omitempty"` 273 FileWriteback uint64 `protobuf:"varint,9,opt,name=file_writeback,json=fileWriteback,proto3" json:"file_writeback,omitempty"` 274 AnonThp uint64 `protobuf:"varint,10,opt,name=anon_thp,json=anonThp,proto3" json:"anon_thp,omitempty"` 275 InactiveAnon uint64 `protobuf:"varint,11,opt,name=inactive_anon,json=inactiveAnon,proto3" json:"inactive_anon,omitempty"` 276 ActiveAnon uint64 `protobuf:"varint,12,opt,name=active_anon,json=activeAnon,proto3" json:"active_anon,omitempty"` 277 InactiveFile uint64 `protobuf:"varint,13,opt,name=inactive_file,json=inactiveFile,proto3" json:"inactive_file,omitempty"` 278 ActiveFile uint64 `protobuf:"varint,14,opt,name=active_file,json=activeFile,proto3" json:"active_file,omitempty"` 279 Unevictable uint64 `protobuf:"varint,15,opt,name=unevictable,proto3" json:"unevictable,omitempty"` 280 SlabReclaimable uint64 `protobuf:"varint,16,opt,name=slab_reclaimable,json=slabReclaimable,proto3" json:"slab_reclaimable,omitempty"` 281 SlabUnreclaimable uint64 `protobuf:"varint,17,opt,name=slab_unreclaimable,json=slabUnreclaimable,proto3" json:"slab_unreclaimable,omitempty"` 282 Pgfault uint64 `protobuf:"varint,18,opt,name=pgfault,proto3" json:"pgfault,omitempty"` 283 Pgmajfault uint64 `protobuf:"varint,19,opt,name=pgmajfault,proto3" json:"pgmajfault,omitempty"` 284 WorkingsetRefault uint64 `protobuf:"varint,20,opt,name=workingset_refault,json=workingsetRefault,proto3" json:"workingset_refault,omitempty"` 285 WorkingsetActivate uint64 `protobuf:"varint,21,opt,name=workingset_activate,json=workingsetActivate,proto3" json:"workingset_activate,omitempty"` 286 WorkingsetNodereclaim uint64 `protobuf:"varint,22,opt,name=workingset_nodereclaim,json=workingsetNodereclaim,proto3" json:"workingset_nodereclaim,omitempty"` 287 Pgrefill uint64 `protobuf:"varint,23,opt,name=pgrefill,proto3" json:"pgrefill,omitempty"` 288 Pgscan uint64 `protobuf:"varint,24,opt,name=pgscan,proto3" json:"pgscan,omitempty"` 289 Pgsteal uint64 `protobuf:"varint,25,opt,name=pgsteal,proto3" json:"pgsteal,omitempty"` 290 Pgactivate uint64 `protobuf:"varint,26,opt,name=pgactivate,proto3" json:"pgactivate,omitempty"` 291 Pgdeactivate uint64 `protobuf:"varint,27,opt,name=pgdeactivate,proto3" json:"pgdeactivate,omitempty"` 292 Pglazyfree uint64 `protobuf:"varint,28,opt,name=pglazyfree,proto3" json:"pglazyfree,omitempty"` 293 Pglazyfreed uint64 `protobuf:"varint,29,opt,name=pglazyfreed,proto3" json:"pglazyfreed,omitempty"` 294 ThpFaultAlloc uint64 `protobuf:"varint,30,opt,name=thp_fault_alloc,json=thpFaultAlloc,proto3" json:"thp_fault_alloc,omitempty"` 295 ThpCollapseAlloc uint64 `protobuf:"varint,31,opt,name=thp_collapse_alloc,json=thpCollapseAlloc,proto3" json:"thp_collapse_alloc,omitempty"` 296 Usage uint64 `protobuf:"varint,32,opt,name=usage,proto3" json:"usage,omitempty"` 297 UsageLimit uint64 `protobuf:"varint,33,opt,name=usage_limit,json=usageLimit,proto3" json:"usage_limit,omitempty"` 298 SwapUsage uint64 `protobuf:"varint,34,opt,name=swap_usage,json=swapUsage,proto3" json:"swap_usage,omitempty"` 299 SwapLimit uint64 `protobuf:"varint,35,opt,name=swap_limit,json=swapLimit,proto3" json:"swap_limit,omitempty"` 300 } 301 302 func (x *MemoryStat) Reset() { 303 *x = MemoryStat{} 304 if protoimpl.UnsafeEnabled { 305 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[3] 306 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 307 ms.StoreMessageInfo(mi) 308 } 309 } 310 311 func (x *MemoryStat) String() string { 312 return protoimpl.X.MessageStringOf(x) 313 } 314 315 func (*MemoryStat) ProtoMessage() {} 316 317 func (x *MemoryStat) ProtoReflect() protoreflect.Message { 318 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[3] 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 MemoryStat.ProtoReflect.Descriptor instead. 330 func (*MemoryStat) Descriptor() ([]byte, []int) { 331 return file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDescGZIP(), []int{3} 332 } 333 334 func (x *MemoryStat) GetAnon() uint64 { 335 if x != nil { 336 return x.Anon 337 } 338 return 0 339 } 340 341 func (x *MemoryStat) GetFile() uint64 { 342 if x != nil { 343 return x.File 344 } 345 return 0 346 } 347 348 func (x *MemoryStat) GetKernelStack() uint64 { 349 if x != nil { 350 return x.KernelStack 351 } 352 return 0 353 } 354 355 func (x *MemoryStat) GetSlab() uint64 { 356 if x != nil { 357 return x.Slab 358 } 359 return 0 360 } 361 362 func (x *MemoryStat) GetSock() uint64 { 363 if x != nil { 364 return x.Sock 365 } 366 return 0 367 } 368 369 func (x *MemoryStat) GetShmem() uint64 { 370 if x != nil { 371 return x.Shmem 372 } 373 return 0 374 } 375 376 func (x *MemoryStat) GetFileMapped() uint64 { 377 if x != nil { 378 return x.FileMapped 379 } 380 return 0 381 } 382 383 func (x *MemoryStat) GetFileDirty() uint64 { 384 if x != nil { 385 return x.FileDirty 386 } 387 return 0 388 } 389 390 func (x *MemoryStat) GetFileWriteback() uint64 { 391 if x != nil { 392 return x.FileWriteback 393 } 394 return 0 395 } 396 397 func (x *MemoryStat) GetAnonThp() uint64 { 398 if x != nil { 399 return x.AnonThp 400 } 401 return 0 402 } 403 404 func (x *MemoryStat) GetInactiveAnon() uint64 { 405 if x != nil { 406 return x.InactiveAnon 407 } 408 return 0 409 } 410 411 func (x *MemoryStat) GetActiveAnon() uint64 { 412 if x != nil { 413 return x.ActiveAnon 414 } 415 return 0 416 } 417 418 func (x *MemoryStat) GetInactiveFile() uint64 { 419 if x != nil { 420 return x.InactiveFile 421 } 422 return 0 423 } 424 425 func (x *MemoryStat) GetActiveFile() uint64 { 426 if x != nil { 427 return x.ActiveFile 428 } 429 return 0 430 } 431 432 func (x *MemoryStat) GetUnevictable() uint64 { 433 if x != nil { 434 return x.Unevictable 435 } 436 return 0 437 } 438 439 func (x *MemoryStat) GetSlabReclaimable() uint64 { 440 if x != nil { 441 return x.SlabReclaimable 442 } 443 return 0 444 } 445 446 func (x *MemoryStat) GetSlabUnreclaimable() uint64 { 447 if x != nil { 448 return x.SlabUnreclaimable 449 } 450 return 0 451 } 452 453 func (x *MemoryStat) GetPgfault() uint64 { 454 if x != nil { 455 return x.Pgfault 456 } 457 return 0 458 } 459 460 func (x *MemoryStat) GetPgmajfault() uint64 { 461 if x != nil { 462 return x.Pgmajfault 463 } 464 return 0 465 } 466 467 func (x *MemoryStat) GetWorkingsetRefault() uint64 { 468 if x != nil { 469 return x.WorkingsetRefault 470 } 471 return 0 472 } 473 474 func (x *MemoryStat) GetWorkingsetActivate() uint64 { 475 if x != nil { 476 return x.WorkingsetActivate 477 } 478 return 0 479 } 480 481 func (x *MemoryStat) GetWorkingsetNodereclaim() uint64 { 482 if x != nil { 483 return x.WorkingsetNodereclaim 484 } 485 return 0 486 } 487 488 func (x *MemoryStat) GetPgrefill() uint64 { 489 if x != nil { 490 return x.Pgrefill 491 } 492 return 0 493 } 494 495 func (x *MemoryStat) GetPgscan() uint64 { 496 if x != nil { 497 return x.Pgscan 498 } 499 return 0 500 } 501 502 func (x *MemoryStat) GetPgsteal() uint64 { 503 if x != nil { 504 return x.Pgsteal 505 } 506 return 0 507 } 508 509 func (x *MemoryStat) GetPgactivate() uint64 { 510 if x != nil { 511 return x.Pgactivate 512 } 513 return 0 514 } 515 516 func (x *MemoryStat) GetPgdeactivate() uint64 { 517 if x != nil { 518 return x.Pgdeactivate 519 } 520 return 0 521 } 522 523 func (x *MemoryStat) GetPglazyfree() uint64 { 524 if x != nil { 525 return x.Pglazyfree 526 } 527 return 0 528 } 529 530 func (x *MemoryStat) GetPglazyfreed() uint64 { 531 if x != nil { 532 return x.Pglazyfreed 533 } 534 return 0 535 } 536 537 func (x *MemoryStat) GetThpFaultAlloc() uint64 { 538 if x != nil { 539 return x.ThpFaultAlloc 540 } 541 return 0 542 } 543 544 func (x *MemoryStat) GetThpCollapseAlloc() uint64 { 545 if x != nil { 546 return x.ThpCollapseAlloc 547 } 548 return 0 549 } 550 551 func (x *MemoryStat) GetUsage() uint64 { 552 if x != nil { 553 return x.Usage 554 } 555 return 0 556 } 557 558 func (x *MemoryStat) GetUsageLimit() uint64 { 559 if x != nil { 560 return x.UsageLimit 561 } 562 return 0 563 } 564 565 func (x *MemoryStat) GetSwapUsage() uint64 { 566 if x != nil { 567 return x.SwapUsage 568 } 569 return 0 570 } 571 572 func (x *MemoryStat) GetSwapLimit() uint64 { 573 if x != nil { 574 return x.SwapLimit 575 } 576 return 0 577 } 578 579 type MemoryEvents struct { 580 state protoimpl.MessageState 581 sizeCache protoimpl.SizeCache 582 unknownFields protoimpl.UnknownFields 583 584 Low uint64 `protobuf:"varint,1,opt,name=low,proto3" json:"low,omitempty"` 585 High uint64 `protobuf:"varint,2,opt,name=high,proto3" json:"high,omitempty"` 586 Max uint64 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` 587 Oom uint64 `protobuf:"varint,4,opt,name=oom,proto3" json:"oom,omitempty"` 588 OomKill uint64 `protobuf:"varint,5,opt,name=oom_kill,json=oomKill,proto3" json:"oom_kill,omitempty"` 589 } 590 591 func (x *MemoryEvents) Reset() { 592 *x = MemoryEvents{} 593 if protoimpl.UnsafeEnabled { 594 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[4] 595 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 596 ms.StoreMessageInfo(mi) 597 } 598 } 599 600 func (x *MemoryEvents) String() string { 601 return protoimpl.X.MessageStringOf(x) 602 } 603 604 func (*MemoryEvents) ProtoMessage() {} 605 606 func (x *MemoryEvents) ProtoReflect() protoreflect.Message { 607 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[4] 608 if protoimpl.UnsafeEnabled && x != nil { 609 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 610 if ms.LoadMessageInfo() == nil { 611 ms.StoreMessageInfo(mi) 612 } 613 return ms 614 } 615 return mi.MessageOf(x) 616 } 617 618 // Deprecated: Use MemoryEvents.ProtoReflect.Descriptor instead. 619 func (*MemoryEvents) Descriptor() ([]byte, []int) { 620 return file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDescGZIP(), []int{4} 621 } 622 623 func (x *MemoryEvents) GetLow() uint64 { 624 if x != nil { 625 return x.Low 626 } 627 return 0 628 } 629 630 func (x *MemoryEvents) GetHigh() uint64 { 631 if x != nil { 632 return x.High 633 } 634 return 0 635 } 636 637 func (x *MemoryEvents) GetMax() uint64 { 638 if x != nil { 639 return x.Max 640 } 641 return 0 642 } 643 644 func (x *MemoryEvents) GetOom() uint64 { 645 if x != nil { 646 return x.Oom 647 } 648 return 0 649 } 650 651 func (x *MemoryEvents) GetOomKill() uint64 { 652 if x != nil { 653 return x.OomKill 654 } 655 return 0 656 } 657 658 type RdmaStat struct { 659 state protoimpl.MessageState 660 sizeCache protoimpl.SizeCache 661 unknownFields protoimpl.UnknownFields 662 663 Current []*RdmaEntry `protobuf:"bytes,1,rep,name=current,proto3" json:"current,omitempty"` 664 Limit []*RdmaEntry `protobuf:"bytes,2,rep,name=limit,proto3" json:"limit,omitempty"` 665 } 666 667 func (x *RdmaStat) Reset() { 668 *x = RdmaStat{} 669 if protoimpl.UnsafeEnabled { 670 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[5] 671 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 672 ms.StoreMessageInfo(mi) 673 } 674 } 675 676 func (x *RdmaStat) String() string { 677 return protoimpl.X.MessageStringOf(x) 678 } 679 680 func (*RdmaStat) ProtoMessage() {} 681 682 func (x *RdmaStat) ProtoReflect() protoreflect.Message { 683 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[5] 684 if protoimpl.UnsafeEnabled && x != nil { 685 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 686 if ms.LoadMessageInfo() == nil { 687 ms.StoreMessageInfo(mi) 688 } 689 return ms 690 } 691 return mi.MessageOf(x) 692 } 693 694 // Deprecated: Use RdmaStat.ProtoReflect.Descriptor instead. 695 func (*RdmaStat) Descriptor() ([]byte, []int) { 696 return file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDescGZIP(), []int{5} 697 } 698 699 func (x *RdmaStat) GetCurrent() []*RdmaEntry { 700 if x != nil { 701 return x.Current 702 } 703 return nil 704 } 705 706 func (x *RdmaStat) GetLimit() []*RdmaEntry { 707 if x != nil { 708 return x.Limit 709 } 710 return nil 711 } 712 713 type RdmaEntry struct { 714 state protoimpl.MessageState 715 sizeCache protoimpl.SizeCache 716 unknownFields protoimpl.UnknownFields 717 718 Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` 719 HcaHandles uint32 `protobuf:"varint,2,opt,name=hca_handles,json=hcaHandles,proto3" json:"hca_handles,omitempty"` 720 HcaObjects uint32 `protobuf:"varint,3,opt,name=hca_objects,json=hcaObjects,proto3" json:"hca_objects,omitempty"` 721 } 722 723 func (x *RdmaEntry) Reset() { 724 *x = RdmaEntry{} 725 if protoimpl.UnsafeEnabled { 726 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[6] 727 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 728 ms.StoreMessageInfo(mi) 729 } 730 } 731 732 func (x *RdmaEntry) String() string { 733 return protoimpl.X.MessageStringOf(x) 734 } 735 736 func (*RdmaEntry) ProtoMessage() {} 737 738 func (x *RdmaEntry) ProtoReflect() protoreflect.Message { 739 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[6] 740 if protoimpl.UnsafeEnabled && x != nil { 741 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 742 if ms.LoadMessageInfo() == nil { 743 ms.StoreMessageInfo(mi) 744 } 745 return ms 746 } 747 return mi.MessageOf(x) 748 } 749 750 // Deprecated: Use RdmaEntry.ProtoReflect.Descriptor instead. 751 func (*RdmaEntry) Descriptor() ([]byte, []int) { 752 return file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDescGZIP(), []int{6} 753 } 754 755 func (x *RdmaEntry) GetDevice() string { 756 if x != nil { 757 return x.Device 758 } 759 return "" 760 } 761 762 func (x *RdmaEntry) GetHcaHandles() uint32 { 763 if x != nil { 764 return x.HcaHandles 765 } 766 return 0 767 } 768 769 func (x *RdmaEntry) GetHcaObjects() uint32 { 770 if x != nil { 771 return x.HcaObjects 772 } 773 return 0 774 } 775 776 type IOStat struct { 777 state protoimpl.MessageState 778 sizeCache protoimpl.SizeCache 779 unknownFields protoimpl.UnknownFields 780 781 Usage []*IOEntry `protobuf:"bytes,1,rep,name=usage,proto3" json:"usage,omitempty"` 782 } 783 784 func (x *IOStat) Reset() { 785 *x = IOStat{} 786 if protoimpl.UnsafeEnabled { 787 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[7] 788 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 789 ms.StoreMessageInfo(mi) 790 } 791 } 792 793 func (x *IOStat) String() string { 794 return protoimpl.X.MessageStringOf(x) 795 } 796 797 func (*IOStat) ProtoMessage() {} 798 799 func (x *IOStat) ProtoReflect() protoreflect.Message { 800 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[7] 801 if protoimpl.UnsafeEnabled && x != nil { 802 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 803 if ms.LoadMessageInfo() == nil { 804 ms.StoreMessageInfo(mi) 805 } 806 return ms 807 } 808 return mi.MessageOf(x) 809 } 810 811 // Deprecated: Use IOStat.ProtoReflect.Descriptor instead. 812 func (*IOStat) Descriptor() ([]byte, []int) { 813 return file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDescGZIP(), []int{7} 814 } 815 816 func (x *IOStat) GetUsage() []*IOEntry { 817 if x != nil { 818 return x.Usage 819 } 820 return nil 821 } 822 823 type IOEntry struct { 824 state protoimpl.MessageState 825 sizeCache protoimpl.SizeCache 826 unknownFields protoimpl.UnknownFields 827 828 Major uint64 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` 829 Minor uint64 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` 830 Rbytes uint64 `protobuf:"varint,3,opt,name=rbytes,proto3" json:"rbytes,omitempty"` 831 Wbytes uint64 `protobuf:"varint,4,opt,name=wbytes,proto3" json:"wbytes,omitempty"` 832 Rios uint64 `protobuf:"varint,5,opt,name=rios,proto3" json:"rios,omitempty"` 833 Wios uint64 `protobuf:"varint,6,opt,name=wios,proto3" json:"wios,omitempty"` 834 } 835 836 func (x *IOEntry) Reset() { 837 *x = IOEntry{} 838 if protoimpl.UnsafeEnabled { 839 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[8] 840 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 841 ms.StoreMessageInfo(mi) 842 } 843 } 844 845 func (x *IOEntry) String() string { 846 return protoimpl.X.MessageStringOf(x) 847 } 848 849 func (*IOEntry) ProtoMessage() {} 850 851 func (x *IOEntry) ProtoReflect() protoreflect.Message { 852 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[8] 853 if protoimpl.UnsafeEnabled && x != nil { 854 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 855 if ms.LoadMessageInfo() == nil { 856 ms.StoreMessageInfo(mi) 857 } 858 return ms 859 } 860 return mi.MessageOf(x) 861 } 862 863 // Deprecated: Use IOEntry.ProtoReflect.Descriptor instead. 864 func (*IOEntry) Descriptor() ([]byte, []int) { 865 return file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDescGZIP(), []int{8} 866 } 867 868 func (x *IOEntry) GetMajor() uint64 { 869 if x != nil { 870 return x.Major 871 } 872 return 0 873 } 874 875 func (x *IOEntry) GetMinor() uint64 { 876 if x != nil { 877 return x.Minor 878 } 879 return 0 880 } 881 882 func (x *IOEntry) GetRbytes() uint64 { 883 if x != nil { 884 return x.Rbytes 885 } 886 return 0 887 } 888 889 func (x *IOEntry) GetWbytes() uint64 { 890 if x != nil { 891 return x.Wbytes 892 } 893 return 0 894 } 895 896 func (x *IOEntry) GetRios() uint64 { 897 if x != nil { 898 return x.Rios 899 } 900 return 0 901 } 902 903 func (x *IOEntry) GetWios() uint64 { 904 if x != nil { 905 return x.Wios 906 } 907 return 0 908 } 909 910 type HugeTlbStat struct { 911 state protoimpl.MessageState 912 sizeCache protoimpl.SizeCache 913 unknownFields protoimpl.UnknownFields 914 915 Current uint64 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"` 916 Max uint64 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"` 917 Pagesize string `protobuf:"bytes,3,opt,name=pagesize,proto3" json:"pagesize,omitempty"` 918 } 919 920 func (x *HugeTlbStat) Reset() { 921 *x = HugeTlbStat{} 922 if protoimpl.UnsafeEnabled { 923 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[9] 924 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 925 ms.StoreMessageInfo(mi) 926 } 927 } 928 929 func (x *HugeTlbStat) String() string { 930 return protoimpl.X.MessageStringOf(x) 931 } 932 933 func (*HugeTlbStat) ProtoMessage() {} 934 935 func (x *HugeTlbStat) ProtoReflect() protoreflect.Message { 936 mi := &file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[9] 937 if protoimpl.UnsafeEnabled && x != nil { 938 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 939 if ms.LoadMessageInfo() == nil { 940 ms.StoreMessageInfo(mi) 941 } 942 return ms 943 } 944 return mi.MessageOf(x) 945 } 946 947 // Deprecated: Use HugeTlbStat.ProtoReflect.Descriptor instead. 948 func (*HugeTlbStat) Descriptor() ([]byte, []int) { 949 return file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDescGZIP(), []int{9} 950 } 951 952 func (x *HugeTlbStat) GetCurrent() uint64 { 953 if x != nil { 954 return x.Current 955 } 956 return 0 957 } 958 959 func (x *HugeTlbStat) GetMax() uint64 { 960 if x != nil { 961 return x.Max 962 } 963 return 0 964 } 965 966 func (x *HugeTlbStat) GetPagesize() string { 967 if x != nil { 968 return x.Pagesize 969 } 970 return "" 971 } 972 973 var File_github_com_containerd_cgroups_cgroup2_stats_metrics_proto protoreflect.FileDescriptor 974 975 var file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDesc = []byte{ 976 0x0a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x6e, 977 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x64, 0x2f, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 978 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x32, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2f, 0x6d, 0x65, 979 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x69, 0x6f, 0x2e, 980 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x63, 0x67, 0x72, 0x6f, 0x75, 981 0x70, 0x73, 0x2e, 0x76, 0x32, 0x22, 0xac, 0x03, 0x0a, 0x07, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 982 0x73, 0x12, 0x36, 0x0a, 0x04, 0x70, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 983 0x22, 0x2e, 0x69, 0x6f, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x64, 0x2e, 984 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x69, 0x64, 0x73, 0x53, 985 0x74, 0x61, 0x74, 0x52, 0x04, 0x70, 0x69, 0x64, 0x73, 0x12, 0x33, 0x0a, 0x03, 0x63, 0x70, 0x75, 986 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x69, 0x6f, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 987 0x61, 0x69, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x76, 988 0x32, 0x2e, 0x43, 0x50, 0x55, 0x53, 0x74, 0x61, 0x74, 0x52, 0x03, 0x63, 0x70, 0x75, 0x12, 0x3c, 989 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 990 0x2e, 0x69, 0x6f, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x63, 991 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 992 0x53, 0x74, 0x61, 0x74, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x36, 0x0a, 0x04, 993 0x72, 0x64, 0x6d, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6f, 0x2e, 994 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x63, 0x67, 0x72, 0x6f, 0x75, 995 0x70, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x64, 0x6d, 0x61, 0x53, 0x74, 0x61, 0x74, 0x52, 0x04, 996 0x72, 0x64, 0x6d, 0x61, 0x12, 0x30, 0x0a, 0x02, 0x69, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 997 0x32, 0x20, 0x2e, 0x69, 0x6f, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x64, 998 0x2e, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x49, 0x4f, 0x53, 0x74, 999 0x61, 0x74, 0x52, 0x02, 0x69, 0x6f, 0x12, 0x3f, 0x0a, 0x07, 0x68, 0x75, 0x67, 0x65, 0x74, 0x6c, 1000 0x62, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x69, 0x6f, 0x2e, 0x63, 0x6f, 0x6e, 1001 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 1002 0x76, 0x32, 0x2e, 0x48, 0x75, 0x67, 0x65, 0x54, 0x6c, 0x62, 0x53, 0x74, 0x61, 0x74, 0x52, 0x07, 1003 0x68, 0x75, 0x67, 0x65, 0x74, 0x6c, 0x62, 0x12, 0x4b, 0x0a, 0x0d, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 1004 0x79, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 1005 0x2e, 0x69, 0x6f, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x63, 1006 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 1007 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x45, 0x76, 1008 0x65, 0x6e, 0x74, 0x73, 0x22, 0x3a, 0x0a, 0x08, 0x50, 0x69, 0x64, 0x73, 0x53, 0x74, 0x61, 0x74, 1009 0x12, 0x18, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 1010 0x04, 0x52, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 1011 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 1012 0x22, 0xcf, 0x01, 0x0a, 0x07, 0x43, 0x50, 0x55, 0x53, 0x74, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 1013 0x75, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 1014 0x52, 0x09, 0x75, 0x73, 0x61, 0x67, 0x65, 0x55, 0x73, 0x65, 0x63, 0x12, 0x1b, 0x0a, 0x09, 0x75, 1015 0x73, 0x65, 0x72, 0x5f, 0x75, 0x73, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 1016 0x75, 0x73, 0x65, 0x72, 0x55, 0x73, 0x65, 0x63, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x79, 0x73, 0x74, 1017 0x65, 0x6d, 0x5f, 0x75, 0x73, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x73, 1018 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, 0x73, 0x65, 0x63, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x72, 0x5f, 1019 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6e, 1020 0x72, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x72, 0x5f, 0x74, 1021 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 1022 0x6e, 0x72, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x74, 1023 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x63, 0x18, 0x06, 0x20, 1024 0x01, 0x28, 0x04, 0x52, 0x0d, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x55, 0x73, 1025 0x65, 0x63, 0x22, 0x8f, 0x09, 0x0a, 0x0a, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x53, 0x74, 0x61, 1026 0x74, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x6e, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 1027 0x04, 0x61, 0x6e, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 1028 0x01, 0x28, 0x04, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6b, 0x65, 0x72, 1029 0x6e, 0x65, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 1030 0x0b, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x12, 0x0a, 0x04, 1031 0x73, 0x6c, 0x61, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6c, 0x61, 0x62, 1032 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 1033 0x73, 0x6f, 0x63, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x6d, 0x65, 0x6d, 0x18, 0x06, 0x20, 1034 0x01, 0x28, 0x04, 0x52, 0x05, 0x73, 0x68, 0x6d, 0x65, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 1035 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 1036 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 1037 0x69, 0x6c, 0x65, 0x5f, 0x64, 0x69, 0x72, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 1038 0x09, 0x66, 0x69, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x74, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x69, 1039 0x6c, 0x65, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x09, 0x20, 0x01, 1040 0x28, 0x04, 0x52, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x57, 0x72, 0x69, 0x74, 0x65, 0x62, 0x61, 0x63, 1041 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x6e, 0x6f, 0x6e, 0x5f, 0x74, 0x68, 0x70, 0x18, 0x0a, 0x20, 1042 0x01, 0x28, 0x04, 0x52, 0x07, 0x61, 0x6e, 0x6f, 0x6e, 0x54, 0x68, 0x70, 0x12, 0x23, 0x0a, 0x0d, 1043 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x6e, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 1044 0x01, 0x28, 0x04, 0x52, 0x0c, 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x41, 0x6e, 0x6f, 1045 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x6e, 0x6f, 0x6e, 1046 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x41, 0x6e, 1047 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x66, 1048 0x69, 0x6c, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x69, 0x6e, 0x61, 0x63, 0x74, 1049 0x69, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 1050 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x63, 1051 0x74, 0x69, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e, 0x65, 0x76, 1052 0x69, 0x63, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x75, 1053 0x6e, 0x65, 0x76, 0x69, 0x63, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x6c, 1054 0x61, 0x62, 0x5f, 0x72, 0x65, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x10, 1055 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x73, 0x6c, 0x61, 0x62, 0x52, 0x65, 0x63, 0x6c, 0x61, 0x69, 1056 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x73, 0x6c, 0x61, 0x62, 0x5f, 0x75, 0x6e, 1057 0x72, 0x65, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 1058 0x04, 0x52, 0x11, 0x73, 0x6c, 0x61, 0x62, 0x55, 0x6e, 0x72, 0x65, 0x63, 0x6c, 0x61, 0x69, 0x6d, 1059 0x61, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x67, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 1060 0x12, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x70, 0x67, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x1e, 1061 0x0a, 0x0a, 0x70, 0x67, 0x6d, 0x61, 0x6a, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x13, 0x20, 0x01, 1062 0x28, 0x04, 0x52, 0x0a, 0x70, 0x67, 0x6d, 0x61, 0x6a, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x2d, 1063 0x0a, 0x12, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x66, 1064 0x61, 0x75, 0x6c, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x77, 0x6f, 0x72, 0x6b, 1065 0x69, 0x6e, 0x67, 0x73, 0x65, 0x74, 0x52, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x2f, 0x0a, 1066 0x13, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x65, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 1067 0x76, 0x61, 0x74, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x77, 0x6f, 0x72, 0x6b, 1068 0x69, 0x6e, 0x67, 0x73, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x35, 1069 0x0a, 0x16, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x6f, 0x64, 1070 0x65, 0x72, 0x65, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x16, 0x20, 0x01, 0x28, 0x04, 0x52, 0x15, 1071 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x72, 0x65, 1072 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x67, 0x72, 0x65, 0x66, 0x69, 0x6c, 1073 0x6c, 0x18, 0x17, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, 0x67, 0x72, 0x65, 0x66, 0x69, 0x6c, 1074 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x67, 0x73, 0x63, 0x61, 0x6e, 0x18, 0x18, 0x20, 0x01, 0x28, 1075 0x04, 0x52, 0x06, 0x70, 0x67, 0x73, 0x63, 0x61, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x67, 0x73, 1076 0x74, 0x65, 0x61, 0x6c, 0x18, 0x19, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x70, 0x67, 0x73, 0x74, 1077 0x65, 0x61, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x67, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 1078 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x70, 0x67, 0x61, 0x63, 0x74, 0x69, 0x76, 1079 0x61, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x67, 0x64, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 1080 0x61, 0x74, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x70, 0x67, 0x64, 0x65, 0x61, 1081 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x67, 0x6c, 0x61, 0x7a, 1082 0x79, 0x66, 0x72, 0x65, 0x65, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x70, 0x67, 0x6c, 1083 0x61, 0x7a, 0x79, 0x66, 0x72, 0x65, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x67, 0x6c, 0x61, 0x7a, 1084 0x79, 0x66, 0x72, 0x65, 0x65, 0x64, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x67, 1085 0x6c, 0x61, 0x7a, 0x79, 0x66, 0x72, 0x65, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x74, 0x68, 0x70, 1086 0x5f, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x18, 0x1e, 0x20, 0x01, 1087 0x28, 0x04, 0x52, 0x0d, 0x74, 0x68, 0x70, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 1088 0x63, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x68, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 1089 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x74, 1090 0x68, 0x70, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x12, 1091 0x14, 0x0a, 0x05, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x20, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 1092 0x75, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x6c, 1093 0x69, 0x6d, 0x69, 0x74, 0x18, 0x21, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x75, 0x73, 0x61, 0x67, 1094 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x75, 1095 0x73, 0x61, 0x67, 0x65, 0x18, 0x22, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x77, 0x61, 0x70, 1096 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x6c, 0x69, 1097 0x6d, 0x69, 0x74, 0x18, 0x23, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x77, 0x61, 0x70, 0x4c, 1098 0x69, 0x6d, 0x69, 0x74, 0x22, 0x73, 0x0a, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x45, 0x76, 1099 0x65, 0x6e, 0x74, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 1100 0x04, 0x52, 0x03, 0x6c, 0x6f, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x69, 0x67, 0x68, 0x18, 0x02, 1101 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x68, 0x69, 0x67, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x61, 1102 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6d, 0x61, 0x78, 0x12, 0x10, 0x0a, 0x03, 1103 0x6f, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6f, 0x6f, 0x6d, 0x12, 0x19, 1104 0x0a, 0x08, 0x6f, 0x6f, 0x6d, 0x5f, 0x6b, 0x69, 0x6c, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 1105 0x52, 0x07, 0x6f, 0x6f, 0x6d, 0x4b, 0x69, 0x6c, 0x6c, 0x22, 0x84, 0x01, 0x0a, 0x08, 0x52, 0x64, 1106 0x6d, 0x61, 0x53, 0x74, 0x61, 0x74, 0x12, 0x3d, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 1107 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x69, 0x6f, 0x2e, 0x63, 0x6f, 0x6e, 1108 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 1109 0x76, 0x32, 0x2e, 0x52, 0x64, 0x6d, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x63, 0x75, 1110 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 1111 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x69, 0x6f, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 1112 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x76, 0x32, 0x2e, 1113 0x52, 0x64, 0x6d, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 1114 0x22, 0x65, 0x0a, 0x09, 0x52, 0x64, 0x6d, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x16, 0x0a, 1115 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 1116 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x63, 0x61, 0x5f, 0x68, 0x61, 0x6e, 1117 0x64, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x68, 0x63, 0x61, 0x48, 1118 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x63, 0x61, 0x5f, 0x6f, 0x62, 1119 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x68, 0x63, 0x61, 1120 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x22, 0x41, 0x0a, 0x06, 0x49, 0x4f, 0x53, 0x74, 0x61, 1121 0x74, 0x12, 0x37, 0x0a, 0x05, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 1122 0x32, 0x21, 0x2e, 0x69, 0x6f, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x64, 1123 0x2e, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x49, 0x4f, 0x45, 0x6e, 1124 0x74, 0x72, 0x79, 0x52, 0x05, 0x75, 0x73, 0x61, 0x67, 0x65, 0x22, 0x8d, 0x01, 0x0a, 0x07, 0x49, 1125 0x4f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, 1126 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 1127 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6d, 0x69, 0x6e, 1128 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 1129 0x28, 0x04, 0x52, 0x06, 0x72, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x62, 1130 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x77, 0x62, 0x79, 0x74, 1131 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x69, 0x6f, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 1132 0x52, 0x04, 0x72, 0x69, 0x6f, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x69, 0x6f, 0x73, 0x18, 0x06, 1133 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x77, 0x69, 0x6f, 0x73, 0x22, 0x55, 0x0a, 0x0b, 0x48, 0x75, 1134 0x67, 0x65, 0x54, 0x6c, 0x62, 0x53, 0x74, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x75, 0x72, 1135 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x75, 0x72, 0x72, 1136 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x61, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 1137 0x52, 0x03, 0x6d, 0x61, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x67, 0x65, 0x73, 0x69, 0x7a, 1138 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x73, 0x69, 0x7a, 1139 0x65, 0x42, 0x2d, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 1140 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x64, 0x2f, 0x63, 0x67, 0x72, 0x6f, 0x75, 1141 0x70, 0x73, 0x2f, 0x63, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x32, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 1142 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1143 } 1144 1145 var ( 1146 file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDescOnce sync.Once 1147 file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDescData = file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDesc 1148 ) 1149 1150 func file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDescGZIP() []byte { 1151 file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDescOnce.Do(func() { 1152 file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDescData) 1153 }) 1154 return file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDescData 1155 } 1156 1157 var file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes = make([]protoimpl.MessageInfo, 10) 1158 var file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_goTypes = []interface{}{ 1159 (*Metrics)(nil), // 0: io.containerd.cgroups.v2.Metrics 1160 (*PidsStat)(nil), // 1: io.containerd.cgroups.v2.PidsStat 1161 (*CPUStat)(nil), // 2: io.containerd.cgroups.v2.CPUStat 1162 (*MemoryStat)(nil), // 3: io.containerd.cgroups.v2.MemoryStat 1163 (*MemoryEvents)(nil), // 4: io.containerd.cgroups.v2.MemoryEvents 1164 (*RdmaStat)(nil), // 5: io.containerd.cgroups.v2.RdmaStat 1165 (*RdmaEntry)(nil), // 6: io.containerd.cgroups.v2.RdmaEntry 1166 (*IOStat)(nil), // 7: io.containerd.cgroups.v2.IOStat 1167 (*IOEntry)(nil), // 8: io.containerd.cgroups.v2.IOEntry 1168 (*HugeTlbStat)(nil), // 9: io.containerd.cgroups.v2.HugeTlbStat 1169 } 1170 var file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_depIdxs = []int32{ 1171 1, // 0: io.containerd.cgroups.v2.Metrics.pids:type_name -> io.containerd.cgroups.v2.PidsStat 1172 2, // 1: io.containerd.cgroups.v2.Metrics.cpu:type_name -> io.containerd.cgroups.v2.CPUStat 1173 3, // 2: io.containerd.cgroups.v2.Metrics.memory:type_name -> io.containerd.cgroups.v2.MemoryStat 1174 5, // 3: io.containerd.cgroups.v2.Metrics.rdma:type_name -> io.containerd.cgroups.v2.RdmaStat 1175 7, // 4: io.containerd.cgroups.v2.Metrics.io:type_name -> io.containerd.cgroups.v2.IOStat 1176 9, // 5: io.containerd.cgroups.v2.Metrics.hugetlb:type_name -> io.containerd.cgroups.v2.HugeTlbStat 1177 4, // 6: io.containerd.cgroups.v2.Metrics.memory_events:type_name -> io.containerd.cgroups.v2.MemoryEvents 1178 6, // 7: io.containerd.cgroups.v2.RdmaStat.current:type_name -> io.containerd.cgroups.v2.RdmaEntry 1179 6, // 8: io.containerd.cgroups.v2.RdmaStat.limit:type_name -> io.containerd.cgroups.v2.RdmaEntry 1180 8, // 9: io.containerd.cgroups.v2.IOStat.usage:type_name -> io.containerd.cgroups.v2.IOEntry 1181 10, // [10:10] is the sub-list for method output_type 1182 10, // [10:10] is the sub-list for method input_type 1183 10, // [10:10] is the sub-list for extension type_name 1184 10, // [10:10] is the sub-list for extension extendee 1185 0, // [0:10] is the sub-list for field type_name 1186 } 1187 1188 func init() { file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_init() } 1189 func file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_init() { 1190 if File_github_com_containerd_cgroups_cgroup2_stats_metrics_proto != nil { 1191 return 1192 } 1193 if !protoimpl.UnsafeEnabled { 1194 file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1195 switch v := v.(*Metrics); i { 1196 case 0: 1197 return &v.state 1198 case 1: 1199 return &v.sizeCache 1200 case 2: 1201 return &v.unknownFields 1202 default: 1203 return nil 1204 } 1205 } 1206 file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1207 switch v := v.(*PidsStat); i { 1208 case 0: 1209 return &v.state 1210 case 1: 1211 return &v.sizeCache 1212 case 2: 1213 return &v.unknownFields 1214 default: 1215 return nil 1216 } 1217 } 1218 file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1219 switch v := v.(*CPUStat); i { 1220 case 0: 1221 return &v.state 1222 case 1: 1223 return &v.sizeCache 1224 case 2: 1225 return &v.unknownFields 1226 default: 1227 return nil 1228 } 1229 } 1230 file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1231 switch v := v.(*MemoryStat); i { 1232 case 0: 1233 return &v.state 1234 case 1: 1235 return &v.sizeCache 1236 case 2: 1237 return &v.unknownFields 1238 default: 1239 return nil 1240 } 1241 } 1242 file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1243 switch v := v.(*MemoryEvents); i { 1244 case 0: 1245 return &v.state 1246 case 1: 1247 return &v.sizeCache 1248 case 2: 1249 return &v.unknownFields 1250 default: 1251 return nil 1252 } 1253 } 1254 file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1255 switch v := v.(*RdmaStat); i { 1256 case 0: 1257 return &v.state 1258 case 1: 1259 return &v.sizeCache 1260 case 2: 1261 return &v.unknownFields 1262 default: 1263 return nil 1264 } 1265 } 1266 file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1267 switch v := v.(*RdmaEntry); i { 1268 case 0: 1269 return &v.state 1270 case 1: 1271 return &v.sizeCache 1272 case 2: 1273 return &v.unknownFields 1274 default: 1275 return nil 1276 } 1277 } 1278 file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1279 switch v := v.(*IOStat); i { 1280 case 0: 1281 return &v.state 1282 case 1: 1283 return &v.sizeCache 1284 case 2: 1285 return &v.unknownFields 1286 default: 1287 return nil 1288 } 1289 } 1290 file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1291 switch v := v.(*IOEntry); i { 1292 case 0: 1293 return &v.state 1294 case 1: 1295 return &v.sizeCache 1296 case 2: 1297 return &v.unknownFields 1298 default: 1299 return nil 1300 } 1301 } 1302 file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1303 switch v := v.(*HugeTlbStat); i { 1304 case 0: 1305 return &v.state 1306 case 1: 1307 return &v.sizeCache 1308 case 2: 1309 return &v.unknownFields 1310 default: 1311 return nil 1312 } 1313 } 1314 } 1315 type x struct{} 1316 out := protoimpl.TypeBuilder{ 1317 File: protoimpl.DescBuilder{ 1318 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1319 RawDescriptor: file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDesc, 1320 NumEnums: 0, 1321 NumMessages: 10, 1322 NumExtensions: 0, 1323 NumServices: 0, 1324 }, 1325 GoTypes: file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_goTypes, 1326 DependencyIndexes: file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_depIdxs, 1327 MessageInfos: file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_msgTypes, 1328 }.Build() 1329 File_github_com_containerd_cgroups_cgroup2_stats_metrics_proto = out.File 1330 file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_rawDesc = nil 1331 file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_goTypes = nil 1332 file_github_com_containerd_cgroups_cgroup2_stats_metrics_proto_depIdxs = nil 1333 }