// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v5.26.0
// source: github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/stats/stats.proto

package stats

import (
	stats "github.com/containerd/cgroups/v3/cgroup1/stats"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type Statistics struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to Container:
	//
	//	*Statistics_Windows
	//	*Statistics_Linux
	Container     isStatistics_Container    `protobuf_oneof:"container"`
	VM            *VirtualMachineStatistics `protobuf:"bytes,3,opt,name=vm,proto3" json:"vm,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Statistics) Reset() {
	*x = Statistics{}
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Statistics) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Statistics) ProtoMessage() {}

func (x *Statistics) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Statistics.ProtoReflect.Descriptor instead.
func (*Statistics) Descriptor() ([]byte, []int) {
	return file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDescGZIP(), []int{0}
}

func (x *Statistics) GetContainer() isStatistics_Container {
	if x != nil {
		return x.Container
	}
	return nil
}

func (x *Statistics) GetWindows() *WindowsContainerStatistics {
	if x != nil {
		if x, ok := x.Container.(*Statistics_Windows); ok {
			return x.Windows
		}
	}
	return nil
}

func (x *Statistics) GetLinux() *stats.Metrics {
	if x != nil {
		if x, ok := x.Container.(*Statistics_Linux); ok {
			return x.Linux
		}
	}
	return nil
}

func (x *Statistics) GetVM() *VirtualMachineStatistics {
	if x != nil {
		return x.VM
	}
	return nil
}

type isStatistics_Container interface {
	isStatistics_Container()
}

type Statistics_Windows struct {
	Windows *WindowsContainerStatistics `protobuf:"bytes,1,opt,name=windows,proto3,oneof"`
}

type Statistics_Linux struct {
	Linux *stats.Metrics `protobuf:"bytes,2,opt,name=linux,proto3,oneof"`
}

func (*Statistics_Windows) isStatistics_Container() {}

func (*Statistics_Linux) isStatistics_Container() {}

type WindowsContainerStatistics struct {
	state              protoimpl.MessageState               `protogen:"open.v1"`
	Timestamp          *timestamppb.Timestamp               `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	ContainerStartTime *timestamppb.Timestamp               `protobuf:"bytes,2,opt,name=container_start_time,json=containerStartTime,proto3" json:"container_start_time,omitempty"`
	UptimeNS           uint64                               `protobuf:"varint,3,opt,name=uptime_ns,json=uptimeNs,proto3" json:"uptime_ns,omitempty"`
	Processor          *WindowsContainerProcessorStatistics `protobuf:"bytes,4,opt,name=processor,proto3" json:"processor,omitempty"`
	Memory             *WindowsContainerMemoryStatistics    `protobuf:"bytes,5,opt,name=memory,proto3" json:"memory,omitempty"`
	Storage            *WindowsContainerStorageStatistics   `protobuf:"bytes,6,opt,name=storage,proto3" json:"storage,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

func (x *WindowsContainerStatistics) Reset() {
	*x = WindowsContainerStatistics{}
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *WindowsContainerStatistics) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*WindowsContainerStatistics) ProtoMessage() {}

func (x *WindowsContainerStatistics) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use WindowsContainerStatistics.ProtoReflect.Descriptor instead.
func (*WindowsContainerStatistics) Descriptor() ([]byte, []int) {
	return file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDescGZIP(), []int{1}
}

func (x *WindowsContainerStatistics) GetTimestamp() *timestamppb.Timestamp {
	if x != nil {
		return x.Timestamp
	}
	return nil
}

func (x *WindowsContainerStatistics) GetContainerStartTime() *timestamppb.Timestamp {
	if x != nil {
		return x.ContainerStartTime
	}
	return nil
}

func (x *WindowsContainerStatistics) GetUptimeNS() uint64 {
	if x != nil {
		return x.UptimeNS
	}
	return 0
}

func (x *WindowsContainerStatistics) GetProcessor() *WindowsContainerProcessorStatistics {
	if x != nil {
		return x.Processor
	}
	return nil
}

func (x *WindowsContainerStatistics) GetMemory() *WindowsContainerMemoryStatistics {
	if x != nil {
		return x.Memory
	}
	return nil
}

func (x *WindowsContainerStatistics) GetStorage() *WindowsContainerStorageStatistics {
	if x != nil {
		return x.Storage
	}
	return nil
}

type WindowsContainerProcessorStatistics struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	TotalRuntimeNS  uint64                 `protobuf:"varint,1,opt,name=total_runtime_ns,json=totalRuntimeNs,proto3" json:"total_runtime_ns,omitempty"`
	RuntimeUserNS   uint64                 `protobuf:"varint,2,opt,name=runtime_user_ns,json=runtimeUserNs,proto3" json:"runtime_user_ns,omitempty"`
	RuntimeKernelNS uint64                 `protobuf:"varint,3,opt,name=runtime_kernel_ns,json=runtimeKernelNs,proto3" json:"runtime_kernel_ns,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *WindowsContainerProcessorStatistics) Reset() {
	*x = WindowsContainerProcessorStatistics{}
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *WindowsContainerProcessorStatistics) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*WindowsContainerProcessorStatistics) ProtoMessage() {}

