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

package automod_chat_message_caught

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import timestamp "github.com/golang/protobuf/ptypes/timestamp"

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

// AutomodChatMessageCaughtUpdate triggers when a message is updated after caught by AutoMod.
type AutomodChatMessageCaughtUpdate struct {
	// The id of the message.
	MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// The message that is caught by AutoMod.
	Message *AutomodCaughtMessageContent `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// The message sender metadata.
	Sender *AutomodCaughtMessageSender `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	// The time at which the message was saved.
	SentAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=sent_at,json=sentAt,proto3" json:"sent_at,omitempty"`
	// The number of bits attached to this message.
	BitsAmount int64 `protobuf:"varint,5,opt,name=bits_amount,json=bitsAmount,proto3" json:"bits_amount,omitempty"`
	// The id of the channel where the message is sent to.
	UserId string `protobuf:"bytes,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The status of the message.
	Status AutomodCaughtMessageStatus `protobuf:"varint,7,opt,name=status,proto3,enum=automod_chat_message_caught.AutomodCaughtMessageStatus" json:"status,omitempty"`
	// The level fo severity the message was caught at.
	Level int64 `protobuf:"varint,8,opt,name=level,proto3" json:"level,omitempty"`
	// The category of the message (eg. aggressive, identity).
	Category             AutomodCaughtMessageCategory `protobuf:"varint,9,opt,name=category,proto3,enum=automod_chat_message_caught.AutomodCaughtMessageCategory" json:"category,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

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

var xxx_messageInfo_AutomodChatMessageCaughtUpdate proto.InternalMessageInfo

func (m *AutomodChatMessageCaughtUpdate) GetMessageId() string {
	if m != nil {
		return m.MessageId
	}
	return ""
}

func (m *AutomodChatMessageCaughtUpdate) GetMessage() *AutomodCaughtMessageContent {
	if m != nil {
		return m.Message
	}
	return nil
}

func (m *AutomodChatMessageCaughtUpdate) GetSender() *AutomodCaughtMessageSender {
	if m != nil {
		return m.Sender
	}
	return nil
}

func (m *AutomodChatMessageCaughtUpdate) GetSentAt() *timestamp.Timestamp {
	if m != nil {
		return m.SentAt
	}
	return nil
}

func (m *AutomodChatMessageCaughtUpdate) GetBitsAmount() int64 {
	if m != nil {
		return m.BitsAmount
	}
	return 0
}

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

func (m *AutomodChatMessageCaughtUpdate) GetStatus() AutomodCaughtMessageStatus {
	if m != nil {
		return m.Status
	}
	return AutomodCaughtMessageStatus_AUTOMOD_CAUGHT_MESSAGE_STATUS_INVALID
}

func (m *AutomodChatMessageCaughtUpdate) GetLevel() int64 {
	if m != nil {
		return m.Level
	}
	return 0
}

func (m *AutomodChatMessageCaughtUpdate) GetCategory() AutomodCaughtMessageCategory {
	if m != nil {
		return m.Category
	}
	return AutomodCaughtMessageCategory_AUTOMOD_CAUGHT_MESSAGE_CATEGORY_INVALID
}

func init() {
	proto.RegisterType((*AutomodChatMessageCaughtUpdate)(nil), "automod_chat_message_caught.AutomodChatMessageCaughtUpdate")
}

func init() {
	proto.RegisterFile("automod_chat_message_caught/update.proto", fileDescriptor_update_e676bd00bdedf020)
}

var fileDescriptor_update_e676bd00bdedf020 = []byte{
	// 328 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x41, 0x6b, 0xf2, 0x40,
	0x10, 0x86, 0xc9, 0xa7, 0x26, 0x3a, 0xc2, 0x77, 0x58, 0x0a, 0x5d, 0x2c, 0xd6, 0xd0, 0x53, 0x4e,
	0x11, 0xea, 0xa1, 0xed, 0xd1, 0x7a, 0xf2, 0x50, 0x0a, 0xdb, 0x7a, 0xe9, 0x25, 0xac, 0xc9, 0x34,
	0x0a, 0x26, 0x2b, 0xd9, 0xd9, 0x42, 0x7f, 0x46, 0xff, 0x71, 0x71, 0x92, 0x78, 0x0c, 0xd8, 0xe3,
	0x3b, 0xec, 0x3c, 0xf3, 0xf2, 0xb0, 0x10, 0x69, 0x47, 0xa6, 0x30, 0x59, 0x92, 0xee, 0x34, 0x25,
	0x05, 0x5a, 0xab, 0x73, 0x4c, 0x52, 0xed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