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

package video

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

type Stream_StreamType = isStream_StreamType

func (m *Stream) SetStreamType(v Stream_StreamType) {
	m.StreamType = v
}

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

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

func (m *Stream) SetLineId(v string) {
	m.LineId = v
}

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

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

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

func (m *Stream) SetStatus(v Stream_StreamStatus) {
	m.Status = v
}

func (m *Stream) SetStartTime(v *timestamppb.Timestamp) {
	m.StartTime = v
}

func (m *Stream) SetPublishTime(v *timestamppb.Timestamp) {
	m.PublishTime = v
}

func (m *Stream) SetFinishTime(v *timestamppb.Timestamp) {
	m.FinishTime = v
}

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

func (m *Stream) SetOnDemand(v *OnDemand) {
	m.StreamType = &Stream_OnDemand{
		OnDemand: v,
	}
}

func (m *Stream) SetSchedule(v *Schedule) {
	m.StreamType = &Stream_Schedule{
		Schedule: v,
	}
}

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

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

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

func (m *Schedule) SetStartTime(v *timestamppb.Timestamp) {
	m.StartTime = v
}

func (m *Schedule) SetFinishTime(v *timestamppb.Timestamp) {
	m.FinishTime = v
}
