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

package backup

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"
	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)
)

// Format of the backup in policy. For backup locations that can be browsed
// with a file manager, the backup format determines the number of files and
// their extension.
type Format int32

const (
	Format_FORMAT_UNSPECIFIED Format = 0
	// A legacy backup format used in older versions. It's not recommended to use.
	Format_VERSION_11 Format = 1
	// A new format recommended in most cases for fast backup and recovery.
	Format_VERSION_12 Format = 2
	// Automatic version selection. Will be used version 12 unless the protection
	// plan (policy) appends backups to the ones created by earlier product
	// versions.
	Format_AUTO Format = 3
)

// Enum value maps for Format.
var (
	Format_name = map[int32]string{
		0: "FORMAT_UNSPECIFIED",
		1: "VERSION_11",
		2: "VERSION_12",
		3: "AUTO",
	}
	Format_value = map[string]int32{
		"FORMAT_UNSPECIFIED": 0,
		"VERSION_11":         1,
		"VERSION_12":         2,
		"AUTO":               3,
	}
)

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

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

func (Format) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_backup_v1_policy_proto_enumTypes[0].Descriptor()
}

func (Format) Type() protoreflect.EnumType {
	return &file_yandex_cloud_backup_v1_policy_proto_enumTypes[0]
}

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

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

// Compression rate of the backups.
type PolicySettings_Compression int32

const (
	PolicySettings_COMPRESSION_UNSPECIFIED PolicySettings_Compression = 0
	PolicySettings_NORMAL                  PolicySettings_Compression = 1
	PolicySettings_HIGH                    PolicySettings_Compression = 2
	PolicySettings_MAX                     PolicySettings_Compression = 3
	PolicySettings_OFF                     PolicySettings_Compression = 4
)

// Enum value maps for PolicySettings_Compression.
var (
	PolicySettings_Compression_name = map[int32]string{
		0: "COMPRESSION_UNSPECIFIED",
		1: "NORMAL",
		2: "HIGH",
		3: "MAX",
		4: "OFF",
	}
	PolicySettings_Compression_value = map[string]int32{
		"COMPRESSION_UNSPECIFIED": 0,
		"NORMAL":                  1,
		"HIGH":                    2,
		"MAX":                     3,
		"OFF":                     4,
	}
)

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

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

func (PolicySettings_Compression) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_backup_v1_policy_proto_enumTypes[1].Descriptor()
}

func (PolicySettings_Compression) Type() protoreflect.EnumType {
	return &file_yandex_cloud_backup_v1_policy_proto_enumTypes[1]
}

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

// Deprecated: Use PolicySettings_Compression.Descriptor instead.
func (PolicySettings_Compression) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_backup_v1_policy_proto_rawDescGZIP(), []int{1, 0}
}

type PolicySettings_RepeatePeriod int32

const (
	PolicySettings_REPEATE_PERIOD_UNSPECIFIED PolicySettings_RepeatePeriod = 0
	PolicySettings_HOURLY                     PolicySettings_RepeatePeriod = 1
	PolicySettings_DAILY                      PolicySettings_RepeatePeriod = 2
	PolicySettings_WEEKLY                     PolicySettings_RepeatePeriod = 3
	PolicySettings_MONTHLY                    PolicySettings_RepeatePeriod = 4
)

// Enum value maps for PolicySettings_RepeatePeriod.
var (
	PolicySettings_RepeatePeriod_name = map[int32]string{
		0: "REPEATE_PERIOD_UNSPECIFIED",
		1: "HOURLY",
		2: "DAILY",
		3: "WEEKLY",
		4: "MONTHLY",
	}
	PolicySettings_RepeatePeriod_value = map[string]int32{
		"REPEATE_PERIOD_UNSPECIFIED": 0,
		"HOURLY":                     1,
		"DAILY":                      2,
		"WEEKLY":                     3,
		"MONTHLY":                    4,
	}
)

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

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

func (PolicySettings_RepeatePeriod) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_backup_v1_policy_proto_enumTypes[2].Descriptor()
}

func (PolicySettings_RepeatePeriod) Type() protoreflect.EnumType {
	return &file_yandex_cloud_backup_v1_policy_proto_enumTypes[2]
}

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

// Deprecated: Use PolicySettings_RepeatePeriod.Descriptor instead.
func (PolicySettings_RepeatePeriod) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_backup_v1_policy_proto_rawDescGZIP(), []int{1, 1}
}

type PolicySettings_Day int32

const (
	PolicySettings_DAY_UNSPECIFIED PolicySettings_Day = 0
	PolicySettings_MONDAY          PolicySettings_Day = 1
	PolicySettings_TUESDAY         PolicySettings_Day = 2
	PolicySettings_WEDNESDAY       PolicySettings_Day = 3
	PolicySettings_THURSDAY        PolicySettings_Day = 4
	PolicySettings_FRIDAY          PolicySettings_Day = 5
	PolicySettings_SATURDAY        PolicySettings_Day = 6
	PolicySettings_SUNDAY          PolicySettings_Day = 7
)

// Enum value maps for PolicySettings_Day.
var (
	PolicySettings_Day_name = map[int32]string{
		0: "DAY_UNSPECIFIED",
		1: "MONDAY",
		2: "TUESDAY",
		3: "WEDNESDAY",
		4: "THURSDAY",
		5: "FRIDAY",
		6: "SATURDAY",
		7: "SUNDAY",
	}
	PolicySettings_Day_value = map[string]int32{
		"DAY_UNSPECIFIED": 0,
		"MONDAY":          1,
		"TUESDAY":         2,
		"WEDNESDAY":       3,
		"THURSDAY":        4,
		"FRIDAY":          5,
		"SATURDAY":        6,
		"SUNDAY":          7,
	}
)

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

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

func (PolicySettings_Day) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_backup_v1_policy_proto_enumTypes[3].Descriptor()
}

func (PolicySettings_Day) Type() protoreflect.EnumType {
	return &file_yandex_cloud_backup_v1_policy_proto_enumTypes[3]
}

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

// Deprecated: Use PolicySettings_Day.Descriptor instead.
func (PolicySettings_Day) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_backup_v1_policy_proto_rawDescGZIP(), []int{1, 2}
}

type PolicySettings_ChangedBlockTracking int32

const (
	PolicySettings_CHANGED_BLOCK_TRACKING_UNSPECIFIED PolicySettings_ChangedBlockTracking = 0
	PolicySettings_USE_IF_ENABLED                     PolicySettings_ChangedBlockTracking = 1
	PolicySettings_ENABLE_AND_USE                     PolicySettings_ChangedBlockTracking = 2
	PolicySettings_DO_NOT_USE                         PolicySettings_ChangedBlockTracking = 3
)

// Enum value maps for PolicySettings_ChangedBlockTracking.
var (
	PolicySettings_ChangedBlockTracking_name = map[int32]string{
		0: "CHANGED_BLOCK_TRACKING_UNSPECIFIED",
		1: "USE_IF_ENABLED",
		2: "ENABLE_AND_USE",
		3: "DO_NOT_USE",
	}
	PolicySettings_ChangedBlockTracking_value = map[string]int32{
		"CHANGED_BLOCK_TRACKING_UNSPECIFIED": 0,
		"USE_IF_ENABLED":                     1,
		"ENABLE_AND_USE":                     2,
		"DO_NOT_USE":                         3,
	}
)

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

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

func (PolicySettings_ChangedBlockTracking) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_backup_v1_policy_proto_enumTypes[4].Descriptor()
}

func (PolicySettings_ChangedBlockTracking) Type() protoreflect.EnumType {
	return &file_yandex_cloud_backup_v1_policy_proto_enumTypes[4]
}

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

// Deprecated: Use PolicySettings_ChangedBlockTracking.Descriptor instead.
func (PolicySettings_ChangedBlockTracking) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_backup_v1_policy_proto_rawDescGZIP(), []int{1, 3}
}

type PolicySettings_CommandType int32

const (
	PolicySettings_COMMAND_TYPE_UNSPECIFIED PolicySettings_CommandType = 0
	// Launch command before backup execution
	PolicySettings_PRE_COMMAND PolicySettings_CommandType = 1
	// Launch command after backup execution
	PolicySettings_POST_COMMAND PolicySettings_CommandType = 2
	// Launch command before data capture (snapshot execution)
	PolicySettings_PRE_DATA_COMMAND PolicySettings_CommandType = 3
	// Launch command after data capture (snapshot execution)
	PolicySettings_POST_DATA_COMMAND PolicySettings_CommandType = 4
)

// Enum value maps for PolicySettings_CommandType.
var (
	PolicySettings_CommandType_name = map[int32]string{
		0: "COMMAND_TYPE_UNSPECIFIED",
		1: "PRE_COMMAND",
		2: "POST_COMMAND",
		3: "PRE_DATA_COMMAND",
		4: "POST_DATA_COMMAND",
	}
	PolicySettings_CommandType_value = map[string]int32{
		"COMMAND_TYPE_UNSPECIFIED": 0,
		"PRE_COMMAND":              1,
		"POST_COMMAND":             2,
		"PRE_DATA_COMMAND":         3,
		"POST_DATA_COMMAND":        4,
	}
)

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

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

func (PolicySettings_CommandType) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_backup_v1_policy_proto_enumTypes[5].Descriptor()
}

func (PolicySettings_CommandType) Type() protoreflect.EnumType {
	return &file_yandex_cloud_backup_v1_policy_proto_enumTypes[5]
}

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

// Deprecated: Use PolicySettings_CommandType.Descriptor instead.
func (PolicySettings_CommandType) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_backup_v1_policy_proto_rawDescGZIP(), []int{1, 4}
}

type PolicySettings_Interval_Type int32

const (
	PolicySettings_Interval_TYPE_UNSPECIFIED PolicySettings_Interval_Type = 0
	PolicySettings_Interval_SECONDS          PolicySettings_Interval_Type = 1
	PolicySettings_Interval_MINUTES          PolicySettings_Interval_Type = 2
	PolicySettings_Interval_HOURS            PolicySettings_Interval_Type = 3
	PolicySettings_Interval_DAYS             PolicySettings_Interval_Type = 4
	PolicySettings_Interval_WEEKS            PolicySettings_Interval_Type = 5
	PolicySettings_Interval_MONTHS           PolicySettings_Interval_Type = 6
)

