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

package monitoring

import (
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
)

func (m *MultiSourceChartWidget) SetId(v string) {
	m.Id = v
}

func (m *MultiSourceChartWidget) SetTargets(v []*MultiSourceChartWidget_Target) {
	m.Targets = v
}

func (m *MultiSourceChartWidget) SetDataSources(v []*MultiSourceChartWidget_DataSource) {
	m.DataSources = v
}

func (m *MultiSourceChartWidget) SetVisualizationSettings(v *MultiSourceChartWidget_VisualizationSettings) {
	m.VisualizationSettings = v
}

func (m *MultiSourceChartWidget) SetSeriesOverrides(v []*MultiSourceChartWidget_SeriesOverrides) {
	m.SeriesOverrides = v
}

func (m *MultiSourceChartWidget) SetNameHidingSettings(v *MultiSourceChartWidget_NameHidingSettings) {
	m.NameHidingSettings = v
}

func (m *MultiSourceChartWidget) SetDescription(v string) {
	m.Description = v
}

func (m *MultiSourceChartWidget) SetTitle(v string) {
	m.Title = v
}

func (m *MultiSourceChartWidget) SetDisplayLegend(v bool) {
	m.DisplayLegend = v
}

func (m *MultiSourceChartWidget) SetFreeze(v MultiSourceChartWidget_FreezeDuration) {
	m.Freeze = v
}

func (m *MultiSourceChartWidget) SetRepeat(v *MultiSourceChartWidget_RepeatSettings) {
	m.Repeat = v
}

func (m *MultiSourceChartWidget) SetThresholds(v *Thresholds) {
	m.Thresholds = v
}

type MultiSourceChartWidget_Target_Target = isMultiSourceChartWidget_Target_Target

func (m *MultiSourceChartWidget_Target) SetTarget(v MultiSourceChartWidget_Target_Target) {
	m.Target = v
}

func (m *MultiSourceChartWidget_Target) SetMonitoringTarget(v *MultiSourceChartWidget_Target_MonitoringTarget) {
	m.Target = &MultiSourceChartWidget_Target_MonitoringTarget_{
		MonitoringTarget: v,
	}
}

func (m *MultiSourceChartWidget_Target) SetPrometheusTarget(v *MultiSourceChartWidget_Target_PrometheusTarget) {
	m.Target = &MultiSourceChartWidget_Target_PrometheusTarget_{
		PrometheusTarget: v,
	}
}

func (m *MultiSourceChartWidget_Target_MonitoringTarget) SetDataSourceId(v string) {
	m.DataSourceId = v
}

func (m *MultiSourceChartWidget_Target_MonitoringTarget) SetQuery(v string) {
	m.Query = v
}

func (m *MultiSourceChartWidget_Target_MonitoringTarget) SetTextMode(v bool) {
	m.TextMode = v
}

func (m *MultiSourceChartWidget_Target_MonitoringTarget) SetHidden(v bool) {
	m.Hidden = v
}

func (m *MultiSourceChartWidget_Target_MonitoringTarget) SetName(v string) {
	m.Name = v
}

func (m *MultiSourceChartWidget_Target_PrometheusTarget) SetDataSourceId(v string) {
	m.DataSourceId = v
}

func (m *MultiSourceChartWidget_Target_PrometheusTarget) SetWorkspaceId(v string) {
	m.WorkspaceId = v
}

func (m *MultiSourceChartWidget_Target_PrometheusTarget) SetQuery(v string) {
	m.Query = v
}

func (m *MultiSourceChartWidget_Target_PrometheusTarget) SetTextMode(v bool) {
	m.TextMode = v
}

func (m *MultiSourceChartWidget_Target_PrometheusTarget) SetHidden(v bool) {
	m.Hidden = v
}

func (m *MultiSourceChartWidget_Target_PrometheusTarget) SetName(v string) {
	m.Name = v
}

func (m *MultiSourceChartWidget_Target_PrometheusTarget) SetStep(v string) {
	m.Step = v
}

