// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/mdb/opensearch/v1/backup.proto

package opensearch

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
	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)
)

// Day of the week
type WeeklySnapshotSchedule_WeekDay int32

const (
	WeeklySnapshotSchedule_WEEK_DAY_UNSPECIFIED WeeklySnapshotSchedule_WeekDay = 0
	WeeklySnapshotSchedule_MON                  WeeklySnapshotSchedule_WeekDay = 1
	WeeklySnapshotSchedule_TUE                  WeeklySnapshotSchedule_WeekDay = 2
	WeeklySnapshotSchedule_WED                  WeeklySnapshotSchedule_WeekDay = 3
	WeeklySnapshotSchedule_THU                  WeeklySnapshotSchedule_WeekDay = 4
	WeeklySnapshotSchedule_FRI                  WeeklySnapshotSchedule_WeekDay = 5
	WeeklySnapshotSchedule_SAT                  WeeklySnapshotSchedule_WeekDay = 6
	WeeklySnapshotSchedule_SUN                  WeeklySnapshotSchedule_WeekDay = 7
)

// Enum value maps for WeeklySnapshotSchedule_WeekDay.
var (
	WeeklySnapshotSchedule_WeekDay_name = map[int32]string{
		0: "WEEK_DAY_UNSPECIFIED",
		1: "MON",
		2: "TUE",
		3: "WED",
		4: "THU",
		5: "FRI",
		6: "SAT",
		7: "SUN",
	}
	WeeklySnapshotSchedule_WeekDay_value = map[string]int32{
		"WEEK_DAY_UNSPECIFIED": 0,
		"MON":                  1,
		"TUE":                  2,
		"WED":                  3,
		"THU":                  4,
		"FRI":                  5,
		"SAT":                  6,
		"SUN":                  7,
	}
)

func (x WeeklySnapshotSchedule_WeekDay) Enum() *WeeklySnapshotSchedule_WeekDay {
	p := new(WeeklySnapshotSchedule_WeekDay)
	*p = x
	return p
}

func (x WeeklySnapshotSchedule_WeekDay) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (WeeklySnapshotSchedule_WeekDay) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_mdb_opensearch_v1_backup_proto_enumTypes[0].Descriptor()
}

func (WeeklySnapshotSchedule_WeekDay) Type() protoreflect.EnumType {
	return &file_yandex_cloud_mdb_opensearch_v1_backup_proto_enumTypes[0]
}

func (x WeeklySnapshotSchedule_WeekDay) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use WeeklySnapshotSchedule_WeekDay.Descriptor instead.
func (WeeklySnapshotSchedule_WeekDay) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_opensearch_v1_backup_proto_rawDescGZIP(), []int{5, 0}
}

