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

package video

import (
	durationpb "google.golang.org/protobuf/types/known/durationpb"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
)

func (m *GetVideoRequest) SetVideoId(v string) {
	m.VideoId = v
}

func (m *ListVideoRequest) SetChannelId(v string) {
	m.ChannelId = v
}

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

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

func (m *ListVideoRequest) SetOrderBy(v string) {
	m.OrderBy = v
}

func (m *ListVideoRequest) SetFilter(v string) {
	m.Filter = v
}

func (m *ListVideoResponse) SetVideos(v []*Video) {
	m.Videos = v
}

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

func (m *BatchGetVideosRequest) SetChannelId(v string) {
	m.ChannelId = v
}

func (m *BatchGetVideosRequest) SetVideoIds(v []string) {
	m.VideoIds = v
}

func (m *BatchGetVideosResponse) SetVideos(v []*Video) {
	m.Videos = v
}

type CreateVideoRequest_Source = isCreateVideoRequest_Source

func (m *CreateVideoRequest) SetSource(v CreateVideoRequest_Source) {
	m.Source = v
}

type CreateVideoRequest_AccessRights = isCreateVideoRequest_AccessRights

func (m *CreateVideoRequest) SetAccessRights(v CreateVideoRequest_AccessRights) {
	m.AccessRights = v
}

func (m *CreateVideoRequest) SetChannelId(v string) {
	m.ChannelId = v
}

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

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

func (m *CreateVideoRequest) SetThumbnailId(v string) {
	m.ThumbnailId = v
}

func (m *CreateVideoRequest) SetAutoTranscode(v AutoTranscode) {
	m.AutoTranscode = v
}

func (m *CreateVideoRequest) SetStylePresetId(v string) {
	m.StylePresetId = v
}

func (m *CreateVideoRequest) SetAutoPublish(v *wrapperspb.BoolValue) {
	m.AutoPublish = v
}

func (m *CreateVideoRequest) SetEnableAd(v *wrapperspb.BoolValue) {
	m.EnableAd = v
}

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

func (m *CreateVideoRequest) SetTusd(v *VideoTUSDParams) {
	m.Source = &CreateVideoRequest_Tusd{
		Tusd: v,
	}
}

func (m *CreateVideoRequest) SetPublicAccess(v *VideoPublicAccessParams) {
	m.AccessRights = &CreateVideoRequest_PublicAccess{
		PublicAccess: v,
	}
}

func (m *CreateVideoRequest) SetSignUrlAccess(v *VideoSignURLAccessParams) {
	m.AccessRights = &CreateVideoRequest_SignUrlAccess{
		SignUrlAccess: v,
	}
}

func (m *VideoTUSDParams) SetFileSize(v int64) {
	m.FileSize = v
}

func (m *VideoTUSDParams) SetFileName(v string) {
	m.FileName = v
}

func (m *CreateVideoMetadata) SetVideoId(v string) {
	m.VideoId = v
}

type UpdateVideoRequest_AccessRights = isUpdateVideoRequest_AccessRights

func (m *UpdateVideoRequest) SetAccessRights(v UpdateVideoRequest_AccessRights) {
	m.AccessRights = v
}

func (m *UpdateVideoRequest) SetVideoId(v string) {
	m.VideoId = v
}

func (m *UpdateVideoRequest) SetFieldMask(v *fieldmaskpb.FieldMask) {
	m.FieldMask = v
}

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

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

func (m *UpdateVideoRequest) SetThumbnailId(v string) {
	m.ThumbnailId = v
}

func (m *UpdateVideoRequest) SetAutoTranscode(v AutoTranscode) {
	m.AutoTranscode = v
}

func (m *UpdateVideoRequest) SetStylePresetId(v string) {
	m.StylePresetId = v
}

func (m *UpdateVideoRequest) SetEnableAd(v *wrapperspb.BoolValue) {
	m.EnableAd = v
}

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

func (m *UpdateVideoRequest) SetPublicAccess(v *VideoPublicAccessParams) {
	m.AccessRights = &UpdateVideoRequest_PublicAccess{
		PublicAccess: v,
	}
}

func (m *UpdateVideoRequest) SetSignUrlAccess(v *VideoSignURLAccessParams) {
	m.AccessRights = &UpdateVideoRequest_SignUrlAccess{
		SignUrlAccess: v,
	}
}

func (m *UpdateVideoMetadata) SetVideoId(v string) {
	m.VideoId = v
}

func (m *TranscodeVideoRequest) SetVideoId(v string) {
	m.VideoId = v
}

func (m *TranscodeVideoRequest) SetFieldMask(v *fieldmaskpb.FieldMask) {
	m.FieldMask = v
}

func (m *TranscodeVideoRequest) SetSubtitleIds(v []string) {
	m.SubtitleIds = v
}

func (m *TranscodeVideoRequest) SetTranslationSettings(v *VideoTranslationSettings) {
	m.TranslationSettings = v
}

func (m *TranscodeVideoRequest) SetSummarizationSettings(v *VideoSummarizationSettings) {
	m.SummarizationSettings = v
}

func (m *VideoTranslationSettings) SetTracks(v []*VideoTranslationSettings_TranslationTrack) {
	m.Tracks = v
}