type MultiSourceChartWidget_DataSource_DataSource = isMultiSourceChartWidget_DataSource_DataSource

func (m *MultiSourceChartWidget_DataSource) SetDataSource(v MultiSourceChartWidget_DataSource_DataSource) {
	m.DataSource = v
}

func (m *MultiSourceChartWidget_DataSource) SetMonitoringDataSource(v *MultiSourceChartWidget_DataSource_MonitoringDataSource) {
	m.DataSource = &MultiSourceChartWidget_DataSource_MonitoringDataSource_{
		MonitoringDataSource: v,
	}
}

func (m *MultiSourceChartWidget_DataSource) SetPrometheusDataSource(v *MultiSourceChartWidget_DataSource_PrometheusDataSource) {
	m.DataSource = &MultiSourceChartWidget_DataSource_PrometheusDataSource_{
		PrometheusDataSource: v,
	}
}

func (m *MultiSourceChartWidget_DataSource_MonitoringDataSource) SetId(v string) {
	m.Id = v
}

func (m *MultiSourceChartWidget_DataSource_MonitoringDataSource) SetDownsampling(v *Downsampling) {
	m.Downsampling = v
}

func (m *MultiSourceChartWidget_DataSource_PrometheusDataSource) SetId(v string) {
	m.Id = v
}

func (m *MultiSourceChartWidget_DataSource_PrometheusDataSource) SetStep(v int64) {
	m.Step = v
}

func (m *MultiSourceChartWidget_VisualizationSettings) SetType(v MultiSourceChartWidget_VisualizationSettings_VisualizationType) {
	m.Type = v
}

func (m *MultiSourceChartWidget_VisualizationSettings) SetNormalize(v bool) {
	m.Normalize = v
}

func (m *MultiSourceChartWidget_VisualizationSettings) SetInterpolate(v MultiSourceChartWidget_VisualizationSettings_Interpolate) {
	m.Interpolate = v
}

func (m *MultiSourceChartWidget_VisualizationSettings) SetAggregation(v MultiSourceChartWidget_VisualizationSettings_SeriesAggregation) {
	m.Aggregation = v
}

func (m *MultiSourceChartWidget_VisualizationSettings) SetColorSchemeSettings(v *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings) {
	m.ColorSchemeSettings = v
}

func (m *MultiSourceChartWidget_VisualizationSettings) SetHeatmapSettings(v *MultiSourceChartWidget_VisualizationSettings_HeatmapSettings) {
	m.HeatmapSettings = v
}

func (m *MultiSourceChartWidget_VisualizationSettings) SetYaxisSettings(v *MultiSourceChartWidget_VisualizationSettings_YaxisSettings) {
	m.YaxisSettings = v
}

func (m *MultiSourceChartWidget_VisualizationSettings) SetTitle(v string) {
	m.Title = v
}

func (m *MultiSourceChartWidget_VisualizationSettings) SetShowLabels(v bool) {
	m.ShowLabels = v
}

func (m *MultiSourceChartWidget_VisualizationSettings) SetTilesSettings(v *MultiSourceChartWidget_VisualizationSettings_TilesSettings) {
	m.TilesSettings = v
}

type MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_Scheme = isMultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_Scheme

func (m *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings) SetScheme(v MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_Scheme) {
	m.Scheme = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings) SetAutomatic(v *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_AutomaticColorScheme) {
	m.Scheme = &MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_Automatic{
		Automatic: v,
	}
}

func (m *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings) SetStandard(v *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_StandardColorScheme) {
	m.Scheme = &MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_Standard{
		Standard: v,
	}
}

func (m *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings) SetGradient(v *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_GradientColorScheme) {
	m.Scheme = &MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_Gradient{
		Gradient: v,
	}
}

func (m *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings) SetHash(v *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_HashColorScheme) {
	m.Scheme = &MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_Hash{
		Hash: v,
	}
}

