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

package monitoring

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

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

func (m *ChartWidget) SetQueries(v *ChartWidget_Queries) {
	m.Queries = v
}

func (m *ChartWidget) SetVisualizationSettings(v *ChartWidget_VisualizationSettings) {
	m.VisualizationSettings = v
}

func (m *ChartWidget) SetSeriesOverrides(v []*ChartWidget_SeriesOverrides) {
	m.SeriesOverrides = v
}

func (m *ChartWidget) SetNameHidingSettings(v *ChartWidget_NameHidingSettings) {
	m.NameHidingSettings = v
}

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

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

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

func (m *ChartWidget) SetFreeze(v ChartWidget_FreezeDuration) {
	m.Freeze = v
}

func (m *ChartWidget) SetRepeat(v *ChartWidget_RepeatSettings) {
	m.Repeat = v
}

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

func (m *ChartWidget_Queries) SetTargets(v []*ChartWidget_Queries_Target) {
	m.Targets = v
}

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

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

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

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

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

func (m *ChartWidget_VisualizationSettings) SetType(v ChartWidget_VisualizationSettings_VisualizationType) {
	m.Type = v
}

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

func (m *ChartWidget_VisualizationSettings) SetInterpolate(v ChartWidget_VisualizationSettings_Interpolate) {
	m.Interpolate = v
}

func (m *ChartWidget_VisualizationSettings) SetAggregation(v ChartWidget_VisualizationSettings_SeriesAggregation) {
	m.Aggregation = v
}

func (m *ChartWidget_VisualizationSettings) SetColorSchemeSettings(v *ChartWidget_VisualizationSettings_ColorSchemeSettings) {
	m.ColorSchemeSettings = v
}

func (m *ChartWidget_VisualizationSettings) SetHeatmapSettings(v *ChartWidget_VisualizationSettings_HeatmapSettings) {
	m.HeatmapSettings = v
}

func (m *ChartWidget_VisualizationSettings) SetYaxisSettings(v *ChartWidget_VisualizationSettings_YaxisSettings) {
	m.YaxisSettings = v
}

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

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

func (m *ChartWidget_VisualizationSettings) SetTilesSettings(v *ChartWidget_VisualizationSettings_TilesSettings) {
	m.TilesSettings = v
}

type ChartWidget_VisualizationSettings_ColorSchemeSettings_Scheme = isChartWidget_VisualizationSettings_ColorSchemeSettings_Scheme

func (m *ChartWidget_VisualizationSettings_ColorSchemeSettings) SetScheme(v ChartWidget_VisualizationSettings_ColorSchemeSettings_Scheme) {
	m.Scheme = v
}

func (m *ChartWidget_VisualizationSettings_ColorSchemeSettings) SetAutomatic(v *ChartWidget_VisualizationSettings_ColorSchemeSettings_AutomaticColorScheme) {
	m.Scheme = &ChartWidget_VisualizationSettings_ColorSchemeSettings_Automatic{
		Automatic: v,
	}
}

func (m *ChartWidget_VisualizationSettings_ColorSchemeSettings) SetStandard(v *ChartWidget_VisualizationSettings_ColorSchemeSettings_StandardColorScheme) {
	m.Scheme = &ChartWidget_VisualizationSettings_ColorSchemeSettings_Standard{
		Standard: v,
	}
}

func (m *ChartWidget_VisualizationSettings_ColorSchemeSettings) SetGradient(v *ChartWidget_VisualizationSettings_ColorSchemeSettings_GradientColorScheme) {
	m.Scheme = &ChartWidget_VisualizationSettings_ColorSchemeSettings_Gradient{
		Gradient: v,
	}
}

func (m *ChartWidget_VisualizationSettings_ColorSchemeSettings) SetHash(v *ChartWidget_VisualizationSettings_ColorSchemeSettings_HashColorScheme) {
	m.Scheme = &ChartWidget_VisualizationSettings_ColorSchemeSettings_Hash{
		Hash: v,
	}
}

func (m *ChartWidget_VisualizationSettings_ColorSchemeSettings) SetThresholds(v *ChartWidget_VisualizationSettings_ColorSchemeSettings_ThresholdsColorScheme) {
	m.Scheme = &ChartWidget_VisualizationSettings_ColorSchemeSettings_Thresholds{
		Thresholds: v,
	}
}

