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

package connectionmanager

import (
	emptypb "google.golang.org/protobuf/types/known/emptypb"
)

func (m *KafkaSaslSecurity) SetUser(v string) {
	m.User = v
}

func (m *KafkaSaslSecurity) SetPassword(v *Password) {
	m.Password = v
}

func (m *KafkaSaslSecurity) SetSupportedMechanisms(v []KafkaSaslSecurity_Mechanism) {
	m.SupportedMechanisms = v
}

type KafkaAuth_Security = isKafkaAuth_Security

func (m *KafkaAuth) SetSecurity(v KafkaAuth_Security) {
	m.Security = v
}

func (m *KafkaAuth) SetSasl(v *KafkaSaslSecurity) {
	m.Security = &KafkaAuth_Sasl{
		Sasl: v,
	}
}

func (m *KafkaAuth) SetDisabled(v *emptypb.Empty) {
	m.Security = &KafkaAuth_Disabled{
		Disabled: v,
	}
}

func (m *KafkaCluster) SetHosts(v []*KafkaCluster_Host) {
	m.Hosts = v
}

func (m *KafkaCluster) SetTlsParams(v *TLSParams) {
	m.TlsParams = v
}

func (m *KafkaCluster_Host) SetHost(v string) {
	m.Host = v
}

func (m *KafkaCluster_Host) SetPort(v int64) {
	m.Port = v
}

func (m *KafkaCluster_Host) SetHealth(v KafkaCluster_Host_Health) {
	m.Health = v
}

func (m *KafkaConnection) SetCluster(v *KafkaCluster) {
	m.Cluster = v
}

func (m *KafkaConnection) SetManagedClusterId(v string) {
	m.ManagedClusterId = v
}

func (m *KafkaConnection) SetAuth(v *KafkaAuth) {
	m.Auth = v
}
