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

package ads_creator_incentive_offer_set

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

// AdsCreatorIncentiveOfferSetCreate triggers when a new Creator Incentive Offer Set is created.
type AdsCreatorIncentiveOfferSetCreate struct {
	// The id represents the unique identifier of the offer set.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The user_id represents the channel that the offers are presented to.
	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The campaign_id represents which campaign this offer set belongs to.
	CampaignId string `protobuf:"bytes,3,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"`
	// The selection_period_start_at represents the start time when the user can select the offer.
	SelectionPeriodStartAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=selection_period_start_at,json=selectionPeriodStartAt,proto3" json:"selection_period_start_at,omitempty"`
	// The offers represents all the offers in this offer set.
	Offers               []*AdsCreatorIncentiveOffer `protobuf:"bytes,5,rep,name=offers,proto3" json:"offers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

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

var xxx_messageInfo_AdsCreatorIncentiveOfferSetCreate proto.InternalMessageInfo

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

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

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

func (m *AdsCreatorIncentiveOfferSetCreate) GetSelectionPeriodStartAt() *timestamp.Timestamp {
	if m != nil {
		return m.SelectionPeriodStartAt
	}
	return nil
}

func (m *AdsCreatorIncentiveOfferSetCreate) GetOffers() []*AdsCreatorIncentiveOffer {
	if m != nil {
		return m.Offers
	}
	return nil
}

// AdsCreatorIncentiveOffer represents the offer we present to the user.
type AdsCreatorIncentiveOffer struct {
	// The id represents the unique identifier of the offer.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The start_at represents the start time of the offer.
	StartAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_at,json=startAt,proto3" json:"start_at,omitempty"`
	// The end_at represents the end time of the offer.
	EndAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_at,json=endAt,proto3" json:"end_at,omitempty"`
	// The requirements represent requirements for users.
	Requirement *AdsCreatorIncentiveOfferRequirement `protobuf:"bytes,4,opt,name=requirement,proto3" json:"requirement,omitempty"`
	// The rank reprensents the rank of the offer in the offer set.
	Rank                 int32    `protobuf:"varint,5,opt,name=rank,proto3" json:"rank,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

var xxx_messageInfo_AdsCreatorIncentiveOffer proto.InternalMessageInfo

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

func (m *AdsCreatorIncentiveOffer) GetStartAt() *timestamp.Timestamp {
	if m != nil {
		return m.StartAt
	}
	return nil
}

func (m *AdsCreatorIncentiveOffer) GetEndAt() *timestamp.Timestamp {
	if m != nil {
		return m.EndAt
	}
	return nil
}

func (m *AdsCreatorIncentiveOffer) GetRequirement() *AdsCreatorIncentiveOfferRequirement {
	if m != nil {
		return m.Requirement
	}
	return nil
}

func (m *AdsCreatorIncentiveOffer) GetRank() int32 {
	if m != nil {
		return m.Rank
	}
	return 0
}

// AdsCreatorIncentiveOfferRequirement represents the requirements the user should commit to in the offer.
type AdsCreatorIncentiveOfferRequirement struct {
	// The ad_density is the ad density requirement of the offer.
	AdDensity float32 `protobuf:"fixed32,1,opt,name=ad_density,json=adDensity,proto3" json:"ad_density,omitempty"`
	// The hours_broadcast is the hours broadcast requirement of the offer.
	HoursBroadcast       float32  `protobuf:"fixed32,2,opt,name=hours_broadcast,json=hoursBroadcast,proto3" json:"hours_broadcast,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

var xxx_messageInfo_AdsCreatorIncentiveOfferRequirement proto.InternalMessageInfo

func (m *AdsCreatorIncentiveOfferRequirement) GetAdDensity() float32 {
	if m != nil {
		return m.AdDensity
	}
	return 0
}

func (m *AdsCreatorIncentiveOfferRequirement) GetHoursBroadcast() float32 {
	if m != nil {
		return m.HoursBroadcast
	}
	return 0
}

func init() {
	proto.RegisterType((*AdsCreatorIncentiveOfferSetCreate)(nil), "ads_creator_incentive_offer_set.AdsCreatorIncentiveOfferSetCreate")
	proto.RegisterType((*AdsCreatorIncentiveOffer)(nil), "ads_creator_incentive_offer_set.AdsCreatorIncentiveOffer")
	proto.RegisterType((*AdsCreatorIncentiveOfferRequirement)(nil), "ads_creator_incentive_offer_set.AdsCreatorIncentiveOfferRequirement")
}

func init() {
	proto.RegisterFile("ads_creator_incentive_offer_set/create.proto", fileDescriptor_create_ea77f22bb4a6b5f9)
}

var fileDescriptor_create_ea77f22bb4a6b5f9 = []byte{
	// 415 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x41, 0x6f, 0xd4, 0x30,
	0x10, 0x85, 0xb5, 0xde, 0xee, 0xb6, 0x9d, 0x45, 0x45, 0xb2, 0x10, 0x84, 0x95, 0xd0, 0xa6, 0xcb,
	0x81, 0x1c, 0x20, 0x11, 0x45, 0x1c, 0xe0, 0xb6, 0xa5, 0x97, 0x3d, 0x01, 0x29, 0x5c, 0xb8, 0x58,
	0x4e, 0x3c, 0x59, 0x2c, 0x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