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

package subscriber_badge

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

// SubscriberBadgeCreate triggers when a user uploads a new subscriber badge.
type SubscriberBadgeCreate 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 refers to the subscriber badge that was uploaded.
	Badge *BadgeAsset `protobuf:"bytes,2,opt,name=badge,proto3" json:"badge,omitempty"`
	// is_modified refers to if this badge is a base or modified badge.
	IsModified bool `protobuf:"varint,3,opt,name=is_modified,json=isModified,proto3" json:"is_modified,omitempty"`
	// required_tenure_months refers to the amount of tenure months a user must have to unlock this badge.
	RequiredTenureMonths int32    `protobuf:"varint,4,opt,name=required_tenure_months,json=requiredTenureMonths,proto3" json:"required_tenure_months,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

var xxx_messageInfo_SubscriberBadgeCreate proto.InternalMessageInfo

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

func (m *SubscriberBadgeCreate) GetBadge() *BadgeAsset {
	if m != nil {
		return m.Badge
	}
	return nil
}

func (m *SubscriberBadgeCreate) GetIsModified() bool {
	if m != nil {
		return m.IsModified
	}
	return false
}

func (m *SubscriberBadgeCreate) GetRequiredTenureMonths() int32 {
	if m != nil {
		return m.RequiredTenureMonths
	}
	return 0
}

// BadgeAsset is the badge related asset uploaded in various sizes.
type BadgeAsset struct {
	// image_url_1x refers to the url of the 18x18 asset.
	ImageUrl_1X string `protobuf:"bytes,1,opt,name=image_url_1x,json=imageUrl1x,proto3" json:"image_url_1x,omitempty"`
	// image_url_2x refers to the url of the 36x36 asset.
	ImageUrl_2X string `protobuf:"bytes,2,opt,name=image_url_2x,json=imageUrl2x,proto3" json:"image_url_2x,omitempty"`
	// image_url_4x refers to the url of the 72x72 asset.
	ImageUrl_4X          string   `protobuf:"bytes,3,opt,name=image_url_4x,json=imageUrl4x,proto3" json:"image_url_4x,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

var xxx_messageInfo_BadgeAsset proto.InternalMessageInfo

func (m *BadgeAsset) GetImageUrl_1X() string {
	if m != nil {
		return m.ImageUrl_1X
	}
	return ""
}

func (m *BadgeAsset) GetImageUrl_2X() string {
	if m != nil {
		return m.ImageUrl_2X
	}
	return ""
}

func (m *BadgeAsset) GetImageUrl_4X() string {
	if m != nil {
		return m.ImageUrl_4X
	}
	return ""
}

func init() {
	proto.RegisterType((*SubscriberBadgeCreate)(nil), "subscriber_badge.SubscriberBadgeCreate")
	proto.RegisterType((*BadgeAsset)(nil), "subscriber_badge.BadgeAsset")
}

func init() {
	proto.RegisterFile("subscriber_badge/create.proto", fileDescriptor_create_989bd5bbd0f7d415)
}

var fileDescriptor_create_989bd5bbd0f7d415 = []byte{
	// 280 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xbf, 0x4e, 0xc3, 0x30,
	0x10, 0x87, 0x65, 0xa0, 0x85, 0x5e, 0x41, 0x42, 0x56, 0x81, 0x08, 0x81, 0x88, 0x3a, 0x65, 0x21,
	0x55, 0x43, 0x26, 0x36, 0xca, 0xc4, 0xd0, 0x25, 0xc0, 0xc2, 0x62, 0x25, 0xf5, 0x51, 0x2c, 0x35,
	0x09, 0x9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