// Code generated by protoc-gen-go. DO NOT EDIT.
// source: entitlement_badge/delete.proto

package entitlement_badge

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

// EntitlementBadgeDelete triggers when a user's badge entitlement is expired or otherwise removed.
type EntitlementBadgeDelete 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_badge.Source" json:"source,omitempty"`
	// ID for the badge 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 badge.
	BadgeOwnerUserId string `protobuf:"bytes,5,opt,name=badge_owner_user_id,json=badgeOwnerUserId,proto3" json:"badge_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.
	EndsAt *timestamp.Timestamp `protobuf:"bytes,8,opt,name=ends_at,json=endsAt,proto3" json:"ends_at,omitempty"`
	// Entitlement type is an additional logical grouping of badges.
	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 *EntitlementBadgeDelete) Reset()         { *m = EntitlementBadgeDelete{} }
func (m *EntitlementBadgeDelete) String() string { return proto.CompactTextString(m) }
func (*EntitlementBadgeDelete) ProtoMessage()    {}
func (*EntitlementBadgeDelete) Descriptor() ([]byte, []int) {
	return fileDescriptor_delete_ed976f21db13f2cf, []int{0}
}
func (m *EntitlementBadgeDelete) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_EntitlementBadgeDelete.Unmarshal(m, b)
}
func (m *EntitlementBadgeDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_EntitlementBadgeDelete.Marshal(b, m, deterministic)
}
func (dst *EntitlementBadgeDelete) XXX_Merge(src proto.Message) {
	xxx_messageInfo_EntitlementBadgeDelete.Merge(dst, src)
}
func (m *EntitlementBadgeDelete) XXX_Size() int {
	return xxx_messageInfo_EntitlementBadgeDelete.Size(m)
}
func (m *EntitlementBadgeDelete) XXX_DiscardUnknown() {
	xxx_messageInfo_EntitlementBadgeDelete.DiscardUnknown(m)
}

var xxx_messageInfo_EntitlementBadgeDelete proto.InternalMessageInfo

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

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

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

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

func (m *EntitlementBadgeDelete) GetBadgeOwnerUserId() string {
	if m != nil {
		return m.BadgeOwnerUserId
	}
	return ""
}

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

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

func (m *EntitlementBadgeDelete) GetEndsAt() *timestamp.Timestamp {
	if m != nil {
		return m.EndsAt
	}
	return nil
}

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

func init() {
	proto.RegisterType((*EntitlementBadgeDelete)(nil), "entitlement_badge.EntitlementBadgeDelete")
}

func init() {
	proto.RegisterFile("entitlement_badge/delete.proto", fileDescriptor_delete_ed976f21db13f2cf)
}

var fileDescriptor_delete_ed976f21db13f2cf = []byte{
	// 334 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xc1, 0x4a, 0xfb, 0x40,
	0x10, 0xc6, 0x49, 0xfe, 0xfd, 0xa7, 0xcd, 0x96, 0x16, 0xbb, 0x15, 0x8d, 0x15, 0xb4, 0xf4, 0xd4,
	0x4b, 0x13, 0x6c, 0x0f, 0x82, 0xb7, 0x16, 0x3d, 0xf4, 0x24, 0x54, 0xbd, 0x78, 0x09, 0x49, 0x76,
	0x0c, 0x0b, 0xdd, 0x6c, 0xd9, 0x9d, 0x28, 0xbe, 0x8a, 0xef, 0xe1, 0xc3, 0x79, 0x93, 0x4c, 0x5a,
	0x54, 0x2a, 0x78, 0xdb, 0x99, 0xf9, 0x7d, 0xdf, 0x0c, 0xdf, 0xb2, 0x33, 0x28, 0x50, 0xe2, 0x1a,
	0x14, 0x14, 0x18, 0xa7, 0x89, 0xc8, 0x21, 0x12, 0xb0, 0x06, 0x84, 0x70, 0x63, 0x34, 0x6a, 0xde,
	0xdb, 0x9b, 0x0f, 0x7e, 0x91, 0x64, 0x06, 0x92, 0x9d, 0x64, 0x70, 0x08, 0xcf, 0x50, 0x60, 0x5a,
	0xda, 0x48, 0xbf, 0x14, 0x60, 0xb6, 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