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

package eventrouter

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

type LogOptions_Destination = isLogOptions_Destination

func (m *LogOptions) SetDestination(v LogOptions_Destination) {
	m.Destination = v
}

func (m *LogOptions) SetLogGroupId(v string) {
	m.Destination = &LogOptions_LogGroupId{
		LogGroupId: v,
	}
}

func (m *LogOptions) SetFolderId(v string) {
	m.Destination = &LogOptions_FolderId{
		FolderId: v,
	}
}

func (m *LogOptions) SetMinLevel(v v1.LogLevel_Level) {
	m.MinLevel = v
}

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

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

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

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

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

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

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

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

func (m *Bus) SetStatus(v Bus_Status) {
	m.Status = v
}

func (m *Bus) SetLoggingEnabled(v bool) {
	m.LoggingEnabled = v
}

func (m *Bus) SetLogOptions(v *LogOptions) {
	m.LogOptions = v
}
