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

package monitoring

type Downsampling_Mode = isDownsampling_Mode

func (m *Downsampling) SetMode(v Downsampling_Mode) {
	m.Mode = v
}

func (m *Downsampling) SetMaxPoints(v int64) {
	m.Mode = &Downsampling_MaxPoints{
		MaxPoints: v,
	}
}

func (m *Downsampling) SetGridInterval(v int64) {
	m.Mode = &Downsampling_GridInterval{
		GridInterval: v,
	}
}

func (m *Downsampling) SetDisabled(v bool) {
	m.Mode = &Downsampling_Disabled{
		Disabled: v,
	}
}

func (m *Downsampling) SetGridAggregation(v Downsampling_GridAggregation) {
	m.GridAggregation = v
}

func (m *Downsampling) SetGapFilling(v Downsampling_GapFilling) {
	m.GapFilling = v
}
