// 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 _ "code.justin.tv/eventbus/schema/pkg/eventbus/owner"
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_88adf59149e85756, []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_88adf59149e85756)
}

var fileDescriptor_update_88adf59149e85756 = []byte{
	// 356 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xcf, 0x6e, 0xda, 0x40,
	0x10, 0xc6, 0x65, 0x97, 0x1a, 0xbc, 0x08, 0x54, 0x96, 0xfe, 0x71, 0xa9, 0xd4, 0x5a, 0x9c, 0xb8,
	0xb0, 0x56, 0xe9, 0xa1, 0x6a, 0x6f, 0xb4, 0xe2, 0xc0, 0xa9, 0x92, 0x5b, 0x2e, 0xbd, 0x58, 0xc6,
	0x3b, 0x71, 0x56, 0x62, 0xbd, 0xd6, 0x7a, 0x9c, 0x28, 0xaf, 0x92, 0xf7, 0xc8, 0xf3, 0x25, 0xf2,
	0x18, 0x93, 0x44, 0xe4, 0xe6, 0xf9, 0xe6, 0xfb, 0xcd, 0x8c, 0x3f, 0x2d, 0xfb, 0x0c, 0x05, 0x2a,
	0x3c, 0x80, 0x86, 0x02, 0x13, 0xd0, 0x06, 0x21, 0xaa, 0x4b, 0x99, 0x22, 0x88, 0xd2, 0x1a, 0x34,
	0x7c, 0x72, 0xd6, 0x9f, 0xbd, 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