// Enum value maps for PolicySettings_Interval_Type.
var (
	PolicySettings_Interval_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "SECONDS",
		2: "MINUTES",
		3: "HOURS",
		4: "DAYS",
		5: "WEEKS",
		6: "MONTHS",
	}
	PolicySettings_Interval_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"SECONDS":          1,
		"MINUTES":          2,
		"HOURS":            3,
		"DAYS":             4,
		"WEEKS":            5,
		"MONTHS":           6,
	}
)

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

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

func (PolicySettings_Interval_Type) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_backup_v1_policy_proto_enumTypes[6].Descriptor()
}

func (PolicySettings_Interval_Type) Type() protoreflect.EnumType {
	return &file_yandex_cloud_backup_v1_policy_proto_enumTypes[6]
}

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

// Deprecated: Use PolicySettings_Interval_Type.Descriptor instead.
func (PolicySettings_Interval_Type) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_backup_v1_policy_proto_rawDescGZIP(), []int{1, 0, 0}
}

type PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider int32

const (
	PolicySettings_VolumeShadowCopyServiceSettings_VSS_PROVIDER_UNSPECIFIED PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider = 0
	PolicySettings_VolumeShadowCopyServiceSettings_NATIVE                   PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider = 1
	PolicySettings_VolumeShadowCopyServiceSettings_TARGET_SYSTEM_DEFINED    PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider = 2
)

// Enum value maps for PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider.
var (
	PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider_name = map[int32]string{
		0: "VSS_PROVIDER_UNSPECIFIED",
		1: "NATIVE",
		2: "TARGET_SYSTEM_DEFINED",
	}
	PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider_value = map[string]int32{
		"VSS_PROVIDER_UNSPECIFIED": 0,
		"NATIVE":                   1,
		"TARGET_SYSTEM_DEFINED":    2,
	}
)

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

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

func (PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_backup_v1_policy_proto_enumTypes[7].Descriptor()
}

func (PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider) Type() protoreflect.EnumType {
	return &file_yandex_cloud_backup_v1_policy_proto_enumTypes[7]
}

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

// Deprecated: Use PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider.Descriptor instead.
func (PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_backup_v1_policy_proto_rawDescGZIP(), []int{1, 3, 0}
}

// Scheme of backups.
type PolicySettings_Scheduling_Scheme int32

const (
	PolicySettings_Scheduling_SCHEME_UNSPECIFIED            PolicySettings_Scheduling_Scheme = 0
	PolicySettings_Scheduling_SIMPLE                        PolicySettings_Scheduling_Scheme = 1
	PolicySettings_Scheduling_ALWAYS_FULL                   PolicySettings_Scheduling_Scheme = 2
	PolicySettings_Scheduling_ALWAYS_INCREMENTAL            PolicySettings_Scheduling_Scheme = 3
	PolicySettings_Scheduling_WEEKLY_INCREMENTAL            PolicySettings_Scheduling_Scheme = 4
	PolicySettings_Scheduling_WEEKLY_FULL_DAILY_INCREMENTAL PolicySettings_Scheduling_Scheme = 5
	// Custom will require to specify schedules for full, differential
	// and incremental backups additionally.
	PolicySettings_Scheduling_CUSTOM PolicySettings_Scheduling_Scheme = 6
	PolicySettings_Scheduling_CDP    PolicySettings_Scheduling_Scheme = 7
)

// Enum value maps for PolicySettings_Scheduling_Scheme.
var (
	PolicySettings_Scheduling_Scheme_name = map[int32]string{
		0: "SCHEME_UNSPECIFIED",
		1: "SIMPLE",
		2: "ALWAYS_FULL",
		3: "ALWAYS_INCREMENTAL",
		4: "WEEKLY_INCREMENTAL",
		5: "WEEKLY_FULL_DAILY_INCREMENTAL",
		6: "CUSTOM",
		7: "CDP",
	}
	PolicySettings_Scheduling_Scheme_value = map[string]int32{
		"SCHEME_UNSPECIFIED":            0,
		"SIMPLE":                        1,
		"ALWAYS_FULL":                   2,
		"ALWAYS_INCREMENTAL":            3,
		"WEEKLY_INCREMENTAL":            4,
		"WEEKLY_FULL_DAILY_INCREMENTAL": 5,
		"CUSTOM":                        6,
		"CDP":                           7,
	}
)

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

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

func (PolicySettings_Scheduling_Scheme) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_backup_v1_policy_proto_enumTypes[8].Descriptor()
}

func (PolicySettings_Scheduling_Scheme) Type() protoreflect.EnumType {
	return &file_yandex_cloud_backup_v1_policy_proto_enumTypes[8]
}

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

// Deprecated: Use PolicySettings_Scheduling_Scheme.Descriptor instead.
func (PolicySettings_Scheduling_Scheme) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_backup_v1_policy_proto_rawDescGZIP(), []int{1, 8, 0}
}

type PolicySettings_Scheduling_BackupSet_Type int32

const (
	PolicySettings_Scheduling_BackupSet_TYPE_UNSPECIFIED  PolicySettings_Scheduling_BackupSet_Type = 0
	PolicySettings_Scheduling_BackupSet_TYPE_AUTO         PolicySettings_Scheduling_BackupSet_Type = 1
	PolicySettings_Scheduling_BackupSet_TYPE_FULL         PolicySettings_Scheduling_BackupSet_Type = 2
	PolicySettings_Scheduling_BackupSet_TYPE_INCREMENTAL  PolicySettings_Scheduling_BackupSet_Type = 3
	PolicySettings_Scheduling_BackupSet_TYPE_DIFFERENTIAL PolicySettings_Scheduling_BackupSet_Type = 4
)

// Enum value maps for PolicySettings_Scheduling_BackupSet_Type.
var (
	PolicySettings_Scheduling_BackupSet_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_AUTO",
		2: "TYPE_FULL",
		3: "TYPE_INCREMENTAL",
		4: "TYPE_DIFFERENTIAL",
	}
	PolicySettings_Scheduling_BackupSet_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":  0,
		"TYPE_AUTO":         1,
		"TYPE_FULL":         2,
		"TYPE_INCREMENTAL":  3,
		"TYPE_DIFFERENTIAL": 4,
	}
)

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

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

func (PolicySettings_Scheduling_BackupSet_Type) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_backup_v1_policy_proto_enumTypes[9].Descriptor()
}

func (PolicySettings_Scheduling_BackupSet_Type) Type() protoreflect.EnumType {
	return &file_yandex_cloud_backup_v1_policy_proto_enumTypes[9]
}

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

// Deprecated: Use PolicySettings_Scheduling_BackupSet_Type.Descriptor instead.
func (PolicySettings_Scheduling_BackupSet_Type) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_backup_v1_policy_proto_rawDescGZIP(), []int{1, 8, 0, 0}
}

type PolicyApplication_Status int32

const (
	PolicyApplication_STATUS_UNSPECIFIED PolicyApplication_Status = 0
	// Application is applied and everything is OK.
	PolicyApplication_OK PolicyApplication_Status = 1
	// Application is currently running.
	PolicyApplication_RUNNING PolicyApplication_Status = 2
	// Application is disabled.
	PolicyApplication_DISABLED PolicyApplication_Status = 3
)

// Enum value maps for PolicyApplication_Status.
var (
	PolicyApplication_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "OK",
		2: "RUNNING",
		3: "DISABLED",
	}
	PolicyApplication_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"OK":                 1,
		"RUNNING":            2,
		"DISABLED":           3,
	}
)

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

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

func (PolicyApplication_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_backup_v1_policy_proto_enumTypes[10].Descriptor()
}

func (PolicyApplication_Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_backup_v1_policy_proto_enumTypes[10]
}

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

// Deprecated: Use PolicyApplication_Status.Descriptor instead.
func (PolicyApplication_Status) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_backup_v1_policy_proto_rawDescGZIP(), []int{2, 0}
}