func (m *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings) SetThresholds(v *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_ThresholdsColorScheme) {
	m.Scheme = &MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_Thresholds{
		Thresholds: v,
	}
}

func (m *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings) SetConstant(v *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_ConstantColorScheme) {
	m.Scheme = &MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_Constant{
		Constant: v,
	}
}

func (m *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_GradientColorScheme) SetGreenValue(v string) {
	m.GreenValue = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_GradientColorScheme) SetYellowValue(v string) {
	m.YellowValue = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_GradientColorScheme) SetRedValue(v string) {
	m.RedValue = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_GradientColorScheme) SetVioletValue(v string) {
	m.VioletValue = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_ConstantColorScheme) SetColor(v string) {
	m.Color = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_ThresholdsColorScheme) SetAggregation(v MultiSourceChartWidget_VisualizationSettings_ColorSchemeSettings_ThresholdsColorScheme_Aggregation) {
	m.Aggregation = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_HeatmapSettings) SetGreenValue(v string) {
	m.GreenValue = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_HeatmapSettings) SetYellowValue(v string) {
	m.YellowValue = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_HeatmapSettings) SetRedValue(v string) {
	m.RedValue = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_HeatmapSettings) SetVioletValue(v string) {
	m.VioletValue = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_Yaxis) SetType(v MultiSourceChartWidget_VisualizationSettings_YaxisType) {
	m.Type = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_Yaxis) SetTitle(v string) {
	m.Title = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_Yaxis) SetMin(v string) {
	m.Min = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_Yaxis) SetMax(v string) {
	m.Max = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_Yaxis) SetUnitFormat(v UnitFormat) {
	m.UnitFormat = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_Yaxis) SetPrecision(v *wrapperspb.Int64Value) {
	m.Precision = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_YaxisSettings) SetLeft(v *MultiSourceChartWidget_VisualizationSettings_Yaxis) {
	m.Left = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_YaxisSettings) SetRight(v *MultiSourceChartWidget_VisualizationSettings_Yaxis) {
	m.Right = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_TilesSettings) SetSortOrder(v SortOrder) {
	m.SortOrder = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_TilesSettings) SetSortField(v MultiSourceChartWidget_VisualizationSettings_TilesSettings_SortField) {
	m.SortField = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_TilesSettings) SetShowTitle(v bool) {
	m.ShowTitle = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_TilesSettings) SetShowValue(v bool) {
	m.ShowValue = v
}

func (m *MultiSourceChartWidget_VisualizationSettings_TilesSettings) SetShowSparkline(v bool) {
	m.ShowSparkline = v
}

type MultiSourceChartWidget_SeriesOverrides_Type = isMultiSourceChartWidget_SeriesOverrides_Type

func (m *MultiSourceChartWidget_SeriesOverrides) SetType(v MultiSourceChartWidget_SeriesOverrides_Type) {
	m.Type = v
}

func (m *MultiSourceChartWidget_SeriesOverrides) SetName(v string) {
	m.Type = &MultiSourceChartWidget_SeriesOverrides_Name{
		Name: v,
	}
}

func (m *MultiSourceChartWidget_SeriesOverrides) SetTargetIndex(v string) {
	m.Type = &MultiSourceChartWidget_SeriesOverrides_TargetIndex{
		TargetIndex: v,
	}
}

func (m *MultiSourceChartWidget_SeriesOverrides) SetSettings(v *MultiSourceChartWidget_SeriesOverrides_SeriesOverrideSettings) {
	m.Settings = v
}

func (m *MultiSourceChartWidget_SeriesOverrides) SetOverrideName(v string) {
	m.OverrideName = v
}

func (m *MultiSourceChartWidget_SeriesOverrides) SetMatcher(v *MultiSourceChartWidget_OverrideMatcher) {
	m.Matcher = v
}

func (m *MultiSourceChartWidget_SeriesOverrides_SeriesOverrideSettings) SetName(v string) {
	m.Name = v
}

