// Code generated by protoc-gen-go. DO NOT EDIT.
// source: user_ban/delete.proto

package user_ban

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

// UserBanDelete triggers when a user is unbanned.
type UserBanDelete struct {
	// ID of the that's getting unbanned
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Amount of TOS count to decrement.
	// Non-zero value typically means the original suspension was appealed.
	TosDecrementCount int32 `protobuf:"varint,2,opt,name=tos_decrement_count,json=tosDecrementCount,proto3" json:"tos_decrement_count,omitempty"`
	// Amount of DMCA count to decrement.
	// Non-zero value typically means a DMCA counter claim notice was filed or
	// original DMCA has been retracted.
	DmcaDecrementCount int32 `protobuf:"varint,3,opt,name=dmca_decrement_count,json=dmcaDecrementCount,proto3" json:"dmca_decrement_count,omitempty"`
	// User who issued the unban. Empty if suspension expired naturally
	FromUserId           string   `protobuf:"bytes,4,opt,name=from_user_id,json=fromUserId,proto3" json:"from_user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

var xxx_messageInfo_UserBanDelete proto.InternalMessageInfo

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

func (m *UserBanDelete) GetTosDecrementCount() int32 {
	if m != nil {
		return m.TosDecrementCount
	}
	return 0
}

func (m *UserBanDelete) GetDmcaDecrementCount() int32 {
	if m != nil {
		return m.DmcaDecrementCount
	}
	return 0
}

func (m *UserBanDelete) GetFromUserId() string {
	if m != nil {
		return m.FromUserId
	}
	return ""
}

func init() {
	proto.RegisterType((*UserBanDelete)(nil), "user_ban.UserBanDelete")
}

func init() { proto.RegisterFile("user_ban/delete.proto", fileDescriptor_delete_93afa852b6be1e4c) }

var fileDescriptor_delete_93afa852b6be1e4c = []byte{
	// 211 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2d, 0x2d, 0x4e, 0x2d,
	0x8a, 0x4f, 0x4a, 0xcc, 0xd3, 0x4f, 0x49, 0xcd, 0x49, 0x2d, 0x49, 0xd5, 0x2b, 0x28, 0xca, 0x2f,
	0xc9, 0x17, 0xe2, 0x80, 0x09, 0x4b, 0x89, 0xa4, 0x96, 0xa5, 0xe6, 0x95, 0x24, 0x95, 0x16, 0xeb,
	0xe7, 0x97, 0xe7, 0xa5, 0x16, 0x41, 0xe4, 0x95, 0xf6, 0x33, 0x72, 0xf1, 0x86, 0x16, 0xa7, 0x16,
	0x39, 0x25, 0xe6, 0xb9, 0x80, 0xf5, 0x09, 0x89, 0x73, 0xb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