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

package monitoring

type Widget_Widget = isWidget_Widget

func (m *Widget) SetWidget(v Widget_Widget) {
	m.Widget = v
}

func (m *Widget) SetPosition(v *Widget_LayoutPosition) {
	m.Position = v
}

func (m *Widget) SetText(v *TextWidget) {
	m.Widget = &Widget_Text{
		Text: v,
	}
}

func (m *Widget) SetTitle(v *TitleWidget) {
	m.Widget = &Widget_Title{
		Title: v,
	}
}

func (m *Widget) SetChart(v *ChartWidget) {
	m.Widget = &Widget_Chart{
		Chart: v,
	}
}

func (m *Widget) SetMultiSourceChart(v *MultiSourceChartWidget) {
	m.Widget = &Widget_MultiSourceChart{
		MultiSourceChart: v,
	}
}

func (m *Widget) SetGroup(v *GroupWidget) {
	m.Widget = &Widget_Group{
		Group: v,
	}
}

func (m *Widget) SetLinks(v []*LinkItem) {
	m.Links = v
}

func (m *Widget_LayoutPosition) SetX(v int64) {
	m.X = v
}

func (m *Widget_LayoutPosition) SetY(v int64) {
	m.Y = v
}

func (m *Widget_LayoutPosition) SetW(v int64) {
	m.W = v
}

func (m *Widget_LayoutPosition) SetH(v int64) {
	m.H = v
}