type Policy struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Policy ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Policy name.
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// If this field is true, it means that the policy is enabled.
	Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Set of policy settings
	Settings *PolicySettings `protobuf:"bytes,6,opt,name=settings,proto3" json:"settings,omitempty"`
	// ID of the folder that the policy belongs to.
	FolderId      string `protobuf:"bytes,7,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Policy) ProtoMessage() {}

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

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

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

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

func (x *Policy) GetUpdatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdatedAt
	}
	return nil
}

func (x *Policy) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

func (x *Policy) GetSettings() *PolicySettings {
	if x != nil {
		return x.Settings
	}
	return nil
}

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

// Set of policy settings
type PolicySettings struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Archive compression level.
	Compression PolicySettings_Compression `protobuf:"varint,1,opt,name=compression,proto3,enum=yandex.cloud.backup.v1.PolicySettings_Compression" json:"compression,omitempty"`
	// Format of the Acronis backup archive.
	Format Format `protobuf:"varint,2,opt,name=format,proto3,enum=yandex.cloud.backup.v1.Format" json:"format,omitempty"`
	// If true, snapshots of multiple volumes will be taken simultaneously.
	MultiVolumeSnapshottingEnabled bool `protobuf:"varint,3,opt,name=multi_volume_snapshotting_enabled,json=multiVolumeSnapshottingEnabled,proto3" json:"multi_volume_snapshotting_enabled,omitempty"`
	// If true, the file security settings will be preserved.
	// Deprecated.
	//
	// Deprecated: Marked as deprecated in yandex/cloud/backup/v1/policy.proto.
	PreserveFileSecuritySettings bool `protobuf:"varint,4,opt,name=preserve_file_security_settings,json=preserveFileSecuritySettings,proto3" json:"preserve_file_security_settings,omitempty"`
	// Configuration of retries on recoverable errors during the backup operations like reconnection to destination. No attempts to fix recoverable errors will be made if retry configuration is not set.
	Reattempts *PolicySettings_RetriesConfiguration `protobuf:"bytes,5,opt,name=reattempts,proto3" json:"reattempts,omitempty"`
	// If true, a user interaction will be avoided when possible. Equals to false if value is not specified.
	SilentModeEnabled bool `protobuf:"varint,6,opt,name=silent_mode_enabled,json=silentModeEnabled,proto3" json:"silent_mode_enabled,omitempty"`
	// Determines the size to split backups on. Splitting is not performed if value is not specified.
	Splitting *PolicySettings_Splitting `protobuf:"bytes,7,opt,name=splitting,proto3" json:"splitting,omitempty"`
	// Configuration of retries on errors during the creation of the virtual machine snapshot. No attempts to fix recoverable errors will be made if retry configuration is not set.
	VmSnapshotReattempts *PolicySettings_RetriesConfiguration `protobuf:"bytes,8,opt,name=vm_snapshot_reattempts,json=vmSnapshotReattempts,proto3" json:"vm_snapshot_reattempts,omitempty"`
	// Settings for the Volume Shadow Copy Service (VSS) provider. If not set, no VSS provider is used.
	Vss *PolicySettings_VolumeShadowCopyServiceSettings `protobuf:"bytes,9,opt,name=vss,proto3" json:"vss,omitempty"`
	// The archive properties.
	Archive *PolicySettings_ArchiveProperties `protobuf:"bytes,10,opt,name=archive,proto3" json:"archive,omitempty"`
	// Time windows for performance limitations of backup and storage maintenance operations.
	PerformanceWindow *PolicySettings_PerformanceWindow `protobuf:"bytes,11,opt,name=performance_window,json=performanceWindow,proto3" json:"performance_window,omitempty"`
	// Configuration of backup retention rules.
	Retention *PolicySettings_Retention `protobuf:"bytes,12,opt,name=retention,proto3" json:"retention,omitempty"`
	// Configuration of the backup schedule.
	Scheduling *PolicySettings_Scheduling `protobuf:"bytes,15,opt,name=scheduling,proto3" json:"scheduling,omitempty"`
	// A configuration of Changed Block Tracking (CBT).
	Cbt PolicySettings_ChangedBlockTracking `protobuf:"varint,16,opt,name=cbt,proto3,enum=yandex.cloud.backup.v1.PolicySettings_ChangedBlockTracking" json:"cbt,omitempty"`
	// If true, determines whether a file has changed by the file size and timestamp. Otherwise, the entire file contents are compared to those stored in the backup.
	FastBackupEnabled bool `protobuf:"varint,17,opt,name=fast_backup_enabled,json=fastBackupEnabled,proto3" json:"fast_backup_enabled,omitempty"`
	// If true, a quiesced snapshot of the virtual machine will be taken.
	// Deprecated.
	//
	// Deprecated: Marked as deprecated in yandex/cloud/backup/v1/policy.proto.
	QuiesceSnapshottingEnabled bool `protobuf:"varint,18,opt,name=quiesce_snapshotting_enabled,json=quiesceSnapshottingEnabled,proto3" json:"quiesce_snapshotting_enabled,omitempty"`
	// File filters to specify masks of files to backup or to exclude of backuping
	FileFilters *PolicySettings_FileFilters `protobuf:"bytes,19,opt,name=file_filters,json=fileFilters,proto3" json:"file_filters,omitempty"`
	// A sector-by-sector backup of a disk or volume creates a backup copy of all sectors of the disk or volume,
	// including those that do not contain data.
	// Therefore, the size of such a backup copy will be equal to the size of the original disk or volume.
	// This method can be used to back up a disk or volume with an unsupported file system.
	SectorBySector bool `protobuf:"varint,20,opt,name=sector_by_sector,json=sectorBySector,proto3" json:"sector_by_sector,omitempty"`
	// Validation is a time-consuming process, even with incremental or differential backups of small amounts of data.
	// This is because not only the data physically contained in the backup copy is verified,
	// but all data restored when it is selected.
	// This option requires access to previously created backup copies.
	ValidationEnabled bool `protobuf:"varint,21,opt,name=validation_enabled,json=validationEnabled,proto3" json:"validation_enabled,omitempty"`
	// LVM will be used to create the volume snapshot.
	// If LVM fails to create a snapshot (for example, because there is not enough free space),
	// the software will create the snapshot itself.
	LvmSnapshottingEnabled bool `protobuf:"varint,22,opt,name=lvm_snapshotting_enabled,json=lvmSnapshottingEnabled,proto3" json:"lvm_snapshotting_enabled,omitempty"`
	// Commands to launch before or after backup execution
	PrePostCommands []*PolicySettings_PrePostCommand `protobuf:"bytes,23,rep,name=pre_post_commands,json=prePostCommands,proto3" json:"pre_post_commands,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*PolicySettings) ProtoMessage() {}

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

func (x *PolicySettings) GetCompression() PolicySettings_Compression {
	if x != nil {
		return x.Compression
	}
	return PolicySettings_COMPRESSION_UNSPECIFIED
}

func (x *PolicySettings) GetFormat() Format {
	if x != nil {
		return x.Format
	}
	return Format_FORMAT_UNSPECIFIED
}

func (x *PolicySettings) GetMultiVolumeSnapshottingEnabled() bool {
	if x != nil {
		return x.MultiVolumeSnapshottingEnabled
	}
	return false
}

// Deprecated: Marked as deprecated in yandex/cloud/backup/v1/policy.proto.
func (x *PolicySettings) GetPreserveFileSecuritySettings() bool {
	if x != nil {
		return x.PreserveFileSecuritySettings
	}
	return false
}

func (x *PolicySettings) GetReattempts() *PolicySettings_RetriesConfiguration {
	if x != nil {
		return x.Reattempts
	}
	return nil
}

func (x *PolicySettings) GetSilentModeEnabled() bool {
	if x != nil {
		return x.SilentModeEnabled
	}
	return false
}

func (x *PolicySettings) GetSplitting() *PolicySettings_Splitting {
	if x != nil {
		return x.Splitting
	}
	return nil
}

func (x *PolicySettings) GetVmSnapshotReattempts() *PolicySettings_RetriesConfiguration {
	if x != nil {
		return x.VmSnapshotReattempts
	}
	return nil
}

func (x *PolicySettings) GetVss() *PolicySettings_VolumeShadowCopyServiceSettings {
	if x != nil {
		return x.Vss
	}
	return nil
}

func (x *PolicySettings) GetArchive() *PolicySettings_ArchiveProperties {
	if x != nil {
		return x.Archive
	}
	return nil
}

func (x *PolicySettings) GetPerformanceWindow() *PolicySettings_PerformanceWindow {
	if x != nil {
		return x.PerformanceWindow
	}
	return nil
}

func (x *PolicySettings) GetRetention() *PolicySettings_Retention {
	if x != nil {
		return x.Retention
	}
	return nil
}

func (x *PolicySettings) GetScheduling() *PolicySettings_Scheduling {
	if x != nil {
		return x.Scheduling
	}
	return nil
}

func (x *PolicySettings) GetCbt() PolicySettings_ChangedBlockTracking {
	if x != nil {
		return x.Cbt
	}
	return PolicySettings_CHANGED_BLOCK_TRACKING_UNSPECIFIED
}

func (x *PolicySettings) GetFastBackupEnabled() bool {
	if x != nil {
		return x.FastBackupEnabled
	}
	return false
}

// Deprecated: Marked as deprecated in yandex/cloud/backup/v1/policy.proto.
func (x *PolicySettings) GetQuiesceSnapshottingEnabled() bool {
	if x != nil {
		return x.QuiesceSnapshottingEnabled
	}
	return false
}

func (x *PolicySettings) GetFileFilters() *PolicySettings_FileFilters {
	if x != nil {
		return x.FileFilters
	}
	return nil
}

func (x *PolicySettings) GetSectorBySector() bool {
	if x != nil {
		return x.SectorBySector
	}
	return false
}

func (x *PolicySettings) GetValidationEnabled() bool {
	if x != nil {
		return x.ValidationEnabled
	}
	return false
}

func (x *PolicySettings) GetLvmSnapshottingEnabled() bool {
	if x != nil {
		return x.LvmSnapshottingEnabled
	}
	return false
}

func (x *PolicySettings) GetPrePostCommands() []*PolicySettings_PrePostCommand {
	if x != nil {
		return x.PrePostCommands
	}
	return nil
}

type PolicyApplication struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Policy ID.
	PolicyId string `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	// Compute Cloud instance ID.
	ComputeInstanceId string                   `protobuf:"bytes,2,opt,name=compute_instance_id,json=computeInstanceId,proto3" json:"compute_instance_id,omitempty"`
	Enabled           bool                     `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Status            PolicyApplication_Status `protobuf:"varint,4,opt,name=status,proto3,enum=yandex.cloud.backup.v1.PolicyApplication_Status" json:"status,omitempty"`
	CreatedAt         *timestamppb.Timestamp   `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// If true, then the policy is in in the process of binding to the instance.
	IsProcessing  bool `protobuf:"varint,6,opt,name=is_processing,json=isProcessing,proto3" json:"is_processing,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PolicyApplication) ProtoMessage() {}

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

func (x *PolicyApplication) GetPolicyId() string {
	if x != nil {
		return x.PolicyId
	}
	return ""
}

func (x *PolicyApplication) GetComputeInstanceId() string {
	if x != nil {
		return x.ComputeInstanceId
	}
	return ""
}

func (x *PolicyApplication) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

func (x *PolicyApplication) GetStatus() PolicyApplication_Status {
	if x != nil {
		return x.Status
	}
	return PolicyApplication_STATUS_UNSPECIFIED
}

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

func (x *PolicyApplication) GetIsProcessing() bool {
	if x != nil {
		return x.IsProcessing
	}
	return false
}

type PolicySettings_Interval struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A type of the interval.
	Type PolicySettings_Interval_Type `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.backup.v1.PolicySettings_Interval_Type" json:"type,omitempty"`
	// The amount of value specified in `Interval.Type`.
	Count         int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PolicySettings_Interval) ProtoMessage() {}

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

func (x *PolicySettings_Interval) GetType() PolicySettings_Interval_Type {
	if x != nil {
		return x.Type
	}
	return PolicySettings_Interval_TYPE_UNSPECIFIED
}

func (x *PolicySettings_Interval) GetCount() int64 {
	if x != nil {
		return x.Count
	}
	return 0
}

type PolicySettings_RetriesConfiguration struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// If true, enables retry on errors.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// An interval between retry attempts.
	Interval *PolicySettings_Interval `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
	// Max number of retry attempts. Operation will be considered as failed
	// when max number of retry attempts is reached.
	MaxAttempts   int64 `protobuf:"varint,3,opt,name=max_attempts,json=maxAttempts,proto3" json:"max_attempts,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PolicySettings_RetriesConfiguration) ProtoMessage() {}

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

func (x *PolicySettings_RetriesConfiguration) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

func (x *PolicySettings_RetriesConfiguration) GetInterval() *PolicySettings_Interval {
	if x != nil {
		return x.Interval
	}
	return nil
}

func (x *PolicySettings_RetriesConfiguration) GetMaxAttempts() int64 {
	if x != nil {
		return x.MaxAttempts
	}
	return 0
}

