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

package promotion_impression

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

// PromotionType refers to the different types of campaigns that can be run.
type PromotionType int32

const (
	PromotionType_PROMOTION_TYPE_INVALID         PromotionType = 0
	PromotionType_PROMOTION_TYPE_GAMEPLAY_PLUS   PromotionType = 1
	PromotionType_PROMOTION_TYPE_COMMUNITY_BOOST PromotionType = 2
	PromotionType_PROMOTION_TYPE_NEW_PARTNER     PromotionType = 3
	PromotionType_PROMOTION_TYPE_HIGH_AD_DENSITY PromotionType = 4
)

var PromotionType_name = map[int32]string{
	0: "PROMOTION_TYPE_INVALID",
	1: "PROMOTION_TYPE_GAMEPLAY_PLUS",
	2: "PROMOTION_TYPE_COMMUNITY_BOOST",
	3: "PROMOTION_TYPE_NEW_PARTNER",
	4: "PROMOTION_TYPE_HIGH_AD_DENSITY",
}
var PromotionType_value = map[string]int32{
	"PROMOTION_TYPE_INVALID":         0,
	"PROMOTION_TYPE_GAMEPLAY_PLUS":   1,
	"PROMOTION_TYPE_COMMUNITY_BOOST": 2,
	"PROMOTION_TYPE_NEW_PARTNER":     3,
	"PROMOTION_TYPE_HIGH_AD_DENSITY": 4,
}

func (x PromotionType) String() string {
	return proto.EnumName(PromotionType_name, int32(x))
}
func (PromotionType) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_create_93e100ca64c129cb, []int{0}
}

// GoalMetric refers to the unit of measurement used to track progress of a campaign.
type GoalMetric int32

const (
	GoalMetric_GOAL_METRIC_INVALID     GoalMetric = 0
	GoalMetric_GOAL_METRIC_IMPRESSIONS GoalMetric = 1
	GoalMetric_GOAL_METRIC_CLICKS      GoalMetric = 2
	GoalMetric_GOAL_METRIC_VIDEO_PLAYS GoalMetric = 3
)

var GoalMetric_name = map[int32]string{
	0: "GOAL_METRIC_INVALID",
	1: "GOAL_METRIC_IMPRESSIONS",
	2: "GOAL_METRIC_CLICKS",
	3: "GOAL_METRIC_VIDEO_PLAYS",
}
var GoalMetric_value = map[string]int32{
	"GOAL_METRIC_INVALID":     0,
	"GOAL_METRIC_IMPRESSIONS": 1,
	"GOAL_METRIC_CLICKS":      2,
	"GOAL_METRIC_VIDEO_PLAYS": 3,
}

func (x GoalMetric) String() string {
	return proto.EnumName(GoalMetric_name, int32(x))
}
func (GoalMetric) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_create_93e100ca64c129cb, []int{1}
}

// PromotionLocation refers to the surface on Twitch where a stream will be placed as part of its promotion.
type PromotionLocation int32

const (
	PromotionLocation_PROMOTION_LOCATION_INVALID                   PromotionLocation = 0
	PromotionLocation_PROMOTION_LOCATION_SIDE_NAV                  PromotionLocation = 1
	PromotionLocation_PROMOTION_LOCATION_HOMEPAGE_LIVE_RECOMMENDED PromotionLocation = 2
	PromotionLocation_PROMOTION_LOCATION_SIDE_NAV_RECOMMENDED      PromotionLocation = 3
)

var PromotionLocation_name = map[int32]string{
	0: "PROMOTION_LOCATION_INVALID",
	1: "PROMOTION_LOCATION_SIDE_NAV",
	2: "PROMOTION_LOCATION_HOMEPAGE_LIVE_RECOMMENDED",
	3: "PROMOTION_LOCATION_SIDE_NAV_RECOMMENDED",
}
var PromotionLocation_value = map[string]int32{
	"PROMOTION_LOCATION_INVALID":                   0,
	"PROMOTION_LOCATION_SIDE_NAV":                  1,
	"PROMOTION_LOCATION_HOMEPAGE_LIVE_RECOMMENDED": 2,
	"PROMOTION_LOCATION_SIDE_NAV_RECOMMENDED":      3,
}

func (x PromotionLocation) String() string {
	return proto.EnumName(PromotionLocation_name, int32(x))
}
func (PromotionLocation) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_create_93e100ca64c129cb, []int{2}
}

