123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: announcement.proto
- // package声明符,用来防止不同的消息类型有命名冲突
- package 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 AnnouncementListRequest struct {
- Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
- PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- GardenId int64 `protobuf:"varint,3,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Uid int64 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnnouncementListRequest) Reset() { *m = AnnouncementListRequest{} }
- func (m *AnnouncementListRequest) String() string { return proto.CompactTextString(m) }
- func (*AnnouncementListRequest) ProtoMessage() {}
- func (*AnnouncementListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_0080e911b962c5cf, []int{0}
- }
- func (m *AnnouncementListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AnnouncementListRequest.Unmarshal(m, b)
- }
- func (m *AnnouncementListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AnnouncementListRequest.Marshal(b, m, deterministic)
- }
- func (m *AnnouncementListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnnouncementListRequest.Merge(m, src)
- }
- func (m *AnnouncementListRequest) XXX_Size() int {
- return xxx_messageInfo_AnnouncementListRequest.Size(m)
- }
- func (m *AnnouncementListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_AnnouncementListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnnouncementListRequest proto.InternalMessageInfo
- func (m *AnnouncementListRequest) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *AnnouncementListRequest) GetPageSize() int64 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- func (m *AnnouncementListRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *AnnouncementListRequest) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- type AnnouncementItem struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
- Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content"`
- CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
- ReadCount int64 `protobuf:"varint,5,opt,name=read_count,json=readCount,proto3" json:"read_count"`
- Read bool `protobuf:"varint,6,opt,name=read,proto3" json:"read"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnnouncementItem) Reset() { *m = AnnouncementItem{} }
- func (m *AnnouncementItem) String() string { return proto.CompactTextString(m) }
- func (*AnnouncementItem) ProtoMessage() {}
- func (*AnnouncementItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_0080e911b962c5cf, []int{1}
- }
- func (m *AnnouncementItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AnnouncementItem.Unmarshal(m, b)
- }
- func (m *AnnouncementItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AnnouncementItem.Marshal(b, m, deterministic)
- }
- func (m *AnnouncementItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnnouncementItem.Merge(m, src)
- }
- func (m *AnnouncementItem) XXX_Size() int {
- return xxx_messageInfo_AnnouncementItem.Size(m)
- }
- func (m *AnnouncementItem) XXX_DiscardUnknown() {
- xxx_messageInfo_AnnouncementItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnnouncementItem proto.InternalMessageInfo
- func (m *AnnouncementItem) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *AnnouncementItem) GetTitle() string {
- if m != nil {
- return m.Title
- }
- return ""
- }
- func (m *AnnouncementItem) GetContent() string {
- if m != nil {
- return m.Content
- }
- return ""
- }
- func (m *AnnouncementItem) GetCreatedAt() string {
- if m != nil {
- return m.CreatedAt
- }
- return ""
- }
- func (m *AnnouncementItem) GetReadCount() int64 {
- if m != nil {
- return m.ReadCount
- }
- return 0
- }
- func (m *AnnouncementItem) GetRead() bool {
- if m != nil {
- return m.Read
- }
- return false
- }
- type AnnouncementListReply struct {
- Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
- Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
- List []*AnnouncementItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnnouncementListReply) Reset() { *m = AnnouncementListReply{} }
- func (m *AnnouncementListReply) String() string { return proto.CompactTextString(m) }
- func (*AnnouncementListReply) ProtoMessage() {}
- func (*AnnouncementListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_0080e911b962c5cf, []int{2}
- }
- func (m *AnnouncementListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AnnouncementListReply.Unmarshal(m, b)
- }
- func (m *AnnouncementListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AnnouncementListReply.Marshal(b, m, deterministic)
- }
- func (m *AnnouncementListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnnouncementListReply.Merge(m, src)
- }
- func (m *AnnouncementListReply) XXX_Size() int {
- return xxx_messageInfo_AnnouncementListReply.Size(m)
- }
- func (m *AnnouncementListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_AnnouncementListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnnouncementListReply proto.InternalMessageInfo
- func (m *AnnouncementListReply) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *AnnouncementListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *AnnouncementListReply) GetList() []*AnnouncementItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- type AnnouncementReadAddRequest struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- GardenId int64 `protobuf:"varint,2,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnnouncementReadAddRequest) Reset() { *m = AnnouncementReadAddRequest{} }
- func (m *AnnouncementReadAddRequest) String() string { return proto.CompactTextString(m) }
- func (*AnnouncementReadAddRequest) ProtoMessage() {}
- func (*AnnouncementReadAddRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_0080e911b962c5cf, []int{3}
- }
- func (m *AnnouncementReadAddRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AnnouncementReadAddRequest.Unmarshal(m, b)
- }
- func (m *AnnouncementReadAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AnnouncementReadAddRequest.Marshal(b, m, deterministic)
- }
- func (m *AnnouncementReadAddRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnnouncementReadAddRequest.Merge(m, src)
- }
- func (m *AnnouncementReadAddRequest) XXX_Size() int {
- return xxx_messageInfo_AnnouncementReadAddRequest.Size(m)
- }
- func (m *AnnouncementReadAddRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_AnnouncementReadAddRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnnouncementReadAddRequest proto.InternalMessageInfo
- func (m *AnnouncementReadAddRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *AnnouncementReadAddRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *AnnouncementReadAddRequest) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- type AnnouncementReadAddReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *AnnouncementReadAddReply) Reset() { *m = AnnouncementReadAddReply{} }
- func (m *AnnouncementReadAddReply) String() string { return proto.CompactTextString(m) }
- func (*AnnouncementReadAddReply) ProtoMessage() {}
- func (*AnnouncementReadAddReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_0080e911b962c5cf, []int{4}
- }
- func (m *AnnouncementReadAddReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AnnouncementReadAddReply.Unmarshal(m, b)
- }
- func (m *AnnouncementReadAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AnnouncementReadAddReply.Marshal(b, m, deterministic)
- }
- func (m *AnnouncementReadAddReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AnnouncementReadAddReply.Merge(m, src)
- }
- func (m *AnnouncementReadAddReply) XXX_Size() int {
- return xxx_messageInfo_AnnouncementReadAddReply.Size(m)
- }
- func (m *AnnouncementReadAddReply) XXX_DiscardUnknown() {
- xxx_messageInfo_AnnouncementReadAddReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_AnnouncementReadAddReply proto.InternalMessageInfo
- func init() {
- proto.RegisterType((*AnnouncementListRequest)(nil), "pb_v1.AnnouncementListRequest")
- proto.RegisterType((*AnnouncementItem)(nil), "pb_v1.AnnouncementItem")
- proto.RegisterType((*AnnouncementListReply)(nil), "pb_v1.AnnouncementListReply")
- proto.RegisterType((*AnnouncementReadAddRequest)(nil), "pb_v1.AnnouncementReadAddRequest")
- proto.RegisterType((*AnnouncementReadAddReply)(nil), "pb_v1.AnnouncementReadAddReply")
- }
- func init() {
- proto.RegisterFile("announcement.proto", fileDescriptor_0080e911b962c5cf)
- }
- var fileDescriptor_0080e911b962c5cf = []byte{
- // 343 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x51, 0x8b, 0xda, 0x40,
- 0x14, 0x85, 0x49, 0xa2, 0xd6, 0xdc, 0x42, 0x91, 0xa1, 0xc5, 0xc1, 0x52, 0x90, 0x3c, 0x09, 0x45,
- 0xc5, 0xf6, 0x17, 0xd8, 0x3e, 0x09, 0x7d, 0x9a, 0xbe, 0xed, 0x3e, 0x84, 0x31, 0x73, 0xd1, 0x81,
- 0x38, 0x33, 0x9b, 0xdc, 0xb8, 0xc4, 0xdf, 0xb3, 0x3f, 0x74, 0x99, 0x89, 0xb2, 0xae, 0xeb, 0x53,
- 0xee, 0x39, 0x27, 0xe4, 0xcc, 0xfd, 0x32, 0xc0, 0xa4, 0x31, 0xb6, 0x31, 0x05, 0x1e, 0xd0, 0xd0,
- 0xc2, 0x55, 0x96, 0x2c, 0xeb, 0xbb,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