type PolicySettings_Splitting struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The size of split backup file in bytes.
	Size          int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PolicySettings_Splitting) ProtoMessage() {}

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

func (x *PolicySettings_Splitting) GetSize() int64 {
	if x != nil {
		return x.Size
	}
	return 0
}

// Settings for Volume Shadow Copy Services which allows to notify
// VSS-aware applications that backup is about to start. This will
// ensure the consistent state of all data used by the applications.
type PolicySettings_VolumeShadowCopyServiceSettings struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// If true, the VSS will be enabled.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// A type of VSS provider to use in backup.
	Provider      PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider `protobuf:"varint,2,opt,name=provider,proto3,enum=yandex.cloud.backup.v1.PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider" json:"provider,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PolicySettings_VolumeShadowCopyServiceSettings) ProtoMessage() {}

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

func (x *PolicySettings_VolumeShadowCopyServiceSettings) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

func (x *PolicySettings_VolumeShadowCopyServiceSettings) GetProvider() PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider {
	if x != nil {
		return x.Provider
	}
	return PolicySettings_VolumeShadowCopyServiceSettings_VSS_PROVIDER_UNSPECIFIED
}

type PolicySettings_ArchiveProperties struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The name of the generated archive. The name may use the following variables: `[Machine Name]`, `[Plan ID]`, `[Plan Name]`, `[Unique ID]`, `[Virtualization Server Type]`.
	// Default value: `[Machine Name]-[Plan ID]-[Unique ID]A`.
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PolicySettings_ArchiveProperties) ProtoMessage() {}

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

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

type PolicySettings_PerformanceWindow struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// If true, the time windows will be enabled.
	Enabled       bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PolicySettings_PerformanceWindow) ProtoMessage() {}

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

func (x *PolicySettings_PerformanceWindow) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

type PolicySettings_TimeOfDay struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Hours.
	Hour int64 `protobuf:"varint,1,opt,name=hour,proto3" json:"hour,omitempty"`
	// Minutes.
	Minute        int64 `protobuf:"varint,2,opt,name=minute,proto3" json:"minute,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PolicySettings_TimeOfDay) Reset() {
	*x = PolicySettings_TimeOfDay{}
	mi := &file_yandex_cloud_backup_v1_policy_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*PolicySettings_TimeOfDay) ProtoMessage() {}

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

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

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

type PolicySettings_Retention struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A list of retention rules.
	Rules []*PolicySettings_Retention_RetentionRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	// If true, retention rules will be applied before backup is finished.
	BeforeBackup  bool `protobuf:"varint,3,opt,name=before_backup,json=beforeBackup,proto3" json:"before_backup,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PolicySettings_Retention) Reset() {
	*x = PolicySettings_Retention{}
	mi := &file_yandex_cloud_backup_v1_policy_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*PolicySettings_Retention) ProtoMessage() {}

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

func (x *PolicySettings_Retention) GetRules() []*PolicySettings_Retention_RetentionRule {
	if x != nil {
		return x.Rules
	}
	return nil
}

func (x *PolicySettings_Retention) GetBeforeBackup() bool {
	if x != nil {
		return x.BeforeBackup
	}
	return false
}

type PolicySettings_Scheduling struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A list of schedules with backup sets that compose the whole scheme.
	BackupSets []*PolicySettings_Scheduling_BackupSet `protobuf:"bytes,1,rep,name=backup_sets,json=backupSets,proto3" json:"backup_sets,omitempty"`
	// If true, the backup schedule will be enabled.
	Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Max number of backup processes allowed to run in parallel. Unlimited if not set.
	MaxParallelBackups int64 `protobuf:"varint,3,opt,name=max_parallel_backups,json=maxParallelBackups,proto3" json:"max_parallel_backups,omitempty"`
	// Configuration of the random delay between the execution of parallel tasks.
	RandMaxDelay *PolicySettings_Interval `protobuf:"bytes,4,opt,name=rand_max_delay,json=randMaxDelay,proto3" json:"rand_max_delay,omitempty"`
	// A backup scheme. Available values: `simple`, `always_full`, `always_incremental`, `weekly_incremental`, `weekly_full_daily_incremental`, `custom`, `cdp`.
	Scheme PolicySettings_Scheduling_Scheme `protobuf:"varint,5,opt,name=scheme,proto3,enum=yandex.cloud.backup.v1.PolicySettings_Scheduling_Scheme" json:"scheme,omitempty"`
	// A day of week to start weekly backups.
	WeeklyBackupDay PolicySettings_Day `protobuf:"varint,6,opt,name=weekly_backup_day,json=weeklyBackupDay,proto3,enum=yandex.cloud.backup.v1.PolicySettings_Day" json:"weekly_backup_day,omitempty"`
	// Task failure settings in case of failure of scheduled task, not applicable to  manually launched tasks
	TaskFailure   *PolicySettings_RetriesConfiguration `protobuf:"bytes,7,opt,name=task_failure,json=taskFailure,proto3" json:"task_failure,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PolicySettings_Scheduling) Reset() {
	*x = PolicySettings_Scheduling{}
	mi := &file_yandex_cloud_backup_v1_policy_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*PolicySettings_Scheduling) ProtoMessage() {}

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

func (x *PolicySettings_Scheduling) GetBackupSets() []*PolicySettings_Scheduling_BackupSet {
	if x != nil {
		return x.BackupSets
	}
	return nil
}

func (x *PolicySettings_Scheduling) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

func (x *PolicySettings_Scheduling) GetMaxParallelBackups() int64 {
	if x != nil {
		return x.MaxParallelBackups
	}
	return 0
}

func (x *PolicySettings_Scheduling) GetRandMaxDelay() *PolicySettings_Interval {
	if x != nil {
		return x.RandMaxDelay
	}
	return nil
}

func (x *PolicySettings_Scheduling) GetScheme() PolicySettings_Scheduling_Scheme {
	if x != nil {
		return x.Scheme
	}
	return PolicySettings_Scheduling_SCHEME_UNSPECIFIED
}

func (x *PolicySettings_Scheduling) GetWeeklyBackupDay() PolicySettings_Day {
	if x != nil {
		return x.WeeklyBackupDay
	}
	return PolicySettings_DAY_UNSPECIFIED
}

func (x *PolicySettings_Scheduling) GetTaskFailure() *PolicySettings_RetriesConfiguration {
	if x != nil {
		return x.TaskFailure
	}
	return nil
}

type PolicySettings_FileFilters struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Do not backup files that match the following criteria
	ExclusionMasks []string `protobuf:"bytes,1,rep,name=exclusion_masks,json=exclusionMasks,proto3" json:"exclusion_masks,omitempty"`
	// Backup only files that match the following criteria
	InclusionMasks []string `protobuf:"bytes,2,rep,name=inclusion_masks,json=inclusionMasks,proto3" json:"inclusion_masks,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *PolicySettings_FileFilters) Reset() {
	*x = PolicySettings_FileFilters{}
	mi := &file_yandex_cloud_backup_v1_policy_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*PolicySettings_FileFilters) ProtoMessage() {}

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

func (x *PolicySettings_FileFilters) GetExclusionMasks() []string {
	if x != nil {
		return x.ExclusionMasks
	}
	return nil
}

func (x *PolicySettings_FileFilters) GetInclusionMasks() []string {
	if x != nil {
		return x.InclusionMasks
	}
	return nil
}

type PolicySettings_PrePostCommand struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Command to execute
	Cmd string `protobuf:"bytes,1,opt,name=cmd,proto3" json:"cmd,omitempty"`
	// Command args
	Args string `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"`
	// Is command enabled
	Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Stop backup execution on error
	StopOnError bool `protobuf:"varint,4,opt,name=stop_on_error,json=stopOnError,proto3" json:"stop_on_error,omitempty"`
	// Type of command: pre or post
	Type PolicySettings_CommandType `protobuf:"varint,5,opt,name=type,proto3,enum=yandex.cloud.backup.v1.PolicySettings_CommandType" json:"type,omitempty"`
	// Wait command finish before launching backup
	Wait bool `protobuf:"varint,6,opt,name=wait,proto3" json:"wait,omitempty"`
	// Workdir for command execution
	Workdir       string `protobuf:"bytes,7,opt,name=workdir,proto3" json:"workdir,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PolicySettings_PrePostCommand) Reset() {
	*x = PolicySettings_PrePostCommand{}
	mi := &file_yandex_cloud_backup_v1_policy_proto_msgTypes[13]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*PolicySettings_PrePostCommand) ProtoMessage() {}

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

func (x *PolicySettings_PrePostCommand) GetCmd() string {
	if x != nil {
		return x.Cmd
	}
	return ""
}

func (x *PolicySettings_PrePostCommand) GetArgs() string {
	if x != nil {
		return x.Args
	}
	return ""
}

func (x *PolicySettings_PrePostCommand) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

func (x *PolicySettings_PrePostCommand) GetStopOnError() bool {
	if x != nil {
		return x.StopOnError
	}
	return false
}

func (x *PolicySettings_PrePostCommand) GetType() PolicySettings_CommandType {
	if x != nil {
		return x.Type
	}
	return PolicySettings_COMMAND_TYPE_UNSPECIFIED
}

func (x *PolicySettings_PrePostCommand) GetWait() bool {
	if x != nil {
		return x.Wait
	}
	return false
}

func (x *PolicySettings_PrePostCommand) GetWorkdir() string {
	if x != nil {
		return x.Workdir
	}
	return ""
}

type PolicySettings_Retention_RetentionRule struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A list of backup sets where rules are effective.
	BackupSet []PolicySettings_RepeatePeriod `protobuf:"varint,1,rep,packed,name=backup_set,json=backupSet,proto3,enum=yandex.cloud.backup.v1.PolicySettings_RepeatePeriod" json:"backup_set,omitempty"`
	// Types that are valid to be assigned to Condition:
	//
	//	*PolicySettings_Retention_RetentionRule_MaxAge
	//	*PolicySettings_Retention_RetentionRule_MaxCount
	Condition     isPolicySettings_Retention_RetentionRule_Condition `protobuf_oneof:"condition"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PolicySettings_Retention_RetentionRule) Reset() {
	*x = PolicySettings_Retention_RetentionRule{}
	mi := &file_yandex_cloud_backup_v1_policy_proto_msgTypes[14]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*PolicySettings_Retention_RetentionRule) ProtoMessage() {}

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

