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

package kafka

import (
	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 *ConfigSpec) {
	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) SetSecurityGroupIds(v []string) {
	m.SecurityGroupIds = v
}

func (m *Cluster) SetHostGroupIds(v []string) {
	m.HostGroupIds = v
}

func (m *Cluster) SetDeletionProtection(v bool) {
	m.DeletionProtection = 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 *ConfigSpec) SetVersion(v string) {
	m.Version = v
}

func (m *ConfigSpec) SetKafka(v *ConfigSpec_Kafka) {
	m.Kafka = v
}

func (m *ConfigSpec) SetZookeeper(v *ConfigSpec_Zookeeper) {
	m.Zookeeper = v
}

func (m *ConfigSpec) SetZoneId(v []string) {
	m.ZoneId = v
}

func (m *ConfigSpec) SetBrokersCount(v *wrapperspb.Int64Value) {
	m.BrokersCount = v
}

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

func (m *ConfigSpec) SetUnmanagedTopics(v bool) {
	m.UnmanagedTopics = v
}

func (m *ConfigSpec) SetSchemaRegistry(v bool) {
	m.SchemaRegistry = v
}

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

func (m *ConfigSpec) SetRestApiConfig(v *ConfigSpec_RestAPIConfig) {
	m.RestApiConfig = v
}

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

func (m *ConfigSpec) SetKraft(v *ConfigSpec_KRaft) {
	m.Kraft = v
}

type ConfigSpec_Kafka_KafkaConfig = isConfigSpec_Kafka_KafkaConfig

func (m *ConfigSpec_Kafka) SetKafkaConfig(v ConfigSpec_Kafka_KafkaConfig) {
	m.KafkaConfig = v
}

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

func (m *ConfigSpec_Kafka) SetKafkaConfig_2_8(v *KafkaConfig2_8) {
	m.KafkaConfig = &ConfigSpec_Kafka_KafkaConfig_2_8{
		KafkaConfig_2_8: v,
	}
}

func (m *ConfigSpec_Kafka) SetKafkaConfig_3(v *KafkaConfig3) {
	m.KafkaConfig = &ConfigSpec_Kafka_KafkaConfig_3{
		KafkaConfig_3: v,
	}
}

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

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

func (m *ConfigSpec_RestAPIConfig) SetEnabled(v bool) {
	m.Enabled = 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 *KafkaConfig2_8) SetCompressionType(v CompressionType) {
	m.CompressionType = v
}

func (m *KafkaConfig2_8) SetLogFlushIntervalMessages(v *wrapperspb.Int64Value) {
	m.LogFlushIntervalMessages = v
}

func (m *KafkaConfig2_8) SetLogFlushIntervalMs(v *wrapperspb.Int64Value) {
	m.LogFlushIntervalMs = v
}

func (m *KafkaConfig2_8) SetLogFlushSchedulerIntervalMs(v *wrapperspb.Int64Value) {
	m.LogFlushSchedulerIntervalMs = v
}

func (m *KafkaConfig2_8) SetLogRetentionBytes(v *wrapperspb.Int64Value) {
	m.LogRetentionBytes = v
}

func (m *KafkaConfig2_8) SetLogRetentionHours(v *wrapperspb.Int64Value) {
	m.LogRetentionHours = v
}

func (m *KafkaConfig2_8) SetLogRetentionMinutes(v *wrapperspb.Int64Value) {
	m.LogRetentionMinutes = v
}

func (m *KafkaConfig2_8) SetLogRetentionMs(v *wrapperspb.Int64Value) {
	m.LogRetentionMs = v
}

func (m *KafkaConfig2_8) SetLogSegmentBytes(v *wrapperspb.Int64Value) {
	m.LogSegmentBytes = v
}

func (m *KafkaConfig2_8) SetLogPreallocate(v *wrapperspb.BoolValue) {
	m.LogPreallocate = v
}

func (m *KafkaConfig2_8) SetSocketSendBufferBytes(v *wrapperspb.Int64Value) {
	m.SocketSendBufferBytes = v
}

func (m *KafkaConfig2_8) SetSocketReceiveBufferBytes(v *wrapperspb.Int64Value) {
	m.SocketReceiveBufferBytes = v
}

func (m *KafkaConfig2_8) SetAutoCreateTopicsEnable(v *wrapperspb.BoolValue) {
	m.AutoCreateTopicsEnable = v
}