func (m *MultiSourceChartWidget_SeriesOverrides_SeriesOverrideSettings) SetColor(v string) {
	m.Color = v
}

func (m *MultiSourceChartWidget_SeriesOverrides_SeriesOverrideSettings) SetType(v MultiSourceChartWidget_SeriesOverrides_SeriesVisualizationType) {
	m.Type = v
}

func (m *MultiSourceChartWidget_SeriesOverrides_SeriesOverrideSettings) SetStackName(v string) {
	m.StackName = v
}

func (m *MultiSourceChartWidget_SeriesOverrides_SeriesOverrideSettings) SetGrowDown(v bool) {
	m.GrowDown = v
}

func (m *MultiSourceChartWidget_SeriesOverrides_SeriesOverrideSettings) SetYaxisPosition(v MultiSourceChartWidget_SeriesOverrides_YaxisPosition) {
	m.YaxisPosition = v
}

func (m *MultiSourceChartWidget_SeriesOverrides_SeriesOverrideSettings) SetLineWidth(v int64) {
	m.LineWidth = v
}

func (m *MultiSourceChartWidget_SeriesOverrides_SeriesOverrideSettings) SetLineStyle(v MultiSourceChartWidget_SeriesOverrides_SeriesOverrideSettings_LineStyle) {
	m.LineStyle = v
}

func (m *MultiSourceChartWidget_SeriesOverrides_SeriesOverrideSettings) SetLineHidingType(v MultiSourceChartWidget_SeriesOverrides_SeriesOverrideSettings_LineHidingType) {
	m.LineHidingType = v
}

type MultiSourceChartWidget_OverrideMatcher_Type = isMultiSourceChartWidget_OverrideMatcher_Type

func (m *MultiSourceChartWidget_OverrideMatcher) SetType(v MultiSourceChartWidget_OverrideMatcher_Type) {
	m.Type = v
}

func (m *MultiSourceChartWidget_OverrideMatcher) SetQuery(v *MultiSourceChartWidget_QueryMatcher) {
	m.Type = &MultiSourceChartWidget_OverrideMatcher_Query{
		Query: v,
	}
}

func (m *MultiSourceChartWidget_OverrideMatcher) SetLine(v *MultiSourceChartWidget_LineMatcher) {
	m.Type = &MultiSourceChartWidget_OverrideMatcher_Line{
		Line: v,
	}
}

func (m *MultiSourceChartWidget_OverrideMatcher) SetRegexp(v *MultiSourceChartWidget_RegExpMatcher) {
	m.Type = &MultiSourceChartWidget_OverrideMatcher_Regexp{
		Regexp: v,
	}
}

func (m *MultiSourceChartWidget_OverrideMatcher) SetValues(v *MultiSourceChartWidget_ValueMatcher) {
	m.Type = &MultiSourceChartWidget_OverrideMatcher_Values{
		Values: v,
	}
}

func (m *MultiSourceChartWidget_QueryMatcher) SetNames(v []string) {
	m.Names = v
}

func (m *MultiSourceChartWidget_LineMatcher) SetLineIds(v []string) {
	m.LineIds = v
}

func (m *MultiSourceChartWidget_RegExpMatcher) SetRegExp(v string) {
	m.RegExp = v
}

func (m *MultiSourceChartWidget_ValueMatcher) SetValueType(v MultiSourceChartWidget_ValuesType) {
	m.ValueType = v
}

func (m *MultiSourceChartWidget_NameHidingSettings) SetPositive(v bool) {
	m.Positive = v
}

func (m *MultiSourceChartWidget_NameHidingSettings) SetNames(v []string) {
	m.Names = v
}

func (m *MultiSourceChartWidget_RepeatSettings) SetRepeatBy(v []string) {
	m.RepeatBy = v
}

func (m *MultiSourceChartWidget_RepeatSettings) SetMaxChartsInRow(v int64) {
	m.MaxChartsInRow = v
}