func (x *PolicySettings_Retention_RetentionRule) GetBackupSet() []PolicySettings_RepeatePeriod {
	if x != nil {
		return x.BackupSet
	}
	return nil
}

func (x *PolicySettings_Retention_RetentionRule) GetCondition() isPolicySettings_Retention_RetentionRule_Condition {
	if x != nil {
		return x.Condition
	}
	return nil
}

func (x *PolicySettings_Retention_RetentionRule) GetMaxAge() *PolicySettings_Interval {
	if x != nil {
		if x, ok := x.Condition.(*PolicySettings_Retention_RetentionRule_MaxAge); ok {
			return x.MaxAge
		}
	}
	return nil
}

func (x *PolicySettings_Retention_RetentionRule) GetMaxCount() int64 {
	if x != nil {
		if x, ok := x.Condition.(*PolicySettings_Retention_RetentionRule_MaxCount); ok {
			return x.MaxCount
		}
	}
	return 0
}

type isPolicySettings_Retention_RetentionRule_Condition interface {
	isPolicySettings_Retention_RetentionRule_Condition()
}

type PolicySettings_Retention_RetentionRule_MaxAge struct {
	MaxAge *PolicySettings_Interval `protobuf:"bytes,2,opt,name=max_age,json=maxAge,proto3,oneof"`
}

type PolicySettings_Retention_RetentionRule_MaxCount struct {
	MaxCount int64 `protobuf:"varint,3,opt,name=max_count,json=maxCount,proto3,oneof"`
}

func (*PolicySettings_Retention_RetentionRule_MaxAge) isPolicySettings_Retention_RetentionRule_Condition() {
}

func (*PolicySettings_Retention_RetentionRule_MaxCount) isPolicySettings_Retention_RetentionRule_Condition() {
}

type PolicySettings_Scheduling_BackupSet struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to Setting:
	//
	//	*PolicySettings_Scheduling_BackupSet_Time_
	//	*PolicySettings_Scheduling_BackupSet_SinceLastExecTime_
	Setting isPolicySettings_Scheduling_BackupSet_Setting `protobuf_oneof:"setting"`
	// BackupSet type -- one of incr, full, differential or auto.
	// if custom scheme is used the BackupSet type should be specified
	Type          PolicySettings_Scheduling_BackupSet_Type `protobuf:"varint,3,opt,name=type,proto3,enum=yandex.cloud.backup.v1.PolicySettings_Scheduling_BackupSet_Type" json:"type,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PolicySettings_Scheduling_BackupSet) Reset() {
	*x = PolicySettings_Scheduling_BackupSet{}
	mi := &file_yandex_cloud_backup_v1_policy_proto_msgTypes[15]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*PolicySettings_Scheduling_BackupSet) ProtoMessage() {}

func (x *PolicySettings_Scheduling_BackupSet) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_backup_v1_policy_proto_msgTypes[15]
	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 PolicySettings_Scheduling_BackupSet.ProtoReflect.Descriptor instead.
func (*PolicySettings_Scheduling_BackupSet) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_backup_v1_policy_proto_rawDescGZIP(), []int{1, 8, 0}
}

func (x *PolicySettings_Scheduling_BackupSet) GetSetting() isPolicySettings_Scheduling_BackupSet_Setting {
	if x != nil {
		return x.Setting
	}
	return nil
}

func (x *PolicySettings_Scheduling_BackupSet) GetTime() *PolicySettings_Scheduling_BackupSet_Time {
	if x != nil {
		if x, ok := x.Setting.(*PolicySettings_Scheduling_BackupSet_Time_); ok {
			return x.Time
		}
	}
	return nil
}

func (x *PolicySettings_Scheduling_BackupSet) GetSinceLastExecTime() *PolicySettings_Scheduling_BackupSet_SinceLastExecTime {
	if x != nil {
		if x, ok := x.Setting.(*PolicySettings_Scheduling_BackupSet_SinceLastExecTime_); ok {
			return x.SinceLastExecTime
		}
	}
	return nil
}

func (x *PolicySettings_Scheduling_BackupSet) GetType() PolicySettings_Scheduling_BackupSet_Type {
	if x != nil {
		return x.Type
	}
	return PolicySettings_Scheduling_BackupSet_TYPE_UNSPECIFIED
}

type isPolicySettings_Scheduling_BackupSet_Setting interface {
	isPolicySettings_Scheduling_BackupSet_Setting()
}

type PolicySettings_Scheduling_BackupSet_Time_ struct {
	Time *PolicySettings_Scheduling_BackupSet_Time `protobuf:"bytes,1,opt,name=time,proto3,oneof"`
}

type PolicySettings_Scheduling_BackupSet_SinceLastExecTime_ struct {
	SinceLastExecTime *PolicySettings_Scheduling_BackupSet_SinceLastExecTime `protobuf:"bytes,2,opt,name=since_last_exec_time,json=sinceLastExecTime,proto3,oneof"`
}

func (*PolicySettings_Scheduling_BackupSet_Time_) isPolicySettings_Scheduling_BackupSet_Setting() {}

func (*PolicySettings_Scheduling_BackupSet_SinceLastExecTime_) isPolicySettings_Scheduling_BackupSet_Setting() {
}

type PolicySettings_Scheduling_BackupSet_Time struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Days in a week to perform a backup.
	Weekdays []PolicySettings_Day `protobuf:"varint,1,rep,packed,name=weekdays,proto3,enum=yandex.cloud.backup.v1.PolicySettings_Day" json:"weekdays,omitempty"`
	// Time to repeat the backup.
	RepeatAt []*PolicySettings_TimeOfDay `protobuf:"bytes,2,rep,name=repeat_at,json=repeatAt,proto3" json:"repeat_at,omitempty"`
	// Frequency of backup repetition.
	RepeatEvery *PolicySettings_Interval `protobuf:"bytes,3,opt,name=repeat_every,json=repeatEvery,proto3" json:"repeat_every,omitempty"`
	// The start time of the backup time interval.
	TimeFrom *PolicySettings_TimeOfDay `protobuf:"bytes,4,opt,name=time_from,json=timeFrom,proto3" json:"time_from,omitempty"`
	// The end time of the backup time interval.
	TimeTo *PolicySettings_TimeOfDay `protobuf:"bytes,5,opt,name=time_to,json=timeTo,proto3" json:"time_to,omitempty"`
	// Days in a month to perform a backup.
	// Allowed values are from 1 to 31.
	Monthdays []int64 `protobuf:"varint,6,rep,packed,name=monthdays,proto3" json:"monthdays,omitempty"`
	// If set to true, last day of month will activate
	// the policy.
	IncludeLastDayOfMonth bool `protobuf:"varint,7,opt,name=include_last_day_of_month,json=includeLastDayOfMonth,proto3" json:"include_last_day_of_month,omitempty"`
	// Set of values. Allowed values form 1 to 12.
	Months []int64 `protobuf:"varint,8,rep,packed,name=months,proto3" json:"months,omitempty"`
	// Possible types: `REPEATE_PERIOD_UNSPECIFIED`, `HOURLY`, `DAILY`, `WEEKLY`, `MONTHLY`.
	Type PolicySettings_RepeatePeriod `protobuf:"varint,9,opt,name=type,proto3,enum=yandex.cloud.backup.v1.PolicySettings_RepeatePeriod" json:"type,omitempty"`
	// If the machine is off, launch missed tasks on boot up.
	RunLater      bool `protobuf:"varint,10,opt,name=run_later,json=runLater,proto3" json:"run_later,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PolicySettings_Scheduling_BackupSet_Time) Reset() {
	*x = PolicySettings_Scheduling_BackupSet_Time{}
	mi := &file_yandex_cloud_backup_v1_policy_proto_msgTypes[16]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*PolicySettings_Scheduling_BackupSet_Time) ProtoMessage() {}

func (x *PolicySettings_Scheduling_BackupSet_Time) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_backup_v1_policy_proto_msgTypes[16]
	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 PolicySettings_Scheduling_BackupSet_Time.ProtoReflect.Descriptor instead.
func (*PolicySettings_Scheduling_BackupSet_Time) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_backup_v1_policy_proto_rawDescGZIP(), []int{1, 8, 0, 0}
}

func (x *PolicySettings_Scheduling_BackupSet_Time) GetWeekdays() []PolicySettings_Day {
	if x != nil {
		return x.Weekdays
	}
	return nil
}

func (x *PolicySettings_Scheduling_BackupSet_Time) GetRepeatAt() []*PolicySettings_TimeOfDay {
	if x != nil {
		return x.RepeatAt
	}
	return nil
}

func (x *PolicySettings_Scheduling_BackupSet_Time) GetRepeatEvery() *PolicySettings_Interval {
	if x != nil {
		return x.RepeatEvery
	}
	return nil
}

func (x *PolicySettings_Scheduling_BackupSet_Time) GetTimeFrom() *PolicySettings_TimeOfDay {
	if x != nil {
		return x.TimeFrom
	}
	return nil
}

func (x *PolicySettings_Scheduling_BackupSet_Time) GetTimeTo() *PolicySettings_TimeOfDay {
	if x != nil {
		return x.TimeTo
	}
	return nil
}

func (x *PolicySettings_Scheduling_BackupSet_Time) GetMonthdays() []int64 {
	if x != nil {
		return x.Monthdays
	}
	return nil
}

func (x *PolicySettings_Scheduling_BackupSet_Time) GetIncludeLastDayOfMonth() bool {
	if x != nil {
		return x.IncludeLastDayOfMonth
	}
	return false
}

func (x *PolicySettings_Scheduling_BackupSet_Time) GetMonths() []int64 {
	if x != nil {
		return x.Months
	}
	return nil
}

func (x *PolicySettings_Scheduling_BackupSet_Time) GetType() PolicySettings_RepeatePeriod {
	if x != nil {
		return x.Type
	}
	return PolicySettings_REPEATE_PERIOD_UNSPECIFIED
}

func (x *PolicySettings_Scheduling_BackupSet_Time) GetRunLater() bool {
	if x != nil {
		return x.RunLater
	}
	return false
}

