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

package endpoint

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

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

func (m *OnPremiseMysql) SetHosts(v []string) {
	m.Hosts = v
}

func (m *OnPremiseMysql) SetTlsMode(v *TLSMode) {
	m.TlsMode = v
}

type MysqlConnection_Connection = isMysqlConnection_Connection

func (m *MysqlConnection) SetConnection(v MysqlConnection_Connection) {
	m.Connection = v
}

func (m *MysqlConnection) SetMdbClusterId(v string) {
	m.Connection = &MysqlConnection_MdbClusterId{
		MdbClusterId: v,
	}
}

func (m *MysqlConnection) SetOnPremise(v *OnPremiseMysql) {
	m.Connection = &MysqlConnection_OnPremise{
		OnPremise: v,
	}
}

func (m *MysqlObjectTransferSettings) SetView(v ObjectTransferStage) {
	m.View = v
}

func (m *MysqlObjectTransferSettings) SetRoutine(v ObjectTransferStage) {
	m.Routine = v
}

func (m *MysqlObjectTransferSettings) SetTrigger(v ObjectTransferStage) {
	m.Trigger = v
}

func (m *MysqlObjectTransferSettings) SetTables(v ObjectTransferStage) {
	m.Tables = v
}

func (m *MysqlSource) SetConnection(v *MysqlConnection) {
	m.Connection = v
}

func (m *MysqlSource) SetDatabase(v string) {
	m.Database = v
}

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

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

func (m *MysqlSource) SetTimezone(v string) {
	m.Timezone = v
}

func (m *MysqlSource) SetObjectTransferSettings(v *MysqlObjectTransferSettings) {
	m.ObjectTransferSettings = v
}

func (m *MysqlSource) SetIncludeTablesRegex(v []string) {
	m.IncludeTablesRegex = v
}

func (m *MysqlSource) SetExcludeTablesRegex(v []string) {
	m.ExcludeTablesRegex = v
}

func (m *MysqlSource) SetSecurityGroups(v []string) {
	m.SecurityGroups = v
}

func (m *MysqlSource) SetServiceDatabase(v string) {
	m.ServiceDatabase = v
}

func (m *MysqlTarget) SetConnection(v *MysqlConnection) {
	m.Connection = v
}

func (m *MysqlTarget) SetDatabase(v string) {
	m.Database = v
}

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

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

func (m *MysqlTarget) SetSqlMode(v string) {
	m.SqlMode = v
}

func (m *MysqlTarget) SetSkipConstraintChecks(v bool) {
	m.SkipConstraintChecks = v
}

func (m *MysqlTarget) SetTimezone(v string) {
	m.Timezone = v
}

func (m *MysqlTarget) SetCleanupPolicy(v CleanupPolicy) {
	m.CleanupPolicy = v
}

func (m *MysqlTarget) SetServiceDatabase(v string) {
	m.ServiceDatabase = v
}

func (m *MysqlTarget) SetSecurityGroups(v []string) {
	m.SecurityGroups = v
}
