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

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

var fileDescriptor_create_a90a88ea54364565 = []byte{
	// 250 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, 0x05, 0xae, 0x0c, 0xc8, 0xe2, 0x4f, 0x06, 0x10, 0x56, 0xa7, 0x4c, 0x41,
	0x0d, 0x79, 0x01, 0xca, 0xc4, 0xd0, 0x25, 0xc0, 0xc2, 0x62, 0x25, 0xf5, 0x51, 0x2c, 0x35, 0x35,
	0x9c, 0x6d, 0xc9, 0xef, 0xc6, 0xcb, 0xa1, 0x1e, 0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