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

package low_trust_user_treatment

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

// LowTrustUserTreatmentType is comprised of all the possible types
// for a low trust user treatment.
type LowTrustUserTreatmentType int32

const (
	LowTrustUserTreatmentType_LOW_TRUST_USER_TREATMENT_TYPE_INVALID LowTrustUserTreatmentType = 0
	// The user's chat messages will be actively monitored
	LowTrustUserTreatmentType_LOW_TRUST_USER_TREATMENT_TYPE_ACTIVE_MONITORING LowTrustUserTreatmentType = 1
	// The user's chat messages will be withheld from chat.
	LowTrustUserTreatmentType_LOW_TRUST_USER_TREATMENT_TYPE_RESTRICTED LowTrustUserTreatmentType = 2
	// The user will not receive any treatment.
	LowTrustUserTreatmentType_LOW_TRUST_USER_TREATMENT_TYPE_NO_TREATMENT LowTrustUserTreatmentType = 3
)

var LowTrustUserTreatmentType_name = map[int32]string{
	0: "LOW_TRUST_USER_TREATMENT_TYPE_INVALID",
	1: "LOW_TRUST_USER_TREATMENT_TYPE_ACTIVE_MONITORING",
	2: "LOW_TRUST_USER_TREATMENT_TYPE_RESTRICTED",
	3: "LOW_TRUST_USER_TREATMENT_TYPE_NO_TREATMENT",
}
var LowTrustUserTreatmentType_value = map[string]int32{
	"LOW_TRUST_USER_TREATMENT_TYPE_INVALID":           0,
	"LOW_TRUST_USER_TREATMENT_TYPE_ACTIVE_MONITORING": 1,
	"LOW_TRUST_USER_TREATMENT_TYPE_RESTRICTED":        2,
	"LOW_TRUST_USER_TREATMENT_TYPE_NO_TREATMENT":      3,
}

func (x LowTrustUserTreatmentType) String() string {
	return proto.EnumName(LowTrustUserTreatmentType_name, int32(x))
}
func (LowTrustUserTreatmentType) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_update_4484e4aa4e48c92d, []int{0}
}

