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

package smartwebsecurity

import (
	v1 "github.com/yandex-cloud/go-genproto/yandex/cloud/smartwebsecurity/v1"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)

type WafProfile_RuleSet = isWafProfile_RuleSet

func (m *WafProfile) SetRuleSet(v WafProfile_RuleSet) {
	m.RuleSet = v
}

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

func (m *WafProfile) SetFolderId(v string) {
	m.FolderId = v
}

func (m *WafProfile) SetCloudId(v string) {
	m.CloudId = v
}

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

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

func (m *WafProfile) SetLabels(v map[string]string) {
	m.Labels = v
}

func (m *WafProfile) SetCreatedAt(v *timestamppb.Timestamp) {
	m.CreatedAt = v
}

func (m *WafProfile) SetRules(v []*WafProfileRule) {
	m.Rules = v
}

func (m *WafProfile) SetExclusionRules(v []*WafProfileExclusionRule) {
	m.ExclusionRules = v
}

func (m *WafProfile) SetCoreRuleSet(v *WafProfile_CoreRuleSet) {
	m.RuleSet = &WafProfile_CoreRuleSet_{
		CoreRuleSet: v,
	}
}

func (m *WafProfile) SetAnalyzeRequestBody(v *WafProfile_AnalyzeRequestBody) {
	m.AnalyzeRequestBody = v
}

func (m *WafProfile) SetRuleSets(v []*WafProfile_WafProfileRuleSet) {
	m.RuleSets = v
}

func (m *WafProfile) SetMatchAllRuleSets(v bool) {
	m.MatchAllRuleSets = v
}

func (m *WafProfile_CoreRuleSet) SetInboundAnomalyScore(v int64) {
	m.InboundAnomalyScore = v
}

func (m *WafProfile_CoreRuleSet) SetParanoiaLevel(v int64) {
	m.ParanoiaLevel = v
}

func (m *WafProfile_CoreRuleSet) SetRuleSet(v *RuleSet) {
	m.RuleSet = v
}

func (m *WafProfile_AnalyzeRequestBody) SetIsEnabled(v bool) {
	m.IsEnabled = v
}

func (m *WafProfile_AnalyzeRequestBody) SetSizeLimit(v int64) {
	m.SizeLimit = v
}

func (m *WafProfile_AnalyzeRequestBody) SetSizeLimitAction(v WafProfile_AnalyzeRequestBody_Action) {
	m.SizeLimitAction = v
}

type WafProfile_WafProfileRuleSet_RuleSet = isWafProfile_WafProfileRuleSet_RuleSet

func (m *WafProfile_WafProfileRuleSet) SetRuleSet(v WafProfile_WafProfileRuleSet_RuleSet) {
	m.RuleSet = v
}

func (m *WafProfile_WafProfileRuleSet) SetCoreRuleSet(v *WafProfile_WafProfileRuleSet_WafProfileCoreRuleSet) {
	m.RuleSet = &WafProfile_WafProfileRuleSet_CoreRuleSet{
		CoreRuleSet: v,
	}
}

func (m *WafProfile_WafProfileRuleSet) SetYaRuleSet(v *WafProfile_WafProfileRuleSet_WafProfileYaRuleSet) {
	m.RuleSet = &WafProfile_WafProfileRuleSet_YaRuleSet{
		YaRuleSet: v,
	}
}

func (m *WafProfile_WafProfileRuleSet) SetMlRuleSet(v *WafProfile_WafProfileRuleSet_WafProfileMlRuleSet) {
	m.RuleSet = &WafProfile_WafProfileRuleSet_MlRuleSet{
		MlRuleSet: v,
	}
}

func (m *WafProfile_WafProfileRuleSet) SetPriority(v int64) {
	m.Priority = v
}

func (m *WafProfile_WafProfileRuleSet) SetIsEnabled(v bool) {
	m.IsEnabled = v
}

func (m *WafProfile_WafProfileRuleSet) SetAction(v WafProfile_WafProfileRuleSet_RuleSetAction) {
	m.Action = v
}

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

func (m *WafProfile_WafProfileRuleSet_RuleGroup) SetAction(v WafProfile_WafProfileRuleSet_RuleGroup_Action) {
	m.Action = v
}

func (m *WafProfile_WafProfileRuleSet_RuleGroup) SetInboundAnomalyScore(v int64) {
	m.InboundAnomalyScore = v
}

func (m *WafProfile_WafProfileRuleSet_RuleGroup) SetIsEnabled(v bool) {
	m.IsEnabled = v
}

func (m *WafProfile_WafProfileRuleSet_WafProfileCoreRuleSet) SetRuleSet(v *RuleSet) {
	m.RuleSet = v
}

func (m *WafProfile_WafProfileRuleSet_WafProfileCoreRuleSet) SetInboundAnomalyScore(v int64) {
	m.InboundAnomalyScore = v
}

func (m *WafProfile_WafProfileRuleSet_WafProfileCoreRuleSet) SetParanoiaLevel(v int64) {
	m.ParanoiaLevel = v
}

func (m *WafProfile_WafProfileRuleSet_WafProfileYaRuleSet) SetRuleSet(v *RuleSet) {
	m.RuleSet = v
}

func (m *WafProfile_WafProfileRuleSet_WafProfileYaRuleSet) SetRuleGroups(v []*WafProfile_WafProfileRuleSet_RuleGroup) {
	m.RuleGroups = v
}

func (m *WafProfile_WafProfileRuleSet_WafProfileMlRuleSet) SetRuleSet(v *RuleSet) {
	m.RuleSet = v
}

func (m *WafProfile_WafProfileRuleSet_WafProfileMlRuleSet) SetRuleGroups(v []*WafProfile_WafProfileRuleSet_RuleGroup) {
	m.RuleGroups = v
}

func (m *WafProfileRule) SetRuleId(v string) {
	m.RuleId = v
}

func (m *WafProfileRule) SetIsEnabled(v bool) {
	m.IsEnabled = v
}

func (m *WafProfileRule) SetIsBlocking(v bool) {
	m.IsBlocking = v
}

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

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

func (m *WafProfileExclusionRule) SetCondition(v *v1.Condition) {
	m.Condition = v
}

func (m *WafProfileExclusionRule) SetExcludeRules(v *WafProfileExclusionRule_ExcludeRules) {
	m.ExcludeRules = v
}

func (m *WafProfileExclusionRule) SetLogExcluded(v bool) {
	m.LogExcluded = v
}

func (m *WafProfileExclusionRule_ExcludeRules) SetExcludeAll(v bool) {
	m.ExcludeAll = v
}

func (m *WafProfileExclusionRule_ExcludeRules) SetRuleIds(v []string) {
	m.RuleIds = v
}

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

func (m *RuleSet) SetVersion(v string) {
	m.Version = v
}

func (m *RuleSet) SetType(v RuleSet_RuleSetType) {
	m.Type = v
}

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