// Code generated by protoc-gen-go. DO NOT EDIT.
// source: adventar/v1/resources.proto

package adventar_v1

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

// 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 User struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	IconUrl              string   `protobuf:"bytes,3,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_User proto.InternalMessageInfo

func (m *User) GetId() int64 {
	if m != nil {
		return m.Id
	}
	return 0
}

func (m *User) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

func (m *User) GetIconUrl() string {
	if m != nil {
		return m.IconUrl
	}
	return ""
}

type Calendar struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Owner                *User    `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	Title                string   `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Description          string   `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Year                 int32    `protobuf:"varint,5,opt,name=year,proto3" json:"year,omitempty"`
	EntryCount           int32    `protobuf:"varint,6,opt,name=entry_count,json=entryCount,proto3" json:"entry_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_Calendar proto.InternalMessageInfo

func (m *Calendar) GetId() int64 {
	if m != nil {
		return m.Id
	}
	return 0
}

func (m *Calendar) GetOwner() *User {
	if m != nil {
		return m.Owner
	}
	return nil
}

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

func (m *Calendar) GetDescription() string {
	if m != nil {
		return m.Description
	}
	return ""
}

func (m *Calendar) GetYear() int32 {
	if m != nil {
		return m.Year
	}
	return 0
}

func (m *Calendar) GetEntryCount() int32 {
	if m != nil {
		return m.EntryCount
	}
	return 0
}

type Entry struct {
	Id                   int64     `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Owner                *User     `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	Calendar             *Calendar `protobuf:"bytes,3,opt,name=calendar,proto3" json:"calendar,omitempty"`
	Day                  int32     `protobuf:"varint,4,opt,name=day,proto3" json:"day,omitempty"`
	Comment              string    `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"`
	Url                  string    `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
	Title                string    `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"`
	ImageUrl             string    `protobuf:"bytes,8,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (m *Entry) Reset()         { *m = Entry{} }
func (m *Entry) String() string { return proto.CompactTextString(m) }
func (*Entry) ProtoMessage()    {}
func (*Entry) Descriptor() ([]byte, []int) {
	return fileDescriptor_76df1f65f3b52923, []int{2}
}

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

var xxx_messageInfo_Entry proto.InternalMessageInfo

func (m *Entry) GetId() int64 {
	if m != nil {
		return m.Id
	}
	return 0
}

func (m *Entry) GetOwner() *User {
	if m != nil {
		return m.Owner
	}
	return nil
}

func (m *Entry) GetCalendar() *Calendar {
	if m != nil {
		return m.Calendar
	}
	return nil
}

func (m *Entry) GetDay() int32 {
	if m != nil {
		return m.Day
	}
	return 0
}

func (m *Entry) GetComment() string {
	if m != nil {
		return m.Comment
	}
	return ""
}

func (m *Entry) GetUrl() string {
	if m != nil {
		return m.Url
	}
	return ""
}

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

func (m *Entry) GetImageUrl() string {
	if m != nil {
		return m.ImageUrl
	}
	return ""
}

type CalendarStat struct {
	Year                 int32    `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"`
	CalendarsCount       int32    `protobuf:"varint,2,opt,name=calendars_count,json=calendarsCount,proto3" json:"calendars_count,omitempty"`
	EntriesCount         int32    `protobuf:"varint,3,opt,name=entries_count,json=entriesCount,proto3" json:"entries_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *CalendarStat) Reset()         { *m = CalendarStat{} }
func (m *CalendarStat) String() string { return proto.CompactTextString(m) }
func (*CalendarStat) ProtoMessage()    {}
func (*CalendarStat) Descriptor() ([]byte, []int) {
	return fileDescriptor_76df1f65f3b52923, []int{3}
}

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

var xxx_messageInfo_CalendarStat proto.InternalMessageInfo

func (m *CalendarStat) GetYear() int32 {
	if m != nil {
		return m.Year
	}
	return 0
}

func (m *CalendarStat) GetCalendarsCount() int32 {
	if m != nil {
		return m.CalendarsCount
	}
	return 0
}

func (m *CalendarStat) GetEntriesCount() int32 {
	if m != nil {
		return m.EntriesCount
	}
	return 0
}

func init() {
	proto.RegisterType((*User)(nil), "adventar.v1.User")
	proto.RegisterType((*Calendar)(nil), "adventar.v1.Calendar")
	proto.RegisterType((*Entry)(nil), "adventar.v1.Entry")
	proto.RegisterType((*CalendarStat)(nil), "adventar.v1.CalendarStat")
}

func init() { proto.RegisterFile("adventar/v1/resources.proto", fileDescriptor_76df1f65f3b52923) }

var fileDescriptor_76df1f65f3b52923 = []byte{
	// 350 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x41, 0x6e, 0xe2, 0x30,
	0x14, 0x86, 0x95, 0x84, 0x40, 0x78, 0x61, 0x98, 0x19, 0x6b, 0x46, 0x72, 0xc5, 0xa2, 0x11, 0x5d,
	0xc0, 0x2a, 0x08, 0x7a, 0x04, 0xc4, 0x05, 0x5c, 0xb1, 0x46, 0x6e, 0xf2, 0x54, 0x59, 0x4a, 0x6c,
	0xe4, 0x18, 0x2a, 0x6e, 0xd5, 0x43, 0xf5, 0x20, 0x95, 0x1f, 0x09, 0x4d, 0xd5, 0x5d, 0x77, 0xef,
	0xfd, 0xff, 0x2f, 0xe7, 0xf7, 0xe7, 0xc0, 0x4c, 0x96, 0x67, 0xd4, 0x4e, 0xda, 0xd5, 0x79, 0xbd,
	0xb2, 0xd8, 0x98, 0x93, 0x2d, 0xb0, 0xc9, 0x8f, 0xd6, 0x38, 0xc3, 0xd2, 0xce, 0xcc, 0xcf, 0xeb,
	0xf9, 0x0e, 0x06, 0xfb, 0x06, 0x2d, 0x9b, 0x42, 0xa8, 0x4a, 0x1e, 0x64, 0xc1, 0x32, 0x12, 0xa1,
	0x2a, 0x19, 0x83, 0x81, 0x96, 0x35, 0xf2, 0x30, 0x0b, 0x96, 0x63, 0x41, 0x33, 0xbb, 0x83, 0x44,
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