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

package content_tags

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
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

// ContentType represents the different types of content.
type ContentType int32

const (
	// Present because proto3 specifies enums must start with value 0
	ContentType_CONTENT_TYPE_INVALID      ContentType = 0
	ContentType_CONTENT_TYPE_LIVE_CHANNEL ContentType = 1
	ContentType_CONTENT_TYPE_VOD          ContentType = 2
	ContentType_CONTENT_TYPE_CLIP         ContentType = 3
	ContentType_CONTENT_TYPE_CATEGORY     ContentType = 4
)

var ContentType_name = map[int32]string{
	0: "CONTENT_TYPE_INVALID",
	1: "CONTENT_TYPE_LIVE_CHANNEL",
	2: "CONTENT_TYPE_VOD",
	3: "CONTENT_TYPE_CLIP",
	4: "CONTENT_TYPE_CATEGORY",
}
var ContentType_value = map[string]int32{
	"CONTENT_TYPE_INVALID":      0,
	"CONTENT_TYPE_LIVE_CHANNEL": 1,
	"CONTENT_TYPE_VOD":          2,
	"CONTENT_TYPE_CLIP":         3,
	"CONTENT_TYPE_CATEGORY":     4,
}

func (x ContentType) String() string {
	return proto.EnumName(ContentType_name, int32(x))
}
func (ContentType) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_update_00afae18ecfb9e2e, []int{0}
}

// ContentTagsUpdate triggers when the tags applied to a specific piece of content are changed.
type ContentTagsUpdate struct {
	// ID of modified content, e.g. user ID for content type LIVE_CHANNEL
	ContentId string `protobuf:"bytes,1,opt,name=content_id,json=contentId,proto3" json:"content_id,omitempty"`
	// ContentType of modified content
	ContentType ContentType `protobuf:"varint,2,opt,name=content_type,json=contentType,proto3,enum=content_tags.ContentType" json:"content_type,omitempty"`
	// The tags that are currently applied to the content. Could be empty if all were removed.
	Tags                 []*Tag   `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

var xxx_messageInfo_ContentTagsUpdate proto.InternalMessageInfo

func (m *ContentTagsUpdate) GetContentId() string {
	if m != nil {
		return m.ContentId
	}
	return ""
}

func (m *ContentTagsUpdate) GetContentType() ContentType {
	if m != nil {
		return m.ContentType
	}
	return ContentType_CONTENT_TYPE_INVALID
}

func (m *ContentTagsUpdate) GetTags() []*Tag {
	if m != nil {
		return m.Tags
	}
	return nil
}

// The Tag that is still applied to the specific content.
type Tag struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Map of locale -> localized name of tag for the content tag
	Localizations        map[string]string `protobuf:"bytes,3,rep,name=localizations,proto3" json:"localizations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

var xxx_messageInfo_Tag proto.InternalMessageInfo

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

func (m *Tag) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

func (m *Tag) GetLocalizations() map[string]string {
	if m != nil {
		return m.Localizations
	}
	return nil
}

func init() {
	proto.RegisterType((*ContentTagsUpdate)(nil), "content_tags.ContentTagsUpdate")
	proto.RegisterType((*Tag)(nil), "content_tags.Tag")
	proto.RegisterMapType((map[string]string)(nil), "content_tags.Tag.LocalizationsEntry")
	proto.RegisterEnum("content_tags.ContentType", ContentType_name, ContentType_value)
}

func init() { proto.RegisterFile("content_tags/update.proto", fileDescriptor_update_00afae18ecfb9e2e) }

var fileDescriptor_update_00afae18ecfb9e2e = []byte{
	// 376 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00,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