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

package redis

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 resource preset that describes hardware configuration for a host.
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"`
	// RAM volume for a Redis host created with the preset, in bytes.
	Memory               int64    `protobuf:"varint,3,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_2997d340901a0fe3, []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) GetMemory() int64 {
	if m != nil {
		return m.Memory
	}
	return 0
}

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

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

var fileDescriptor_2997d340901a0fe3 = []byte{
	// 196 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0xcf, 0xb1, 0x6b, 0x84, 0x30,
	0x14, 0xc7, 0x71, 0x54, 0xb0, 0x35, 0x83, 0x43, 0x86, 0xa2, 0x9b, 0x74, 0x72, 0x31, 0x41, 0x3a,
	0x76, 0x6b, 0xe9, 0xd0, 0xad, 0xa4, 0x5b, 0x17, 0x69, 0x7c, 0x0f, 0x2f, 0x70, 0xf1, 0x49, 0xa2,
	0x72, 0xde, 0x5f, 0x7f, 0x5c, 0x74, 0xbd, 0x2d, 0x3f, 0xc8, 0x07, 0xbe, 0x8f, 0xc9, 0xed, 0x7f,
	0x04, 0xbc, 0xc8, 0xfe, 0x4c, 0x0b, 0x48, 0x0b, 0x5a, 0x3a, 0x04, 0xe3, 0xe5, 0xda, 0x4a, 0x87,
	0x9e, 0x16, 0xd7, 0x63, 0x37, 0x39, 0xf4, 0x38, 0x8b, 0xc9, 0xd1, 0x4c, 0xbc, 0xdc, 0x81, 0x08,
	0x40, 0x58, 0xd0, 0x22, 0x00, 0xb1, 0xb6, 0xaf, 0xbf, 0x2c, 0x57, 0x87, 0xf9, 0x09, 0x84, 0xe7,
	0x2c, 0x36, 0x50, 0x44, 0x55, 0x54, 0x67, 0x2a, 0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