func (x *WindowsContainerProcessorStatistics) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use WindowsContainerProcessorStatistics.ProtoReflect.Descriptor instead.
func (*WindowsContainerProcessorStatistics) Descriptor() ([]byte, []int) {
	return file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDescGZIP(), []int{2}
}

func (x *WindowsContainerProcessorStatistics) GetTotalRuntimeNS() uint64 {
	if x != nil {
		return x.TotalRuntimeNS
	}
	return 0
}

func (x *WindowsContainerProcessorStatistics) GetRuntimeUserNS() uint64 {
	if x != nil {
		return x.RuntimeUserNS
	}
	return 0
}

func (x *WindowsContainerProcessorStatistics) GetRuntimeKernelNS() uint64 {
	if x != nil {
		return x.RuntimeKernelNS
	}
	return 0
}

type WindowsContainerMemoryStatistics struct {
	state                             protoimpl.MessageState `protogen:"open.v1"`
	MemoryUsageCommitBytes            uint64                 `protobuf:"varint,1,opt,name=memory_usage_commit_bytes,json=memoryUsageCommitBytes,proto3" json:"memory_usage_commit_bytes,omitempty"`
	MemoryUsageCommitPeakBytes        uint64                 `protobuf:"varint,2,opt,name=memory_usage_commit_peak_bytes,json=memoryUsageCommitPeakBytes,proto3" json:"memory_usage_commit_peak_bytes,omitempty"`
	MemoryUsagePrivateWorkingSetBytes uint64                 `protobuf:"varint,3,opt,name=memory_usage_private_working_set_bytes,json=memoryUsagePrivateWorkingSetBytes,proto3" json:"memory_usage_private_working_set_bytes,omitempty"`
	unknownFields                     protoimpl.UnknownFields
	sizeCache                         protoimpl.SizeCache
}

func (x *WindowsContainerMemoryStatistics) Reset() {
	*x = WindowsContainerMemoryStatistics{}
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *WindowsContainerMemoryStatistics) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*WindowsContainerMemoryStatistics) ProtoMessage() {}

func (x *WindowsContainerMemoryStatistics) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use WindowsContainerMemoryStatistics.ProtoReflect.Descriptor instead.
func (*WindowsContainerMemoryStatistics) Descriptor() ([]byte, []int) {
	return file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDescGZIP(), []int{3}
}

func (x *WindowsContainerMemoryStatistics) GetMemoryUsageCommitBytes() uint64 {
	if x != nil {
		return x.MemoryUsageCommitBytes
	}
	return 0
}

func (x *WindowsContainerMemoryStatistics) GetMemoryUsageCommitPeakBytes() uint64 {
	if x != nil {
		return x.MemoryUsageCommitPeakBytes
	}
	return 0
}

func (x *WindowsContainerMemoryStatistics) GetMemoryUsagePrivateWorkingSetBytes() uint64 {
	if x != nil {
		return x.MemoryUsagePrivateWorkingSetBytes
	}
	return 0
}

