// Code generated by protoc-gen-go. DO NOT EDIT.
// source: stream/update.proto

package stream

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import change "code.justin.tv/eventbus/schema/pkg/eventbus/change"

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package

// StreamType is the enumerated types that a stream is normally.
type StreamType int32

const (
	// Default case is an invalid stream type
	StreamType_STREAM_TYPE_INVALID StreamType = 0
	// Playlist
	StreamType_STREAM_TYPE_PLAYLIST StreamType = 1
	// Watch party
	StreamType_STREAM_TYPE_WATCH_PARTY StreamType = 2
	// Premiere
	StreamType_STREAM_TYPE_PREMIERE StreamType = 3
	// Re-run
	StreamType_STREAM_TYPE_RERUN StreamType = 4
	// Live
	StreamType_STREAM_TYPE_LIVE StreamType = 5
)

var StreamType_name = map[int32]string{
	0: "STREAM_TYPE_INVALID",
	1: "STREAM_TYPE_PLAYLIST",
	2: "STREAM_TYPE_WATCH_PARTY",
	3: "STREAM_TYPE_PREMIERE",
	4: "STREAM_TYPE_RERUN",
	5: "STREAM_TYPE_LIVE",
}
var StreamType_value = map[string]int32{
	"STREAM_TYPE_INVALID":     0,
	"STREAM_TYPE_PLAYLIST":    1,
	"STREAM_TYPE_WATCH_PARTY": 2,
	"STREAM_TYPE_PREMIERE":    3,
	"STREAM_TYPE_RERUN":       4,
	"STREAM_TYPE_LIVE":        5,
}

func (x StreamType) String() string {
	return proto.EnumName(StreamType_name, int32(x))
}
func (StreamType) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_update_25fc6b724aa54ba1, []int{0}
}

// StreamUpdate is triggered when a stream's metadata attribute changes.
type StreamUpdate struct {
	// Stream ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Channel ID of the broadcaster.
	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// ID of the game being broadcast.
	GameId *change.StringChange `protobuf:"bytes,3,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
	// Broadcaster's selected language locale.
	BroadcasterLanguage *change.StringChange `protobuf:"bytes,4,opt,name=broadcaster_language,json=broadcasterLanguage,proto3" json:"broadcaster_language,omitempty"`
	// Stream title.
	Title *change.StringChange `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	// Stream type.
	StreamType *StreamTypeChange `protobuf:"bytes,13,opt,name=stream_type,json=streamType,proto3" json:"stream_type,omitempty"`
	// Tags applied to the stream.
	TagIds *change.StringArrayChange `protobuf:"bytes,6,opt,name=tag_ids,json=tagIds,proto3" json:"tag_ids,omitempty"`
	// League of Legends: Broadcaster's current champion ID.
	LeagueOfLegendsChampionId *change.StringChange `protobuf:"bytes,7,opt,name=league_of_legends_champion_id,json=leagueOfLegendsChampionId,proto3" json:"league_of_legends_champion_id,omitempty"`
	// PUBG: Number of players alive.
	PubgPlayerAliveCount *change.Int64Change `protobuf:"bytes,8,opt,name=pubg_player_alive_count,json=pubgPlayerAliveCount,proto3" json:"pubg_player_alive_count,omitempty"`
	// Hearthstone: Broadcaster's current hero class.
	HearthstoneBroadcasterHeroClass *change.StringChange `protobuf:"bytes,9,opt,name=hearthstone_broadcaster_hero_class,json=hearthstoneBroadcasterHeroClass,proto3" json:"hearthstone_broadcaster_hero_class,omitempty"`
	// Hearthstone: Current game mode.
	HearthstoneGameMode *change.StringChange `protobuf:"bytes,10,opt,name=hearthstone_game_mode,json=hearthstoneGameMode,proto3" json:"hearthstone_game_mode,omitempty"`
	// CS:GO: Current map.
	CsgoMap *change.StringChange `protobuf:"bytes,11,opt,name=csgo_map,json=csgoMap,proto3" json:"csgo_map,omitempty"`
	// Overwatch: Broadcaster's current character.
	OverwatchBroadcasterCharacter *change.StringChange `protobuf:"bytes,12,opt,name=overwatch_broadcaster_character,json=overwatchBroadcasterCharacter,proto3" json:"overwatch_broadcaster_character,omitempty"`
	XXX_NoUnkeyedLiteral          struct{}             `json:"-"`
	XXX_unrecognized              []byte               `json:"-"`
	XXX_sizecache                 int32                `json:"-"`
}

func (m *StreamUpdate) Reset()         { *m = StreamUpdate{} }
func (m *StreamUpdate) String() string { return proto.CompactTextString(m) }
func (*StreamUpdate) ProtoMessage()    {}
func (*StreamUpdate) Descriptor() ([]byte, []int) {
	return fileDescriptor_update_25fc6b724aa54ba1, []int{0}
}
func (m *StreamUpdate) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_StreamUpdate.Unmarshal(m, b)
}
func (m *StreamUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_StreamUpdate.Marshal(b, m, deterministic)
}
func (dst *StreamUpdate) XXX_Merge(src proto.Message) {
	xxx_messageInfo_StreamUpdate.Merge(dst, src)
}
func (m *StreamUpdate) XXX_Size() int {
	return xxx_messageInfo_StreamUpdate.Size(m)
}
func (m *StreamUpdate) XXX_DiscardUnknown() {
	xxx_messageInfo_StreamUpdate.DiscardUnknown(m)
}

