// Code generated by protoc-gen-go. DO NOT EDIT.
// source: model/mail.proto

package proto

import (
	fmt "fmt"
	math "math"
	proto "github.com/golang/protobuf/proto"
)

// 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.ProtoPackageIsVersion3 // please upgrade the proto package

type MailDetail struct {
	MailId               string       `protobuf:"bytes,1,opt,name=mail_id,json=mailId,proto3" json:"mail_id,omitempty"`
	MailType             int32        `protobuf:"varint,2,opt,name=mail_type,json=mailType,proto3" json:"mail_type,omitempty"`
	Title                string       `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	State                int32        `protobuf:"varint,4,opt,name=state,proto3" json:"state,omitempty"`
	Content              string       `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
	IndateCountdown      int64        `protobuf:"varint,6,opt,name=indate_countdown,json=indateCountdown,proto3" json:"indate_countdown,omitempty"`
	Sender               int32        `protobuf:"varint,7,opt,name=sender,proto3" json:"sender,omitempty"`
	SendTime             int64        `protobuf:"varint,8,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"`
	RewardsList          []*MailAward `protobuf:"bytes,9,rep,name=rewards_list,json=rewardsList,proto3" json:"rewards_list,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (m *MailDetail) Reset()         { *m = MailDetail{} }
func (m *MailDetail) String() string { return proto.CompactTextString(m) }
func (*MailDetail) ProtoMessage()    {}
func (*MailDetail) Descriptor() ([]byte, []int) {
	return fileDescriptor_b2c7d09e3ac5d40e, []int{0}
}

func (m *MailDetail) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MailDetail.Unmarshal(m, b)
}
func (m *MailDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MailDetail.Marshal(b, m, deterministic)
}
func (m *MailDetail) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MailDetail.Merge(m, src)
}
func (m *MailDetail) XXX_Size() int {
	return xxx_messageInfo_MailDetail.Size(m)
}
func (m *MailDetail) XXX_DiscardUnknown() {
	xxx_messageInfo_MailDetail.DiscardUnknown(m)
}

var xxx_messageInfo_MailDetail proto.InternalMessageInfo

func (m *MailDetail) GetMailId() string {
	if m != nil {
		return m.MailId
	}
	return ""
}

func (m *MailDetail) GetMailType() int32 {
	if m != nil {
		return m.MailType
	}
	return 0
}

func (m *MailDetail) GetTitle() string {
	if m != nil {
		return m.Title
	}
	return ""
}

func (m *MailDetail) GetState() int32 {
	if m != nil {
		return m.State
	}
	return 0
}

func (m *MailDetail) GetContent() string {
	if m != nil {
		return m.Content
	}
	return ""
}

func (m *MailDetail) GetIndateCountdown() int64 {
	if m != nil {
		return m.IndateCountdown
	}
	return 0
}

func (m *MailDetail) GetSender() int32 {
	if m != nil {
		return m.Sender
	}
	return 0
}

func (m *MailDetail) GetSendTime() int64 {
	if m != nil {
		return m.SendTime
	}
	return 0
}

func (m *MailDetail) GetRewardsList() []*MailAward {
	if m != nil {
		return m.RewardsList
	}
	return nil
}

type MailAward struct {
	Award                *GameObjectCount `protobuf:"bytes,1,opt,name=award,proto3" json:"award,omitempty"`
	Available            bool                   `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (m *MailAward) Reset()         { *m = MailAward{} }
func (m *MailAward) String() string { return proto.CompactTextString(m) }
func (*MailAward) ProtoMessage()    {}
func (*MailAward) Descriptor() ([]byte, []int) {
	return fileDescriptor_b2c7d09e3ac5d40e, []int{1}
}

func (m *MailAward) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MailAward.Unmarshal(m, b)
}
func (m *MailAward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MailAward.Marshal(b, m, deterministic)
}
func (m *MailAward) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MailAward.Merge(m, src)
}
func (m *MailAward) XXX_Size() int {
	return xxx_messageInfo_MailAward.Size(m)
}
func (m *MailAward) XXX_DiscardUnknown() {
	xxx_messageInfo_MailAward.DiscardUnknown(m)
}

var xxx_messageInfo_MailAward proto.InternalMessageInfo

func (m *MailAward) GetAward() *GameObjectCount {
	if m != nil {
		return m.Award
	}
	return nil
}

func (m *MailAward) GetAvailable() bool {
	if m != nil {
		return m.Available
	}
	return false
}

func init() {
	proto.RegisterType((*MailDetail)(nil), "proto.MailDetail")
	proto.RegisterType((*MailAward)(nil), "proto.MailAward")
}

func init() { proto.RegisterFile("model/mail.proto", fileDescriptor_b2c7d09e3ac5d40e) }

var fileDescriptor_b2c7d09e3ac5d40e = []byte{
	// 304 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x90, 0x51, 0x4b, 0xfb, 0x30,
	0x14, 0xc5, 0xe9, 0xf6, 0x6f, 0xd7, 0xde, 0xfd, 0xc1, 0x11, 0x64, 0x0b, 0xea, 0x43, 0xd9, 0x53,
	0x05, 0x99, 0xb0, 0x7d, 0x02, 0x51, 0x10, 0x41, 0x11, 0xca, 0xc0, 0xc7, 0x72, 0xb7, 0x5c, 0x24,
	0x92, 0x26, 0xa3, 0xbd, 0x3a, 0xf6, 0x61, 0xfc, 0xae, 0x92, 0x64, 0xd3, 0xa7, 0xe6, 0xfc, 0xce,
	0x39, 0xe5, 0x72, 0x60, 0xd2, 0x3a, 0x45, 0xe6, 0xb6, 0x45, 0x6d, 0x16, 0xbb, 0xce, 0xb1, 0x13,
	0x69, 0xf8, 0x5c, 0xcc, 0xa2, 0xf1, 0x8e, 0x2d, 0x35, 0x6e, 0xf3, 0x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