// Code generated by protoc-gen-go. DO NOT EDIT.
// source: yandex/cloud/mdb/mysql/v1/resource_preset.proto

package mysql

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

// A preset of resources for hardware configuration of MySQL hosts.
type ResourcePreset struct {
	// ID of the resource preset.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// IDs of availability zones where the resource preset is available.
	ZoneIds []string `protobuf:"bytes,2,rep,name=zone_ids,json=zoneIds,proto3" json:"zone_ids,omitempty"`
	// Number of CPU cores for a MySQL host created with the preset.
	Cores int64 `protobuf:"varint,3,opt,name=cores,proto3" json:"cores,omitempty"`
	// RAM volume for a MySQL host created with the preset, in bytes.
	Memory               int64    `protobuf:"varint,4,opt,name=memory,proto3" json:"memory,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ResourcePreset) Reset()         { *m = ResourcePreset{} }
func (m *ResourcePreset) String() string { return proto.CompactTextString(m) }
func (*ResourcePreset) ProtoMessage()    {}
func (*ResourcePreset) Descriptor() ([]byte, []int) {
	return fileDescriptor_9a481545fa1a0dc2, []int{0}
}

func (m *ResourcePreset) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ResourcePreset.Unmarshal(m, b)
}
func (m *ResourcePreset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ResourcePreset.Marshal(b, m, deterministic)
}
func (m *ResourcePreset) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ResourcePreset.Merge(m, src)
}
func (m *ResourcePreset) XXX_Size() int {
	return xxx_messageInfo_ResourcePreset.Size(m)
}
func (m *ResourcePreset) XXX_DiscardUnknown() {
	xxx_messageInfo_ResourcePreset.DiscardUnknown(m)
}

var xxx_messageInfo_ResourcePreset proto.InternalMessageInfo

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

func (m *ResourcePreset) GetZoneIds() []string {
	if m != nil {
		return m.ZoneIds
	}
	return nil
}

func (m *ResourcePreset) GetCores() int64 {
	if m != nil {
		return m.Cores
	}
	return 0
}

func (m *ResourcePreset) GetMemory() int64 {
	if m != nil {
		return m.Memory
	}
	return 0
}

func init() {
	proto.RegisterType((*ResourcePreset)(nil), "yandex.cloud.mdb.mysql.v1.ResourcePreset")
}

func init() {
	proto.RegisterFile("yandex/cloud/mdb/mysql/v1/resource_preset.proto", fileDescriptor_9a481545fa1a0dc2)
}

var fileDescriptor_9a481545fa1a0dc2 = []byte{
	// 207 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x8f, 0x31, 0x4f, 0x85, 0x30,
	0x10, 0x80, 0x03, 0xe8, 0xd3, 0xd7, 0xe1, 0x0d, 0x8d, 0x31, 0x7d, 0x1b, 0x71, 0x62, 0xa1, 0x0d,
	0x71, 0x74, 0xd3, 0x38, 0xb8, 0x99, 0x8e, 0x2e, 0xc4, 0xf6, 0x2e, 0xd8, 0x84, 0x72, 0xd8, 0x02,
	0x11, 0x7f, 0xbd, 0xb1, 0xb0, 0xbe, 0xed, 0xbe, 0xcb, 0x7d, 0xc9, 0x7d, 0x4c, 0xad, 0x9f, 0x03,
	0xe0, 0x8f, 0xb2, 0x3d, 0xcd, 0xa0, 0x3c, 0x18, 0xe5, 0xd7, 0xf8, 0xdd, 0xab, 0xa5, 0x51, 0x01,
	0x23, 0xcd, 0xc1, 0x62, 0x3b, 0x06, 0x8c, 0x38, 0xc9, 0x31, 0xd0, 0x44, 0xfc, 0xbc, 0x09, 0x32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