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

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

var fileDescriptor_update_50608c162e512292 = []byte{
	// 245 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, 0x69, 0x01, 0x23, 0x97, 0xa2,
	0x33, 0x44, 0x45, 0x30, 0x92, 0x82, 0x60, 0xa8, 0x7c, 0x28, 0xd8, 0x28, 0x21, 0x71, 0x2e, 0xf6,
	0xd2, 0xe2, 0xd4, 0xa2, 0xf8, 0xcc, 0x14, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x36, 0x10,
	0xd7, 0x33, 0x45, 0x28, 0x89, 0x4b, 0x24, 0x29, 0x31, 0x25, 0x3d, 0x35, 0x3e, 0x2d, 0x27, 0x31,
	0xb3, 0x08, 0x6e, 0xac, 0x04, 0x93, 0x02, 0xa3, 0x06, 0x9f, 0x91, 0x81, 0x1e, 0x5e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