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

// 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_35800122ab8a73f0, []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_35800122ab8a73f0, []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_35800122ab8a73f0)
}

var fileDescriptor_create_35800122ab8a73f0 = []byte{
	// 171 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, 0xa9, 0x8e, 0x4b, 0xca, 0x15, 0x21, 0xe3, 0x52, 0x94, 0x5f, 0xe0, 0x04,
	0x12, 0x77, 0x06, 0xeb, 0x15, 0x12, 0xe7, 0x62, 0x4f, 0x4f, 0xcc, 0x4d, 0x8d, 0xcf, 0x4c, 0x91,
	0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0x62, 0x03, 0x71, 0x3d, 0x53, 0x84, 0xdc, 0xb9, 0x78, 0x90,
	0x0c, 0x2c, 0x96, 0x60, 0x52, 0x60, 0xd6, 0xe0, 0x36, 0x52, 0xd6, 0xc3, 0x6e, 0x8b, 0x1e, 0x92,
	0x15, 0x41, 0x28, 0x1a, 0x95, 0xcc, 0xb8, 0xb8, 0x91, 0x24, 0x85, 0xf8, 0xb8, 0x98, 0xe0, 0x76,
	0x31, 0x65, 0xa6, 0x80, 0x1c, 0x50, 0x5a, 0x9c, 0x5a, 0x04, 0x72, 0x00, 0x13, 0xc4, 0x01, 0x20,
	0xae, 0x67, 0x8a, 0x93, 0x44, 0x14, 0x0e, 0x1f, 0x25, 0xb1, 0x81, 0x3d, 0x6c, 0x0c, 0x08, 0x00,
	0x00, 0xff, 0xff, 0x11, 0x20, 0x52, 0xab, 0x17, 0x01, 0x00, 0x00,
}