type PolicySettings_Scheduling_BackupSet_SinceLastExecTime struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The interval between backups.
	Delay         *PolicySettings_Interval `protobuf:"bytes,1,opt,name=delay,proto3" json:"delay,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PolicySettings_Scheduling_BackupSet_SinceLastExecTime) Reset() {
	*x = PolicySettings_Scheduling_BackupSet_SinceLastExecTime{}
	mi := &file_yandex_cloud_backup_v1_policy_proto_msgTypes[17]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*PolicySettings_Scheduling_BackupSet_SinceLastExecTime) ProtoMessage() {}

func (x *PolicySettings_Scheduling_BackupSet_SinceLastExecTime) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_backup_v1_policy_proto_msgTypes[17]
	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 PolicySettings_Scheduling_BackupSet_SinceLastExecTime.ProtoReflect.Descriptor instead.
func (*PolicySettings_Scheduling_BackupSet_SinceLastExecTime) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_backup_v1_policy_proto_rawDescGZIP(), []int{1, 8, 0, 1}
}

func (x *PolicySettings_Scheduling_BackupSet_SinceLastExecTime) GetDelay() *PolicySettings_Interval {
	if x != nil {
		return x.Delay
	}
	return nil
}

var File_yandex_cloud_backup_v1_policy_proto protoreflect.FileDescriptor

const file_yandex_cloud_backup_v1_policy_proto_rawDesc = "" +
	"\n" +
	"#yandex/cloud/backup/v1/policy.proto\x12\x16yandex.cloud.backup.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xb9\x02\n" +
	"\x06Policy\x12\x1c\n" +
	"\x02id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x02id\x12 \n" +
	"\x04name\x18\x02 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x04name\x129\n" +
	"\n" +
	"created_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
	"\n" +
	"updated_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x18\n" +
	"\aenabled\x18\x05 \x01(\bR\aenabled\x12B\n" +
	"\bsettings\x18\x06 \x01(\v2&.yandex.cloud.backup.v1.PolicySettingsR\bsettings\x12\x1b\n" +
	"\tfolder_id\x18\a \x01(\tR\bfolderId\"\xba,\n" +
	"\x0ePolicySettings\x12Z\n" +
	"\vcompression\x18\x01 \x01(\x0e22.yandex.cloud.backup.v1.PolicySettings.CompressionB\x04\xe8\xc71\x01R\vcompression\x12<\n" +
	"\x06format\x18\x02 \x01(\x0e2\x1e.yandex.cloud.backup.v1.FormatB\x04\xe8\xc71\x01R\x06format\x12I\n" +
	"!multi_volume_snapshotting_enabled\x18\x03 \x01(\bR\x1emultiVolumeSnapshottingEnabled\x12I\n" +
	"\x1fpreserve_file_security_settings\x18\x04 \x01(\bB\x02\x18\x01R\x1cpreserveFileSecuritySettings\x12a\n" +
	"\n" +
	"reattempts\x18\x05 \x01(\v2;.yandex.cloud.backup.v1.PolicySettings.RetriesConfigurationB\x04\xe8\xc71\x01R\n" +
	"reattempts\x12.\n" +
	"\x13silent_mode_enabled\x18\x06 \x01(\bR\x11silentModeEnabled\x12T\n" +
	"\tsplitting\x18\a \x01(\v20.yandex.cloud.backup.v1.PolicySettings.SplittingB\x04\xe8\xc71\x01R\tsplitting\x12w\n" +
	"\x16vm_snapshot_reattempts\x18\b \x01(\v2;.yandex.cloud.backup.v1.PolicySettings.RetriesConfigurationB\x04\xe8\xc71\x01R\x14vmSnapshotReattempts\x12^\n" +
	"\x03vss\x18\t \x01(\v2F.yandex.cloud.backup.v1.PolicySettings.VolumeShadowCopyServiceSettingsB\x04\xe8\xc71\x01R\x03vss\x12R\n" +
	"\aarchive\x18\n" +
	" \x01(\v28.yandex.cloud.backup.v1.PolicySettings.ArchivePropertiesR\aarchive\x12m\n" +
	"\x12performance_window\x18\v \x01(\v28.yandex.cloud.backup.v1.PolicySettings.PerformanceWindowB\x04\xe8\xc71\x01R\x11performanceWindow\x12T\n" +
	"\tretention\x18\f \x01(\v20.yandex.cloud.backup.v1.PolicySettings.RetentionB\x04\xe8\xc71\x01R\tretention\x12W\n" +
	"\n" +
	"scheduling\x18\x0f \x01(\v21.yandex.cloud.backup.v1.PolicySettings.SchedulingB\x04\xe8\xc71\x01R\n" +
	"scheduling\x12S\n" +
	"\x03cbt\x18\x10 \x01(\x0e2;.yandex.cloud.backup.v1.PolicySettings.ChangedBlockTrackingB\x04\xe8\xc71\x01R\x03cbt\x12.\n" +
	"\x13fast_backup_enabled\x18\x11 \x01(\bR\x11fastBackupEnabled\x12D\n" +
	"\x1cquiesce_snapshotting_enabled\x18\x12 \x01(\bB\x02\x18\x01R\x1aquiesceSnapshottingEnabled\x12U\n" +
	"\ffile_filters\x18\x13 \x01(\v22.yandex.cloud.backup.v1.PolicySettings.FileFiltersR\vfileFilters\x12(\n" +
	"\x10sector_by_sector\x18\x14 \x01(\bR\x0esectorBySector\x12-\n" +
	"\x12validation_enabled\x18\x15 \x01(\bR\x11validationEnabled\x128\n" +
	"\x18lvm_snapshotting_enabled\x18\x16 \x01(\bR\x16lvmSnapshottingEnabled\x12a\n" +
	"\x11pre_post_commands\x18\x17 \x03(\v25.yandex.cloud.backup.v1.PolicySettings.PrePostCommandR\x0fprePostCommands\x1a\xdc\x01\n" +
	"\bInterval\x12N\n" +
	"\x04type\x18\x01 \x01(\x0e24.yandex.cloud.backup.v1.PolicySettings.Interval.TypeB\x04\xe8\xc71\x01R\x04type\x12\x1c\n" +
	"\x05count\x18\x02 \x01(\x03B\x06\xfa\xc71\x02>0R\x05count\"b\n" +
	"\x04Type\x12\x14\n" +
	"\x10TYPE_UNSPECIFIED\x10\x00\x12\v\n" +
	"\aSECONDS\x10\x01\x12\v\n" +
	"\aMINUTES\x10\x02\x12\t\n" +
	"\x05HOURS\x10\x03\x12\b\n" +
	"\x04DAYS\x10\x04\x12\t\n" +
	"\x05WEEKS\x10\x05\x12\n" +
	"\n" +
	"\x06MONTHS\x10\x06\x1a\xae\x01\n" +
	"\x14RetriesConfiguration\x12\x18\n" +
	"\aenabled\x18\x01 \x01(\bR\aenabled\x12Q\n" +
	"\binterval\x18\x02 \x01(\v2/.yandex.cloud.backup.v1.PolicySettings.IntervalB\x04\xe8\xc71\x01R\binterval\x12)\n" +
	"\fmax_attempts\x18\x03 \x01(\x03B\x06\xfa\xc71\x02>0R\vmaxAttempts\x1a\x1f\n" +
	"\tSplitting\x12\x12\n" +
	"\x04size\x18\x01 \x01(\x03R\x04size\x1a\x85\x02\n" +
	"\x1fVolumeShadowCopyServiceSettings\x12\x18\n" +
	"\aenabled\x18\x01 \x01(\bR\aenabled\x12t\n" +
	"\bprovider\x18\x02 \x01(\x0e2R.yandex.cloud.backup.v1.PolicySettings.VolumeShadowCopyServiceSettings.VSSProviderB\x04\xe8\xc71\x01R\bprovider\"R\n" +
	"\vVSSProvider\x12\x1c\n" +
	"\x18VSS_PROVIDER_UNSPECIFIED\x10\x00\x12\n" +
	"\n" +
	"\x06NATIVE\x10\x01\x12\x19\n" +
	"\x15TARGET_SYSTEM_DEFINED\x10\x02\x1a'\n" +
	"\x11ArchiveProperties\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x1a-\n" +
	"\x11PerformanceWindow\x12\x18\n" +
	"\aenabled\x18\x01 \x01(\bR\aenabled\x1a7\n" +
	"\tTimeOfDay\x12\x12\n" +
	"\x04hour\x18\x01 \x01(\x03R\x04hour\x12\x16\n" +
	"\x06minute\x18\x02 \x01(\x03R\x06minute\x1a\xf1\x02\n" +
	"\tRetention\x12T\n" +
	"\x05rules\x18\x01 \x03(\v2>.yandex.cloud.backup.v1.PolicySettings.Retention.RetentionRuleR\x05rules\x12#\n" +
	"\rbefore_backup\x18\x03 \x01(\bR\fbeforeBackup\x1a\xe2\x01\n" +
	"\rRetentionRule\x12S\n" +
	"\n" +
	"backup_set\x18\x01 \x03(\x0e24.yandex.cloud.backup.v1.PolicySettings.RepeatePeriodR\tbackupSet\x12J\n" +
	"\amax_age\x18\x02 \x01(\v2/.yandex.cloud.backup.v1.PolicySettings.IntervalH\x00R\x06maxAge\x12\x1d\n" +
	"\tmax_count\x18\x03 \x01(\x03H\x00R\bmaxCountB\x11\n" +
	"\tcondition\x12\x04\xc0\xc11\x01J\x04\b\x02\x10\x03\x1a\xf1\x0e\n" +
	"\n" +
	"Scheduling\x12d\n" +
	"\vbackup_sets\x18\x01 \x03(\v2;.yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSetB\x06\x82\xc81\x02>0R\n" +
	"backupSets\x12\x18\n" +
	"\aenabled\x18\x02 \x01(\bR\aenabled\x120\n" +
	"\x14max_parallel_backups\x18\x03 \x01(\x03R\x12maxParallelBackups\x12[\n" +
	"\x0erand_max_delay\x18\x04 \x01(\v2/.yandex.cloud.backup.v1.PolicySettings.IntervalB\x04\xe8\xc71\x01R\frandMaxDelay\x12V\n" +
	"\x06scheme\x18\x05 \x01(\x0e28.yandex.cloud.backup.v1.PolicySettings.Scheduling.SchemeB\x04\xe8\xc71\x01R\x06scheme\x12\\\n" +
	"\x11weekly_backup_day\x18\x06 \x01(\x0e2*.yandex.cloud.backup.v1.PolicySettings.DayB\x04\xe8\xc71\x01R\x0fweeklyBackupDay\x12^\n" +
	"\ftask_failure\x18\a \x01(\v2;.yandex.cloud.backup.v1.PolicySettings.RetriesConfigurationR\vtaskFailure\x1a\x95\t\n" +
	"\tBackupSet\x12V\n" +
	"\x04time\x18\x01 \x01(\v2@.yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.TimeH\x00R\x04time\x12\x80\x01\n" +
	"\x14since_last_exec_time\x18\x02 \x01(\v2M.yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.SinceLastExecTimeH\x00R\x11sinceLastExecTime\x12T\n" +
	"\x04type\x18\x03 \x01(\x0e2@.yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.TypeR\x04type\x1a\xfa\x04\n" +
	"\x04Time\x12L\n" +
	"\bweekdays\x18\x01 \x03(\x0e2*.yandex.cloud.backup.v1.PolicySettings.DayB\x04\x90\xc81\x01R\bweekdays\x12M\n" +
	"\trepeat_at\x18\x02 \x03(\v20.yandex.cloud.backup.v1.PolicySettings.TimeOfDayR\brepeatAt\x12R\n" +
	"\frepeat_every\x18\x03 \x01(\v2/.yandex.cloud.backup.v1.PolicySettings.IntervalR\vrepeatEvery\x12M\n" +
	"\ttime_from\x18\x04 \x01(\v20.yandex.cloud.backup.v1.PolicySettings.TimeOfDayR\btimeFrom\x12I\n" +
	"\atime_to\x18\x05 \x01(\v20.yandex.cloud.backup.v1.PolicySettings.TimeOfDayR\x06timeTo\x12\"\n" +
	"\tmonthdays\x18\x06 \x03(\x03B\x04\x90\xc81\x01R\tmonthdays\x128\n" +
	"\x19include_last_day_of_month\x18\a \x01(\bR\x15includeLastDayOfMonth\x12\x1c\n" +
	"\x06months\x18\b \x03(\x03B\x04\x90\xc81\x01R\x06months\x12N\n" +
	"\x04type\x18\t \x01(\x0e24.yandex.cloud.backup.v1.PolicySettings.RepeatePeriodB\x04\xe8\xc71\x01R\x04type\x12\x1b\n" +
	"\trun_later\x18\n" +
	" \x01(\bR\brunLater\x1a`\n" +
	"\x11SinceLastExecTime\x12K\n" +
	"\x05delay\x18\x01 \x01(\v2/.yandex.cloud.backup.v1.PolicySettings.IntervalB\x04\xe8\xc71\x01R\x05delay\"g\n" +
	"\x04Type\x12\x14\n" +
	"\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n" +
	"\tTYPE_AUTO\x10\x01\x12\r\n" +
	"\tTYPE_FULL\x10\x02\x12\x14\n" +
	"\x10TYPE_INCREMENTAL\x10\x03\x12\x15\n" +
	"\x11TYPE_DIFFERENTIAL\x10\x04B\x0f\n" +
	"\asetting\x12\x04\xc0\xc11\x01\"\xa5\x01\n" +
	"\x06Scheme\x12\x16\n" +
	"\x12SCHEME_UNSPECIFIED\x10\x00\x12\n" +
	"\n" +
	"\x06SIMPLE\x10\x01\x12\x0f\n" +
	"\vALWAYS_FULL\x10\x02\x12\x16\n" +
	"\x12ALWAYS_INCREMENTAL\x10\x03\x12\x16\n" +
	"\x12WEEKLY_INCREMENTAL\x10\x04\x12!\n" +
	"\x1dWEEKLY_FULL_DAILY_INCREMENTAL\x10\x05\x12\n" +
	"\n" +
	"\x06CUSTOM\x10\x06\x12\a\n" +
	"\x03CDP\x10\a\x1a_\n" +
	"\vFileFilters\x12'\n" +
	"\x0fexclusion_masks\x18\x01 \x03(\tR\x0eexclusionMasks\x12'\n" +
	"\x0finclusion_masks\x18\x02 \x03(\tR\x0einclusionMasks\x1a\xea\x01\n" +
	"\x0ePrePostCommand\x12\x10\n" +
	"\x03cmd\x18\x01 \x01(\tR\x03cmd\x12\x12\n" +
	"\x04args\x18\x02 \x01(\tR\x04args\x12\x18\n" +
	"\aenabled\x18\x03 \x01(\bR\aenabled\x12\"\n" +
	"\rstop_on_error\x18\x04 \x01(\bR\vstopOnError\x12F\n" +
	"\x04type\x18\x05 \x01(\x0e22.yandex.cloud.backup.v1.PolicySettings.CommandTypeR\x04type\x12\x12\n" +
	"\x04wait\x18\x06 \x01(\bR\x04wait\x12\x18\n" +
	"\aworkdir\x18\a \x01(\tR\aworkdir\"R\n" +
	"\vCompression\x12\x1b\n" +
	"\x17COMPRESSION_UNSPECIFIED\x10\x00\x12\n" +
	"\n" +
	"\x06NORMAL\x10\x01\x12\b\n" +
	"\x04HIGH\x10\x02\x12\a\n" +
	"\x03MAX\x10\x03\x12\a\n" +
	"\x03OFF\x10\x04\"_\n" +
	"\rRepeatePeriod\x12\x1e\n" +
	"\x1aREPEATE_PERIOD_UNSPECIFIED\x10\x00\x12\n" +
	"\n" +
	"\x06HOURLY\x10\x01\x12\t\n" +
	"\x05DAILY\x10\x02\x12\n" +
	"\n" +
	"\x06WEEKLY\x10\x03\x12\v\n" +
	"\aMONTHLY\x10\x04\"v\n" +
	"\x03Day\x12\x13\n" +
	"\x0fDAY_UNSPECIFIED\x10\x00\x12\n" +
	"\n" +
	"\x06MONDAY\x10\x01\x12\v\n" +
	"\aTUESDAY\x10\x02\x12\r\n" +
	"\tWEDNESDAY\x10\x03\x12\f\n" +
	"\bTHURSDAY\x10\x04\x12\n" +
	"\n" +
	"\x06FRIDAY\x10\x05\x12\f\n" +
	"\bSATURDAY\x10\x06\x12\n" +
	"\n" +
	"\x06SUNDAY\x10\a\"v\n" +
	"\x14ChangedBlockTracking\x12&\n" +
	"\"CHANGED_BLOCK_TRACKING_UNSPECIFIED\x10\x00\x12\x12\n" +
	"\x0eUSE_IF_ENABLED\x10\x01\x12\x12\n" +
	"\x0eENABLE_AND_USE\x10\x02\x12\x0e\n" +
	"\n" +
	"DO_NOT_USE\x10\x03\"{\n" +
	"\vCommandType\x12\x1c\n" +
	"\x18COMMAND_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n" +
	"\vPRE_COMMAND\x10\x01\x12\x10\n" +
	"\fPOST_COMMAND\x10\x02\x12\x14\n" +
	"\x10PRE_DATA_COMMAND\x10\x03\x12\x15\n" +
	"\x11POST_DATA_COMMAND\x10\x04J\x04\b\r\x10\x0eJ\x04\b\x0e\x10\x0f\"\xe9\x02\n" +
	"\x11PolicyApplication\x12\x1b\n" +
	"\tpolicy_id\x18\x01 \x01(\tR\bpolicyId\x12.\n" +
	"\x13compute_instance_id\x18\x02 \x01(\tR\x11computeInstanceId\x12\x18\n" +
	"\aenabled\x18\x03 \x01(\bR\aenabled\x12H\n" +
	"\x06status\x18\x04 \x01(\x0e20.yandex.cloud.backup.v1.PolicyApplication.StatusR\x06status\x129\n" +
	"\n" +
	"created_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12#\n" +
	"\ris_processing\x18\x06 \x01(\bR\fisProcessing\"C\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\x06\n" +
	"\x02OK\x10\x01\x12\v\n" +
	"\aRUNNING\x10\x02\x12\f\n" +
	"\bDISABLED\x10\x03*J\n" +
	"\x06Format\x12\x16\n" +
	"\x12FORMAT_UNSPECIFIED\x10\x00\x12\x0e\n" +
	"\n" +
	"VERSION_11\x10\x01\x12\x0e\n" +
	"\n" +
	"VERSION_12\x10\x02\x12\b\n" +
	"\x04AUTO\x10\x03B_\n" +
	"\x1ayandex.cloud.api.backup.v1ZAgithub.com/yandex-cloud/go-genproto/yandex/cloud/backup/v1;backupb\x06proto3"

