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

package video

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

type Video_Source = isVideo_Source

func (m *Video) SetSource(v Video_Source) {
	m.Source = v
}

type Video_AccessRights = isVideo_AccessRights

func (m *Video) SetAccessRights(v Video_AccessRights) {
	m.AccessRights = v
}

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

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

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

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

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

func (m *Video) SetStatus(v Video_VideoStatus) {
	m.Status = v
}

func (m *Video) SetErrorMessage(v string) {
	m.ErrorMessage = v
}

func (m *Video) SetVisibilityStatus(v Video_VisibilityStatus) {
	m.VisibilityStatus = v
}

func (m *Video) SetDuration(v *durationpb.Duration) {
	m.Duration = v
}

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

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

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

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

func (m *Video) SetFeatures(v *VideoFeatures) {
	m.Features = v
}

func (m *Video) SetTusd(v *VideoTUSDSource) {
	m.Source = &Video_Tusd{
		Tusd: v,
	}
}

func (m *Video) SetPublicAccess(v *VideoPublicAccessRights) {
	m.AccessRights = &Video_PublicAccess{
		PublicAccess: v,
	}
}

func (m *Video) SetSignUrlAccess(v *VideoSignURLAccessRights) {
	m.AccessRights = &Video_SignUrlAccess{
		SignUrlAccess: v,
	}
}

func (m *Video) SetCreatedAt(v *timestamppb.Timestamp) {
	m.CreatedAt = v
}

func (m *Video) SetUpdatedAt(v *timestamppb.Timestamp) {
	m.UpdatedAt = v
}

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

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

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

func (m *VideoFeatures) SetSummary(v *VideoFeatures_Summary) {
	m.Summary = v
}

func (m *VideoFeatures_Summary) SetResult(v VideoFeatures_FeatureResult) {
	m.Result = v
}

func (m *VideoFeatures_Summary) SetUrls(v []*VideoFeatures_Summary_SummaryURL) {
	m.Urls = v
}

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

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

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