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

package datatransfer

import (
	endpoint "github.com/yandex-cloud/go-genproto/yandex/cloud/datatransfer/v1/endpoint"
)

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

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

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

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

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

func (m *Endpoint) SetSettings(v *EndpointSettings) {
	m.Settings = v
}

type EndpointSettings_Settings = isEndpointSettings_Settings

func (m *EndpointSettings) SetSettings(v EndpointSettings_Settings) {
	m.Settings = v
}

func (m *EndpointSettings) SetMysqlSource(v *endpoint.MysqlSource) {
	m.Settings = &EndpointSettings_MysqlSource{
		MysqlSource: v,
	}
}

func (m *EndpointSettings) SetPostgresSource(v *endpoint.PostgresSource) {
	m.Settings = &EndpointSettings_PostgresSource{
		PostgresSource: v,
	}
}

func (m *EndpointSettings) SetYdbSource(v *endpoint.YdbSource) {
	m.Settings = &EndpointSettings_YdbSource{
		YdbSource: v,
	}
}

func (m *EndpointSettings) SetYdsSource(v *endpoint.YDSSource) {
	m.Settings = &EndpointSettings_YdsSource{
		YdsSource: v,
	}
}

func (m *EndpointSettings) SetKafkaSource(v *endpoint.KafkaSource) {
	m.Settings = &EndpointSettings_KafkaSource{
		KafkaSource: v,
	}
}

func (m *EndpointSettings) SetMongoSource(v *endpoint.MongoSource) {
	m.Settings = &EndpointSettings_MongoSource{
		MongoSource: v,
	}
}

func (m *EndpointSettings) SetClickhouseSource(v *endpoint.ClickhouseSource) {
	m.Settings = &EndpointSettings_ClickhouseSource{
		ClickhouseSource: v,
	}
}

func (m *EndpointSettings) SetMysqlTarget(v *endpoint.MysqlTarget) {
	m.Settings = &EndpointSettings_MysqlTarget{
		MysqlTarget: v,
	}
}

func (m *EndpointSettings) SetPostgresTarget(v *endpoint.PostgresTarget) {
	m.Settings = &EndpointSettings_PostgresTarget{
		PostgresTarget: v,
	}
}

func (m *EndpointSettings) SetClickhouseTarget(v *endpoint.ClickhouseTarget) {
	m.Settings = &EndpointSettings_ClickhouseTarget{
		ClickhouseTarget: v,
	}
}

func (m *EndpointSettings) SetYdbTarget(v *endpoint.YdbTarget) {
	m.Settings = &EndpointSettings_YdbTarget{
		YdbTarget: v,
	}
}

func (m *EndpointSettings) SetKafkaTarget(v *endpoint.KafkaTarget) {
	m.Settings = &EndpointSettings_KafkaTarget{
		KafkaTarget: v,
	}
}

func (m *EndpointSettings) SetMongoTarget(v *endpoint.MongoTarget) {
	m.Settings = &EndpointSettings_MongoTarget{
		MongoTarget: v,
	}
}

func (m *EndpointSettings) SetMetrikaSource(v *endpoint.MetrikaSource) {
	m.Settings = &EndpointSettings_MetrikaSource{
		MetrikaSource: v,
	}
}

func (m *EndpointSettings) SetYdsTarget(v *endpoint.YDSTarget) {
	m.Settings = &EndpointSettings_YdsTarget{
		YdsTarget: v,
	}
}