var (
	file_yandex_cloud_backup_v1_policy_proto_rawDescOnce sync.Once
	file_yandex_cloud_backup_v1_policy_proto_rawDescData []byte
)

func file_yandex_cloud_backup_v1_policy_proto_rawDescGZIP() []byte {
	file_yandex_cloud_backup_v1_policy_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_backup_v1_policy_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_backup_v1_policy_proto_rawDesc), len(file_yandex_cloud_backup_v1_policy_proto_rawDesc)))
	})
	return file_yandex_cloud_backup_v1_policy_proto_rawDescData
}

var file_yandex_cloud_backup_v1_policy_proto_enumTypes = make([]protoimpl.EnumInfo, 11)
var file_yandex_cloud_backup_v1_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
var file_yandex_cloud_backup_v1_policy_proto_goTypes = []any{
	(Format)(0),                                                     // 0: yandex.cloud.backup.v1.Format
	(PolicySettings_Compression)(0),                                 // 1: yandex.cloud.backup.v1.PolicySettings.Compression
	(PolicySettings_RepeatePeriod)(0),                               // 2: yandex.cloud.backup.v1.PolicySettings.RepeatePeriod
	(PolicySettings_Day)(0),                                         // 3: yandex.cloud.backup.v1.PolicySettings.Day
	(PolicySettings_ChangedBlockTracking)(0),                        // 4: yandex.cloud.backup.v1.PolicySettings.ChangedBlockTracking
	(PolicySettings_CommandType)(0),                                 // 5: yandex.cloud.backup.v1.PolicySettings.CommandType
	(PolicySettings_Interval_Type)(0),                               // 6: yandex.cloud.backup.v1.PolicySettings.Interval.Type
	(PolicySettings_VolumeShadowCopyServiceSettings_VSSProvider)(0), // 7: yandex.cloud.backup.v1.PolicySettings.VolumeShadowCopyServiceSettings.VSSProvider
	(PolicySettings_Scheduling_Scheme)(0),                           // 8: yandex.cloud.backup.v1.PolicySettings.Scheduling.Scheme
	(PolicySettings_Scheduling_BackupSet_Type)(0),                   // 9: yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.Type
	(PolicyApplication_Status)(0),                                   // 10: yandex.cloud.backup.v1.PolicyApplication.Status
	(*Policy)(nil),                                                  // 11: yandex.cloud.backup.v1.Policy
	(*PolicySettings)(nil),                                          // 12: yandex.cloud.backup.v1.PolicySettings
	(*PolicyApplication)(nil),                                       // 13: yandex.cloud.backup.v1.PolicyApplication
	(*PolicySettings_Interval)(nil),                                 // 14: yandex.cloud.backup.v1.PolicySettings.Interval
	(*PolicySettings_RetriesConfiguration)(nil),                     // 15: yandex.cloud.backup.v1.PolicySettings.RetriesConfiguration
	(*PolicySettings_Splitting)(nil),                                // 16: yandex.cloud.backup.v1.PolicySettings.Splitting
	(*PolicySettings_VolumeShadowCopyServiceSettings)(nil),          // 17: yandex.cloud.backup.v1.PolicySettings.VolumeShadowCopyServiceSettings
	(*PolicySettings_ArchiveProperties)(nil),                        // 18: yandex.cloud.backup.v1.PolicySettings.ArchiveProperties
	(*PolicySettings_PerformanceWindow)(nil),                        // 19: yandex.cloud.backup.v1.PolicySettings.PerformanceWindow
	(*PolicySettings_TimeOfDay)(nil),                                // 20: yandex.cloud.backup.v1.PolicySettings.TimeOfDay
	(*PolicySettings_Retention)(nil),                                // 21: yandex.cloud.backup.v1.PolicySettings.Retention
	(*PolicySettings_Scheduling)(nil),                               // 22: yandex.cloud.backup.v1.PolicySettings.Scheduling
	(*PolicySettings_FileFilters)(nil),                              // 23: yandex.cloud.backup.v1.PolicySettings.FileFilters
	(*PolicySettings_PrePostCommand)(nil),                           // 24: yandex.cloud.backup.v1.PolicySettings.PrePostCommand
	(*PolicySettings_Retention_RetentionRule)(nil),                  // 25: yandex.cloud.backup.v1.PolicySettings.Retention.RetentionRule
	(*PolicySettings_Scheduling_BackupSet)(nil),                     // 26: yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet
	(*PolicySettings_Scheduling_BackupSet_Time)(nil),                // 27: yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.Time
	(*PolicySettings_Scheduling_BackupSet_SinceLastExecTime)(nil),   // 28: yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.SinceLastExecTime
	(*timestamppb.Timestamp)(nil),                                   // 29: google.protobuf.Timestamp
}
var file_yandex_cloud_backup_v1_policy_proto_depIdxs = []int32{
	29, // 0: yandex.cloud.backup.v1.Policy.created_at:type_name -> google.protobuf.Timestamp
	29, // 1: yandex.cloud.backup.v1.Policy.updated_at:type_name -> google.protobuf.Timestamp
	12, // 2: yandex.cloud.backup.v1.Policy.settings:type_name -> yandex.cloud.backup.v1.PolicySettings
	1,  // 3: yandex.cloud.backup.v1.PolicySettings.compression:type_name -> yandex.cloud.backup.v1.PolicySettings.Compression
	0,  // 4: yandex.cloud.backup.v1.PolicySettings.format:type_name -> yandex.cloud.backup.v1.Format
	15, // 5: yandex.cloud.backup.v1.PolicySettings.reattempts:type_name -> yandex.cloud.backup.v1.PolicySettings.RetriesConfiguration
	16, // 6: yandex.cloud.backup.v1.PolicySettings.splitting:type_name -> yandex.cloud.backup.v1.PolicySettings.Splitting
	15, // 7: yandex.cloud.backup.v1.PolicySettings.vm_snapshot_reattempts:type_name -> yandex.cloud.backup.v1.PolicySettings.RetriesConfiguration
	17, // 8: yandex.cloud.backup.v1.PolicySettings.vss:type_name -> yandex.cloud.backup.v1.PolicySettings.VolumeShadowCopyServiceSettings
	18, // 9: yandex.cloud.backup.v1.PolicySettings.archive:type_name -> yandex.cloud.backup.v1.PolicySettings.ArchiveProperties
	19, // 10: yandex.cloud.backup.v1.PolicySettings.performance_window:type_name -> yandex.cloud.backup.v1.PolicySettings.PerformanceWindow
	21, // 11: yandex.cloud.backup.v1.PolicySettings.retention:type_name -> yandex.cloud.backup.v1.PolicySettings.Retention
	22, // 12: yandex.cloud.backup.v1.PolicySettings.scheduling:type_name -> yandex.cloud.backup.v1.PolicySettings.Scheduling
	4,  // 13: yandex.cloud.backup.v1.PolicySettings.cbt:type_name -> yandex.cloud.backup.v1.PolicySettings.ChangedBlockTracking
	23, // 14: yandex.cloud.backup.v1.PolicySettings.file_filters:type_name -> yandex.cloud.backup.v1.PolicySettings.FileFilters
	24, // 15: yandex.cloud.backup.v1.PolicySettings.pre_post_commands:type_name -> yandex.cloud.backup.v1.PolicySettings.PrePostCommand
	10, // 16: yandex.cloud.backup.v1.PolicyApplication.status:type_name -> yandex.cloud.backup.v1.PolicyApplication.Status
	29, // 17: yandex.cloud.backup.v1.PolicyApplication.created_at:type_name -> google.protobuf.Timestamp
	6,  // 18: yandex.cloud.backup.v1.PolicySettings.Interval.type:type_name -> yandex.cloud.backup.v1.PolicySettings.Interval.Type
	14, // 19: yandex.cloud.backup.v1.PolicySettings.RetriesConfiguration.interval:type_name -> yandex.cloud.backup.v1.PolicySettings.Interval
	7,  // 20: yandex.cloud.backup.v1.PolicySettings.VolumeShadowCopyServiceSettings.provider:type_name -> yandex.cloud.backup.v1.PolicySettings.VolumeShadowCopyServiceSettings.VSSProvider
	25, // 21: yandex.cloud.backup.v1.PolicySettings.Retention.rules:type_name -> yandex.cloud.backup.v1.PolicySettings.Retention.RetentionRule
	26, // 22: yandex.cloud.backup.v1.PolicySettings.Scheduling.backup_sets:type_name -> yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet
	14, // 23: yandex.cloud.backup.v1.PolicySettings.Scheduling.rand_max_delay:type_name -> yandex.cloud.backup.v1.PolicySettings.Interval
	8,  // 24: yandex.cloud.backup.v1.PolicySettings.Scheduling.scheme:type_name -> yandex.cloud.backup.v1.PolicySettings.Scheduling.Scheme
	3,  // 25: yandex.cloud.backup.v1.PolicySettings.Scheduling.weekly_backup_day:type_name -> yandex.cloud.backup.v1.PolicySettings.Day
	15, // 26: yandex.cloud.backup.v1.PolicySettings.Scheduling.task_failure:type_name -> yandex.cloud.backup.v1.PolicySettings.RetriesConfiguration
	5,  // 27: yandex.cloud.backup.v1.PolicySettings.PrePostCommand.type:type_name -> yandex.cloud.backup.v1.PolicySettings.CommandType
	2,  // 28: yandex.cloud.backup.v1.PolicySettings.Retention.RetentionRule.backup_set:type_name -> yandex.cloud.backup.v1.PolicySettings.RepeatePeriod
	14, // 29: yandex.cloud.backup.v1.PolicySettings.Retention.RetentionRule.max_age:type_name -> yandex.cloud.backup.v1.PolicySettings.Interval
	27, // 30: yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.time:type_name -> yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.Time
	28, // 31: yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.since_last_exec_time:type_name -> yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.SinceLastExecTime
	9,  // 32: yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.type:type_name -> yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.Type
	3,  // 33: yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.Time.weekdays:type_name -> yandex.cloud.backup.v1.PolicySettings.Day
	20, // 34: yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.Time.repeat_at:type_name -> yandex.cloud.backup.v1.PolicySettings.TimeOfDay
	14, // 35: yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.Time.repeat_every:type_name -> yandex.cloud.backup.v1.PolicySettings.Interval
	20, // 36: yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.Time.time_from:type_name -> yandex.cloud.backup.v1.PolicySettings.TimeOfDay
	20, // 37: yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.Time.time_to:type_name -> yandex.cloud.backup.v1.PolicySettings.TimeOfDay
	2,  // 38: yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.Time.type:type_name -> yandex.cloud.backup.v1.PolicySettings.RepeatePeriod
	14, // 39: yandex.cloud.backup.v1.PolicySettings.Scheduling.BackupSet.SinceLastExecTime.delay:type_name -> yandex.cloud.backup.v1.PolicySettings.Interval
	40, // [40:40] is the sub-list for method output_type
	40, // [40:40] is the sub-list for method input_type
	40, // [40:40] is the sub-list for extension type_name
	40, // [40:40] is the sub-list for extension extendee
	0,  // [0:40] is the sub-list for field type_name
}