var xxx_messageInfo_StreamUpdate proto.InternalMessageInfo

func (m *StreamUpdate) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *StreamUpdate) GetUserId() string {
	if m != nil {
		return m.UserId
	}
	return ""
}

func (m *StreamUpdate) GetGameId() *change.StringChange {
	if m != nil {
		return m.GameId
	}
	return nil
}

func (m *StreamUpdate) GetBroadcasterLanguage() *change.StringChange {
	if m != nil {
		return m.BroadcasterLanguage
	}
	return nil
}

func (m *StreamUpdate) GetTitle() *change.StringChange {
	if m != nil {
		return m.Title
	}
	return nil
}

func (m *StreamUpdate) GetStreamType() *StreamTypeChange {
	if m != nil {
		return m.StreamType
	}
	return nil
}

func (m *StreamUpdate) GetTagIds() *change.StringArrayChange {
	if m != nil {
		return m.TagIds
	}
	return nil
}

func (m *StreamUpdate) GetLeagueOfLegendsChampionId() *change.StringChange {
	if m != nil {
		return m.LeagueOfLegendsChampionId
	}
	return nil
}

func (m *StreamUpdate) GetPubgPlayerAliveCount() *change.Int64Change {
	if m != nil {
		return m.PubgPlayerAliveCount
	}
	return nil
}

func (m *StreamUpdate) GetHearthstoneBroadcasterHeroClass() *change.StringChange {
	if m != nil {
		return m.HearthstoneBroadcasterHeroClass
	}
	return nil
}

func (m *StreamUpdate) GetHearthstoneGameMode() *change.StringChange {
	if m != nil {
		return m.HearthstoneGameMode
	}
	return nil
}

func (m *StreamUpdate) GetCsgoMap() *change.StringChange {
	if m != nil {
		return m.CsgoMap
	}
	return nil
}

func (m *StreamUpdate) GetOverwatchBroadcasterCharacter() *change.StringChange {
	if m != nil {
		return m.OverwatchBroadcasterCharacter
	}
	return nil
}

// An object representing the stream type change.
type StreamTypeChange struct {
	Updated              bool       `protobuf:"varint,1,opt,name=updated,proto3" json:"updated,omitempty"`
	Value                StreamType `protobuf:"varint,2,opt,name=value,proto3,enum=stream.StreamType" json:"value,omitempty"`
	HasOldValue          bool       `protobuf:"varint,3,opt,name=has_old_value,json=hasOldValue,proto3" json:"has_old_value,omitempty"`
	OldValue             StreamType `protobuf:"varint,4,opt,name=old_value,json=oldValue,proto3,enum=stream.StreamType" json:"old_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (m *StreamTypeChange) Reset()         { *m = StreamTypeChange{} }
func (m *StreamTypeChange) String() string { return proto.CompactTextString(m) }
func (*StreamTypeChange) ProtoMessage()    {}
func (*StreamTypeChange) Descriptor() ([]byte, []int) {
	return fileDescriptor_update_25fc6b724aa54ba1, []int{1}
}
func (m *StreamTypeChange) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_StreamTypeChange.Unmarshal(m, b)
}
func (m *StreamTypeChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_StreamTypeChange.Marshal(b, m, deterministic)
}
func (dst *StreamTypeChange) XXX_Merge(src proto.Message) {
	xxx_messageInfo_StreamTypeChange.Merge(dst, src)
}
func (m *StreamTypeChange) XXX_Size() int {
	return xxx_messageInfo_StreamTypeChange.Size(m)
}
func (m *StreamTypeChange) XXX_DiscardUnknown() {
	xxx_messageInfo_StreamTypeChange.DiscardUnknown(m)
}

var xxx_messageInfo_StreamTypeChange proto.InternalMessageInfo

func (m *StreamTypeChange) GetUpdated() bool {
	if m != nil {
		return m.Updated
	}
	return false
}

func (m *StreamTypeChange) GetValue() StreamType {
	if m != nil {
		return m.Value
	}
	return StreamType_STREAM_TYPE_INVALID
}

func (m *StreamTypeChange) GetHasOldValue() bool {
	if m != nil {
		return m.HasOldValue
	}
	return false
}

func (m *StreamTypeChange) GetOldValue() StreamType {
	if m != nil {
		return m.OldValue
	}
	return StreamType_STREAM_TYPE_INVALID
}

func init() {
	proto.RegisterType((*StreamUpdate)(nil), "stream.StreamUpdate")
	proto.RegisterType((*StreamTypeChange)(nil), "stream.StreamTypeChange")
	proto.RegisterEnum("stream.StreamType", StreamType_name, StreamType_value)
}

func init() { proto.RegisterFile("stream/update.proto", fileDescriptor_update_25fc6b724aa54ba1) }

var fileDescriptor_update_25fc6b724aa54ba1 = []byte{
	// 622 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x4b, 0x4f, 0xdb, 0x40,
	0x10, 0x80, 0x9b, 0x40, 0x1e, 0x4c, 0x00, 0xb9, 0x4b, 0x50, 0xdc, 0x07, 0x02, 0xe5, 0x84, 0x7a,
	0x08, 0x12, 0x54, 0xa8, 0x55, 0x4f, 0x21, 0x8d, 0x8a, 0xa5, 0x04, 0x52, 0x27, 0x50, 0xd1, 0xcb,
	0x6a, 0xe3, 0x1d, 0x6c, 0x57, 0x8e, 0xd7, 0xda, 0x5d, 0xa7, 0xca, 0xbd, 0xff, 0xa4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