type WindowsContainerStorageStatistics struct {
	state                protoimpl.MessageState `protogen:"open.v1"`
	ReadCountNormalized  uint64                 `protobuf:"varint,1,opt,name=read_count_normalized,json=readCountNormalized,proto3" json:"read_count_normalized,omitempty"`
	ReadSizeBytes        uint64                 `protobuf:"varint,2,opt,name=read_size_bytes,json=readSizeBytes,proto3" json:"read_size_bytes,omitempty"`
	WriteCountNormalized uint64                 `protobuf:"varint,3,opt,name=write_count_normalized,json=writeCountNormalized,proto3" json:"write_count_normalized,omitempty"`
	WriteSizeBytes       uint64                 `protobuf:"varint,4,opt,name=write_size_bytes,json=writeSizeBytes,proto3" json:"write_size_bytes,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

func (x *WindowsContainerStorageStatistics) Reset() {
	*x = WindowsContainerStorageStatistics{}
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *WindowsContainerStorageStatistics) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*WindowsContainerStorageStatistics) ProtoMessage() {}

func (x *WindowsContainerStorageStatistics) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use WindowsContainerStorageStatistics.ProtoReflect.Descriptor instead.
func (*WindowsContainerStorageStatistics) Descriptor() ([]byte, []int) {
	return file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDescGZIP(), []int{4}
}

func (x *WindowsContainerStorageStatistics) GetReadCountNormalized() uint64 {
	if x != nil {
		return x.ReadCountNormalized
	}
	return 0
}

func (x *WindowsContainerStorageStatistics) GetReadSizeBytes() uint64 {
	if x != nil {
		return x.ReadSizeBytes
	}
	return 0
}

func (x *WindowsContainerStorageStatistics) GetWriteCountNormalized() uint64 {
	if x != nil {
		return x.WriteCountNormalized
	}
	return 0
}

func (x *WindowsContainerStorageStatistics) GetWriteSizeBytes() uint64 {
	if x != nil {
		return x.WriteSizeBytes
	}
	return 0
}

type VirtualMachineStatistics struct {
	state         protoimpl.MessageState             `protogen:"open.v1"`
	Processor     *VirtualMachineProcessorStatistics `protobuf:"bytes,1,opt,name=processor,proto3" json:"processor,omitempty"`
	Memory        *VirtualMachineMemoryStatistics    `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *VirtualMachineStatistics) Reset() {
	*x = VirtualMachineStatistics{}
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *VirtualMachineStatistics) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*VirtualMachineStatistics) ProtoMessage() {}

func (x *VirtualMachineStatistics) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use VirtualMachineStatistics.ProtoReflect.Descriptor instead.
func (*VirtualMachineStatistics) Descriptor() ([]byte, []int) {
	return file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDescGZIP(), []int{5}
}

func (x *VirtualMachineStatistics) GetProcessor() *VirtualMachineProcessorStatistics {
	if x != nil {
		return x.Processor
	}
	return nil
}

func (x *VirtualMachineStatistics) GetMemory() *VirtualMachineMemoryStatistics {
	if x != nil {
		return x.Memory
	}
	return nil
}

type VirtualMachineProcessorStatistics struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	TotalRuntimeNS uint64                 `protobuf:"varint,1,opt,name=total_runtime_ns,json=totalRuntimeNs,proto3" json:"total_runtime_ns,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *VirtualMachineProcessorStatistics) Reset() {
	*x = VirtualMachineProcessorStatistics{}
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *VirtualMachineProcessorStatistics) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*VirtualMachineProcessorStatistics) ProtoMessage() {}

func (x *VirtualMachineProcessorStatistics) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[6]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use VirtualMachineProcessorStatistics.ProtoReflect.Descriptor instead.
func (*VirtualMachineProcessorStatistics) Descriptor() ([]byte, []int) {
	return file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDescGZIP(), []int{6}
}

func (x *VirtualMachineProcessorStatistics) GetTotalRuntimeNS() uint64 {
	if x != nil {
		return x.TotalRuntimeNS
	}
	return 0
}

type VirtualMachineMemoryStatistics struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	WorkingSetBytes  uint64                 `protobuf:"varint,1,opt,name=working_set_bytes,json=workingSetBytes,proto3" json:"working_set_bytes,omitempty"`
	VirtualNodeCount uint32                 `protobuf:"varint,2,opt,name=virtual_node_count,json=virtualNodeCount,proto3" json:"virtual_node_count,omitempty"`
	VmMemory         *VirtualMachineMemory  `protobuf:"bytes,3,opt,name=vm_memory,json=vmMemory,proto3" json:"vm_memory,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *VirtualMachineMemoryStatistics) Reset() {
	*x = VirtualMachineMemoryStatistics{}
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *VirtualMachineMemoryStatistics) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*VirtualMachineMemoryStatistics) ProtoMessage() {}

func (x *VirtualMachineMemoryStatistics) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[7]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use VirtualMachineMemoryStatistics.ProtoReflect.Descriptor instead.
func (*VirtualMachineMemoryStatistics) Descriptor() ([]byte, []int) {
	return file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDescGZIP(), []int{7}
}

