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

package automod_terms_moderation_action

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import authorization "code.justin.tv/eventbus/schema/pkg/eventbus/authorization"
import _ "code.justin.tv/eventbus/schema/pkg/eventbus/owner"
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

// AutomodTermsModerationAction represents the possible combinations of adding to/removing from blocked/permitted terms lists.
type AutomodTermsModerationAction int32

const (
	// An invalid action.
	AutomodTermsModerationAction_AUTOMOD_TERMS_MODERATION_ACTION_INVALID AutomodTermsModerationAction = 0
	// A new term is added to the Automod blocked terms list.
	AutomodTermsModerationAction_AUTOMOD_TERMS_MODERATION_ACTION_ADD_BLOCKED_TERM AutomodTermsModerationAction = 1
	// A term is removed from the Automod blocked terms list.
	AutomodTermsModerationAction_AUTOMOD_TERMS_MODERATION_ACTION_REMOVE_BLOCKED_TERM AutomodTermsModerationAction = 2
	// A new term is added to the Automod permitted terms list.
	AutomodTermsModerationAction_AUTOMOD_TERMS_MODERATION_ACTION_ADD_PERMITTED_TERM AutomodTermsModerationAction = 3
	// A term is removed from the Automod permitted terms list.
	AutomodTermsModerationAction_AUTOMOD_TERMS_MODERATION_ACTION_REMOVE_PERMITTED_TERM AutomodTermsModerationAction = 4
)

var AutomodTermsModerationAction_name = map[int32]string{
	0: "AUTOMOD_TERMS_MODERATION_ACTION_INVALID",
	1: "AUTOMOD_TERMS_MODERATION_ACTION_ADD_BLOCKED_TERM",
	2: "AUTOMOD_TERMS_MODERATION_ACTION_REMOVE_BLOCKED_TERM",
	3: "AUTOMOD_TERMS_MODERATION_ACTION_ADD_PERMITTED_TERM",
	4: "AUTOMOD_TERMS_MODERATION_ACTION_REMOVE_PERMITTED_TERM",
}
var AutomodTermsModerationAction_value = map[string]int32{
	"AUTOMOD_TERMS_MODERATION_ACTION_INVALID":               0,
	"AUTOMOD_TERMS_MODERATION_ACTION_ADD_BLOCKED_TERM":      1,
	"AUTOMOD_TERMS_MODERATION_ACTION_REMOVE_BLOCKED_TERM":   2,
	"AUTOMOD_TERMS_MODERATION_ACTION_ADD_PERMITTED_TERM":    3,
	"AUTOMOD_TERMS_MODERATION_ACTION_REMOVE_PERMITTED_TERM": 4,
}

func (x AutomodTermsModerationAction) String() string {
	return proto.EnumName(AutomodTermsModerationAction_name, int32(x))
}
func (AutomodTermsModerationAction) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_create_d90eeef47687f2c7, []int{0}
}

