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

package channel

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

// ChannelUpdate is triggered when a user changes properties on their channel.
//
// Other than the 'user_id' field which is always included, all the
// other fields are optional and not necessarily included in all events.
// Clients should anticipate this depending on user actions and not rely
// on getting the entire range of values.
type ChannelUpdate struct {
	// The user owning the channel.
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The attributes that can also be reflected in a live broadcast.
	BroadcastSettings *BroadcastSettingsUpdate `protobuf:"bytes,2,opt,name=broadcast_settings,json=broadcastSettings,proto3" json:"broadcast_settings,omitempty"`
	// This channel is intended for mature audiences only.
	Mature *change.BoolChange `protobuf:"bytes,3,opt,name=mature,proto3" json:"mature,omitempty"`
	// This channel is hidden from its directory.
	DirectoryHidden *change.BoolChange `protobuf:"bytes,4,opt,name=directory_hidden,json=directoryHidden,proto3" json:"directory_hidden,omitempty"`
	// Disable chat
	DisableChat *change.BoolChange `protobuf:"bytes,5,opt,name=disable_chat,json=disableChat,proto3" json:"disable_chat,omitempty"`
	// If set, redirect this channel to another channel's user ID
	RedirectUserId       *change.StringChange `protobuf:"bytes,6,opt,name=redirect_user_id,json=redirectUserId,proto3" json:"redirect_user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

var xxx_messageInfo_ChannelUpdate proto.InternalMessageInfo

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

func (m *ChannelUpdate) GetBroadcastSettings() *BroadcastSettingsUpdate {
	if m != nil {
		return m.BroadcastSettings
	}
	return nil
}

func (m *ChannelUpdate) GetMature() *change.BoolChange {
	if m != nil {
		return m.Mature
	}
	return nil
}

func (m *ChannelUpdate) GetDirectoryHidden() *change.BoolChange {
	if m != nil {
		return m.DirectoryHidden
	}
	return nil
}

func (m *ChannelUpdate) GetDisableChat() *change.BoolChange {
	if m != nil {
		return m.DisableChat
	}
	return nil
}

func (m *ChannelUpdate) GetRedirectUserId() *change.StringChange {
	if m != nil {
		return m.RedirectUserId
	}
	return nil
}

// The subset of settings that are cloned to a live broadcast.
type BroadcastSettingsUpdate struct {
	// The software being used to perform this stream.
	Software *change.StringChange `protobuf:"bytes,1,opt,name=software,proto3" json:"software,omitempty"`
	// Language is an ISO-639-1 two-letter language code e.g. 'en'
	Language *change.StringChange `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`
	// Game ID is the game that will be broadcast.
	GameId *change.StringChange `protobuf:"bytes,3,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
	// Deprecated field. Please use the `status` field instead.
	Title *change.StringChange `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` // Deprecated: Do not use.
	// Title that the user sets for the channel.
	Status               *change.StringChange `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

var xxx_messageInfo_BroadcastSettingsUpdate proto.InternalMessageInfo

func (m *BroadcastSettingsUpdate) GetSoftware() *change.StringChange {
	if m != nil {
		return m.Software
	}
	return nil
}

func (m *BroadcastSettingsUpdate) GetLanguage() *change.StringChange {
	if m != nil {
		return m.Language
	}
	return nil
}

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

// Deprecated: Do not use.
func (m *BroadcastSettingsUpdate) GetTitle() *change.StringChange {
	if m != nil {
		return m.Title
	}
	return nil
}

func (m *BroadcastSettingsUpdate) GetStatus() *change.StringChange {
	if m != nil {
		return m.Status
	}
	return nil
}

func init() {
	proto.RegisterType((*ChannelUpdate)(nil), "channel.ChannelUpdate")
	proto.RegisterType((*BroadcastSettingsUpdate)(nil), "channel.BroadcastSettingsUpdate")
}

func init() { proto.RegisterFile("channel/update.proto", fileDescriptor_update_ca80a04474448e08) }

var fileDescriptor_update_ca80a04474448e08 = []byte{
	// 356 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x4f, 0x4b, 0xfb, 0x30,
	0x18, 0xc7, 0x69, 0xf7, 0x5b, 0xf7, 0x5b, 0xe6, 0x9f, 0x19, 0x94, 0x15, 0x45, 0x18, 0x3b, 0xed,
	0xd4, 0x81, 0x43, 0xc5, 0x8b, 0x87, 0x0e, 0xd4, 0x9d, 0x84, 0x8e, 0x5d, 0xbc, 0x94, 0xb4, 0x79,
	0x6c, 0x0b, 0x5d, 0x33, 0x92, 0xa7, 0x8a, 0xaf, 0xcc, 0x97, 0xa7, 0x34, 0x4d, 0x77, 0x50, 0xb4,
	0xde, 0xda, 0xe4, 0xf3, 0xf9, 0x26, 0x79, 0x9e, 0x87, 0x1c, 0xc7, 0x29, 0x2b, 0x0a, 0xc8, 0x67,
	0xe5, 0x96, 0x33, 0x04, 0x6f, 0x2b, 0x05, 0x0a, 0xda, 0x33, 0xab, 0xa7, 0x27, 0xf0, 0x02, 0x05,
	0x46, 0xa5, 0x9a, 0x55, 0x2b, 0x89, 0xd9, 0x9f, 0x7c, 0xd8, 0x64, 0x7f, 0x51, 0x23, 0x6b, 0xed,
	0xd1, 0x11, 0xe9, 0x95, 0x0a, 0x64, 0x98, 0x71, 0xd7, 0x1a, 0x5b, 0xd3, 0x7e, 0xe0, 0x54, 0xbf,
	0x4b, 0x4e, 0x1f, 0x09, 0x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