type Backup struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. ID of the backup.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the backup belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// ID of the OpenSearch cluster that the backup was created for.
	SourceClusterId string `protobuf:"bytes,3,opt,name=source_cluster_id,json=sourceClusterId,proto3" json:"source_cluster_id,omitempty"`
	// Time when the backup operation was started.
	StartedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// Time when the backup operation was completed.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Names of indices in the backup.
	Indices []string `protobuf:"bytes,6,rep,name=indices,proto3" json:"indices,omitempty"`
	// OpenSearch version used to create the backup.
	OpensearchVersion string `protobuf:"bytes,7,opt,name=opensearch_version,json=opensearchVersion,proto3" json:"opensearch_version,omitempty"`
	// Size of the backup in bytes.
	SizeBytes int64 `protobuf:"varint,8,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	// The number of indices in the backup.
	IndicesTotal int64 `protobuf:"varint,9,opt,name=indices_total,json=indicesTotal,proto3" json:"indices_total,omitempty"`
	// Size of files which were copied as part of the incremental snapshot.
	IncrementalSizeBytes int64 `protobuf:"varint,10,opt,name=incremental_size_bytes,json=incrementalSizeBytes,proto3" json:"incremental_size_bytes,omitempty"`
	// Size of files that are referenced by the snapshot.
	TotalSizeBytes int64 `protobuf:"varint,11,opt,name=total_size_bytes,json=totalSizeBytes,proto3" json:"total_size_bytes,omitempty"`
	// The space amount required to restore from this backup.
	FreeSpaceRequiredBytes int64 `protobuf:"varint,12,opt,name=free_space_required_bytes,json=freeSpaceRequiredBytes,proto3" json:"free_space_required_bytes,omitempty"`
	unknownFields          protoimpl.UnknownFields
	sizeCache              protoimpl.SizeCache
}

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

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

func (*Backup) ProtoMessage() {}

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

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

func (x *Backup) GetFolderId() string {
	if x != nil {
		return x.FolderId
	}
	return ""
}

func (x *Backup) GetSourceClusterId() string {
	if x != nil {
		return x.SourceClusterId
	}
	return ""
}

func (x *Backup) GetStartedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.StartedAt
	}
	return nil
}

func (x *Backup) GetCreatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedAt
	}
	return nil
}

func (x *Backup) GetIndices() []string {
	if x != nil {
		return x.Indices
	}
	return nil
}

func (x *Backup) GetOpensearchVersion() string {
	if x != nil {
		return x.OpensearchVersion
	}
	return ""
}

func (x *Backup) GetSizeBytes() int64 {
	if x != nil {
		return x.SizeBytes
	}
	return 0
}

func (x *Backup) GetIndicesTotal() int64 {
	if x != nil {
		return x.IndicesTotal
	}
	return 0
}

func (x *Backup) GetIncrementalSizeBytes() int64 {
	if x != nil {
		return x.IncrementalSizeBytes
	}
	return 0
}

func (x *Backup) GetTotalSizeBytes() int64 {
	if x != nil {
		return x.TotalSizeBytes
	}
	return 0
}

func (x *Backup) GetFreeSpaceRequiredBytes() int64 {
	if x != nil {
		return x.FreeSpaceRequiredBytes
	}
	return 0
}

// Snapshot management configuration
type SnapshotManagement struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Snapshot creation schedule
	SnapshotSchedule *SnapshotSchedule `protobuf:"bytes,1,opt,name=snapshot_schedule,json=snapshotSchedule,proto3" json:"snapshot_schedule,omitempty"`
	// Snapshot max age in days
	SnapshotMaxAgeDays *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=snapshot_max_age_days,json=snapshotMaxAgeDays,proto3" json:"snapshot_max_age_days,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

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

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

func (*SnapshotManagement) ProtoMessage() {}

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

func (x *SnapshotManagement) GetSnapshotSchedule() *SnapshotSchedule {
	if x != nil {
		return x.SnapshotSchedule
	}
	return nil
}

func (x *SnapshotManagement) GetSnapshotMaxAgeDays() *wrapperspb.Int64Value {
	if x != nil {
		return x.SnapshotMaxAgeDays
	}
	return nil
}

// Snapshot creation schedule
type SnapshotSchedule struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to Schedule:
	//
	//	*SnapshotSchedule_HourlySnapshotSchedule
	//	*SnapshotSchedule_DailySnapshotSchedule
	//	*SnapshotSchedule_WeeklySnapshotSchedule
	Schedule      isSnapshotSchedule_Schedule `protobuf_oneof:"schedule"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SnapshotSchedule) ProtoMessage() {}

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

func (x *SnapshotSchedule) GetSchedule() isSnapshotSchedule_Schedule {
	if x != nil {
		return x.Schedule
	}
	return nil
}

func (x *SnapshotSchedule) GetHourlySnapshotSchedule() *HourlySnapshotSchedule {
	if x != nil {
		if x, ok := x.Schedule.(*SnapshotSchedule_HourlySnapshotSchedule); ok {
			return x.HourlySnapshotSchedule
		}
	}
	return nil
}

func (x *SnapshotSchedule) GetDailySnapshotSchedule() *DailySnapshotSchedule {
	if x != nil {
		if x, ok := x.Schedule.(*SnapshotSchedule_DailySnapshotSchedule); ok {
			return x.DailySnapshotSchedule
		}
	}
	return nil
}

func (x *SnapshotSchedule) GetWeeklySnapshotSchedule() *WeeklySnapshotSchedule {
	if x != nil {
		if x, ok := x.Schedule.(*SnapshotSchedule_WeeklySnapshotSchedule); ok {
			return x.WeeklySnapshotSchedule
		}
	}
	return nil
}

type isSnapshotSchedule_Schedule interface {
	isSnapshotSchedule_Schedule()
}

type SnapshotSchedule_HourlySnapshotSchedule struct {
	// Hourly based snapshot schedule
	HourlySnapshotSchedule *HourlySnapshotSchedule `protobuf:"bytes,1,opt,name=hourly_snapshot_schedule,json=hourlySnapshotSchedule,proto3,oneof"`
}

type SnapshotSchedule_DailySnapshotSchedule struct {
	// Daily based snapshot schedule
	DailySnapshotSchedule *DailySnapshotSchedule `protobuf:"bytes,2,opt,name=daily_snapshot_schedule,json=dailySnapshotSchedule,proto3,oneof"`
}

