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

package searchapi

func (m *GenSearchMessage) SetContent(v string) {
	m.Content = v
}

func (m *GenSearchMessage) SetRole(v Role) {
	m.Role = v
}

type GenSearchRequest_SiteOptions = isGenSearchRequest_SiteOptions

func (m *GenSearchRequest) SetSiteOptions(v GenSearchRequest_SiteOptions) {
	m.SiteOptions = v
}

func (m *GenSearchRequest) SetMessages(v []*GenSearchMessage) {
	m.Messages = v
}

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

func (m *GenSearchRequest) SetSite(v *GenSearchRequest_SiteOption) {
	m.SiteOptions = &GenSearchRequest_Site{
		Site: v,
	}
}

func (m *GenSearchRequest) SetHost(v *GenSearchRequest_HostOption) {
	m.SiteOptions = &GenSearchRequest_Host{
		Host: v,
	}
}

func (m *GenSearchRequest) SetUrl(v *GenSearchRequest_UrlOption) {
	m.SiteOptions = &GenSearchRequest_Url{
		Url: v,
	}
}

func (m *GenSearchRequest) SetFixMisspell(v bool) {
	m.FixMisspell = v
}

func (m *GenSearchRequest) SetEnableNrfmDocs(v bool) {
	m.EnableNrfmDocs = v
}

func (m *GenSearchRequest) SetSearchFilters(v []*GenSearchRequest_SearchFilter) {
	m.SearchFilters = v
}

func (m *GenSearchRequest) SetSearchType(v SearchQuery_SearchType) {
	m.SearchType = v
}

func (m *GenSearchRequest) SetGetPartialResults(v bool) {
	m.GetPartialResults = v
}

func (m *GenSearchRequest) SetMetadata(v *SearchMetadata) {
	m.Metadata = v
}

func (m *GenSearchRequest_SiteOption) SetSite(v []string) {
	m.Site = v
}

func (m *GenSearchRequest_UrlOption) SetUrl(v []string) {
	m.Url = v
}

func (m *GenSearchRequest_HostOption) SetHost(v []string) {
	m.Host = v
}

type GenSearchRequest_SearchFilter_FilterOptions = isGenSearchRequest_SearchFilter_FilterOptions

func (m *GenSearchRequest_SearchFilter) SetFilterOptions(v GenSearchRequest_SearchFilter_FilterOptions) {
	m.FilterOptions = v
}

func (m *GenSearchRequest_SearchFilter) SetDate(v string) {
	m.FilterOptions = &GenSearchRequest_SearchFilter_Date{
		Date: v,
	}
}

func (m *GenSearchRequest_SearchFilter) SetLang(v string) {
	m.FilterOptions = &GenSearchRequest_SearchFilter_Lang{
		Lang: v,
	}
}

func (m *GenSearchRequest_SearchFilter) SetFormat(v GenSearchRequest_SearchFilter_DocFormat) {
	m.FilterOptions = &GenSearchRequest_SearchFilter_Format{
		Format: v,
	}
}

func (m *GenSearchResponse) SetMessage(v *GenSearchMessage) {
	m.Message = v
}

func (m *GenSearchResponse) SetSources(v []*GenSearchResponse_Source) {
	m.Sources = v
}

func (m *GenSearchResponse) SetSearchQueries(v []*GenSearchResponse_SearchQuery) {
	m.SearchQueries = v
}

func (m *GenSearchResponse) SetFixedMisspellQuery(v string) {
	m.FixedMisspellQuery = v
}

func (m *GenSearchResponse) SetIsAnswerRejected(v bool) {
	m.IsAnswerRejected = v
}

func (m *GenSearchResponse) SetIsBulletAnswer(v bool) {
	m.IsBulletAnswer = v
}

func (m *GenSearchResponse) SetHints(v []string) {
	m.Hints = v
}

func (m *GenSearchResponse) SetProblematicAnswer(v bool) {
	m.ProblematicAnswer = v
}

func (m *GenSearchResponse_Source) SetUrl(v string) {
	m.Url = v
}

func (m *GenSearchResponse_Source) SetTitle(v string) {
	m.Title = v
}

func (m *GenSearchResponse_Source) SetUsed(v bool) {
	m.Used = v
}

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

func (m *GenSearchResponse_SearchQuery) SetReqId(v string) {
	m.ReqId = v
}
