12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: neighbor.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 NeighborClassAddRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- // 分类名
- ClassName string `protobuf:"bytes,2,opt,name=class_name,json=className,proto3" json:"class_name"`
- // 分类图标
- ClassPic string `protobuf:"bytes,3,opt,name=class_pic,json=classPic,proto3" json:"class_pic"`
- // true 开启 false 禁用
- Enable bool `protobuf:"varint,4,opt,name=enable,proto3" json:"enable"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborClassAddRequest) Reset() { *m = NeighborClassAddRequest{} }
- func (m *NeighborClassAddRequest) String() string { return proto.CompactTextString(m) }
- func (*NeighborClassAddRequest) ProtoMessage() {}
- func (*NeighborClassAddRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{0}
- }
- func (m *NeighborClassAddRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborClassAddRequest.Unmarshal(m, b)
- }
- func (m *NeighborClassAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborClassAddRequest.Marshal(b, m, deterministic)
- }
- func (m *NeighborClassAddRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborClassAddRequest.Merge(m, src)
- }
- func (m *NeighborClassAddRequest) XXX_Size() int {
- return xxx_messageInfo_NeighborClassAddRequest.Size(m)
- }
- func (m *NeighborClassAddRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborClassAddRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborClassAddRequest proto.InternalMessageInfo
- func (m *NeighborClassAddRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *NeighborClassAddRequest) GetClassName() string {
- if m != nil {
- return m.ClassName
- }
- return ""
- }
- func (m *NeighborClassAddRequest) GetClassPic() string {
- if m != nil {
- return m.ClassPic
- }
- return ""
- }
- func (m *NeighborClassAddRequest) GetEnable() bool {
- if m != nil {
- return m.Enable
- }
- return false
- }
- type NeighborClassAddReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborClassAddReply) Reset() { *m = NeighborClassAddReply{} }
- func (m *NeighborClassAddReply) String() string { return proto.CompactTextString(m) }
- func (*NeighborClassAddReply) ProtoMessage() {}
- func (*NeighborClassAddReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{1}
- }
- func (m *NeighborClassAddReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborClassAddReply.Unmarshal(m, b)
- }
- func (m *NeighborClassAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborClassAddReply.Marshal(b, m, deterministic)
- }
- func (m *NeighborClassAddReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborClassAddReply.Merge(m, src)
- }
- func (m *NeighborClassAddReply) XXX_Size() int {
- return xxx_messageInfo_NeighborClassAddReply.Size(m)
- }
- func (m *NeighborClassAddReply) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborClassAddReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborClassAddReply proto.InternalMessageInfo
- type NeighborClassDelRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborClassDelRequest) Reset() { *m = NeighborClassDelRequest{} }
- func (m *NeighborClassDelRequest) String() string { return proto.CompactTextString(m) }
- func (*NeighborClassDelRequest) ProtoMessage() {}
- func (*NeighborClassDelRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{2}
- }
- func (m *NeighborClassDelRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborClassDelRequest.Unmarshal(m, b)
- }
- func (m *NeighborClassDelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborClassDelRequest.Marshal(b, m, deterministic)
- }
- func (m *NeighborClassDelRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborClassDelRequest.Merge(m, src)
- }
- func (m *NeighborClassDelRequest) XXX_Size() int {
- return xxx_messageInfo_NeighborClassDelRequest.Size(m)
- }
- func (m *NeighborClassDelRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborClassDelRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborClassDelRequest proto.InternalMessageInfo
- func (m *NeighborClassDelRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *NeighborClassDelRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- type NeighborClassDelReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborClassDelReply) Reset() { *m = NeighborClassDelReply{} }
- func (m *NeighborClassDelReply) String() string { return proto.CompactTextString(m) }
- func (*NeighborClassDelReply) ProtoMessage() {}
- func (*NeighborClassDelReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{3}
- }
- func (m *NeighborClassDelReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborClassDelReply.Unmarshal(m, b)
- }
- func (m *NeighborClassDelReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborClassDelReply.Marshal(b, m, deterministic)
- }
- func (m *NeighborClassDelReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborClassDelReply.Merge(m, src)
- }
- func (m *NeighborClassDelReply) XXX_Size() int {
- return xxx_messageInfo_NeighborClassDelReply.Size(m)
- }
- func (m *NeighborClassDelReply) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborClassDelReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborClassDelReply proto.InternalMessageInfo
- type NeighborClassUpdateRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id"`
- ClassName string `protobuf:"bytes,3,opt,name=class_name,json=className,proto3" json:"class_name"`
- ClassPic string `protobuf:"bytes,4,opt,name=class_pic,json=classPic,proto3" json:"class_pic"`
- Enable bool `protobuf:"varint,5,opt,name=enable,proto3" json:"enable"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborClassUpdateRequest) Reset() { *m = NeighborClassUpdateRequest{} }
- func (m *NeighborClassUpdateRequest) String() string { return proto.CompactTextString(m) }
- func (*NeighborClassUpdateRequest) ProtoMessage() {}
- func (*NeighborClassUpdateRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{4}
- }
- func (m *NeighborClassUpdateRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborClassUpdateRequest.Unmarshal(m, b)
- }
- func (m *NeighborClassUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborClassUpdateRequest.Marshal(b, m, deterministic)
- }
- func (m *NeighborClassUpdateRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborClassUpdateRequest.Merge(m, src)
- }
- func (m *NeighborClassUpdateRequest) XXX_Size() int {
- return xxx_messageInfo_NeighborClassUpdateRequest.Size(m)
- }
- func (m *NeighborClassUpdateRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborClassUpdateRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborClassUpdateRequest proto.InternalMessageInfo
- func (m *NeighborClassUpdateRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *NeighborClassUpdateRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *NeighborClassUpdateRequest) GetClassName() string {
- if m != nil {
- return m.ClassName
- }
- return ""
- }
- func (m *NeighborClassUpdateRequest) GetClassPic() string {
- if m != nil {
- return m.ClassPic
- }
- return ""
- }
- func (m *NeighborClassUpdateRequest) GetEnable() bool {
- if m != nil {
- return m.Enable
- }
- return false
- }
- type NeighborClassUpdateReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborClassUpdateReply) Reset() { *m = NeighborClassUpdateReply{} }
- func (m *NeighborClassUpdateReply) String() string { return proto.CompactTextString(m) }
- func (*NeighborClassUpdateReply) ProtoMessage() {}
- func (*NeighborClassUpdateReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{5}
- }
- func (m *NeighborClassUpdateReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborClassUpdateReply.Unmarshal(m, b)
- }
- func (m *NeighborClassUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborClassUpdateReply.Marshal(b, m, deterministic)
- }
- func (m *NeighborClassUpdateReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborClassUpdateReply.Merge(m, src)
- }
- func (m *NeighborClassUpdateReply) XXX_Size() int {
- return xxx_messageInfo_NeighborClassUpdateReply.Size(m)
- }
- func (m *NeighborClassUpdateReply) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborClassUpdateReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborClassUpdateReply proto.InternalMessageInfo
- type NeighborClassItem struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- ClassName string `protobuf:"bytes,2,opt,name=class_name,json=className,proto3" json:"class_name"`
- ClassPic string `protobuf:"bytes,3,opt,name=class_pic,json=classPic,proto3" json:"class_pic"`
- Enable bool `protobuf:"varint,4,opt,name=enable,proto3" json:"enable"`
- // 分类下的文章总数
- ArticleCount int64 `protobuf:"varint,5,opt,name=article_count,json=articleCount,proto3" json:"article_count"`
- // 分类创建时间
- CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
- // 分类结束时间
- UpdatedAt string `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborClassItem) Reset() { *m = NeighborClassItem{} }
- func (m *NeighborClassItem) String() string { return proto.CompactTextString(m) }
- func (*NeighborClassItem) ProtoMessage() {}
- func (*NeighborClassItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{6}
- }
- func (m *NeighborClassItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborClassItem.Unmarshal(m, b)
- }
- func (m *NeighborClassItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborClassItem.Marshal(b, m, deterministic)
- }
- func (m *NeighborClassItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborClassItem.Merge(m, src)
- }
- func (m *NeighborClassItem) XXX_Size() int {
- return xxx_messageInfo_NeighborClassItem.Size(m)
- }
- func (m *NeighborClassItem) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborClassItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborClassItem proto.InternalMessageInfo
- func (m *NeighborClassItem) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *NeighborClassItem) GetClassName() string {
- if m != nil {
- return m.ClassName
- }
- return ""
- }
- func (m *NeighborClassItem) GetClassPic() string {
- if m != nil {
- return m.ClassPic
- }
- return ""
- }
- func (m *NeighborClassItem) GetEnable() bool {
- if m != nil {
- return m.Enable
- }
- return false
- }
- func (m *NeighborClassItem) GetArticleCount() int64 {
- if m != nil {
- return m.ArticleCount
- }
- return 0
- }
- func (m *NeighborClassItem) GetCreatedAt() string {
- if m != nil {
- return m.CreatedAt
- }
- return ""
- }
- func (m *NeighborClassItem) GetUpdatedAt() string {
- if m != nil {
- return m.UpdatedAt
- }
- return ""
- }
- type NeighborClassListRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- ClassName string `protobuf:"bytes,2,opt,name=class_name,json=className,proto3" json:"class_name"`
- Page int64 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
- PageSize int64 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborClassListRequest) Reset() { *m = NeighborClassListRequest{} }
- func (m *NeighborClassListRequest) String() string { return proto.CompactTextString(m) }
- func (*NeighborClassListRequest) ProtoMessage() {}
- func (*NeighborClassListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{7}
- }
- func (m *NeighborClassListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborClassListRequest.Unmarshal(m, b)
- }
- func (m *NeighborClassListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborClassListRequest.Marshal(b, m, deterministic)
- }
- func (m *NeighborClassListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborClassListRequest.Merge(m, src)
- }
- func (m *NeighborClassListRequest) XXX_Size() int {
- return xxx_messageInfo_NeighborClassListRequest.Size(m)
- }
- func (m *NeighborClassListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborClassListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborClassListRequest proto.InternalMessageInfo
- func (m *NeighborClassListRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *NeighborClassListRequest) GetClassName() string {
- if m != nil {
- return m.ClassName
- }
- return ""
- }
- func (m *NeighborClassListRequest) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *NeighborClassListRequest) GetPageSize() int64 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- type NeighborClassListReply struct {
- Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
- Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
- List []*NeighborClassItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborClassListReply) Reset() { *m = NeighborClassListReply{} }
- func (m *NeighborClassListReply) String() string { return proto.CompactTextString(m) }
- func (*NeighborClassListReply) ProtoMessage() {}
- func (*NeighborClassListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{8}
- }
- func (m *NeighborClassListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborClassListReply.Unmarshal(m, b)
- }
- func (m *NeighborClassListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborClassListReply.Marshal(b, m, deterministic)
- }
- func (m *NeighborClassListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborClassListReply.Merge(m, src)
- }
- func (m *NeighborClassListReply) XXX_Size() int {
- return xxx_messageInfo_NeighborClassListReply.Size(m)
- }
- func (m *NeighborClassListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborClassListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborClassListReply proto.InternalMessageInfo
- func (m *NeighborClassListReply) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *NeighborClassListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *NeighborClassListReply) GetList() []*NeighborClassItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- // 社区邻里文章
- type NeighborArticleAddRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- // 文章标题
- Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
- // 文章类容
- Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content"`
- // 文章图片
- Pics []string `protobuf:"bytes,4,rep,name=pics,proto3" json:"pics"`
- // 分类id
- ClassId int64 `protobuf:"varint,5,opt,name=class_id,json=classId,proto3" json:"class_id"`
- Uid int64 `protobuf:"varint,6,opt,name=uid,proto3" json:"uid"`
- UserIcon string `protobuf:"bytes,7,opt,name=user_icon,json=userIcon,proto3" json:"user_icon"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborArticleAddRequest) Reset() { *m = NeighborArticleAddRequest{} }
- func (m *NeighborArticleAddRequest) String() string { return proto.CompactTextString(m) }
- func (*NeighborArticleAddRequest) ProtoMessage() {}
- func (*NeighborArticleAddRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{9}
- }
- func (m *NeighborArticleAddRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborArticleAddRequest.Unmarshal(m, b)
- }
- func (m *NeighborArticleAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborArticleAddRequest.Marshal(b, m, deterministic)
- }
- func (m *NeighborArticleAddRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborArticleAddRequest.Merge(m, src)
- }
- func (m *NeighborArticleAddRequest) XXX_Size() int {
- return xxx_messageInfo_NeighborArticleAddRequest.Size(m)
- }
- func (m *NeighborArticleAddRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborArticleAddRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborArticleAddRequest proto.InternalMessageInfo
- func (m *NeighborArticleAddRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *NeighborArticleAddRequest) GetTitle() string {
- if m != nil {
- return m.Title
- }
- return ""
- }
- func (m *NeighborArticleAddRequest) GetContent() string {
- if m != nil {
- return m.Content
- }
- return ""
- }
- func (m *NeighborArticleAddRequest) GetPics() []string {
- if m != nil {
- return m.Pics
- }
- return nil
- }
- func (m *NeighborArticleAddRequest) GetClassId() int64 {
- if m != nil {
- return m.ClassId
- }
- return 0
- }
- func (m *NeighborArticleAddRequest) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *NeighborArticleAddRequest) GetUserIcon() string {
- if m != nil {
- return m.UserIcon
- }
- return ""
- }
- type NeighborArticleAddReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborArticleAddReply) Reset() { *m = NeighborArticleAddReply{} }
- func (m *NeighborArticleAddReply) String() string { return proto.CompactTextString(m) }
- func (*NeighborArticleAddReply) ProtoMessage() {}
- func (*NeighborArticleAddReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{10}
- }
- func (m *NeighborArticleAddReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborArticleAddReply.Unmarshal(m, b)
- }
- func (m *NeighborArticleAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborArticleAddReply.Marshal(b, m, deterministic)
- }
- func (m *NeighborArticleAddReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborArticleAddReply.Merge(m, src)
- }
- func (m *NeighborArticleAddReply) XXX_Size() int {
- return xxx_messageInfo_NeighborArticleAddReply.Size(m)
- }
- func (m *NeighborArticleAddReply) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborArticleAddReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborArticleAddReply proto.InternalMessageInfo
- type NeighborArticleDelRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id"`
- Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid"`
- Admin bool `protobuf:"varint,4,opt,name=admin,proto3" json:"admin"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborArticleDelRequest) Reset() { *m = NeighborArticleDelRequest{} }
- func (m *NeighborArticleDelRequest) String() string { return proto.CompactTextString(m) }
- func (*NeighborArticleDelRequest) ProtoMessage() {}
- func (*NeighborArticleDelRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{11}
- }
- func (m *NeighborArticleDelRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborArticleDelRequest.Unmarshal(m, b)
- }
- func (m *NeighborArticleDelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborArticleDelRequest.Marshal(b, m, deterministic)
- }
- func (m *NeighborArticleDelRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborArticleDelRequest.Merge(m, src)
- }
- func (m *NeighborArticleDelRequest) XXX_Size() int {
- return xxx_messageInfo_NeighborArticleDelRequest.Size(m)
- }
- func (m *NeighborArticleDelRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborArticleDelRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborArticleDelRequest proto.InternalMessageInfo
- func (m *NeighborArticleDelRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *NeighborArticleDelRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *NeighborArticleDelRequest) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *NeighborArticleDelRequest) GetAdmin() bool {
- if m != nil {
- return m.Admin
- }
- return false
- }
- type NeighborArticleDelReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborArticleDelReply) Reset() { *m = NeighborArticleDelReply{} }
- func (m *NeighborArticleDelReply) String() string { return proto.CompactTextString(m) }
- func (*NeighborArticleDelReply) ProtoMessage() {}
- func (*NeighborArticleDelReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{12}
- }
- func (m *NeighborArticleDelReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborArticleDelReply.Unmarshal(m, b)
- }
- func (m *NeighborArticleDelReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborArticleDelReply.Marshal(b, m, deterministic)
- }
- func (m *NeighborArticleDelReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborArticleDelReply.Merge(m, src)
- }
- func (m *NeighborArticleDelReply) XXX_Size() int {
- return xxx_messageInfo_NeighborArticleDelReply.Size(m)
- }
- func (m *NeighborArticleDelReply) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborArticleDelReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborArticleDelReply proto.InternalMessageInfo
- type NeighborArticleUpdateRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
- Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content"`
- Pics []string `protobuf:"bytes,4,rep,name=pics,proto3" json:"pics"`
- Id int64 `protobuf:"varint,5,opt,name=id,proto3" json:"id"`
- Uid int64 `protobuf:"varint,6,opt,name=uid,proto3" json:"uid"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborArticleUpdateRequest) Reset() { *m = NeighborArticleUpdateRequest{} }
- func (m *NeighborArticleUpdateRequest) String() string { return proto.CompactTextString(m) }
- func (*NeighborArticleUpdateRequest) ProtoMessage() {}
- func (*NeighborArticleUpdateRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{13}
- }
- func (m *NeighborArticleUpdateRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborArticleUpdateRequest.Unmarshal(m, b)
- }
- func (m *NeighborArticleUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborArticleUpdateRequest.Marshal(b, m, deterministic)
- }
- func (m *NeighborArticleUpdateRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborArticleUpdateRequest.Merge(m, src)
- }
- func (m *NeighborArticleUpdateRequest) XXX_Size() int {
- return xxx_messageInfo_NeighborArticleUpdateRequest.Size(m)
- }
- func (m *NeighborArticleUpdateRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborArticleUpdateRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborArticleUpdateRequest proto.InternalMessageInfo
- func (m *NeighborArticleUpdateRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *NeighborArticleUpdateRequest) GetTitle() string {
- if m != nil {
- return m.Title
- }
- return ""
- }
- func (m *NeighborArticleUpdateRequest) GetContent() string {
- if m != nil {
- return m.Content
- }
- return ""
- }
- func (m *NeighborArticleUpdateRequest) GetPics() []string {
- if m != nil {
- return m.Pics
- }
- return nil
- }
- func (m *NeighborArticleUpdateRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *NeighborArticleUpdateRequest) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- type NeighborArticleUpdateReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborArticleUpdateReply) Reset() { *m = NeighborArticleUpdateReply{} }
- func (m *NeighborArticleUpdateReply) String() string { return proto.CompactTextString(m) }
- func (*NeighborArticleUpdateReply) ProtoMessage() {}
- func (*NeighborArticleUpdateReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{14}
- }
- func (m *NeighborArticleUpdateReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborArticleUpdateReply.Unmarshal(m, b)
- }
- func (m *NeighborArticleUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborArticleUpdateReply.Marshal(b, m, deterministic)
- }
- func (m *NeighborArticleUpdateReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborArticleUpdateReply.Merge(m, src)
- }
- func (m *NeighborArticleUpdateReply) XXX_Size() int {
- return xxx_messageInfo_NeighborArticleUpdateReply.Size(m)
- }
- func (m *NeighborArticleUpdateReply) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborArticleUpdateReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborArticleUpdateReply proto.InternalMessageInfo
- type NeighborArticleItem 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"`
- Pics []string `protobuf:"bytes,4,rep,name=pics,proto3" json:"pics"`
- // 文章点赞数
- Likes int64 `protobuf:"varint,5,opt,name=likes,proto3" json:"likes"`
- // 评论总数
- CommentCount int64 `protobuf:"varint,6,opt,name=comment_count,json=commentCount,proto3" json:"comment_count"`
- CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
- UpdatedAt string `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at"`
- // 分类id
- ClassId int64 `protobuf:"varint,9,opt,name=class_id,json=classId,proto3" json:"class_id"`
- // true 本人已点赞 false 本人未点赞
- Like bool `protobuf:"varint,10,opt,name=like,proto3" json:"like"`
- Uid int64 `protobuf:"varint,11,opt,name=uid,proto3" json:"uid"`
- UserName string `protobuf:"bytes,12,opt,name=user_name,json=userName,proto3" json:"user_name"`
- UserPhone string `protobuf:"bytes,13,opt,name=user_phone,json=userPhone,proto3" json:"user_phone"`
- // 用户头像
- UserIcon string `protobuf:"bytes,14,opt,name=user_icon,json=userIcon,proto3" json:"user_icon"`
- // 是否是本人发布的文章
- Owner bool `protobuf:"varint,15,opt,name=owner,proto3" json:"owner"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborArticleItem) Reset() { *m = NeighborArticleItem{} }
- func (m *NeighborArticleItem) String() string { return proto.CompactTextString(m) }
- func (*NeighborArticleItem) ProtoMessage() {}
- func (*NeighborArticleItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{15}
- }
- func (m *NeighborArticleItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborArticleItem.Unmarshal(m, b)
- }
- func (m *NeighborArticleItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborArticleItem.Marshal(b, m, deterministic)
- }
- func (m *NeighborArticleItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborArticleItem.Merge(m, src)
- }
- func (m *NeighborArticleItem) XXX_Size() int {
- return xxx_messageInfo_NeighborArticleItem.Size(m)
- }
- func (m *NeighborArticleItem) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborArticleItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborArticleItem proto.InternalMessageInfo
- func (m *NeighborArticleItem) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *NeighborArticleItem) GetTitle() string {
- if m != nil {
- return m.Title
- }
- return ""
- }
- func (m *NeighborArticleItem) GetContent() string {
- if m != nil {
- return m.Content
- }
- return ""
- }
- func (m *NeighborArticleItem) GetPics() []string {
- if m != nil {
- return m.Pics
- }
- return nil
- }
- func (m *NeighborArticleItem) GetLikes() int64 {
- if m != nil {
- return m.Likes
- }
- return 0
- }
- func (m *NeighborArticleItem) GetCommentCount() int64 {
- if m != nil {
- return m.CommentCount
- }
- return 0
- }
- func (m *NeighborArticleItem) GetCreatedAt() string {
- if m != nil {
- return m.CreatedAt
- }
- return ""
- }
- func (m *NeighborArticleItem) GetUpdatedAt() string {
- if m != nil {
- return m.UpdatedAt
- }
- return ""
- }
- func (m *NeighborArticleItem) GetClassId() int64 {
- if m != nil {
- return m.ClassId
- }
- return 0
- }
- func (m *NeighborArticleItem) GetLike() bool {
- if m != nil {
- return m.Like
- }
- return false
- }
- func (m *NeighborArticleItem) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *NeighborArticleItem) GetUserName() string {
- if m != nil {
- return m.UserName
- }
- return ""
- }
- func (m *NeighborArticleItem) GetUserPhone() string {
- if m != nil {
- return m.UserPhone
- }
- return ""
- }
- func (m *NeighborArticleItem) GetUserIcon() string {
- if m != nil {
- return m.UserIcon
- }
- return ""
- }
- func (m *NeighborArticleItem) GetOwner() bool {
- if m != nil {
- return m.Owner
- }
- return false
- }
- type NeighborArticleListRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
- PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title"`
- ClassId int64 `protobuf:"varint,5,opt,name=class_id,json=classId,proto3" json:"class_id"`
- Uid int64 `protobuf:"varint,6,opt,name=uid,proto3" json:"uid"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborArticleListRequest) Reset() { *m = NeighborArticleListRequest{} }
- func (m *NeighborArticleListRequest) String() string { return proto.CompactTextString(m) }
- func (*NeighborArticleListRequest) ProtoMessage() {}
- func (*NeighborArticleListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{16}
- }
- func (m *NeighborArticleListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborArticleListRequest.Unmarshal(m, b)
- }
- func (m *NeighborArticleListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborArticleListRequest.Marshal(b, m, deterministic)
- }
- func (m *NeighborArticleListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborArticleListRequest.Merge(m, src)
- }
- func (m *NeighborArticleListRequest) XXX_Size() int {
- return xxx_messageInfo_NeighborArticleListRequest.Size(m)
- }
- func (m *NeighborArticleListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborArticleListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborArticleListRequest proto.InternalMessageInfo
- func (m *NeighborArticleListRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *NeighborArticleListRequest) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *NeighborArticleListRequest) GetPageSize() int64 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- func (m *NeighborArticleListRequest) GetTitle() string {
- if m != nil {
- return m.Title
- }
- return ""
- }
- func (m *NeighborArticleListRequest) GetClassId() int64 {
- if m != nil {
- return m.ClassId
- }
- return 0
- }
- func (m *NeighborArticleListRequest) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- type NeighborArticleListReply struct {
- Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
- Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
- List []*NeighborArticleItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborArticleListReply) Reset() { *m = NeighborArticleListReply{} }
- func (m *NeighborArticleListReply) String() string { return proto.CompactTextString(m) }
- func (*NeighborArticleListReply) ProtoMessage() {}
- func (*NeighborArticleListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{17}
- }
- func (m *NeighborArticleListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborArticleListReply.Unmarshal(m, b)
- }
- func (m *NeighborArticleListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborArticleListReply.Marshal(b, m, deterministic)
- }
- func (m *NeighborArticleListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborArticleListReply.Merge(m, src)
- }
- func (m *NeighborArticleListReply) XXX_Size() int {
- return xxx_messageInfo_NeighborArticleListReply.Size(m)
- }
- func (m *NeighborArticleListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborArticleListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborArticleListReply proto.InternalMessageInfo
- func (m *NeighborArticleListReply) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *NeighborArticleListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *NeighborArticleListReply) GetList() []*NeighborArticleItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- type NeighborLikeRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
- // 点赞id
- LikeId int64 `protobuf:"varint,3,opt,name=like_id,json=likeId,proto3" json:"like_id"`
- // 点赞类型 1 文章 2 评论
- LikeType int32 `protobuf:"varint,4,opt,name=like_type,json=likeType,proto3" json:"like_type"`
- // true 点赞 false 取消点赞
- Like bool `protobuf:"varint,5,opt,name=like,proto3" json:"like"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborLikeRequest) Reset() { *m = NeighborLikeRequest{} }
- func (m *NeighborLikeRequest) String() string { return proto.CompactTextString(m) }
- func (*NeighborLikeRequest) ProtoMessage() {}
- func (*NeighborLikeRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{18}
- }
- func (m *NeighborLikeRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborLikeRequest.Unmarshal(m, b)
- }
- func (m *NeighborLikeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborLikeRequest.Marshal(b, m, deterministic)
- }
- func (m *NeighborLikeRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborLikeRequest.Merge(m, src)
- }
- func (m *NeighborLikeRequest) XXX_Size() int {
- return xxx_messageInfo_NeighborLikeRequest.Size(m)
- }
- func (m *NeighborLikeRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborLikeRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborLikeRequest proto.InternalMessageInfo
- func (m *NeighborLikeRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *NeighborLikeRequest) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *NeighborLikeRequest) GetLikeId() int64 {
- if m != nil {
- return m.LikeId
- }
- return 0
- }
- func (m *NeighborLikeRequest) GetLikeType() int32 {
- if m != nil {
- return m.LikeType
- }
- return 0
- }
- func (m *NeighborLikeRequest) GetLike() bool {
- if m != nil {
- return m.Like
- }
- return false
- }
- type NeighborLikeReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborLikeReply) Reset() { *m = NeighborLikeReply{} }
- func (m *NeighborLikeReply) String() string { return proto.CompactTextString(m) }
- func (*NeighborLikeReply) ProtoMessage() {}
- func (*NeighborLikeReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{19}
- }
- func (m *NeighborLikeReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborLikeReply.Unmarshal(m, b)
- }
- func (m *NeighborLikeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborLikeReply.Marshal(b, m, deterministic)
- }
- func (m *NeighborLikeReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborLikeReply.Merge(m, src)
- }
- func (m *NeighborLikeReply) XXX_Size() int {
- return xxx_messageInfo_NeighborLikeReply.Size(m)
- }
- func (m *NeighborLikeReply) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborLikeReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborLikeReply proto.InternalMessageInfo
- // 社区邻里评论
- type NeighborCommentAddRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- // pid 和 article_id 二选一, 当为文章评论使用article_id, 当为评论添加子评论使用pid
- Pid int64 `protobuf:"varint,4,opt,name=pid,proto3" json:"pid"`
- ArticleId int64 `protobuf:"varint,5,opt,name=article_id,json=articleId,proto3" json:"article_id"`
- Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content"`
- Pics []string `protobuf:"bytes,7,rep,name=pics,proto3" json:"pics"`
- Uid int64 `protobuf:"varint,8,opt,name=uid,proto3" json:"uid"`
- UserIcon string `protobuf:"bytes,9,opt,name=user_icon,json=userIcon,proto3" json:"user_icon"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborCommentAddRequest) Reset() { *m = NeighborCommentAddRequest{} }
- func (m *NeighborCommentAddRequest) String() string { return proto.CompactTextString(m) }
- func (*NeighborCommentAddRequest) ProtoMessage() {}
- func (*NeighborCommentAddRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{20}
- }
- func (m *NeighborCommentAddRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborCommentAddRequest.Unmarshal(m, b)
- }
- func (m *NeighborCommentAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborCommentAddRequest.Marshal(b, m, deterministic)
- }
- func (m *NeighborCommentAddRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborCommentAddRequest.Merge(m, src)
- }
- func (m *NeighborCommentAddRequest) XXX_Size() int {
- return xxx_messageInfo_NeighborCommentAddRequest.Size(m)
- }
- func (m *NeighborCommentAddRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborCommentAddRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborCommentAddRequest proto.InternalMessageInfo
- func (m *NeighborCommentAddRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *NeighborCommentAddRequest) GetPid() int64 {
- if m != nil {
- return m.Pid
- }
- return 0
- }
- func (m *NeighborCommentAddRequest) GetArticleId() int64 {
- if m != nil {
- return m.ArticleId
- }
- return 0
- }
- func (m *NeighborCommentAddRequest) GetContent() string {
- if m != nil {
- return m.Content
- }
- return ""
- }
- func (m *NeighborCommentAddRequest) GetPics() []string {
- if m != nil {
- return m.Pics
- }
- return nil
- }
- func (m *NeighborCommentAddRequest) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *NeighborCommentAddRequest) GetUserIcon() string {
- if m != nil {
- return m.UserIcon
- }
- return ""
- }
- type NeighborCommentAddReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborCommentAddReply) Reset() { *m = NeighborCommentAddReply{} }
- func (m *NeighborCommentAddReply) String() string { return proto.CompactTextString(m) }
- func (*NeighborCommentAddReply) ProtoMessage() {}
- func (*NeighborCommentAddReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{21}
- }
- func (m *NeighborCommentAddReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborCommentAddReply.Unmarshal(m, b)
- }
- func (m *NeighborCommentAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborCommentAddReply.Marshal(b, m, deterministic)
- }
- func (m *NeighborCommentAddReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborCommentAddReply.Merge(m, src)
- }
- func (m *NeighborCommentAddReply) XXX_Size() int {
- return xxx_messageInfo_NeighborCommentAddReply.Size(m)
- }
- func (m *NeighborCommentAddReply) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborCommentAddReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborCommentAddReply proto.InternalMessageInfo
- type NeighborCommentDelRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id"`
- Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid"`
- Admin bool `protobuf:"varint,4,opt,name=admin,proto3" json:"admin"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborCommentDelRequest) Reset() { *m = NeighborCommentDelRequest{} }
- func (m *NeighborCommentDelRequest) String() string { return proto.CompactTextString(m) }
- func (*NeighborCommentDelRequest) ProtoMessage() {}
- func (*NeighborCommentDelRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{22}
- }
- func (m *NeighborCommentDelRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborCommentDelRequest.Unmarshal(m, b)
- }
- func (m *NeighborCommentDelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborCommentDelRequest.Marshal(b, m, deterministic)
- }
- func (m *NeighborCommentDelRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborCommentDelRequest.Merge(m, src)
- }
- func (m *NeighborCommentDelRequest) XXX_Size() int {
- return xxx_messageInfo_NeighborCommentDelRequest.Size(m)
- }
- func (m *NeighborCommentDelRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborCommentDelRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborCommentDelRequest proto.InternalMessageInfo
- func (m *NeighborCommentDelRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *NeighborCommentDelRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *NeighborCommentDelRequest) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *NeighborCommentDelRequest) GetAdmin() bool {
- if m != nil {
- return m.Admin
- }
- return false
- }
- type NeighborCommentDelReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborCommentDelReply) Reset() { *m = NeighborCommentDelReply{} }
- func (m *NeighborCommentDelReply) String() string { return proto.CompactTextString(m) }
- func (*NeighborCommentDelReply) ProtoMessage() {}
- func (*NeighborCommentDelReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{23}
- }
- func (m *NeighborCommentDelReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborCommentDelReply.Unmarshal(m, b)
- }
- func (m *NeighborCommentDelReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborCommentDelReply.Marshal(b, m, deterministic)
- }
- func (m *NeighborCommentDelReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborCommentDelReply.Merge(m, src)
- }
- func (m *NeighborCommentDelReply) XXX_Size() int {
- return xxx_messageInfo_NeighborCommentDelReply.Size(m)
- }
- func (m *NeighborCommentDelReply) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborCommentDelReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborCommentDelReply proto.InternalMessageInfo
- type NeighborCommentUpdateRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content"`
- Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid"`
- Id int64 `protobuf:"varint,4,opt,name=id,proto3" json:"id"`
- Pics []string `protobuf:"bytes,5,rep,name=pics,proto3" json:"pics"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborCommentUpdateRequest) Reset() { *m = NeighborCommentUpdateRequest{} }
- func (m *NeighborCommentUpdateRequest) String() string { return proto.CompactTextString(m) }
- func (*NeighborCommentUpdateRequest) ProtoMessage() {}
- func (*NeighborCommentUpdateRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{24}
- }
- func (m *NeighborCommentUpdateRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborCommentUpdateRequest.Unmarshal(m, b)
- }
- func (m *NeighborCommentUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborCommentUpdateRequest.Marshal(b, m, deterministic)
- }
- func (m *NeighborCommentUpdateRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborCommentUpdateRequest.Merge(m, src)
- }
- func (m *NeighborCommentUpdateRequest) XXX_Size() int {
- return xxx_messageInfo_NeighborCommentUpdateRequest.Size(m)
- }
- func (m *NeighborCommentUpdateRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborCommentUpdateRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborCommentUpdateRequest proto.InternalMessageInfo
- func (m *NeighborCommentUpdateRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *NeighborCommentUpdateRequest) GetContent() string {
- if m != nil {
- return m.Content
- }
- return ""
- }
- func (m *NeighborCommentUpdateRequest) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *NeighborCommentUpdateRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *NeighborCommentUpdateRequest) GetPics() []string {
- if m != nil {
- return m.Pics
- }
- return nil
- }
- type NeighborCommentUpdateReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborCommentUpdateReply) Reset() { *m = NeighborCommentUpdateReply{} }
- func (m *NeighborCommentUpdateReply) String() string { return proto.CompactTextString(m) }
- func (*NeighborCommentUpdateReply) ProtoMessage() {}
- func (*NeighborCommentUpdateReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{25}
- }
- func (m *NeighborCommentUpdateReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborCommentUpdateReply.Unmarshal(m, b)
- }
- func (m *NeighborCommentUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborCommentUpdateReply.Marshal(b, m, deterministic)
- }
- func (m *NeighborCommentUpdateReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborCommentUpdateReply.Merge(m, src)
- }
- func (m *NeighborCommentUpdateReply) XXX_Size() int {
- return xxx_messageInfo_NeighborCommentUpdateReply.Size(m)
- }
- func (m *NeighborCommentUpdateReply) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborCommentUpdateReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborCommentUpdateReply proto.InternalMessageInfo
- type NeighborCommentListRequest struct {
- GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
- ArticleId int64 `protobuf:"varint,2,opt,name=article_id,json=articleId,proto3" json:"article_id"`
- CommentId int64 `protobuf:"varint,3,opt,name=comment_id,json=commentId,proto3" json:"comment_id"`
- Page int64 `protobuf:"varint,4,opt,name=page,proto3" json:"page"`
- PageSize int64 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- Uid int64 `protobuf:"varint,6,opt,name=uid,proto3" json:"uid"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborCommentListRequest) Reset() { *m = NeighborCommentListRequest{} }
- func (m *NeighborCommentListRequest) String() string { return proto.CompactTextString(m) }
- func (*NeighborCommentListRequest) ProtoMessage() {}
- func (*NeighborCommentListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{26}
- }
- func (m *NeighborCommentListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborCommentListRequest.Unmarshal(m, b)
- }
- func (m *NeighborCommentListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborCommentListRequest.Marshal(b, m, deterministic)
- }
- func (m *NeighborCommentListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborCommentListRequest.Merge(m, src)
- }
- func (m *NeighborCommentListRequest) XXX_Size() int {
- return xxx_messageInfo_NeighborCommentListRequest.Size(m)
- }
- func (m *NeighborCommentListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborCommentListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborCommentListRequest proto.InternalMessageInfo
- func (m *NeighborCommentListRequest) GetGardenId() int64 {
- if m != nil {
- return m.GardenId
- }
- return 0
- }
- func (m *NeighborCommentListRequest) GetArticleId() int64 {
- if m != nil {
- return m.ArticleId
- }
- return 0
- }
- func (m *NeighborCommentListRequest) GetCommentId() int64 {
- if m != nil {
- return m.CommentId
- }
- return 0
- }
- func (m *NeighborCommentListRequest) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *NeighborCommentListRequest) GetPageSize() int64 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- func (m *NeighborCommentListRequest) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- type NeighborCommentItem struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content"`
- Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid"`
- UserName string `protobuf:"bytes,4,opt,name=user_name,json=userName,proto3" json:"user_name"`
- UserPhone string `protobuf:"bytes,5,opt,name=user_phone,json=userPhone,proto3" json:"user_phone"`
- // 用户头像
- UserIcon string `protobuf:"bytes,6,opt,name=user_icon,json=userIcon,proto3" json:"user_icon"`
- Pics []string `protobuf:"bytes,7,rep,name=pics,proto3" json:"pics"`
- // 子评论数
- SubCommentCount int64 `protobuf:"varint,8,opt,name=sub_comment_count,json=subCommentCount,proto3" json:"sub_comment_count"`
- // 点赞数
- Likes int64 `protobuf:"varint,9,opt,name=likes,proto3" json:"likes"`
- // 本人是否点赞
- Like bool `protobuf:"varint,10,opt,name=like,proto3" json:"like"`
- CreatedAt string `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
- UpdatedAt string `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at"`
- // 是否是本人发布的文章
- Owner bool `protobuf:"varint,13,opt,name=owner,proto3" json:"owner"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborCommentItem) Reset() { *m = NeighborCommentItem{} }
- func (m *NeighborCommentItem) String() string { return proto.CompactTextString(m) }
- func (*NeighborCommentItem) ProtoMessage() {}
- func (*NeighborCommentItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{27}
- }
- func (m *NeighborCommentItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborCommentItem.Unmarshal(m, b)
- }
- func (m *NeighborCommentItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborCommentItem.Marshal(b, m, deterministic)
- }
- func (m *NeighborCommentItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborCommentItem.Merge(m, src)
- }
- func (m *NeighborCommentItem) XXX_Size() int {
- return xxx_messageInfo_NeighborCommentItem.Size(m)
- }
- func (m *NeighborCommentItem) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborCommentItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborCommentItem proto.InternalMessageInfo
- func (m *NeighborCommentItem) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *NeighborCommentItem) GetContent() string {
- if m != nil {
- return m.Content
- }
- return ""
- }
- func (m *NeighborCommentItem) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *NeighborCommentItem) GetUserName() string {
- if m != nil {
- return m.UserName
- }
- return ""
- }
- func (m *NeighborCommentItem) GetUserPhone() string {
- if m != nil {
- return m.UserPhone
- }
- return ""
- }
- func (m *NeighborCommentItem) GetUserIcon() string {
- if m != nil {
- return m.UserIcon
- }
- return ""
- }
- func (m *NeighborCommentItem) GetPics() []string {
- if m != nil {
- return m.Pics
- }
- return nil
- }
- func (m *NeighborCommentItem) GetSubCommentCount() int64 {
- if m != nil {
- return m.SubCommentCount
- }
- return 0
- }
- func (m *NeighborCommentItem) GetLikes() int64 {
- if m != nil {
- return m.Likes
- }
- return 0
- }
- func (m *NeighborCommentItem) GetLike() bool {
- if m != nil {
- return m.Like
- }
- return false
- }
- func (m *NeighborCommentItem) GetCreatedAt() string {
- if m != nil {
- return m.CreatedAt
- }
- return ""
- }
- func (m *NeighborCommentItem) GetUpdatedAt() string {
- if m != nil {
- return m.UpdatedAt
- }
- return ""
- }
- func (m *NeighborCommentItem) GetOwner() bool {
- if m != nil {
- return m.Owner
- }
- return false
- }
- type NeighborCommentListReply struct {
- Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
- Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
- List []*NeighborCommentItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeighborCommentListReply) Reset() { *m = NeighborCommentListReply{} }
- func (m *NeighborCommentListReply) String() string { return proto.CompactTextString(m) }
- func (*NeighborCommentListReply) ProtoMessage() {}
- func (*NeighborCommentListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_eba3299784daba9d, []int{28}
- }
- func (m *NeighborCommentListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NeighborCommentListReply.Unmarshal(m, b)
- }
- func (m *NeighborCommentListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NeighborCommentListReply.Marshal(b, m, deterministic)
- }
- func (m *NeighborCommentListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeighborCommentListReply.Merge(m, src)
- }
- func (m *NeighborCommentListReply) XXX_Size() int {
- return xxx_messageInfo_NeighborCommentListReply.Size(m)
- }
- func (m *NeighborCommentListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_NeighborCommentListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeighborCommentListReply proto.InternalMessageInfo
- func (m *NeighborCommentListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *NeighborCommentListReply) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *NeighborCommentListReply) GetList() []*NeighborCommentItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- func init() {
- proto.RegisterType((*NeighborClassAddRequest)(nil), "pb_v1.NeighborClassAddRequest")
- proto.RegisterType((*NeighborClassAddReply)(nil), "pb_v1.NeighborClassAddReply")
- proto.RegisterType((*NeighborClassDelRequest)(nil), "pb_v1.NeighborClassDelRequest")
- proto.RegisterType((*NeighborClassDelReply)(nil), "pb_v1.NeighborClassDelReply")
- proto.RegisterType((*NeighborClassUpdateRequest)(nil), "pb_v1.NeighborClassUpdateRequest")
- proto.RegisterType((*NeighborClassUpdateReply)(nil), "pb_v1.NeighborClassUpdateReply")
- proto.RegisterType((*NeighborClassItem)(nil), "pb_v1.NeighborClassItem")
- proto.RegisterType((*NeighborClassListRequest)(nil), "pb_v1.NeighborClassListRequest")
- proto.RegisterType((*NeighborClassListReply)(nil), "pb_v1.NeighborClassListReply")
- proto.RegisterType((*NeighborArticleAddRequest)(nil), "pb_v1.NeighborArticleAddRequest")
- proto.RegisterType((*NeighborArticleAddReply)(nil), "pb_v1.NeighborArticleAddReply")
- proto.RegisterType((*NeighborArticleDelRequest)(nil), "pb_v1.NeighborArticleDelRequest")
- proto.RegisterType((*NeighborArticleDelReply)(nil), "pb_v1.NeighborArticleDelReply")
- proto.RegisterType((*NeighborArticleUpdateRequest)(nil), "pb_v1.NeighborArticleUpdateRequest")
- proto.RegisterType((*NeighborArticleUpdateReply)(nil), "pb_v1.NeighborArticleUpdateReply")
- proto.RegisterType((*NeighborArticleItem)(nil), "pb_v1.NeighborArticleItem")
- proto.RegisterType((*NeighborArticleListRequest)(nil), "pb_v1.NeighborArticleListRequest")
- proto.RegisterType((*NeighborArticleListReply)(nil), "pb_v1.NeighborArticleListReply")
- proto.RegisterType((*NeighborLikeRequest)(nil), "pb_v1.NeighborLikeRequest")
- proto.RegisterType((*NeighborLikeReply)(nil), "pb_v1.NeighborLikeReply")
- proto.RegisterType((*NeighborCommentAddRequest)(nil), "pb_v1.NeighborCommentAddRequest")
- proto.RegisterType((*NeighborCommentAddReply)(nil), "pb_v1.NeighborCommentAddReply")
- proto.RegisterType((*NeighborCommentDelRequest)(nil), "pb_v1.NeighborCommentDelRequest")
- proto.RegisterType((*NeighborCommentDelReply)(nil), "pb_v1.NeighborCommentDelReply")
- proto.RegisterType((*NeighborCommentUpdateRequest)(nil), "pb_v1.NeighborCommentUpdateRequest")
- proto.RegisterType((*NeighborCommentUpdateReply)(nil), "pb_v1.NeighborCommentUpdateReply")
- proto.RegisterType((*NeighborCommentListRequest)(nil), "pb_v1.NeighborCommentListRequest")
- proto.RegisterType((*NeighborCommentItem)(nil), "pb_v1.NeighborCommentItem")
- proto.RegisterType((*NeighborCommentListReply)(nil), "pb_v1.NeighborCommentListReply")
- }
- func init() {
- proto.RegisterFile("neighbor.proto", fileDescriptor_eba3299784daba9d)
- }
- var fileDescriptor_eba3299784daba9d = []byte{
- // 995 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x97, 0xdb, 0x8e, 0xdb, 0x44,
- 0x18, 0xc7, 0x35, 0x1e, 0x3b, 0xb1, 0x67, 0x0f, 0x6d, 0xdd, 0xa5, 0xeb, 0x5d, 0x5a, 0x11, 0x99,
- 0x9b, 0x08, 0xd1, 0xad, 0x0a, 0x4f, 0xb0, 0x04, 0x21, 0x45, 0xaa, 0xaa, 0xca, 0xc0, 0x0d, 0x37,
- 0x96, 0x63, 0x8f, 0xd2, 0xd1, 0x3a, 0xf6, 0x60, 0x4f, 0x5a, 0xa5, 0x2f, 0x80, 0x04, 0x12, 0x17,
- 0xdc, 0x73, 0xc1, 0x03, 0xf0, 0x02, 0x3c, 0x00, 0x0f, 0xc1, 0x13, 0xf0, 0x18, 0x68, 0x0e, 0xb6,
- 0xc7, 0x87, 0x44, 0xc9, 0x2a, 0xe2, 0x6a, 0x3d, 0xdf, 0xe7, 0xf5, 0xfc, 0xbf, 0xd3, 0xef, 0xdb,
- 0x45, 0xe7, 0x19, 0x26, 0xcb, 0xb7, 0x8b, 0xbc, 0xb8, 0xa1, 0x45, 0xce, 0x72, 0xd7, 0xa2, 0x8b,
- 0xf0, 0xdd, 0x4b, 0xff, 0x67, 0x80, 0x2e, 0x5f, 0x2b, 0xcf, 0x2c, 0x8d, 0xca, 0xf2, 0x36, 0x49,
- 0x02, 0xfc, 0xe3, 0x1a, 0x97, 0xcc, 0xfd, 0x18, 0x39, 0xcb, 0xa8, 0x48, 0x70, 0x16, 0x92, 0xc4,
- 0x03, 0x13, 0x30, 0x85, 0x81, 0x2d, 0x0d, 0xf3, 0xc4, 0x7d, 0x86, 0x50, 0xcc, 0xdf, 0x0f, 0xb3,
- 0x68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