type SnapshotSchedule_WeeklySnapshotSchedule struct {
	// Weekly based snapshot schedule
	WeeklySnapshotSchedule *WeeklySnapshotSchedule `protobuf:"bytes,3,opt,name=weekly_snapshot_schedule,json=weeklySnapshotSchedule,proto3,oneof"`
}

func (*SnapshotSchedule_HourlySnapshotSchedule) isSnapshotSchedule_Schedule() {}

func (*SnapshotSchedule_DailySnapshotSchedule) isSnapshotSchedule_Schedule() {}

func (*SnapshotSchedule_WeeklySnapshotSchedule) isSnapshotSchedule_Schedule() {}

// Hourly based snapshot schedule
type HourlySnapshotSchedule struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The minute of the hour at which the backup should be created.
	Minute        int64 `protobuf:"varint,1,opt,name=minute,proto3" json:"minute,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*HourlySnapshotSchedule) ProtoMessage() {}

func (x *HourlySnapshotSchedule) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_mdb_opensearch_v1_backup_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 HourlySnapshotSchedule.ProtoReflect.Descriptor instead.
func (*HourlySnapshotSchedule) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_opensearch_v1_backup_proto_rawDescGZIP(), []int{3}
}

func (x *HourlySnapshotSchedule) GetMinute() int64 {
	if x != nil {
		return x.Minute
	}
	return 0
}

// Daily based snapshot schedule
type DailySnapshotSchedule struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The hour of the day in UTC timezone at which the backup should be created.
	Hour int64 `protobuf:"varint,1,opt,name=hour,proto3" json:"hour,omitempty"`
	// The minute of the hour at which the backup should be created.
	Minute        int64 `protobuf:"varint,2,opt,name=minute,proto3" json:"minute,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DailySnapshotSchedule) ProtoMessage() {}

func (x *DailySnapshotSchedule) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_mdb_opensearch_v1_backup_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 DailySnapshotSchedule.ProtoReflect.Descriptor instead.
func (*DailySnapshotSchedule) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_opensearch_v1_backup_proto_rawDescGZIP(), []int{4}
}

func (x *DailySnapshotSchedule) GetHour() int64 {
	if x != nil {
		return x.Hour
	}
	return 0
}

func (x *DailySnapshotSchedule) GetMinute() int64 {
	if x != nil {
		return x.Minute
	}
	return 0
}

