// 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"
import _ "code.justin.tv/eventbus/schema/pkg/eventbus/owner"

// 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"`
	// The user requesting the channel update
	EditorUserId         string   `protobuf:"bytes,7,opt,name=editor_user_id,json=editorUserId,proto3" json:"editor_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_3d7328e140ae7bd7, []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
}

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

// 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_3d7328e140ae7bd7, []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_3d7328e140ae7bd7) }

var fileDescriptor_update_3d7328e140ae7bd7 = []byte{
	// 402 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcf, 0x8e, 0xd3, 0x30,
	0x10, 0xc6, 0x95, 0x96, 0x4d, 0x58, 0xef, 0x1f, 0x76, 0xad, 0x45, 0x1b, 0x2d, 0x42, 0xaa, 0x56,
	0x1c, 0x7a, 0x21, 0x95, 0xa8, 0x00, 0xc1, 0x81, 0x43, 0x2a, 0x01, 0x3d, 0x21, 0xa5, 0xea, 0x85,
	0x4b, 0xe4, 0xc4, 0x43, 0x62, 0x29, 0xb5, 0x2b, 0x7b, 0x42, 0xd5, 0x57, 0xe1, 0x3d, 0x10, 0x3c,
	0x1e, 0x8a, 0xed, 0xe4, 0x00, 0x82, 0x70, 0x4b, 0x3e, 0x7f, 0xbf, 0xcf, 0xe3, 0x19, 0x0d, 0xb9,
	0x29, 0x6b, 0x26, 0x25, 0x34, 0x8b, 0x76, 0xcf, 0x19, 0x42, 0xb2, 0xd7, 0x0a, 0x15, 0x8d, 0xbc,
	0x7a, 0xf7, 0x18, 0xbe, 0x82, 0xc4, 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