// LowTrustUserTreatmentUpdate is triggered when a moderator or channel owner manually
// alters the LowTrustUserTreatment for a user in a channel.
// Currently all field values are returned with each event.
type LowTrustUserTreatmentUpdate struct {
	// The channel of which the low trust user treatment for a user is applied within.
	BroadcasterUserId string `protobuf:"bytes,1,opt,name=broadcaster_user_id,json=broadcasterUserId,proto3" json:"broadcaster_user_id,omitempty"`
	// The user who updated the settings
	RequesterUserId string `protobuf:"bytes,2,opt,name=requester_user_id,json=requesterUserId,proto3" json:"requester_user_id,omitempty"`
	// The user whose treatment has been updated
	TargetUserId string `protobuf:"bytes,3,opt,name=target_user_id,json=targetUserId,proto3" json:"target_user_id,omitempty"`
	// The updated treatment for the target user
	Treatment            *LowTrustUserTreatmentChange `protobuf:"bytes,4,opt,name=treatment,proto3" json:"treatment,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

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

var xxx_messageInfo_LowTrustUserTreatmentUpdate proto.InternalMessageInfo

func (m *LowTrustUserTreatmentUpdate) GetBroadcasterUserId() string {
	if m != nil {
		return m.BroadcasterUserId
	}
	return ""
}

func (m *LowTrustUserTreatmentUpdate) GetRequesterUserId() string {
	if m != nil {
		return m.RequesterUserId
	}
	return ""
}

func (m *LowTrustUserTreatmentUpdate) GetTargetUserId() string {
	if m != nil {
		return m.TargetUserId
	}
	return ""
}

func (m *LowTrustUserTreatmentUpdate) GetTreatment() *LowTrustUserTreatmentChange {
	if m != nil {
		return m.Treatment
	}
	return nil
}

// LowTrustUserTreatmentChange represents a state change for a given
// low trust user treatment which follows the eventbus.change.proto scheme.
type LowTrustUserTreatmentChange struct {
	// Denotes whether the low trust user treatment was changed.
	Updated bool `protobuf:"varint,1,opt,name=updated,proto3" json:"updated,omitempty"`
	// Denotes the current value of the low trust user treatment.
	Value LowTrustUserTreatmentType `protobuf:"varint,2,opt,name=value,proto3,enum=low_trust_user_treatment.LowTrustUserTreatmentType" json:"value,omitempty"`
	// Denotes whether the previous low trust user treatment is included in the event.
	HasOldValue bool `protobuf:"varint,3,opt,name=has_old_value,json=hasOldValue,proto3" json:"has_old_value,omitempty"`
	// Denotes the previous low trust user treatment value.
	OldValue             LowTrustUserTreatmentType `protobuf:"varint,4,opt,name=old_value,json=oldValue,proto3,enum=low_trust_user_treatment.LowTrustUserTreatmentType" json:"old_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

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

var xxx_messageInfo_LowTrustUserTreatmentChange proto.InternalMessageInfo

func (m *LowTrustUserTreatmentChange) GetUpdated() bool {
	if m != nil {
		return m.Updated
	}
	return false
}

func (m *LowTrustUserTreatmentChange) GetValue() LowTrustUserTreatmentType {
	if m != nil {
		return m.Value
	}
	return LowTrustUserTreatmentType_LOW_TRUST_USER_TREATMENT_TYPE_INVALID
}

func (m *LowTrustUserTreatmentChange) GetHasOldValue() bool {
	if m != nil {
		return m.HasOldValue
	}
	return false
}

func (m *LowTrustUserTreatmentChange) GetOldValue() LowTrustUserTreatmentType {
	if m != nil {
		return m.OldValue
	}
	return LowTrustUserTreatmentType_LOW_TRUST_USER_TREATMENT_TYPE_INVALID
}

func init() {
	proto.RegisterType((*LowTrustUserTreatmentUpdate)(nil), "low_trust_user_treatment.LowTrustUserTreatmentUpdate")
	proto.RegisterType((*LowTrustUserTreatmentChange)(nil), "low_trust_user_treatment.LowTrustUserTreatmentChange")
	proto.RegisterEnum("low_trust_user_treatment.LowTrustUserTreatmentType", LowTrustUserTreatmentType_name, LowTrustUserTreatmentType_value)
}

func init() {
	proto.RegisterFile("low_trust_user_treatment/update.proto", fileDescriptor_update_4484e4aa4e48c92d)
}

var fileDescriptor_update_4484e4aa4e48c92d = []byte{
	// 413 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0xcf, 0x8e, 0xd3, 0x30,
	0x10, 0xc6, 0x49, 0xbb, 0xc0, 0xd6, 0x85, 0xdd, 0xac, 0xe1, 0x10, 0x96, 0xcb, 0xaa, 0x62, 0xa5,
	0x52, 0x41, 0x2a, 0x6d, 0xc5, 0x85, 0x5b, 0xe9, 0x46, 0xc8, 0x52, 0x37, 0x59, 0x39, 0x4e, 0x11,
	0x5c, 0x2c, 0x97, 0x0c, 0x2d, 0x52, 0x1a, 0x17, 0xdb, 0x69, 0xd5, 0x07, 0xe0, 0x25, 0x78, 0x0f,
	0x1e, 0x86, 0x37, 0xe1, 0x88, 0x1a, 0xf7, 0x0f, 0x48, 0xa4, 0x12, 0x1c, 0x3d, 0xf3, 0xfb, 0xbe,
	0xf1, 0x37, 0xd2, 0xa0, 0xcb, 0x4c, 0x2e, 0xb9, 0x51, 0x85, 0x36, 0xbc, 0xd0, 0xa0, 0xb8, 0x51,
	0x20, 0xcc, 0x0c, 0x72, 0xd3, 0x2d, 0xe6, 0xa9, 0x30, 0xe0, 0xcf, 0x95, 0x34, 0x12, 0x7b, 0x55,
	0xd8, 0xf9, 0x63, 0x58, 0x40, 0x6e, 0xc6, 0x85, 0xee, 0xca, 0x65, 0x0e, 0xca, 0xf2, 0xad, 0xaf,
	0x35, 0xf4, 0x74, 0x28, 0x97, 0x6c, 0xad, 0x48, 0x34, 0x28, 0xb6, 0xe5, 0x93, 0xd2, 0x15, 0xfb,
	0xe8, 0xd1, 0x58, 0x49, 0x91, 0x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