func (x *VirtualMachineMemoryStatistics) GetWorkingSetBytes() uint64 {
	if x != nil {
		return x.WorkingSetBytes
	}
	return 0
}

func (x *VirtualMachineMemoryStatistics) GetVirtualNodeCount() uint32 {
	if x != nil {
		return x.VirtualNodeCount
	}
	return 0
}

func (x *VirtualMachineMemoryStatistics) GetVmMemory() *VirtualMachineMemory {
	if x != nil {
		return x.VmMemory
	}
	return nil
}

type VirtualMachineMemory struct {
	state                 protoimpl.MessageState `protogen:"open.v1"`
	AvailableMemory       int32                  `protobuf:"varint,1,opt,name=available_memory,json=availableMemory,proto3" json:"available_memory,omitempty"`
	AvailableMemoryBuffer int32                  `protobuf:"varint,2,opt,name=available_memory_buffer,json=availableMemoryBuffer,proto3" json:"available_memory_buffer,omitempty"`
	ReservedMemory        uint64                 `protobuf:"varint,3,opt,name=reserved_memory,json=reservedMemory,proto3" json:"reserved_memory,omitempty"`
	AssignedMemory        uint64                 `protobuf:"varint,4,opt,name=assigned_memory,json=assignedMemory,proto3" json:"assigned_memory,omitempty"`
	SlpActive             bool                   `protobuf:"varint,5,opt,name=slp_active,json=slpActive,proto3" json:"slp_active,omitempty"`
	BalancingEnabled      bool                   `protobuf:"varint,6,opt,name=balancing_enabled,json=balancingEnabled,proto3" json:"balancing_enabled,omitempty"`
	DmOperationInProgress bool                   `protobuf:"varint,7,opt,name=dm_operation_in_progress,json=dmOperationInProgress,proto3" json:"dm_operation_in_progress,omitempty"`
	unknownFields         protoimpl.UnknownFields
	sizeCache             protoimpl.SizeCache
}

func (x *VirtualMachineMemory) Reset() {
	*x = VirtualMachineMemory{}
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *VirtualMachineMemory) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*VirtualMachineMemory) ProtoMessage() {}

