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

package metastore

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

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

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

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

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

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

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

func (m *Cluster) SetMonitoring(v []*Monitoring) {
	m.Monitoring = v
}

func (m *Cluster) SetHealth(v Cluster_Health) {
	m.Health = v
}

func (m *Cluster) SetStatus(v Cluster_Status) {
	m.Status = v
}

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

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

func (m *Cluster) SetNetworkId(v string) {
	m.NetworkId = v
}

func (m *Cluster) SetEndpointIp(v string) {
	m.EndpointIp = v
}

func (m *Cluster) SetClusterConfig(v *ClusterConfig) {
	m.ClusterConfig = v
}

func (m *Cluster) SetServiceAccountId(v string) {
	m.ServiceAccountId = v
}

func (m *Cluster) SetLogging(v *LoggingConfig) {
	m.Logging = v
}

func (m *Cluster) SetNetwork(v *NetworkConfig) {
	m.Network = v
}

func (m *Cluster) SetMaintenanceWindow(v *MaintenanceWindow) {
	m.MaintenanceWindow = v
}

func (m *Cluster) SetPlannedOperation(v *MaintenanceOperation) {
	m.PlannedOperation = v
}

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

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

func (m *Monitoring) SetLink(v string) {
	m.Link = v
}

func (m *ClusterConfig) SetResources(v *Resources) {
	m.Resources = v
}

func (m *NetworkConfig) SetSubnetIds(v []string) {
	m.SubnetIds = v
}

func (m *NetworkConfig) SetSecurityGroupIds(v []string) {
	m.SecurityGroupIds = v
}

func (m *Resources) SetResourcePresetId(v string) {
	m.ResourcePresetId = v
}

type LoggingConfig_Destination = isLoggingConfig_Destination

func (m *LoggingConfig) SetDestination(v LoggingConfig_Destination) {
	m.Destination = v
}

func (m *LoggingConfig) SetEnabled(v bool) {
	m.Enabled = v
}

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

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

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