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

package video

func (m *GetSubtitleRequest) SetSubtitleId(v string) {
	m.SubtitleId = v
}

type ListSubtitlesRequest_ParentId = isListSubtitlesRequest_ParentId

func (m *ListSubtitlesRequest) SetParentId(v ListSubtitlesRequest_ParentId) {
	m.ParentId = v
}

func (m *ListSubtitlesRequest) SetPageSize(v int64) {
	m.PageSize = v
}

func (m *ListSubtitlesRequest) SetPageToken(v string) {
	m.PageToken = v
}

func (m *ListSubtitlesRequest) SetVideoId(v string) {
	m.ParentId = &ListSubtitlesRequest_VideoId{
		VideoId: v,
	}
}

func (m *ListSubtitlesResponse) SetSubtitles(v []*Subtitle) {
	m.Subtitles = v
}

func (m *ListSubtitlesResponse) SetNextPageToken(v string) {
	m.NextPageToken = v
}

type CreateSubtitleRequest_ParentId = isCreateSubtitleRequest_ParentId

func (m *CreateSubtitleRequest) SetParentId(v CreateSubtitleRequest_ParentId) {
	m.ParentId = v
}

type CreateSubtitleRequest_Source = isCreateSubtitleRequest_Source

func (m *CreateSubtitleRequest) SetSource(v CreateSubtitleRequest_Source) {
	m.Source = v
}

func (m *CreateSubtitleRequest) SetLanguage(v string) {
	m.Language = v
}

func (m *CreateSubtitleRequest) SetLabel(v string) {
	m.Label = v
}

func (m *CreateSubtitleRequest) SetVideoId(v string) {
	m.ParentId = &CreateSubtitleRequest_VideoId{
		VideoId: v,
	}
}

func (m *CreateSubtitleRequest) SetUpload(v *SubtitleUploadParams) {
	m.Source = &CreateSubtitleRequest_Upload{
		Upload: v,
	}
}

func (m *SubtitleUploadParams) SetFilename(v string) {
	m.Filename = v
}

func (m *CreateSubtitleMetadata) SetSubtitleId(v string) {
	m.SubtitleId = v
}

func (m *GenerateSubtitleUploadURLRequest) SetSubtitleId(v string) {
	m.SubtitleId = v
}

func (m *GenerateSubtitleUploadURLResponse) SetUploadUrl(v string) {
	m.UploadUrl = v
}

func (m *DeleteSubtitleRequest) SetSubtitleId(v string) {
	m.SubtitleId = v
}

func (m *DeleteSubtitleMetadata) SetSubtitleId(v string) {
	m.SubtitleId = v
}