func (x *VirtualMachineMemory) ProtoReflect() protoreflect.Message {
	mi := &file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[8]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use VirtualMachineMemory.ProtoReflect.Descriptor instead.
func (*VirtualMachineMemory) Descriptor() ([]byte, []int) {
	return file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDescGZIP(), []int{8}
}

func (x *VirtualMachineMemory) GetAvailableMemory() int32 {
	if x != nil {
		return x.AvailableMemory
	}
	return 0
}

func (x *VirtualMachineMemory) GetAvailableMemoryBuffer() int32 {
	if x != nil {
		return x.AvailableMemoryBuffer
	}
	return 0
}

func (x *VirtualMachineMemory) GetReservedMemory() uint64 {
	if x != nil {
		return x.ReservedMemory
	}
	return 0
}

func (x *VirtualMachineMemory) GetAssignedMemory() uint64 {
	if x != nil {
		return x.AssignedMemory
	}
	return 0
}

func (x *VirtualMachineMemory) GetSlpActive() bool {
	if x != nil {
		return x.SlpActive
	}
	return false
}

func (x *VirtualMachineMemory) GetBalancingEnabled() bool {
	if x != nil {
		return x.BalancingEnabled
	}
	return false
}

func (x *VirtualMachineMemory) GetDmOperationInProgress() bool {
	if x != nil {
		return x.DmOperationInProgress
	}
	return false
}

var File_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto protoreflect.FileDescriptor

const file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDesc = "" +
	"\n" +
	"Lgithub.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/stats/stats.proto\x12\x1acontainerd.runhcs.stats.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a<github.com/containerd/cgroups/v3/cgroup1/stats/metrics.proto\"\xee\x01\n" +
	"\n" +
	"Statistics\x12R\n" +
	"\awindows\x18\x01 \x01(\v26.containerd.runhcs.stats.v1.WindowsContainerStatisticsH\x00R\awindows\x129\n" +
	"\x05linux\x18\x02 \x01(\v2!.io.containerd.cgroups.v1.MetricsH\x00R\x05linux\x12D\n" +
	"\x02vm\x18\x03 \x01(\v24.containerd.runhcs.stats.v1.VirtualMachineStatisticsR\x02vmB\v\n" +
	"\tcontainer\"\xcf\x03\n" +
	"\x1aWindowsContainerStatistics\x128\n" +
	"\ttimestamp\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\ttimestamp\x12L\n" +
	"\x14container_start_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\x12containerStartTime\x12\x1b\n" +
	"\tuptime_ns\x18\x03 \x01(\x04R\buptimeNs\x12]\n" +
	"\tprocessor\x18\x04 \x01(\v2?.containerd.runhcs.stats.v1.WindowsContainerProcessorStatisticsR\tprocessor\x12T\n" +
	"\x06memory\x18\x05 \x01(\v2<.containerd.runhcs.stats.v1.WindowsContainerMemoryStatisticsR\x06memory\x12W\n" +
	"\astorage\x18\x06 \x01(\v2=.containerd.runhcs.stats.v1.WindowsContainerStorageStatisticsR\astorage\"\xa3\x01\n" +
	"#WindowsContainerProcessorStatistics\x12(\n" +
	"\x10total_runtime_ns\x18\x01 \x01(\x04R\x0etotalRuntimeNs\x12&\n" +
	"\x0fruntime_user_ns\x18\x02 \x01(\x04R\rruntimeUserNs\x12*\n" +
	"\x11runtime_kernel_ns\x18\x03 \x01(\x04R\x0fruntimeKernelNs\"\xf4\x01\n" +
	" WindowsContainerMemoryStatistics\x129\n" +
	"\x19memory_usage_commit_bytes\x18\x01 \x01(\x04R\x16memoryUsageCommitBytes\x12B\n" +
	"\x1ememory_usage_commit_peak_bytes\x18\x02 \x01(\x04R\x1amemoryUsageCommitPeakBytes\x12Q\n" +
	"&memory_usage_private_working_set_bytes\x18\x03 \x01(\x04R!memoryUsagePrivateWorkingSetBytes\"\xdf\x01\n" +
	"!WindowsContainerStorageStatistics\x122\n" +
	"\x15read_count_normalized\x18\x01 \x01(\x04R\x13readCountNormalized\x12&\n" +
	"\x0fread_size_bytes\x18\x02 \x01(\x04R\rreadSizeBytes\x124\n" +
	"\x16write_count_normalized\x18\x03 \x01(\x04R\x14writeCountNormalized\x12(\n" +
	"\x10write_size_bytes\x18\x04 \x01(\x04R\x0ewriteSizeBytes\"\xcb\x01\n" +
	"\x18VirtualMachineStatistics\x12[\n" +
	"\tprocessor\x18\x01 \x01(\v2=.containerd.runhcs.stats.v1.VirtualMachineProcessorStatisticsR\tprocessor\x12R\n" +
	"\x06memory\x18\x02 \x01(\v2:.containerd.runhcs.stats.v1.VirtualMachineMemoryStatisticsR\x06memory\"M\n" +
	"!VirtualMachineProcessorStatistics\x12(\n" +
	"\x10total_runtime_ns\x18\x01 \x01(\x04R\x0etotalRuntimeNs\"\xc9\x01\n" +
	"\x1eVirtualMachineMemoryStatistics\x12*\n" +
	"\x11working_set_bytes\x18\x01 \x01(\x04R\x0fworkingSetBytes\x12,\n" +
	"\x12virtual_node_count\x18\x02 \x01(\rR\x10virtualNodeCount\x12M\n" +
	"\tvm_memory\x18\x03 \x01(\v20.containerd.runhcs.stats.v1.VirtualMachineMemoryR\bvmMemory\"\xd0\x02\n" +
	"\x14VirtualMachineMemory\x12)\n" +
	"\x10available_memory\x18\x01 \x01(\x05R\x0favailableMemory\x126\n" +
	"\x17available_memory_buffer\x18\x02 \x01(\x05R\x15availableMemoryBuffer\x12'\n" +
	"\x0freserved_memory\x18\x03 \x01(\x04R\x0ereservedMemory\x12'\n" +
	"\x0fassigned_memory\x18\x04 \x01(\x04R\x0eassignedMemory\x12\x1d\n" +
	"\n" +
	"slp_active\x18\x05 \x01(\bR\tslpActive\x12+\n" +
	"\x11balancing_enabled\x18\x06 \x01(\bR\x10balancingEnabled\x127\n" +
	"\x18dm_operation_in_progress\x18\a \x01(\bR\x15dmOperationInProgressBHZFgithub.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/stats;statsb\x06proto3"

var (
	file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDescOnce sync.Once
	file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDescData []byte
)

func file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDescGZIP() []byte {
	file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDescOnce.Do(func() {
		file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDesc), len(file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDesc)))
	})
	return file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDescData
}