func init() { file_yandex_cloud_backup_v1_policy_proto_init() }
func file_yandex_cloud_backup_v1_policy_proto_init() {
	if File_yandex_cloud_backup_v1_policy_proto != nil {
		return
	}
	file_yandex_cloud_backup_v1_policy_proto_msgTypes[14].OneofWrappers = []any{
		(*PolicySettings_Retention_RetentionRule_MaxAge)(nil),
		(*PolicySettings_Retention_RetentionRule_MaxCount)(nil),
	}
	file_yandex_cloud_backup_v1_policy_proto_msgTypes[15].OneofWrappers = []any{
		(*PolicySettings_Scheduling_BackupSet_Time_)(nil),
		(*PolicySettings_Scheduling_BackupSet_SinceLastExecTime_)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_backup_v1_policy_proto_rawDesc), len(file_yandex_cloud_backup_v1_policy_proto_rawDesc)),
			NumEnums:      11,
			NumMessages:   18,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_backup_v1_policy_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_backup_v1_policy_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_backup_v1_policy_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_backup_v1_policy_proto_msgTypes,
	}.Build()
	File_yandex_cloud_backup_v1_policy_proto = out.File
	file_yandex_cloud_backup_v1_policy_proto_goTypes = nil
	file_yandex_cloud_backup_v1_policy_proto_depIdxs = nil
}
