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

package clickhouse

import (
	config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/config"
	timeofday "google.golang.org/genproto/googleapis/type/timeofday"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
)

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) SetEnvironment(v Cluster_Environment) {
	m.Environment = v
}

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

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

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

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

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

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

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

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

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

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

func (m *Cluster) SetDiskEncryptionKeyId(v *wrapperspb.StringValue) {
	m.DiskEncryptionKeyId = 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) SetVersion(v string) {
	m.Version = v
}

func (m *ClusterConfig) SetClickhouse(v *ClusterConfig_Clickhouse) {
	m.Clickhouse = v
}

func (m *ClusterConfig) SetZookeeper(v *ClusterConfig_Zookeeper) {
	m.Zookeeper = v
}

func (m *ClusterConfig) SetBackupWindowStart(v *timeofday.TimeOfDay) {
	m.BackupWindowStart = v
}

func (m *ClusterConfig) SetAccess(v *Access) {
	m.Access = v
}

func (m *ClusterConfig) SetCloudStorage(v *CloudStorage) {
	m.CloudStorage = v
}

func (m *ClusterConfig) SetSqlDatabaseManagement(v *wrapperspb.BoolValue) {
	m.SqlDatabaseManagement = v
}

func (m *ClusterConfig) SetSqlUserManagement(v *wrapperspb.BoolValue) {
	m.SqlUserManagement = v
}

func (m *ClusterConfig) SetEmbeddedKeeper(v *wrapperspb.BoolValue) {
	m.EmbeddedKeeper = v
}

func (m *ClusterConfig) SetBackupRetainPeriodDays(v *wrapperspb.Int64Value) {
	m.BackupRetainPeriodDays = v
}

func (m *ClusterConfig_Clickhouse) SetConfig(v *config.ClickhouseConfigSet) {
	m.Config = v
}

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

func (m *ClusterConfig_Clickhouse) SetDiskSizeAutoscaling(v *DiskSizeAutoscaling) {
	m.DiskSizeAutoscaling = v
}

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

func (m *ClusterConfig_Zookeeper) SetDiskSizeAutoscaling(v *DiskSizeAutoscaling) {
	m.DiskSizeAutoscaling = v
}

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

func (m *Shard) SetClusterId(v string) {
	m.ClusterId = v
}

func (m *Shard) SetConfig(v *ShardConfig) {
	m.Config = v
}

func (m *Shards) SetShards(v []*Shard) {
	m.Shards = v
}

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

func (m *ShardGroup) SetClusterId(v string) {
	m.ClusterId = v
}

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

func (m *ShardGroup) SetShardNames(v []string) {
	m.ShardNames = v
}

func (m *ShardConfig) SetClickhouse(v *ShardConfig_Clickhouse) {
	m.Clickhouse = v
}

func (m *ShardConfig_Clickhouse) SetConfig(v *config.ClickhouseConfigSet) {
	m.Config = v
}

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

func (m *ShardConfig_Clickhouse) SetWeight(v *wrapperspb.Int64Value) {
	m.Weight = v
}

func (m *ShardConfig_Clickhouse) SetDiskSizeAutoscaling(v *DiskSizeAutoscaling) {
	m.DiskSizeAutoscaling = v
}

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

func (m *Host) SetClusterId(v string) {
	m.ClusterId = v
}

func (m *Host) SetZoneId(v string) {
	m.ZoneId = v
}

func (m *Host) SetType(v Host_Type) {
	m.Type = v
}

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

func (m *Host) SetHealth(v Host_Health) {
	m.Health = v
}

func (m *Host) SetServices(v []*Service) {
	m.Services = v
}

func (m *Host) SetSubnetId(v string) {
	m.SubnetId = v
}

func (m *Host) SetAssignPublicIp(v bool) {
	m.AssignPublicIp = v
}

func (m *Host) SetShardName(v string) {
	m.ShardName = v
}

func (m *Service) SetType(v Service_Type) {
	m.Type = v
}

func (m *Service) SetHealth(v Service_Health) {
	m.Health = v
}

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

func (m *Resources) SetDiskSize(v int64) {
	m.DiskSize = v
}

func (m *Resources) SetDiskTypeId(v string) {
	m.DiskTypeId = v
}

func (m *Access) SetDataLens(v bool) {
	m.DataLens = v
}

func (m *Access) SetWebSql(v bool) {
	m.WebSql = v
}

func (m *Access) SetMetrika(v bool) {
	m.Metrika = v
}

func (m *Access) SetServerless(v bool) {
	m.Serverless = v
}

func (m *Access) SetDataTransfer(v bool) {
	m.DataTransfer = v
}

func (m *Access) SetYandexQuery(v bool) {
	m.YandexQuery = v
}

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

func (m *CloudStorage) SetMoveFactor(v *wrapperspb.DoubleValue) {
	m.MoveFactor = v
}

func (m *CloudStorage) SetDataCacheEnabled(v *wrapperspb.BoolValue) {
	m.DataCacheEnabled = v
}

func (m *CloudStorage) SetDataCacheMaxSize(v *wrapperspb.Int64Value) {
	m.DataCacheMaxSize = v
}

func (m *CloudStorage) SetPreferNotToMerge(v *wrapperspb.BoolValue) {
	m.PreferNotToMerge = v
}

func (m *DiskSizeAutoscaling) SetPlannedUsageThreshold(v *wrapperspb.Int64Value) {
	m.PlannedUsageThreshold = v
}

func (m *DiskSizeAutoscaling) SetEmergencyUsageThreshold(v *wrapperspb.Int64Value) {
	m.EmergencyUsageThreshold = v
}

func (m *DiskSizeAutoscaling) SetDiskSizeLimit(v *wrapperspb.Int64Value) {
	m.DiskSizeLimit = v
}
