// Code generated by protoc-gen-go. DO NOT EDIT.
// source: bounty_status/update.proto

package bounty_status

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

// BountyEventType is the event type for describing this event for.
type BountyEventType int32

const (
	// Present because proto3 specifies enums must start with value 0.
	BountyEventType_BOUNTY_EVENT_TYPE_INVALID BountyEventType = 0
	// CLAIM indicates the event is for a broadcaster claimed a bounty from Bounty Board.
	BountyEventType_BOUNTY_EVENT_TYPE_CLAIM BountyEventType = 1
	// CANCEL indicates the event that the broadcaster has cancelled this bounty.
	BountyEventType_BOUNTY_EVENT_TYPE_CANCEL BountyEventType = 2
	// START indicates the event that the broadcaster started doing this bounty.
	BountyEventType_BOUNTY_EVENT_TYPE_START BountyEventType = 3
	// STOP indicates the event that the broadcaster stopped the bounty promotional streaming.
	BountyEventType_BOUNTY_EVENT_TYPE_STOP BountyEventType = 4
)

var BountyEventType_name = map[int32]string{
	0: "BOUNTY_EVENT_TYPE_INVALID",
	1: "BOUNTY_EVENT_TYPE_CLAIM",
	2: "BOUNTY_EVENT_TYPE_CANCEL",
	3: "BOUNTY_EVENT_TYPE_START",
	4: "BOUNTY_EVENT_TYPE_STOP",
}
var BountyEventType_value = map[string]int32{
	"BOUNTY_EVENT_TYPE_INVALID": 0,
	"BOUNTY_EVENT_TYPE_CLAIM":   1,
	"BOUNTY_EVENT_TYPE_CANCEL":  2,
	"BOUNTY_EVENT_TYPE_START":   3,
	"BOUNTY_EVENT_TYPE_STOP":    4,
}

func (x BountyEventType) String() string {
	return proto.EnumName(BountyEventType_name, int32(x))
}
func (BountyEventType) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_update_72182872be427aa2, []int{0}
}

// BountyStatusUpdate triggers when a bounty status changed.
type BountyStatusUpdate struct {
	// The bounty_id represents the identifier for a bounty (On Broadcaster side) from Bounty Board (Format as Version 4 UUID).
	BountyId string `protobuf:"bytes,1,opt,name=bounty_id,json=bountyId,proto3" json:"bounty_id,omitempty"`
	// The campaign_id represents the identifier for a campaign (On Brand side) that the bounty associated to (Format as Version 4 UUID).
	CampaignId string `protobuf:"bytes,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"`
	// The user_id represents the identifier for a broadcaster which this bounty belongs to.
	UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The is_promotional_bounty represents whether the bounty is a promotional bounty for expanding viewers.
	IsPromotionalBounty bool `protobuf:"varint,4,opt,name=is_promotional_bounty,json=isPromotionalBounty,proto3" json:"is_promotional_bounty,omitempty"`
	// The event_type of the bounty event(Claim, Cancel, Start or Stop).
	EventType            BountyEventType `protobuf:"varint,5,opt,name=event_type,json=eventType,proto3,enum=bounty_status.BountyEventType" json:"event_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

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

var xxx_messageInfo_BountyStatusUpdate proto.InternalMessageInfo

func (m *BountyStatusUpdate) GetBountyId() string {
	if m != nil {
		return m.BountyId
	}
	return ""
}

func (m *BountyStatusUpdate) GetCampaignId() string {
	if m != nil {
		return m.CampaignId
	}
	return ""
}

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

func (m *BountyStatusUpdate) GetIsPromotionalBounty() bool {
	if m != nil {
		return m.IsPromotionalBounty
	}
	return false
}

func (m *BountyStatusUpdate) GetEventType() BountyEventType {
	if m != nil {
		return m.EventType
	}
	return BountyEventType_BOUNTY_EVENT_TYPE_INVALID
}

func init() {
	proto.RegisterType((*BountyStatusUpdate)(nil), "bounty_status.BountyStatusUpdate")
	proto.RegisterEnum("bounty_status.BountyEventType", BountyEventType_name, BountyEventType_value)
}

func init() { proto.RegisterFile("bounty_status/update.proto", fileDescriptor_update_72182872be427aa2) }

var fileDescriptor_update_72182872be427aa2 = []byte{
	// 329 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0xcb, 0x4e, 0xf2, 0x40,
	0x14, 0xc7, 0xbf, 0x01, 0x3e, 0x84, 0xe3, 0x85, 0x66, 0xbc, 0x50, 0xc1, 0x0b, 0x71, 0x45, 0x4c,
	0x84, 0x04, 0x77, 0x26, 0x2e, 0x0a, 0x76, 0xd1, 0x04, 0x0b, 0x29, 0x85, 0x04, 0x37, 0x93, 0xc1,
	0x4e, 0x4c, 0x13, 0xe9, 0x4c, 0x3a, 0x53, 0x0d, 0xaf, 0xe2, 0xda, 0x57, 0xf0, 0xad, 0x7c, 0x08,
	0xd3, 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