// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/baremetal/v1alpha/configuration.proto

package baremetal

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	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)
)

// CPU configuration.
type CPU struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Name of the CPU.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Vendor of the CPU.
	Vendor string `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// @deprecated. Number of cores.
	//
	// Deprecated: Marked as deprecated in yandex/cloud/baremetal/v1alpha/configuration.proto.
	Cores int64 `protobuf:"varint,3,opt,name=cores,proto3" json:"cores,omitempty"`
	// Number of physical cores per CPU (socket).
	PhysicalCores int64 `protobuf:"varint,4,opt,name=physical_cores,json=physicalCores,proto3" json:"physical_cores,omitempty"`
	// Frequency of the CPU in megahertz (MHz).
	FrequencyMhz  int64 `protobuf:"varint,5,opt,name=frequency_mhz,json=frequencyMhz,proto3" json:"frequency_mhz,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CPU) ProtoMessage() {}

func (x *CPU) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_baremetal_v1alpha_configuration_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 CPU.ProtoReflect.Descriptor instead.
func (*CPU) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_baremetal_v1alpha_configuration_proto_rawDescGZIP(), []int{0}
}

func (x *CPU) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *CPU) GetVendor() string {
	if x != nil {
		return x.Vendor
	}
	return ""
}

// Deprecated: Marked as deprecated in yandex/cloud/baremetal/v1alpha/configuration.proto.
func (x *CPU) GetCores() int64 {
	if x != nil {
		return x.Cores
	}
	return 0
}

func (x *CPU) GetPhysicalCores() int64 {
	if x != nil {
		return x.PhysicalCores
	}
	return 0
}

func (x *CPU) GetFrequencyMhz() int64 {
	if x != nil {
		return x.FrequencyMhz
	}
	return 0
}

type DiskDriveConfiguration struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Type of the disk drive.
	Type DiskDriveType `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.baremetal.v1alpha.DiskDriveType" json:"type,omitempty"`
	// Number of disk drives.
	DiskCount int64 `protobuf:"varint,2,opt,name=disk_count,json=diskCount,proto3" json:"disk_count,omitempty"`
	// Size of a single disk drive in gibibytes (2^30 bytes).
	DiskSizeGib   int64 `protobuf:"varint,3,opt,name=disk_size_gib,json=diskSizeGib,proto3" json:"disk_size_gib,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DiskDriveConfiguration) ProtoMessage() {}

func (x *DiskDriveConfiguration) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_baremetal_v1alpha_configuration_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 DiskDriveConfiguration.ProtoReflect.Descriptor instead.
func (*DiskDriveConfiguration) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_baremetal_v1alpha_configuration_proto_rawDescGZIP(), []int{1}
}

func (x *DiskDriveConfiguration) GetType() DiskDriveType {
	if x != nil {
		return x.Type
	}
	return DiskDriveType_DISK_DRIVE_TYPE_UNSPECIFIED
}

func (x *DiskDriveConfiguration) GetDiskCount() int64 {
	if x != nil {
		return x.DiskCount
	}
	return 0
}

func (x *DiskDriveConfiguration) GetDiskSizeGib() int64 {
	if x != nil {
		return x.DiskSizeGib
	}
	return 0
}

type Configuration struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the configuration.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the configuration.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Random-access memory (RAM) size in gibibytes (2^30 bytes).
	MemoryGib int64 `protobuf:"varint,3,opt,name=memory_gib,json=memoryGib,proto3" json:"memory_gib,omitempty"`
	// CPU configuration.
	Cpu *CPU `protobuf:"bytes,4,opt,name=cpu,proto3" json:"cpu,omitempty"`
	// Array of disk drive configurations.
	DiskDrives []*DiskDriveConfiguration `protobuf:"bytes,5,rep,name=disk_drives,json=diskDrives,proto3" json:"disk_drives,omitempty"`
	// Network capacity or bandwidth in gigabits per second.
	//
	// Deprecated: Marked as deprecated in yandex/cloud/baremetal/v1alpha/configuration.proto.
	NetworkCapacityGbps int64 `protobuf:"varint,6,opt,name=network_capacity_gbps,json=networkCapacityGbps,proto3" json:"network_capacity_gbps,omitempty"`
	// Number of cpu.
	CpuNum        int64 `protobuf:"varint,8,opt,name=cpu_num,json=cpuNum,proto3" json:"cpu_num,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Configuration) ProtoMessage() {}

func (x *Configuration) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_baremetal_v1alpha_configuration_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 Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_baremetal_v1alpha_configuration_proto_rawDescGZIP(), []int{2}
}

func (x *Configuration) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *Configuration) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *Configuration) GetMemoryGib() int64 {
	if x != nil {
		return x.MemoryGib
	}
	return 0
}

func (x *Configuration) GetCpu() *CPU {
	if x != nil {
		return x.Cpu
	}
	return nil
}

func (x *Configuration) GetDiskDrives() []*DiskDriveConfiguration {
	if x != nil {
		return x.DiskDrives
	}
	return nil
}

// Deprecated: Marked as deprecated in yandex/cloud/baremetal/v1alpha/configuration.proto.
func (x *Configuration) GetNetworkCapacityGbps() int64 {
	if x != nil {
		return x.NetworkCapacityGbps
	}
	return 0
}

