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

package emoticon

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

// State represents the State the emoticon is in.
type State int32

const (
	// An invalid state.
	State_STATE_INVALID State = 0
	// The emoticon is active and usable on the site.
	State_STATE_ACTIVE State = 1
	// The emoticon is inactive on the site and cannot be used.
	State_STATE_INACTIVE State = 2
	// The emoticon has been moderated and assets have been deleted.
	State_STATE_MODERATED State = 3
	// The emoticon is in a pending state to be assessed by moderation
	State_STATE_PENDING State = 4
	// The emoticon has been archived.
	State_STATE_ARCHIVED State = 5
)

var State_name = map[int32]string{
	0: "STATE_INVALID",
	1: "STATE_ACTIVE",
	2: "STATE_INACTIVE",
	3: "STATE_MODERATED",
	4: "STATE_PENDING",
	5: "STATE_ARCHIVED",
}
var State_value = map[string]int32{
	"STATE_INVALID":   0,
	"STATE_ACTIVE":    1,
	"STATE_INACTIVE":  2,
	"STATE_MODERATED": 3,
	"STATE_PENDING":   4,
	"STATE_ARCHIVED":  5,
}

func (x State) String() string {
	return proto.EnumName(State_name, int32(x))
}
func (State) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_create_25fdcbc79835d160, []int{0}
}

// EmoticonCreate fires when an Emote has been successfully created.
type EmoticonCreate struct {
	// The emoticon information.
	Emoticon *Emoticon `protobuf:"bytes,1,opt,name=emoticon,proto3" json:"emoticon,omitempty"`
	// The state of the emoticon.
	State                State    `protobuf:"varint,2,opt,name=state,proto3,enum=emoticon.State" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

var xxx_messageInfo_EmoticonCreate proto.InternalMessageInfo

func (m *EmoticonCreate) GetEmoticon() *Emoticon {
	if m != nil {
		return m.Emoticon
	}
	return nil
}

func (m *EmoticonCreate) GetState() State {
	if m != nil {
		return m.State
	}
	return State_STATE_INVALID
}

// Emoticon is a container object for information regarding emoticons.
type Emoticon struct {
	// The unique identifier of the emoticon.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The owner ID for the emoticon. Could be either a channel ID or a team ID, which is deprecated.
	OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// The group ID of the emote, to signify what emoticon group it belongs to.
	GroupId string `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// The token of the emoticon that is used in Chat.
	Token                string   `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

var xxx_messageInfo_Emoticon proto.InternalMessageInfo

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

func (m *Emoticon) GetOwnerId() string {
	if m != nil {
		return m.OwnerId
	}
	return ""
}

func (m *Emoticon) GetGroupId() string {
	if m != nil {
		return m.GroupId
	}
	return ""
}

func (m *Emoticon) GetToken() string {
	if m != nil {
		return m.Token
	}
	return ""
}

func init() {
	proto.RegisterType((*EmoticonCreate)(nil), "emoticon.EmoticonCreate")
	proto.RegisterType((*Emoticon)(nil), "emoticon.Emoticon")
	proto.RegisterEnum("emoticon.State", State_name, State_value)
}

func init() { proto.RegisterFile("emoticon/create.proto", fileDescriptor_create_25fdcbc79835d160) }

var fileDescriptor_create_25fdcbc79835d160 = []byte{
	// 267 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x90, 0x41, 0x4b, 0xc3, 0x30,
	0x14, 0xc7, 0x6d, 0xb7, 0x6a, 0xf7, 0xd4, 0x2e, 0x3e, 0x15, 0xea, 0x6d, 0x0c, 0x84, 0xe1, 0xa1,
	0xc2, 0xfc,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