// Weekly based snapshot schedule
type WeeklySnapshotSchedule struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Day of the week
	Day WeeklySnapshotSchedule_WeekDay `protobuf:"varint,1,opt,name=day,proto3,enum=yandex.cloud.mdb.opensearch.v1.WeeklySnapshotSchedule_WeekDay" json:"day,omitempty"`
	// The hour of the day in UTC timezone at which the backup should be created.
	Hour int64 `protobuf:"varint,2,opt,name=hour,proto3" json:"hour,omitempty"`
	// The minute of the hour at which the backup should be created.
	Minute        int64 `protobuf:"varint,3,opt,name=minute,proto3" json:"minute,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*WeeklySnapshotSchedule) ProtoMessage() {}

func (x *WeeklySnapshotSchedule) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_mdb_opensearch_v1_backup_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 WeeklySnapshotSchedule.ProtoReflect.Descriptor instead.
func (*WeeklySnapshotSchedule) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_opensearch_v1_backup_proto_rawDescGZIP(), []int{5}
}

func (x *WeeklySnapshotSchedule) GetDay() WeeklySnapshotSchedule_WeekDay {
	if x != nil {
		return x.Day
	}
	return WeeklySnapshotSchedule_WEEK_DAY_UNSPECIFIED
}

func (x *WeeklySnapshotSchedule) GetHour() int64 {
	if x != nil {
		return x.Hour
	}
	return 0
}

func (x *WeeklySnapshotSchedule) GetMinute() int64 {
	if x != nil {
		return x.Minute
	}
	return 0
}

var File_yandex_cloud_mdb_opensearch_v1_backup_proto protoreflect.FileDescriptor

const file_yandex_cloud_mdb_opensearch_v1_backup_proto_rawDesc = "" +
	"\n" +
	"+yandex/cloud/mdb/opensearch/v1/backup.proto\x12\x1eyandex.cloud.mdb.opensearch.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1dyandex/cloud/validation.proto\"\x8a\x04\n" +
	"\x06Backup\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n" +
	"\tfolder_id\x18\x02 \x01(\tR\bfolderId\x12*\n" +
	"\x11source_cluster_id\x18\x03 \x01(\tR\x0fsourceClusterId\x129\n" +
	"\n" +
	"started_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\tstartedAt\x129\n" +
	"\n" +
	"created_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12#\n" +
	"\aindices\x18\x06 \x03(\tB\t\x82\xc81\x05<=100R\aindices\x12-\n" +
	"\x12opensearch_version\x18\a \x01(\tR\x11opensearchVersion\x12\x1d\n" +
	"\n" +
	"size_bytes\x18\b \x01(\x03R\tsizeBytes\x12#\n" +
	"\rindices_total\x18\t \x01(\x03R\findicesTotal\x124\n" +
	"\x16incremental_size_bytes\x18\n" +
	" \x01(\x03R\x14incrementalSizeBytes\x12(\n" +
	"\x10total_size_bytes\x18\v \x01(\x03R\x0etotalSizeBytes\x129\n" +
	"\x19free_space_required_bytes\x18\f \x01(\x03R\x16freeSpaceRequiredBytes\"\xcc\x01\n" +
	"\x12SnapshotManagement\x12]\n" +
	"\x11snapshot_schedule\x18\x01 \x01(\v20.yandex.cloud.mdb.opensearch.v1.SnapshotScheduleR\x10snapshotSchedule\x12W\n" +
	"\x15snapshot_max_age_days\x18\x02 \x01(\v2\x1b.google.protobuf.Int64ValueB\a\xfa\xc71\x03>=7R\x12snapshotMaxAgeDays\"\xfd\x02\n" +
	"\x10SnapshotSchedule\x12r\n" +
	"\x18hourly_snapshot_schedule\x18\x01 \x01(\v26.yandex.cloud.mdb.opensearch.v1.HourlySnapshotScheduleH\x00R\x16hourlySnapshotSchedule\x12o\n" +
	"\x17daily_snapshot_schedule\x18\x02 \x01(\v25.yandex.cloud.mdb.opensearch.v1.DailySnapshotScheduleH\x00R\x15dailySnapshotSchedule\x12r\n" +
	"\x18weekly_snapshot_schedule\x18\x03 \x01(\v26.yandex.cloud.mdb.opensearch.v1.WeeklySnapshotScheduleH\x00R\x16weeklySnapshotScheduleB\x10\n" +
	"\bschedule\x12\x04\xc0\xc11\x01\":\n" +
	"\x16HourlySnapshotSchedule\x12 \n" +
	"\x06minute\x18\x01 \x01(\x03B\b\xfa\xc71\x040-59R\x06minute\"W\n" +
	"\x15DailySnapshotSchedule\x12\x1c\n" +
	"\x04hour\x18\x01 \x01(\x03B\b\xfa\xc71\x040-23R\x04hour\x12 \n" +
	"\x06minute\x18\x02 \x01(\x03B\b\xfa\xc71\x040-59R\x06minute\"\x8e\x02\n" +
	"\x16WeeklySnapshotSchedule\x12P\n" +
	"\x03day\x18\x01 \x01(\x0e2>.yandex.cloud.mdb.opensearch.v1.WeeklySnapshotSchedule.WeekDayR\x03day\x12\x1c\n" +
	"\x04hour\x18\x02 \x01(\x03B\b\xfa\xc71\x040-23R\x04hour\x12 \n" +
	"\x06minute\x18\x03 \x01(\x03B\b\xfa\xc71\x040-59R\x06minute\"b\n" +
	"\aWeekDay\x12\x18\n" +
	"\x14WEEK_DAY_UNSPECIFIED\x10\x00\x12\a\n" +
	"\x03MON\x10\x01\x12\a\n" +
	"\x03TUE\x10\x02\x12\a\n" +
	"\x03WED\x10\x03\x12\a\n" +
	"\x03THU\x10\x04\x12\a\n" +
	"\x03FRI\x10\x05\x12\a\n" +
	"\x03SAT\x10\x06\x12\a\n" +
	"\x03SUN\x10\aBs\n" +
	"\"yandex.cloud.api.mdb.opensearch.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/opensearch/v1;opensearchb\x06proto3"

var (
	file_yandex_cloud_mdb_opensearch_v1_backup_proto_rawDescOnce sync.Once
	file_yandex_cloud_mdb_opensearch_v1_backup_proto_rawDescData []byte
)

func file_yandex_cloud_mdb_opensearch_v1_backup_proto_rawDescGZIP() []byte {
	file_yandex_cloud_mdb_opensearch_v1_backup_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_mdb_opensearch_v1_backup_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_mdb_opensearch_v1_backup_proto_rawDesc), len(file_yandex_cloud_mdb_opensearch_v1_backup_proto_rawDesc)))
	})
	return file_yandex_cloud_mdb_opensearch_v1_backup_proto_rawDescData
}

var file_yandex_cloud_mdb_opensearch_v1_backup_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_mdb_opensearch_v1_backup_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_yandex_cloud_mdb_opensearch_v1_backup_proto_goTypes = []any{
	(WeeklySnapshotSchedule_WeekDay)(0), // 0: yandex.cloud.mdb.opensearch.v1.WeeklySnapshotSchedule.WeekDay
	(*Backup)(nil),                      // 1: yandex.cloud.mdb.opensearch.v1.Backup
	(*SnapshotManagement)(nil),          // 2: yandex.cloud.mdb.opensearch.v1.SnapshotManagement
	(*SnapshotSchedule)(nil),            // 3: yandex.cloud.mdb.opensearch.v1.SnapshotSchedule
	(*HourlySnapshotSchedule)(nil),      // 4: yandex.cloud.mdb.opensearch.v1.HourlySnapshotSchedule
	(*DailySnapshotSchedule)(nil),       // 5: yandex.cloud.mdb.opensearch.v1.DailySnapshotSchedule
	(*WeeklySnapshotSchedule)(nil),      // 6: yandex.cloud.mdb.opensearch.v1.WeeklySnapshotSchedule
	(*timestamppb.Timestamp)(nil),       // 7: google.protobuf.Timestamp
	(*wrapperspb.Int64Value)(nil),       // 8: google.protobuf.Int64Value
}
var file_yandex_cloud_mdb_opensearch_v1_backup_proto_depIdxs = []int32{
	7, // 0: yandex.cloud.mdb.opensearch.v1.Backup.started_at:type_name -> google.protobuf.Timestamp
	7, // 1: yandex.cloud.mdb.opensearch.v1.Backup.created_at:type_name -> google.protobuf.Timestamp
	3, // 2: yandex.cloud.mdb.opensearch.v1.SnapshotManagement.snapshot_schedule:type_name -> yandex.cloud.mdb.opensearch.v1.SnapshotSchedule
	8, // 3: yandex.cloud.mdb.opensearch.v1.SnapshotManagement.snapshot_max_age_days:type_name -> google.protobuf.Int64Value
	4, // 4: yandex.cloud.mdb.opensearch.v1.SnapshotSchedule.hourly_snapshot_schedule:type_name -> yandex.cloud.mdb.opensearch.v1.HourlySnapshotSchedule
	5, // 5: yandex.cloud.mdb.opensearch.v1.SnapshotSchedule.daily_snapshot_schedule:type_name -> yandex.cloud.mdb.opensearch.v1.DailySnapshotSchedule
	6, // 6: yandex.cloud.mdb.opensearch.v1.SnapshotSchedule.weekly_snapshot_schedule:type_name -> yandex.cloud.mdb.opensearch.v1.WeeklySnapshotSchedule
	0, // 7: yandex.cloud.mdb.opensearch.v1.WeeklySnapshotSchedule.day:type_name -> yandex.cloud.mdb.opensearch.v1.WeeklySnapshotSchedule.WeekDay
	8, // [8:8] is the sub-list for method output_type
	8, // [8:8] is the sub-list for method input_type
	8, // [8:8] is the sub-list for extension type_name
	8, // [8:8] is the sub-list for extension extendee
	0, // [0:8] is the sub-list for field type_name
}

func init() { file_yandex_cloud_mdb_opensearch_v1_backup_proto_init() }
func file_yandex_cloud_mdb_opensearch_v1_backup_proto_init() {
	if File_yandex_cloud_mdb_opensearch_v1_backup_proto != nil {
		return
	}
	file_yandex_cloud_mdb_opensearch_v1_backup_proto_msgTypes[2].OneofWrappers = []any{
		(*SnapshotSchedule_HourlySnapshotSchedule)(nil),
		(*SnapshotSchedule_DailySnapshotSchedule)(nil),
		(*SnapshotSchedule_WeeklySnapshotSchedule)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_mdb_opensearch_v1_backup_proto_rawDesc), len(file_yandex_cloud_mdb_opensearch_v1_backup_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   6,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_mdb_opensearch_v1_backup_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_mdb_opensearch_v1_backup_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_mdb_opensearch_v1_backup_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_mdb_opensearch_v1_backup_proto_msgTypes,
	}.Build()
	File_yandex_cloud_mdb_opensearch_v1_backup_proto = out.File
	file_yandex_cloud_mdb_opensearch_v1_backup_proto_goTypes = nil
	file_yandex_cloud_mdb_opensearch_v1_backup_proto_depIdxs = nil
}
