1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966 |
- // 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"`
- NickName string `protobuf:"bytes,8,opt,name=nick_name,json=nickName,proto3" json:"nick_name"`
- 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 ""
- }
- func (m *NeighborArticleAddRequest) GetNickName() string {
- if m != nil {
- return m.NickName
- }
- 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"`
- NickName string `protobuf:"bytes,16,opt,name=nick_name,json=nickName,proto3" json:"nick_name"`
- 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
- }
- func (m *NeighborArticleItem) GetNickName() string {
- if m != nil {
- return m.NickName
- }
- return ""
- }
- 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"`
- IsMe bool `protobuf:"varint,7,opt,name=is_me,json=isMe,proto3" json:"is_me"`
- 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
- }
- func (m *NeighborArticleListRequest) GetIsMe() bool {
- if m != nil {
- return m.IsMe
- }
- return false
- }
- 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"`
- NickName string `protobuf:"bytes,10,opt,name=nick_name,json=nickName,proto3" json:"nick_name"`
- 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 ""
- }
- func (m *NeighborCommentAddRequest) GetNickName() string {
- if m != nil {
- return m.NickName
- }
- 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"`
- NickName string `protobuf:"bytes,14,opt,name=nick_name,json=nickName,proto3" json:"nick_name"`
- 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
- }
- func (m *NeighborCommentItem) GetNickName() string {
- if m != nil {
- return m.NickName
- }
- return ""
- }
- 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{
- // 1022 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x97, 0xdd, 0x6e, 0xe3, 0x44,
- 0x14, 0xc7, 0xe5, 0xd8, 0x4e, 0xec, 0xe9, 0xc7, 0x76, 0xdd, 0xee, 0xd6, 0x2d, 0x8b, 0x14, 0x99,
- 0x9b, 0x08, 0x41, 0x57, 0x0b, 0x4f, 0x50, 0x8a, 0x90, 0x22, 0x2d, 0xab, 0x95, 0x81, 0x1b, 0x6e,
- 0x2c, 0xc7, 0x1e, 0x75, 0x47, 0x75, 0xec, 0xc1, 0x9e, 0x2c, 0xca, 0xde, 0x23, 0x24, 0x90, 0x78,
- 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