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

package creator_subscription_settings

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

// BadgeFlairSetting refers to the expected values for a creator's badge flair setting.
type BadgeFlairSetting int32

const (
	BadgeFlairSetting_BADGE_FLAIR_SETTING_INVALID BadgeFlairSetting = 0
	// none means "do not display badge flair on my subscriber badges"
	BadgeFlairSetting_BADGE_FLAIR_SETTING_NONE BadgeFlairSetting = 1
	// default means "display the twitch default badge flairs on my subscriber badges"
	BadgeFlairSetting_BADGE_FLAIR_SETTING_DEFAULT BadgeFlairSetting = 2
	// custom means "display the badge flair that I uploaded on my subscriber badges"
	BadgeFlairSetting_BADGE_FLAIR_SETTING_CUSTOM BadgeFlairSetting = 3
)

var BadgeFlairSetting_name = map[int32]string{
	0: "BADGE_FLAIR_SETTING_INVALID",
	1: "BADGE_FLAIR_SETTING_NONE",
	2: "BADGE_FLAIR_SETTING_DEFAULT",
	3: "BADGE_FLAIR_SETTING_CUSTOM",
}
var BadgeFlairSetting_value = map[string]int32{
	"BADGE_FLAIR_SETTING_INVALID": 0,
	"BADGE_FLAIR_SETTING_NONE":    1,
	"BADGE_FLAIR_SETTING_DEFAULT": 2,
	"BADGE_FLAIR_SETTING_CUSTOM":  3,
}

func (x BadgeFlairSetting) String() string {
	return proto.EnumName(BadgeFlairSetting_name, int32(x))
}
func (BadgeFlairSetting) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_update_7cf2bb984bc4f1a3, []int{0}
}

// CreatorSubscriptionSettingsUpdate occurs when a creator changes their subscription settings.
type CreatorSubscriptionSettingsUpdate struct {
	// user_id refers to the creator who uploaded a new subscriber badge.
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// badge_flair_settings refers to what type of badge flair the creator wants to use for their channel. e.g. ["none", "custom", "default]
	BadgeFlairSettings   BadgeFlairSetting `protobuf:"varint,2,opt,name=badge_flair_settings,json=badgeFlairSettings,proto3,enum=creator_subscription_settings.BadgeFlairSetting" json:"badge_flair_settings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

var xxx_messageInfo_CreatorSubscriptionSettingsUpdate proto.InternalMessageInfo

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

func (m *CreatorSubscriptionSettingsUpdate) GetBadgeFlairSettings() BadgeFlairSetting {
	if m != nil {
		return m.BadgeFlairSettings
	}
	return BadgeFlairSetting_BADGE_FLAIR_SETTING_INVALID
}

func init() {
	proto.RegisterType((*CreatorSubscriptionSettingsUpdate)(nil), "creator_subscription_settings.CreatorSubscriptionSettingsUpdate")
	proto.RegisterEnum("creator_subscription_settings.BadgeFlairSetting", BadgeFlairSetting_name, BadgeFlairSetting_value)
}

func init() {
	proto.RegisterFile("creator_subscription_settings/update.proto", fileDescriptor_update_7cf2bb984bc4f1a3)
}

var fileDescriptor_update_7cf2bb984bc4f1a3 = []byte{
	// 277 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4a, 0x2e, 0x4a, 0x4d,
	0x2c, 0xc9, 0x2f, 0x8a, 0x2f, 0x2e, 0x4d, 0x2a, 0x4e, 0x2e, 0xca, 0x2c, 0x28, 0xc9, 0xcc, 0xcf,
	0x8b, 0x2f, 0x4e, 0x2d, 0x29, 0xc9, 0xcc, 0x4b, 0x2f, 0xd6, 0x2f, 0x2d, 0x48, 0x49, 0x2c, 0x49,
	0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0xc5, 0xab, 0x56, 0x4a, 0x24, 0xb5, 0x2c, 0x35,
	0xaf, 0x24, 0xa9, 0xb4, 0x58, 0x3f, 0xbf, 0x3c, 0x2f, 0xb5, 0x08, 0xa2, 0x49, 0x69, 0x3d, 0x23,
	0x97, 0xa2, 0x33, 0x44, 0x5f, 0x30, 0x92, 0xb6, 0x60, 0xa8, 0xae, 0x50, 0xb0, 0x05, 0x42, 0xe2,
	0x5c, 0xec, 0xa5, 0xc5, 0xa9, 0x45, 0xf1, 0x99, 0x29, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41,
	0x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