func (x *Configuration) GetCpuNum() int64 {
	if x != nil {
		return x.CpuNum
	}
	return 0
}

var File_yandex_cloud_baremetal_v1alpha_configuration_proto protoreflect.FileDescriptor

const file_yandex_cloud_baremetal_v1alpha_configuration_proto_rawDesc = "" +
	"\n" +
	"2yandex/cloud/baremetal/v1alpha/configuration.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a)yandex/cloud/baremetal/v1alpha/disk.proto\"\x97\x01\n" +
	"\x03CPU\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" +
	"\x06vendor\x18\x02 \x01(\tR\x06vendor\x12\x18\n" +
	"\x05cores\x18\x03 \x01(\x03B\x02\x18\x01R\x05cores\x12%\n" +
	"\x0ephysical_cores\x18\x04 \x01(\x03R\rphysicalCores\x12#\n" +
	"\rfrequency_mhz\x18\x05 \x01(\x03R\ffrequencyMhz\"\x9e\x01\n" +
	"\x16DiskDriveConfiguration\x12A\n" +
	"\x04type\x18\x01 \x01(\x0e2-.yandex.cloud.baremetal.v1alpha.DiskDriveTypeR\x04type\x12\x1d\n" +
	"\n" +
	"disk_count\x18\x02 \x01(\x03R\tdiskCount\x12\"\n" +
	"\rdisk_size_gib\x18\x03 \x01(\x03R\vdiskSizeGib\"\xb9\x02\n" +
	"\rConfiguration\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12\x1d\n" +
	"\n" +
	"memory_gib\x18\x03 \x01(\x03R\tmemoryGib\x125\n" +
	"\x03cpu\x18\x04 \x01(\v2#.yandex.cloud.baremetal.v1alpha.CPUR\x03cpu\x12W\n" +
	"\vdisk_drives\x18\x05 \x03(\v26.yandex.cloud.baremetal.v1alpha.DiskDriveConfigurationR\n" +
	"diskDrives\x126\n" +
	"\x15network_capacity_gbps\x18\x06 \x01(\x03B\x02\x18\x01R\x13networkCapacityGbps\x12\x17\n" +
	"\acpu_num\x18\b \x01(\x03R\x06cpuNumJ\x04\b\a\x10\bBr\n" +
	"\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3"

var (
	file_yandex_cloud_baremetal_v1alpha_configuration_proto_rawDescOnce sync.Once
	file_yandex_cloud_baremetal_v1alpha_configuration_proto_rawDescData []byte
)

func file_yandex_cloud_baremetal_v1alpha_configuration_proto_rawDescGZIP() []byte {
	file_yandex_cloud_baremetal_v1alpha_configuration_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_baremetal_v1alpha_configuration_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_baremetal_v1alpha_configuration_proto_rawDesc), len(file_yandex_cloud_baremetal_v1alpha_configuration_proto_rawDesc)))
	})
	return file_yandex_cloud_baremetal_v1alpha_configuration_proto_rawDescData
}

var file_yandex_cloud_baremetal_v1alpha_configuration_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_baremetal_v1alpha_configuration_proto_goTypes = []any{
	(*CPU)(nil),                    // 0: yandex.cloud.baremetal.v1alpha.CPU
	(*DiskDriveConfiguration)(nil), // 1: yandex.cloud.baremetal.v1alpha.DiskDriveConfiguration
	(*Configuration)(nil),          // 2: yandex.cloud.baremetal.v1alpha.Configuration
	(DiskDriveType)(0),             // 3: yandex.cloud.baremetal.v1alpha.DiskDriveType
}
var file_yandex_cloud_baremetal_v1alpha_configuration_proto_depIdxs = []int32{
	3, // 0: yandex.cloud.baremetal.v1alpha.DiskDriveConfiguration.type:type_name -> yandex.cloud.baremetal.v1alpha.DiskDriveType
	0, // 1: yandex.cloud.baremetal.v1alpha.Configuration.cpu:type_name -> yandex.cloud.baremetal.v1alpha.CPU
	1, // 2: yandex.cloud.baremetal.v1alpha.Configuration.disk_drives:type_name -> yandex.cloud.baremetal.v1alpha.DiskDriveConfiguration
	3, // [3:3] is the sub-list for method output_type
	3, // [3:3] is the sub-list for method input_type
	3, // [3:3] is the sub-list for extension type_name
	3, // [3:3] is the sub-list for extension extendee
	0, // [0:3] is the sub-list for field type_name
}

func init() { file_yandex_cloud_baremetal_v1alpha_configuration_proto_init() }
func file_yandex_cloud_baremetal_v1alpha_configuration_proto_init() {
	if File_yandex_cloud_baremetal_v1alpha_configuration_proto != nil {
		return
	}
	file_yandex_cloud_baremetal_v1alpha_disk_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_baremetal_v1alpha_configuration_proto_rawDesc), len(file_yandex_cloud_baremetal_v1alpha_configuration_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_baremetal_v1alpha_configuration_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_baremetal_v1alpha_configuration_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_baremetal_v1alpha_configuration_proto_msgTypes,
	}.Build()
	File_yandex_cloud_baremetal_v1alpha_configuration_proto = out.File
	file_yandex_cloud_baremetal_v1alpha_configuration_proto_goTypes = nil
	file_yandex_cloud_baremetal_v1alpha_configuration_proto_depIdxs = nil
}
