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

package broker

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

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

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

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

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

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

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

func (m *Broker) SetStatus(v Broker_Status) {
	m.Status = v
}

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

func (m *BrokerCertificate) SetBrokerId(v string) {
	m.BrokerId = v
}

func (m *BrokerCertificate) SetFingerprint(v string) {
	m.Fingerprint = v
}

func (m *BrokerCertificate) SetCertificateData(v string) {
	m.CertificateData = v
}

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

func (m *BrokerPassword) SetBrokerId(v string) {
	m.BrokerId = v
}

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

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

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) SetDisabled(v bool) {
	m.Disabled = v
}

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