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

package translate

func (m *TranslateRequest) SetSourceLanguageCode(v string) {
	m.SourceLanguageCode = v
}

func (m *TranslateRequest) SetTargetLanguageCode(v string) {
	m.TargetLanguageCode = v
}

func (m *TranslateRequest) SetFormat(v TranslateRequest_Format) {
	m.Format = v
}

func (m *TranslateRequest) SetTexts(v []string) {
	m.Texts = v
}

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

func (m *TranslateRequest) SetModel(v string) {
	m.Model = v
}

func (m *TranslateRequest) SetGlossaryConfig(v *TranslateGlossaryConfig) {
	m.GlossaryConfig = v
}

func (m *TranslateRequest) SetSpeller(v bool) {
	m.Speller = v
}

type TranslateGlossaryConfig_GlossarySource = isTranslateGlossaryConfig_GlossarySource

func (m *TranslateGlossaryConfig) SetGlossarySource(v TranslateGlossaryConfig_GlossarySource) {
	m.GlossarySource = v
}

func (m *TranslateGlossaryConfig) SetGlossaryData(v *GlossaryData) {
	m.GlossarySource = &TranslateGlossaryConfig_GlossaryData{
		GlossaryData: v,
	}
}

func (m *GlossaryData) SetGlossaryPairs(v []*GlossaryPair) {
	m.GlossaryPairs = v
}

func (m *GlossaryPair) SetSourceText(v string) {
	m.SourceText = v
}

func (m *GlossaryPair) SetTranslatedText(v string) {
	m.TranslatedText = v
}

func (m *GlossaryPair) SetExact(v bool) {
	m.Exact = v
}

func (m *TranslateResponse) SetTranslations(v []*TranslatedText) {
	m.Translations = v
}

func (m *DetectLanguageRequest) SetText(v string) {
	m.Text = v
}

func (m *DetectLanguageRequest) SetLanguageCodeHints(v []string) {
	m.LanguageCodeHints = v
}

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

func (m *DetectLanguageResponse) SetLanguageCode(v string) {
	m.LanguageCode = v
}

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

func (m *ListLanguagesResponse) SetLanguages(v []*Language) {
	m.Languages = v
}