// PromotionImpressionCreate triggers every time content is promoted to a viewer.
type PromotionImpressionCreate struct {
	// The unique item tracking id associated with a given promotion shown to a given user on page load. (Formatted as Version 4 UUID.)
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Metadata associated with the campaign being promoted.
	PromotionsCampaign *PromotionsCampaign `protobuf:"bytes,2,opt,name=promotions_campaign,json=promotionsCampaign,proto3" json:"promotions_campaign,omitempty"`
	// Metadata associated with the client.
	UserContext *UserContext `protobuf:"bytes,3,opt,name=user_context,json=userContext,proto3" json:"user_context,omitempty"`
	// The surface on Twitch where the promotion is placed.
	PromotionLocation    PromotionLocation `protobuf:"varint,4,opt,name=promotion_location,json=promotionLocation,proto3,enum=promotion_impression.PromotionLocation" json:"promotion_location,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

var xxx_messageInfo_PromotionImpressionCreate proto.InternalMessageInfo

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

func (m *PromotionImpressionCreate) GetPromotionsCampaign() *PromotionsCampaign {
	if m != nil {
		return m.PromotionsCampaign
	}
	return nil
}

func (m *PromotionImpressionCreate) GetUserContext() *UserContext {
	if m != nil {
		return m.UserContext
	}
	return nil
}

func (m *PromotionImpressionCreate) GetPromotionLocation() PromotionLocation {
	if m != nil {
		return m.PromotionLocation
	}
	return PromotionLocation_PROMOTION_LOCATION_INVALID
}

// PromotionsCampaign contains information about a promotional campaign.
type PromotionsCampaign struct {
	// The unique id of the promotions campaign. (Formatted as Version 4 UUID.)
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The unique id of the channel/creator being promoted (not the display name).
	PromotedCreatorId string `protobuf:"bytes,2,opt,name=promoted_creator_id,json=promotedCreatorId,proto3" json:"promoted_creator_id,omitempty"`
	// The type of the promotional campaign.
	PromotionType PromotionType `protobuf:"varint,3,opt,name=promotion_type,json=promotionType,proto3,enum=promotion_impression.PromotionType" json:"promotion_type,omitempty"`
	// The metric used to measure progress of the campaign.
	GoalMetric           GoalMetric `protobuf:"varint,4,opt,name=goal_metric,json=goalMetric,proto3,enum=promotion_impression.GoalMetric" json:"goal_metric,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

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

var xxx_messageInfo_PromotionsCampaign proto.InternalMessageInfo

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

func (m *PromotionsCampaign) GetPromotedCreatorId() string {
	if m != nil {
		return m.PromotedCreatorId
	}
	return ""
}

func (m *PromotionsCampaign) GetPromotionType() PromotionType {
	if m != nil {
		return m.PromotionType
	}
	return PromotionType_PROMOTION_TYPE_INVALID
}

func (m *PromotionsCampaign) GetGoalMetric() GoalMetric {
	if m != nil {
		return m.GoalMetric
	}
	return GoalMetric_GOAL_METRIC_INVALID
}

// UserContext contains information about a user/client.
type UserContext struct {
	// The device id of the client visiting Twitch.
	DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// The id of a logged-in user, or null for a user who isn't logged in.
	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The platform being used to access Twitch, i.e. web, mobile_web, ios, android, etc.
	Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
	// A 2-character country code generated by IP geolocation.
	Country string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"`
	// The languages in a user's language cookie.
	Languages            []string `protobuf:"bytes,5,rep,name=languages,proto3" json:"languages,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

var xxx_messageInfo_UserContext proto.InternalMessageInfo

func (m *UserContext) GetDeviceId() string {
	if m != nil {
		return m.DeviceId
	}
	return ""
}

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

func (m *UserContext) GetPlatform() string {
	if m != nil {
		return m.Platform
	}
	return ""
}

func (m *UserContext) GetCountry() string {
	if m != nil {
		return m.Country
	}
	return ""
}

func (m *UserContext) GetLanguages() []string {
	if m != nil {
		return m.Languages
	}
	return nil
}

func init() {
	proto.RegisterType((*PromotionImpressionCreate)(nil), "promotion_impression.PromotionImpressionCreate")
	proto.RegisterType((*PromotionsCampaign)(nil), "promotion_impression.PromotionsCampaign")
	proto.RegisterType((*UserContext)(nil), "promotion_impression.UserContext")
	proto.RegisterEnum("promotion_impression.PromotionType", PromotionType_name, PromotionType_value)
	proto.RegisterEnum("promotion_impression.GoalMetric", GoalMetric_name, GoalMetric_value)
	proto.RegisterEnum("promotion_impression.PromotionLocation", PromotionLocation_name, PromotionLocation_value)
}

func init() {
	proto.RegisterFile("promotion_impression/create.proto", fileDescriptor_create_93e100ca64c129cb)
}

var fileDescriptor_create_93e100ca64c129cb = []byte{
	// 633 bytes of a gzipped FileDescriptorProto
	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