// AutomodTermsModerationActionCreate is triggered when terms have been added to or removed from an automod list, either blocked or permitted.
type AutomodTermsModerationActionCreate struct {
	// The id of the channel in which automod terms are being defined or deleted.
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The moderator making changes to channel automod terms.
	ModeratorId string `protobuf:"bytes,2,opt,name=moderator_id,json=moderatorId,proto3" json:"moderator_id,omitempty"`
	// Exactly which action was taken regarding the list and removing vs adding.
	Action AutomodTermsModerationAction `protobuf:"varint,3,opt,name=action,proto3,enum=automod_terms_moderation_action.AutomodTermsModerationAction" json:"action,omitempty"`
	// The terms being added or removed.
	Terms []*Term `protobuf:"bytes,4,rep,name=terms,proto3" json:"terms,omitempty"`
	// Whether this term was added due to an Automod message approve/deny action.
	FromAutomod bool `protobuf:"varint,5,opt,name=from_automod,json=fromAutomod,proto3" json:"from_automod,omitempty"`
	// The time at which a term was added or removed.
	ModifiedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"`
	// Whether this term is private, meaning visible to channel owner only
	IsPrivate            bool     `protobuf:"varint,7,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

var xxx_messageInfo_AutomodTermsModerationActionCreate proto.InternalMessageInfo

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

func (m *AutomodTermsModerationActionCreate) GetModeratorId() string {
	if m != nil {
		return m.ModeratorId
	}
	return ""
}

func (m *AutomodTermsModerationActionCreate) GetAction() AutomodTermsModerationAction {
	if m != nil {
		return m.Action
	}
	return AutomodTermsModerationAction_AUTOMOD_TERMS_MODERATION_ACTION_INVALID
}

func (m *AutomodTermsModerationActionCreate) GetTerms() []*Term {
	if m != nil {
		return m.Terms
	}
	return nil
}

func (m *AutomodTermsModerationActionCreate) GetFromAutomod() bool {
	if m != nil {
		return m.FromAutomod
	}
	return false
}

func (m *AutomodTermsModerationActionCreate) GetModifiedAt() *timestamp.Timestamp {
	if m != nil {
		return m.ModifiedAt
	}
	return nil
}

func (m *AutomodTermsModerationActionCreate) GetIsPrivate() bool {
	if m != nil {
		return m.IsPrivate
	}
	return false
}

// Term is an authorized string representing a term being added/removed from a list, these are an authorized field as they may include customer data (this is a workaround as authorized fields do not support repeated types).
type Term struct {
	TermString           *authorization.String `protobuf:"bytes,1,opt,name=term_string,json=termString,proto3" json:"term_string,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

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

var xxx_messageInfo_Term proto.InternalMessageInfo

func (m *Term) GetTermString() *authorization.String {
	if m != nil {
		return m.TermString
	}
	return nil
}

func init() {
	proto.RegisterType((*AutomodTermsModerationActionCreate)(nil), "automod_terms_moderation_action.AutomodTermsModerationActionCreate")
	proto.RegisterType((*Term)(nil), "automod_terms_moderation_action.Term")
	proto.RegisterEnum("automod_terms_moderation_action.AutomodTermsModerationAction", AutomodTermsModerationAction_name, AutomodTermsModerationAction_value)
}

func init() {
	proto.RegisterFile("automod_terms_moderation_action/create.proto", fileDescriptor_create_d90eeef47687f2c7)
}

var fileDescriptor_create_d90eeef47687f2c7 = []byte{
	// 490 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x4d, 0x6f, 0xd3, 0x40,
	0x10, 0xc5, 0x4d, 0x9a, 0xd2, 0x31, 0x2a, 0xd5, 0x0a, 0x09, 0x2b, 0x2a, 0x34, 0x8d, 0x84, 0x88,
	0xf8, 0x70, 0x50, 0xca, 0x87, 0xa0, 0xe2, 0xe0, 0xc4, 0x3e, 0x58, 0xd4, 0x75, 0xb5, 0x75, 0x8b,
	0xc4, 0x65, 0xb5, 0x89, 0x37, 0x61, 0x25, 0x9c, 0x8d, 0xd6, 0xeb, 0x22, 0x38, 0xf3, 0x0b, 0x38,
	0xf2, 0x1f, 0x38, 0xf6, 0xff, 0xa1, 0x5d, 0xdb, 0x91, 0xca, 0xa1, 0xee, 0xc9, 0xda, 0x99, 0xf7,
	0xe6, 0xbd, 0x79, 0x23, 0xc3, 0x0b, 0x5a, 0x28, 0x91, 0x89, 0x94, 0x28, 0x26, 0xb3, 0x9c, 0x64,
	0x22, 0x65, 0x92, 0x2a, 0x2e, 0x96, 0x84, 0xce, 0xf4, 0x67, 0x38, 0x93, 0x8c, 0x2a, 0xe6, 0xae,
	0xa4, 0x50, 0x02, 0xed, 0x37, 0xa0, 0xbb, 0x7b, 0xec, 0x92, 0x2d, 0xd5, 0xb4, 0xc8, 0x87, 0xb4,
	0x50, 0x5f, 0x85, 0xe4, 0x3f, 0x4d, 0xbb, 0xa4, 0x77, 0x1f, 0xac, 0xbb, 0xe2, 0xfb, 0x92, 0xc9,
	0xaa, 0xba, 0xbf, 0x10, 0x62, 0xf1, 0x8d, 0x0d, 0xcd, 0x6b, 0x5a, 0xcc, 0x87, 0x8a, 0x67, 0x2c,
	0x57, 0x34, 0x5b, 0x95, 0x80, 0xfe, 0xaf, 0x16, 0xf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