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

package chat_ban

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
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

// ChatBanCreate triggers when a user is banned from a channel's chat.
type ChatBanCreate struct {
	// The user in whose channel the ban took place
	BroadcasterUserId string `protobuf:"bytes,1,opt,name=broadcaster_user_id,json=broadcasterUserId,proto3" json:"broadcaster_user_id,omitempty"`
	// The id for the user which is banned from the chat
	BannedUserId string `protobuf:"bytes,2,opt,name=banned_user_id,json=bannedUserId,proto3" json:"banned_user_id,omitempty"`
	// The id for the user which has performed the banning action
	RequesterUserId string `protobuf:"bytes,3,opt,name=requester_user_id,json=requesterUserId,proto3" json:"requester_user_id,omitempty"`
	// The reason provided for the chat ban - limited to 500 characters
	Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
	// The time at which the chat ban event took place
	BannedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=banned_at,json=bannedAt,proto3" json:"banned_at,omitempty"`
	// The time at which the chat ban expires
	ExpiresAt            *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

var xxx_messageInfo_ChatBanCreate proto.InternalMessageInfo

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

func (m *ChatBanCreate) GetBannedUserId() string {
	if m != nil {
		return m.BannedUserId
	}
	return ""
}

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

func (m *ChatBanCreate) GetReason() string {
	if m != nil {
		return m.Reason
	}
	return ""
}

func (m *ChatBanCreate) GetBannedAt() *timestamp.Timestamp {
	if m != nil {
		return m.BannedAt
	}
	return nil
}

func (m *ChatBanCreate) GetExpiresAt() *timestamp.Timestamp {
	if m != nil {
		return m.ExpiresAt
	}
	return nil
}

func init() {
	proto.RegisterType((*ChatBanCreate)(nil), "chat_ban.ChatBanCreate")
}

func init() { proto.RegisterFile("chat_ban/create.proto", fileDescriptor_create_86a79230e4a2154a) }

var fileDescriptor_create_86a79230e4a2154a = []byte{
	// 279 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xbd, 0x4e, 0xc3, 0x40,
	0x10, 0x84, 0xe5, 0x00, 0x56, 0x7c, 0xfc, 0x29, 0x0e, 0x3f, 0x96, 0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