func (m *KafkaConfig2_8) SetNumPartitions(v *wrapperspb.Int64Value) {
	m.NumPartitions = v
}

func (m *KafkaConfig2_8) SetDefaultReplicationFactor(v *wrapperspb.Int64Value) {
	m.DefaultReplicationFactor = v
}

func (m *KafkaConfig2_8) SetMessageMaxBytes(v *wrapperspb.Int64Value) {
	m.MessageMaxBytes = v
}

func (m *KafkaConfig2_8) SetReplicaFetchMaxBytes(v *wrapperspb.Int64Value) {
	m.ReplicaFetchMaxBytes = v
}

func (m *KafkaConfig2_8) SetSslCipherSuites(v []string) {
	m.SslCipherSuites = v
}

func (m *KafkaConfig2_8) SetOffsetsRetentionMinutes(v *wrapperspb.Int64Value) {
	m.OffsetsRetentionMinutes = v
}

func (m *KafkaConfig2_8) SetSaslEnabledMechanisms(v []SaslMechanism) {
	m.SaslEnabledMechanisms = v
}

func (m *KafkaConfig3) SetCompressionType(v CompressionType) {
	m.CompressionType = v
}

func (m *KafkaConfig3) SetLogFlushIntervalMessages(v *wrapperspb.Int64Value) {
	m.LogFlushIntervalMessages = v
}

func (m *KafkaConfig3) SetLogFlushIntervalMs(v *wrapperspb.Int64Value) {
	m.LogFlushIntervalMs = v
}

func (m *KafkaConfig3) SetLogFlushSchedulerIntervalMs(v *wrapperspb.Int64Value) {
	m.LogFlushSchedulerIntervalMs = v
}

func (m *KafkaConfig3) SetLogRetentionBytes(v *wrapperspb.Int64Value) {
	m.LogRetentionBytes = v
}

func (m *KafkaConfig3) SetLogRetentionHours(v *wrapperspb.Int64Value) {
	m.LogRetentionHours = v
}

func (m *KafkaConfig3) SetLogRetentionMinutes(v *wrapperspb.Int64Value) {
	m.LogRetentionMinutes = v
}

func (m *KafkaConfig3) SetLogRetentionMs(v *wrapperspb.Int64Value) {
	m.LogRetentionMs = v
}

func (m *KafkaConfig3) SetLogSegmentBytes(v *wrapperspb.Int64Value) {
	m.LogSegmentBytes = v
}

func (m *KafkaConfig3) SetLogPreallocate(v *wrapperspb.BoolValue) {
	m.LogPreallocate = v
}

func (m *KafkaConfig3) SetSocketSendBufferBytes(v *wrapperspb.Int64Value) {
	m.SocketSendBufferBytes = v
}

func (m *KafkaConfig3) SetSocketReceiveBufferBytes(v *wrapperspb.Int64Value) {
	m.SocketReceiveBufferBytes = v
}

func (m *KafkaConfig3) SetAutoCreateTopicsEnable(v *wrapperspb.BoolValue) {
	m.AutoCreateTopicsEnable = v
}

func (m *KafkaConfig3) SetNumPartitions(v *wrapperspb.Int64Value) {
	m.NumPartitions = v
}

func (m *KafkaConfig3) SetDefaultReplicationFactor(v *wrapperspb.Int64Value) {
	m.DefaultReplicationFactor = v
}

func (m *KafkaConfig3) SetMessageMaxBytes(v *wrapperspb.Int64Value) {
	m.MessageMaxBytes = v
}

func (m *KafkaConfig3) SetReplicaFetchMaxBytes(v *wrapperspb.Int64Value) {
	m.ReplicaFetchMaxBytes = v
}

func (m *KafkaConfig3) SetSslCipherSuites(v []string) {
	m.SslCipherSuites = v
}

func (m *KafkaConfig3) SetOffsetsRetentionMinutes(v *wrapperspb.Int64Value) {
	m.OffsetsRetentionMinutes = v
}

func (m *KafkaConfig3) SetSaslEnabledMechanisms(v []SaslMechanism) {
	m.SaslEnabledMechanisms = 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) SetRole(v Host_Role) {
	m.Role = v
}

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

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

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

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

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

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

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

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