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

package entitlement_emote

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

// 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

// EntitlementEmoteUpdate triggers when a user's emote entitlement's ends_at is updated.
// ends_at is the only possible value that can change.
type EntitlementEmoteUpdate struct {
	// Entitlement ID
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Twitch User ID of the user who owns this entitlement.
	OwnerUserId string `protobuf:"bytes,2,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"`
	// The feature the entitlement came from.
	Source Source `protobuf:"varint,3,opt,name=source,proto3,enum=entitlement_emote.Source" json:"source,omitempty"`
	// ID for the emote or emote group the user is entitled for.
	ItemId string `protobuf:"bytes,4,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	// Twitch User ID of the broadcaster who created and owns this emote.
	EmoteOwnerUserId string `protobuf:"bytes,5,opt,name=emote_owner_user_id,json=emoteOwnerUserId,proto3" json:"emote_owner_user_id,omitempty"`
	// Identifier for the origin object that caused this entitlement.
	// It is a reference to the broader context mostly used for deletion/modifications of entitlements that came from the same context.
	OriginId string `protobuf:"bytes,6,opt,name=origin_id,json=originId,proto3" json:"origin_id,omitempty"`
	// When the entitlement starts.
	StartsAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=starts_at,json=startsAt,proto3" json:"starts_at,omitempty"`
	// When the entitlement expires. This value can be updated.
	EndsAt *change.TimestampChange `protobuf:"bytes,8,opt,name=ends_at,json=endsAt,proto3" json:"ends_at,omitempty"`
	// Entitlement type is an additional logical grouping of contents. For emotes, possible values include emote and emote group.
	Type                 string   `protobuf:"bytes,9,opt,name=type,proto3" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

var xxx_messageInfo_EntitlementEmoteUpdate proto.InternalMessageInfo

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

func (m *EntitlementEmoteUpdate) GetOwnerUserId() string {
	if m != nil {
		return m.OwnerUserId
	}
	return ""
}

func (m *EntitlementEmoteUpdate) GetSource() Source {
	if m != nil {
		return m.Source
	}
	return Source_SOURCE_INVALID
}

func (m *EntitlementEmoteUpdate) GetItemId() string {
	if m != nil {
		return m.ItemId
	}
	return ""
}

func (m *EntitlementEmoteUpdate) GetEmoteOwnerUserId() string {
	if m != nil {
		return m.EmoteOwnerUserId
	}
	return ""
}

func (m *EntitlementEmoteUpdate) GetOriginId() string {
	if m != nil {
		return m.OriginId
	}
	return ""
}

func (m *EntitlementEmoteUpdate) GetStartsAt() *timestamp.Timestamp {
	if m != nil {
		return m.StartsAt
	}
	return nil
}

func (m *EntitlementEmoteUpdate) GetEndsAt() *change.TimestampChange {
	if m != nil {
		return m.EndsAt
	}
	return nil
}

func (m *EntitlementEmoteUpdate) GetType() string {
	if m != nil {
		return m.Type
	}
	return ""
}

func init() {
	proto.RegisterType((*EntitlementEmoteUpdate)(nil), "entitlement_emote.EntitlementEmoteUpdate")
}

func init() {
	proto.RegisterFile("entitlement_emote/update.proto", fileDescriptor_update_92bbbd4e4e896e3f)
}

var fileDescriptor_update_92bbbd4e4e896e3f = []byte{
	// 329 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0x41, 0x4f, 0xea, 0x40,
	0x14, 0x85, 0xd3, 0x3e, 0x5e, 0xa1, 0x43, 0x1e, 0x79, 0x0e, 0x51, 0x2b, 0x26, 0xda, 0xb0, 0x62,
	0xe3, 0x34, 0xe2, 0xc2, 0xb8, 0x44, 0xc3, 0x82, 0x95, 0x49, 0x95, 0x8d, 0x9b, 0xa6, 0x30, 0xd7,
	0x3a, 0x09, 0xed, 0x34, 0x33, 0xb7, 0x1a, 0xff, 0xb3, 0x3f, 0xc2, 0xf4, 0x96, 0xa2, 0x06, 0x77,
	0xbd, 0xf7, 0x9e, 0xef, 0xcc, 0xc9, 0x29, 0x3b, 0x83, 0x02, 0x15, 0x6e, 0x20, 0x87, 0x02, 0x13,
	0xc8, 0x35, 0x42, 0x54, 0x95, 0x32, 0x45, 0x10, 0xa5, 0xd1, 0xa8, 0xf9, 0xc1, 0xde, 0x7d, 0xf4,
	0x0b, 0xb2, 0x36, 0xb0, 0x43, 0x46, 0x87, 0xf0, 0x0a, 0x05, 0xae,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