// Code generated by protoc-gen-goext. DO NOT EDIT.

package mysql

import (
	timestamp "github.com/golang/protobuf/ptypes/timestamp"
)

type MaintenanceWindow_Policy = isMaintenanceWindow_Policy

func (m *MaintenanceWindow) SetPolicy(v MaintenanceWindow_Policy) {
	m.Policy = v
}

func (m *MaintenanceWindow) SetAnytime(v *AnytimeMaintenanceWindow) {
	m.Policy = &MaintenanceWindow_Anytime{
		Anytime: v,
	}
}

func (m *MaintenanceWindow) SetWeeklyMaintenanceWindow(v *WeeklyMaintenanceWindow) {
	m.Policy = &MaintenanceWindow_WeeklyMaintenanceWindow{
		WeeklyMaintenanceWindow: v,
	}
}

func (m *WeeklyMaintenanceWindow) SetDay(v WeeklyMaintenanceWindow_WeekDay) {
	m.Day = v
}

func (m *WeeklyMaintenanceWindow) SetHour(v int64) {
	m.Hour = v
}

func (m *MaintenanceOperation) SetInfo(v string) {
	m.Info = v
}

func (m *MaintenanceOperation) SetDelayedUntil(v *timestamp.Timestamp) {
	m.DelayedUntil = v
}
