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

package boost_order

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

// BoostOrderDelete triggers when a Boost Order is cancelled.
type BoostOrderDelete struct {
	// The unique identifier of the Boost Order
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The type of Boost Order (whether paid or earned)
	Type OrderType `protobuf:"varint,2,opt,name=type,proto3,enum=boost_order.OrderType" json:"type,omitempty"`
	// The state of the Boost Order
	State OrderState `protobuf:"varint,3,opt,name=state,proto3,enum=boost_order.OrderState" json:"state,omitempty"`
	// The current progress of the Boost Order being fulfilled
	GoalProgress int64 `protobuf:"varint,4,opt,name=goal_progress,json=goalProgress,proto3" json:"goal_progress,omitempty"`
	// The the total progress required for a Boost Order to be fulfilled
	GoalTarget int64 `protobuf:"varint,5,opt,name=goal_target,json=goalTarget,proto3" json:"goal_target,omitempty"`
	// Twitch User ID of who Boost Order was redeemed for
	BoostOwnerId string `protobuf:"bytes,6,opt,name=boost_owner_id,json=boostOwnerId,proto3" json:"boost_owner_id,omitempty"`
	// Twitch User ID Identifier of who made the Boost Order (only applicable for paid)
	PurchaserId string `protobuf:"bytes,7,opt,name=purchaser_id,json=purchaserId,proto3" json:"purchaser_id,omitempty"`
	// The total quantity of Boosts within the Boost Order
	Quantity int64 `protobuf:"varint,8,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// The time at which the Boost Order was created
	OpenedAt *timestamp.Timestamp `protobuf:"bytes,9,opt,name=opened_at,json=openedAt,proto3" json:"opened_at,omitempty"`
	// The time at which the Boost Order was fulfilled
	FulfilledAt          *timestamp.Timestamp `protobuf:"bytes,10,opt,name=fulfilled_at,json=fulfilledAt,proto3" json:"fulfilled_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

var xxx_messageInfo_BoostOrderDelete proto.InternalMessageInfo

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

func (m *BoostOrderDelete) GetType() OrderType {
	if m != nil {
		return m.Type
	}
	return OrderType_ORDER_TYPE_INVALID
}

func (m *BoostOrderDelete) GetState() OrderState {
	if m != nil {
		return m.State
	}
	return OrderState_ORDER_STATE_INVALID
}

func (m *BoostOrderDelete) GetGoalProgress() int64 {
	if m != nil {
		return m.GoalProgress
	}
	return 0
}

func (m *BoostOrderDelete) GetGoalTarget() int64 {
	if m != nil {
		return m.GoalTarget
	}
	return 0
}

func (m *BoostOrderDelete) GetBoostOwnerId() string {
	if m != nil {
		return m.BoostOwnerId
	}
	return ""
}

func (m *BoostOrderDelete) GetPurchaserId() string {
	if m != nil {
		return m.PurchaserId
	}
	return ""
}

func (m *BoostOrderDelete) GetQuantity() int64 {
	if m != nil {
		return m.Quantity
	}
	return 0
}

func (m *BoostOrderDelete) GetOpenedAt() *timestamp.Timestamp {
	if m != nil {
		return m.OpenedAt
	}
	return nil
}

func (m *BoostOrderDelete) GetFulfilledAt() *timestamp.Timestamp {
	if m != nil {
		return m.FulfilledAt
	}
	return nil
}

func init() {
	proto.RegisterType((*BoostOrderDelete)(nil), "boost_order.BoostOrderDelete")
}

func init() { proto.RegisterFile("boost_order/delete.proto", fileDescriptor_delete_e22cb0bcf1202448) }

var fileDescriptor_delete_e22cb0bcf1202448 = []byte{
	// 362 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xbd, 0x6a, 0xe3, 0x40,
	0x10, 0xc7, 0x91, 0xbf, 0x4e, 0x5e, 0xc9, 0xe6, 0x58, 0x8e, 0xbb, 0x45, 0x8d, 0x75, 0x1f, 0x85,
	0x38, 0xb0, 0x04, 0x4e, 0x11, 0x08, 0xa4, 0xb0, 0x49, 0xe3, 0xca, 0x41, 0x71, 0x95, 0x46, 0xac,
	0xbc, 0x63, 0x45, 0x20, 0x6b, 0x95, 0xdd, 0x51, 0x82, 0x5f, 0x25, 0x0f, 0x91, 0x2e, 0xef, 0x17,
	0xb4, 0xb2, 0x8d, 0x43, 0x8a, 0x94, 0xfb, 0x9b, 0xdf, 0x7f, 0x66, 0x34, 0x88, 0xb0, 0x54, 0x4a,
	0x8d, 0x89, 0x54, 0x02, 0x54, 0x24, 0xa0, 0x00, 0x84, 0xb0, 0x52, 0x12, 0x25, 0x75, 0xce, 0x2a,
	0xde, 0x07, 0x6d, 0xa3, 0x80, 0x1f, 0x35, 0xef, 0x07, 0x3c, 0x41, 0x89, 0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