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

package speechsense

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

type Filter_Filter = isFilter_Filter

func (m *Filter) SetFilter(v Filter_Filter) {
	m.Filter = v
}

func (m *Filter) SetKey(v string) {
	m.Key = v
}

func (m *Filter) SetAnyMatch(v *AnyMatchFilter) {
	m.Filter = &Filter_AnyMatch{
		AnyMatch: v,
	}
}

func (m *Filter) SetIntRange(v *IntRangeFilter) {
	m.Filter = &Filter_IntRange{
		IntRange: v,
	}
}

func (m *Filter) SetDoubleRange(v *DoubleRangeFilter) {
	m.Filter = &Filter_DoubleRange{
		DoubleRange: v,
	}
}

func (m *Filter) SetDateRange(v *DateRangeFilter) {
	m.Filter = &Filter_DateRange{
		DateRange: v,
	}
}

func (m *Filter) SetDurationRange(v *DurationRangeFilter) {
	m.Filter = &Filter_DurationRange{
		DurationRange: v,
	}
}

func (m *Filter) SetBooleanMatch(v *BooleanFilter) {
	m.Filter = &Filter_BooleanMatch{
		BooleanMatch: v,
	}
}

func (m *Filter) SetInverse(v bool) {
	m.Inverse = v
}

func (m *Filter) SetChannelNumber(v *wrapperspb.Int64Value) {
	m.ChannelNumber = v
}

func (m *Query) SetText(v string) {
	m.Text = v
}

func (m *Query) SetInverse(v bool) {
	m.Inverse = v
}

func (m *Query) SetChannelNumber(v *wrapperspb.Int64Value) {
	m.ChannelNumber = v
}

func (m *AnyMatchFilter) SetValues(v []string) {
	m.Values = v
}

func (m *BoundsInclusive) SetFromInclusive(v bool) {
	m.FromInclusive = v
}

func (m *BoundsInclusive) SetToInclusive(v bool) {
	m.ToInclusive = v
}

func (m *IntRangeFilter) SetFromValue(v *wrapperspb.Int64Value) {
	m.FromValue = v
}

func (m *IntRangeFilter) SetToValue(v *wrapperspb.Int64Value) {
	m.ToValue = v
}

func (m *IntRangeFilter) SetBoundsInclusive(v *BoundsInclusive) {
	m.BoundsInclusive = v
}

func (m *DoubleRangeFilter) SetFromValue(v *wrapperspb.DoubleValue) {
	m.FromValue = v
}

func (m *DoubleRangeFilter) SetToValue(v *wrapperspb.DoubleValue) {
	m.ToValue = v
}

func (m *DoubleRangeFilter) SetBoundsInclusive(v *BoundsInclusive) {
	m.BoundsInclusive = v
}

func (m *DateRangeFilter) SetFromValue(v *timestamppb.Timestamp) {
	m.FromValue = v
}

func (m *DateRangeFilter) SetToValue(v *timestamppb.Timestamp) {
	m.ToValue = v
}

func (m *DateRangeFilter) SetBoundsInclusive(v *BoundsInclusive) {
	m.BoundsInclusive = v
}

func (m *DurationRangeFilter) SetFromValue(v *durationpb.Duration) {
	m.FromValue = v
}

func (m *DurationRangeFilter) SetToValue(v *durationpb.Duration) {
	m.ToValue = v
}

func (m *DurationRangeFilter) SetBoundsInclusive(v *BoundsInclusive) {
	m.BoundsInclusive = v
}

func (m *BooleanFilter) SetValue(v bool) {
	m.Value = v
}

func (m *SortData) SetFields(v []*SortField) {
	m.Fields = v
}

func (m *SortField) SetField(v string) {
	m.Field = v
}

func (m *SortField) SetOrder(v SortOrder) {
	m.Order = v
}

func (m *SortField) SetPosition(v int64) {
	m.Position = v
}