func (m *VideoTranslationSettings_TranslationTrack) SetInputTrack(v *VideoTranslationSettings_InputTrack) {
	m.InputTrack = v
}

func (m *VideoTranslationSettings_TranslationTrack) SetSubtitles(v []*VideoTranslationSettings_SubtitleTrack) {
	m.Subtitles = v
}

func (m *VideoTranslationSettings_TranslationTrack) SetAudio(v []*VideoTranslationSettings_AudioTrack) {
	m.Audio = v
}

func (m *VideoTranslationSettings_InputTrack) SetTrackIndex(v int64) {
	m.TrackIndex = v
}

func (m *VideoTranslationSettings_InputTrack) SetSrcLang(v string) {
	m.SrcLang = v
}

func (m *VideoTranslationSettings_SubtitleTrack) SetDstLang(v string) {
	m.DstLang = v
}

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

func (m *VideoTranslationSettings_AudioTrack) SetDstLang(v string) {
	m.DstLang = v
}

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

func (m *VideoSummarizationSettings) SetTracks(v []*VideoSummarizationSettings_SummarizationTrack) {
	m.Tracks = v
}

func (m *VideoSummarizationSettings) SetProcessAllTracks(v bool) {
	m.ProcessAllTracks = v
}

func (m *VideoSummarizationSettings_SummarizationTrack) SetInputTrack(v *VideoSummarizationSettings_InputTrack) {
	m.InputTrack = v
}

func (m *VideoSummarizationSettings_InputTrack) SetTrackIndex(v int64) {
	m.TrackIndex = v
}

func (m *VideoSummarizationSettings_InputTrack) SetSrcLang(v string) {
	m.SrcLang = v
}

func (m *TranscodeVideoMetadata) SetVideoId(v string) {
	m.VideoId = v
}

func (m *DeleteVideoRequest) SetVideoId(v string) {
	m.VideoId = v
}

func (m *DeleteVideoMetadata) SetVideoId(v string) {
	m.VideoId = v
}

func (m *BatchDeleteVideosRequest) SetChannelId(v string) {
	m.ChannelId = v
}

func (m *BatchDeleteVideosRequest) SetVideoIds(v []string) {
	m.VideoIds = v
}

func (m *BatchDeleteVideosMetadata) SetVideoIds(v []string) {
	m.VideoIds = v
}

type PerformVideoActionRequest_Action = isPerformVideoActionRequest_Action

func (m *PerformVideoActionRequest) SetAction(v PerformVideoActionRequest_Action) {
	m.Action = v
}

func (m *PerformVideoActionRequest) SetVideoId(v string) {
	m.VideoId = v
}

func (m *PerformVideoActionRequest) SetPublish(v *PublishVideoAction) {
	m.Action = &PerformVideoActionRequest_Publish{
		Publish: v,
	}
}

func (m *PerformVideoActionRequest) SetUnpublish(v *UnpublishVideoAction) {
	m.Action = &PerformVideoActionRequest_Unpublish{
		Unpublish: v,
	}
}

func (m *PerformVideoActionMetadata) SetVideoId(v string) {
	m.VideoId = v
}

func (m *GetVideoPlayerURLRequest) SetVideoId(v string) {
	m.VideoId = v
}

func (m *GetVideoPlayerURLRequest) SetParams(v *VideoPlayerParams) {
	m.Params = v
}

func (m *GetVideoPlayerURLRequest) SetSignedUrlExpirationDuration(v *durationpb.Duration) {
	m.SignedUrlExpirationDuration = v
}

func (m *VideoPlayerParams) SetMute(v bool) {
	m.Mute = v
}

func (m *VideoPlayerParams) SetAutoplay(v bool) {
	m.Autoplay = v
}

func (m *VideoPlayerParams) SetHidden(v bool) {
	m.Hidden = v
}

func (m *GetVideoPlayerURLResponse) SetPlayerUrl(v string) {
	m.PlayerUrl = v
}

func (m *GetVideoPlayerURLResponse) SetHtml(v string) {
	m.Html = v
}

func (m *BatchGetVideoPlayerURLsRequest) SetChannelId(v string) {
	m.ChannelId = v
}

func (m *BatchGetVideoPlayerURLsRequest) SetVideoIds(v []string) {
	m.VideoIds = v
}

func (m *BatchGetVideoPlayerURLsRequest) SetParams(v *VideoPlayerParams) {
	m.Params = v
}

func (m *BatchGetVideoPlayerURLsRequest) SetSignedUrlExpirationDuration(v *durationpb.Duration) {
	m.SignedUrlExpirationDuration = v
}

func (m *BatchGetVideoPlayerURLsResponse) SetPlayerUrls(v []string) {
	m.PlayerUrls = v
}

func (m *GetVideoManifestsRequest) SetVideoId(v string) {
	m.VideoId = v
}

func (m *GetVideoManifestsResponse) SetManifests(v []*Manifest) {
	m.Manifests = v
}

func (m *GenerateVideoDownloadURLRequest) SetVideoId(v string) {
	m.VideoId = v
}

func (m *GenerateVideoDownloadURLResponse) SetDownloadUrl(v string) {
	m.DownloadUrl = v
}
