// Code generated by protoc-gen-go. DO NOT EDIT.
// source: entitlement_drop_batch/create.proto

package entitlement_drop_batch

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

// EntitlementDropsBatchCreate triggers when an event occurs and several users are granted drops at once.
type EntitlementDropBatchCreate struct {
	// ID of the game that this involves.
	GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
	// The list of entitlements for this particular batch.
	Entitlements         []*Entitlement `protobuf:"bytes,2,rep,name=entitlements,proto3" json:"entitlements,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

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

var xxx_messageInfo_EntitlementDropBatchCreate proto.InternalMessageInfo

func (m *EntitlementDropBatchCreate) GetGameId() string {
	if m != nil {
		return m.GameId
	}
	return ""
}

func (m *EntitlementDropBatchCreate) GetEntitlements() []*Entitlement {
	if m != nil {
		return m.Entitlements
	}
	return nil
}

// Entitlement is the specific drop entitlement for a user.
type Entitlement struct {
	// ID of this entitlement.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Twitch User ID of the user receiving this entitlement.
	UserId               string   `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

var xxx_messageInfo_Entitlement proto.InternalMessageInfo

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

func (m *Entitlement) GetUserId() string {
	if m != nil {
		return m.UserId
	}
	return ""
}

func init() {
	proto.RegisterType((*EntitlementDropBatchCreate)(nil), "entitlement_drop_batch.EntitlementDropBatchCreate")
	proto.RegisterType((*Entitlement)(nil), "entitlement_drop_batch.Entitlement")
}

func init() {
	proto.RegisterFile("entitlement_drop_batch/create.proto", fileDescriptor_create_8a911d2497591cdd)
}

var fileDescriptor_create_8a911d2497591cdd = []byte{
	// 219 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0xcd, 0x2b, 0xc9,
	0x2c, 0xc9, 0x49, 0xcd, 0x4d, 0xcd, 0x2b, 0x89, 0x4f, 0x29, 0xca, 0x2f, 0x88, 0x4f, 0x4a, 0x2c,
	0x49, 0xce, 0xd0, 0x4f, 0x2e, 0x4a, 0x4d, 0x2c, 0x49, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17,
	0x12, 0xc3, 0xae, 0x48, 0x4a, 0x24, 0xb5, 0x2c, 0x35, 0xaf, 0x24, 0xa9, 0xb4, 0x58, 0x3f, 0xbf,
	0x3c, 0x2f, 0xb5, 0x08, 0xa2, 0x5a, 0x69, 0x16, 0x23, 0x97, 0x94, 0x2b, 0x42, 0x83, 0x4b, 0x51,
	0x7e, 0x81, 0x13, 0x48, 0xb9, 0x33, 0xd8, 0x48, 0x21, 0x71, 0x2e, 0xf6, 0xf4, 0xc4, 0xdc, 0xd4,
	0xf8, 0xcc, 0x14, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x36, 0x10, 0xd7, 0x33, 0x45, 0xc8,
	0x9d, 0x8b, 0x07, 0xc9, 0x9e, 0x62, 0x09, 0x26, 0x05, 0x66, 0x0d, 0x6e, 0x23, 0x65, 0x3d, 0xec,
	0x96, 0xeb, 0x21, 0x59, 0x11, 0x84, 0xa2, 0xd1, 0x4a, 0x6a, 0xd6, 0x56, 0x09, 0xb1, 0x92, 0xd4,
	0xc4, 0x5c, 0xdd, 0x94, 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