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

package eventrouter

import (
	operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
)

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

type ListRulesRequest_ContainerId = isListRulesRequest_ContainerId

func (m *ListRulesRequest) SetContainerId(v ListRulesRequest_ContainerId) {
	m.ContainerId = v
}

func (m *ListRulesRequest) SetBusId(v string) {
	m.ContainerId = &ListRulesRequest_BusId{
		BusId: v,
	}
}

func (m *ListRulesRequest) SetFolderId(v string) {
	m.ContainerId = &ListRulesRequest_FolderId{
		FolderId: v,
	}
}

func (m *ListRulesRequest) SetPageSize(v int64) {
	m.PageSize = v
}

func (m *ListRulesRequest) SetPageToken(v string) {
	m.PageToken = v
}

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

func (m *ListRulesResponse) SetRules(v []*Rule) {
	m.Rules = v
}

func (m *ListRulesResponse) SetNextPageToken(v string) {
	m.NextPageToken = v
}

func (m *CreateRuleRequest) SetBusId(v string) {
	m.BusId = v
}

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

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

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

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

func (m *CreateRuleRequest) SetTargets(v []*Target) {
	m.Targets = v
}

func (m *CreateRuleRequest) SetDeletionProtection(v bool) {
	m.DeletionProtection = v
}

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

func (m *CreateRuleMetadata) SetBusId(v string) {
	m.BusId = v
}

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

func (m *UpdateRuleRequest) SetUpdateMask(v *fieldmaskpb.FieldMask) {
	m.UpdateMask = v
}

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

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

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

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

func (m *UpdateRuleRequest) SetTargets(v []*Target) {
	m.Targets = v
}

func (m *UpdateRuleRequest) SetDeletionProtection(v bool) {
	m.DeletionProtection = v
}

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

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

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

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

func (m *ListRuleOperationsRequest) SetPageSize(v int64) {
	m.PageSize = v
}

func (m *ListRuleOperationsRequest) SetPageToken(v string) {
	m.PageToken = v
}

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

func (m *ListRuleOperationsResponse) SetOperations(v []*operation.Operation) {
	m.Operations = v
}

func (m *ListRuleOperationsResponse) SetNextPageToken(v string) {
	m.NextPageToken = v
}

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

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

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

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