func (m *ChartWidget_VisualizationSettings_ColorSchemeSettings) SetConstant(v *ChartWidget_VisualizationSettings_ColorSchemeSettings_ConstantColorScheme) {
	m.Scheme = &ChartWidget_VisualizationSettings_ColorSchemeSettings_Constant{
		Constant: v,
	}
}

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

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

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

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

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

func (m *ChartWidget_VisualizationSettings_ColorSchemeSettings_ThresholdsColorScheme) SetAggregation(v ChartWidget_VisualizationSettings_ColorSchemeSettings_ThresholdsColorScheme_Aggregation) {
	m.Aggregation = v
}

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

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

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

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

func (m *ChartWidget_VisualizationSettings_Yaxis) SetType(v ChartWidget_VisualizationSettings_YaxisType) {
	m.Type = v
}

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

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

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

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

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

func (m *ChartWidget_VisualizationSettings_YaxisSettings) SetLeft(v *ChartWidget_VisualizationSettings_Yaxis) {
	m.Left = v
}

func (m *ChartWidget_VisualizationSettings_YaxisSettings) SetRight(v *ChartWidget_VisualizationSettings_Yaxis) {
	m.Right = v
}

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

func (m *ChartWidget_VisualizationSettings_TilesSettings) SetSortField(v ChartWidget_VisualizationSettings_TilesSettings_SortField) {
	m.SortField = v
}

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

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

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

type ChartWidget_SeriesOverrides_Type = isChartWidget_SeriesOverrides_Type

func (m *ChartWidget_SeriesOverrides) SetType(v ChartWidget_SeriesOverrides_Type) {
	m.Type = v
}

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

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

func (m *ChartWidget_SeriesOverrides) SetSettings(v *ChartWidget_SeriesOverrides_SeriesOverrideSettings) {
	m.Settings = v
}

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

func (m *ChartWidget_SeriesOverrides) SetMatcher(v *ChartWidget_OverrideMatcher) {
	m.Matcher = v
}

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

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

func (m *ChartWidget_SeriesOverrides_SeriesOverrideSettings) SetType(v ChartWidget_SeriesOverrides_SeriesVisualizationType) {
	m.Type = v
}

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

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

func (m *ChartWidget_SeriesOverrides_SeriesOverrideSettings) SetYaxisPosition(v ChartWidget_SeriesOverrides_YaxisPosition) {
	m.YaxisPosition = v
}

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

func (m *ChartWidget_SeriesOverrides_SeriesOverrideSettings) SetLineStyle(v ChartWidget_SeriesOverrides_SeriesOverrideSettings_LineStyle) {
	m.LineStyle = v
}

func (m *ChartWidget_SeriesOverrides_SeriesOverrideSettings) SetLineHidingType(v ChartWidget_SeriesOverrides_SeriesOverrideSettings_LineHidingType) {
	m.LineHidingType = v
}

func (m *ChartWidget_SeriesOverrides_SeriesOverrideSettings) SetLineHidingInLegend(v bool) {
	m.LineHidingInLegend = v
}

func (m *ChartWidget_SeriesOverrides_SeriesOverrideSettings) SetLineHidingInTooltip(v bool) {
	m.LineHidingInTooltip = v
}

func (m *ChartWidget_SeriesOverrides_SeriesOverrideSettings) SetLineHidingInChart(v bool) {
	m.LineHidingInChart = v
}

type ChartWidget_OverrideMatcher_Type = isChartWidget_OverrideMatcher_Type

func (m *ChartWidget_OverrideMatcher) SetType(v ChartWidget_OverrideMatcher_Type) {
	m.Type = v
}

func (m *ChartWidget_OverrideMatcher) SetQuery(v *ChartWidget_QueryMatcher) {
	m.Type = &ChartWidget_OverrideMatcher_Query{
		Query: v,
	}
}

func (m *ChartWidget_OverrideMatcher) SetLine(v *ChartWidget_LineMatcher) {
	m.Type = &ChartWidget_OverrideMatcher_Line{
		Line: v,
	}
}

func (m *ChartWidget_OverrideMatcher) SetRegexp(v *ChartWidget_RegExpMatcher) {
	m.Type = &ChartWidget_OverrideMatcher_Regexp{
		Regexp: v,
	}
}

func (m *ChartWidget_OverrideMatcher) SetValues(v *ChartWidget_ValueMatcher) {
	m.Type = &ChartWidget_OverrideMatcher_Values{
		Values: v,
	}
}

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

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

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

func (m *ChartWidget_ValueMatcher) SetValueType(v ChartWidget_ValuesType) {
	m.ValueType = v
}

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

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

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

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