var file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_goTypes = []any{
	(*Statistics)(nil),                          // 0: containerd.runhcs.stats.v1.Statistics
	(*WindowsContainerStatistics)(nil),          // 1: containerd.runhcs.stats.v1.WindowsContainerStatistics
	(*WindowsContainerProcessorStatistics)(nil), // 2: containerd.runhcs.stats.v1.WindowsContainerProcessorStatistics
	(*WindowsContainerMemoryStatistics)(nil),    // 3: containerd.runhcs.stats.v1.WindowsContainerMemoryStatistics
	(*WindowsContainerStorageStatistics)(nil),   // 4: containerd.runhcs.stats.v1.WindowsContainerStorageStatistics
	(*VirtualMachineStatistics)(nil),            // 5: containerd.runhcs.stats.v1.VirtualMachineStatistics
	(*VirtualMachineProcessorStatistics)(nil),   // 6: containerd.runhcs.stats.v1.VirtualMachineProcessorStatistics
	(*VirtualMachineMemoryStatistics)(nil),      // 7: containerd.runhcs.stats.v1.VirtualMachineMemoryStatistics
	(*VirtualMachineMemory)(nil),                // 8: containerd.runhcs.stats.v1.VirtualMachineMemory
	(*stats.Metrics)(nil),                       // 9: io.containerd.cgroups.v1.Metrics
	(*timestamppb.Timestamp)(nil),               // 10: google.protobuf.Timestamp
}
var file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_depIdxs = []int32{
	1,  // 0: containerd.runhcs.stats.v1.Statistics.windows:type_name -> containerd.runhcs.stats.v1.WindowsContainerStatistics
	9,  // 1: containerd.runhcs.stats.v1.Statistics.linux:type_name -> io.containerd.cgroups.v1.Metrics
	5,  // 2: containerd.runhcs.stats.v1.Statistics.vm:type_name -> containerd.runhcs.stats.v1.VirtualMachineStatistics
	10, // 3: containerd.runhcs.stats.v1.WindowsContainerStatistics.timestamp:type_name -> google.protobuf.Timestamp
	10, // 4: containerd.runhcs.stats.v1.WindowsContainerStatistics.container_start_time:type_name -> google.protobuf.Timestamp
	2,  // 5: containerd.runhcs.stats.v1.WindowsContainerStatistics.processor:type_name -> containerd.runhcs.stats.v1.WindowsContainerProcessorStatistics
	3,  // 6: containerd.runhcs.stats.v1.WindowsContainerStatistics.memory:type_name -> containerd.runhcs.stats.v1.WindowsContainerMemoryStatistics
	4,  // 7: containerd.runhcs.stats.v1.WindowsContainerStatistics.storage:type_name -> containerd.runhcs.stats.v1.WindowsContainerStorageStatistics
	6,  // 8: containerd.runhcs.stats.v1.VirtualMachineStatistics.processor:type_name -> containerd.runhcs.stats.v1.VirtualMachineProcessorStatistics
	7,  // 9: containerd.runhcs.stats.v1.VirtualMachineStatistics.memory:type_name -> containerd.runhcs.stats.v1.VirtualMachineMemoryStatistics
	8,  // 10: containerd.runhcs.stats.v1.VirtualMachineMemoryStatistics.vm_memory:type_name -> containerd.runhcs.stats.v1.VirtualMachineMemory
	11, // [11:11] is the sub-list for method output_type
	11, // [11:11] is the sub-list for method input_type
	11, // [11:11] is the sub-list for extension type_name
	11, // [11:11] is the sub-list for extension extendee
	0,  // [0:11] is the sub-list for field type_name
}

func init() { file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_init() }
func file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_init() {
	if File_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto != nil {
		return
	}
	file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes[0].OneofWrappers = []any{
		(*Statistics_Windows)(nil),
		(*Statistics_Linux)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDesc), len(file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   9,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_goTypes,
		DependencyIndexes: file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_depIdxs,
		MessageInfos:      file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_msgTypes,
	}.Build()
	File_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto = out.File
	file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_goTypes = nil
	file_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_stats_stats_proto_depIdxs = nil
}
