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

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

var fileDescriptor_update_831a15d4a679f449 = []byte{
	// 298 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0xd1, 0x4f, 0x4b, 0xf3, 0x30,
	0x1c, 0x07, 0xf0, 0x27, 0xdb, 0x9e, 0xb9, 0xfd, 0x44, 0x57, 0x22, 0xba, 0xba, 0xf9, 0x67, 0x78,
	0x1a, 0x1e, 0x26, 0xcc, 0xb3, 0x87, 0x6e, 0xf6, 0x10, 0xa8, 0x5d, 0xe9, 0xb2, 0xc1, 0xbc, 0x84,
	0xce, 0x06, 0x29, 0xb8, 0x26, 0xb4, 0xa9, 0xd0, 0xf7, 0xe3, 0xeb, 0xf2, 0xb5, 0x48, 0x53, 0x87,
	0x54, 0x7b, 0x4b, 0xbe, 0x9f, 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