|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.28.1
- // protoc v3.20.0--rc2
- // source: business.ext.proto
-
- package pb
-
- import (
- context "context"
- grpc "google.golang.org/grpc"
- codes "google.golang.org/grpc/codes"
- status "google.golang.org/grpc/status"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- )
-
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
-
- // 投诉类型
- type ComplainType int32
-
- const (
- ComplainType_CT_UNKNOWN ComplainType = 0 // 未知
- ComplainType_CT_GAMBLE ComplainType = 1 // 存在赌博行为
- ComplainType_MT_DEFRAUD ComplainType = 2 // 存在骗钱行为
- ComplainType_MT_HARASS ComplainType = 3 // 不当信息骚扰
- ComplainType_MT_RUMOUR ComplainType = 4 // 传播谣言
- ComplainType_MT_COUNTERFEIT_GOODS_INFO ComplainType = 5 // 发布假冒商品信息
- ComplainType_MT_VIOLATION_OF_MINORS ComplainType = 6 // 侵犯未成年人权益
- ComplainType_MT_OTHER ComplainType = 7 // 其他
- )
-
- // Enum value maps for ComplainType.
- var (
- ComplainType_name = map[int32]string{
- 0: "CT_UNKNOWN",
- 1: "CT_GAMBLE",
- 2: "MT_DEFRAUD",
- 3: "MT_HARASS",
- 4: "MT_RUMOUR",
- 5: "MT_COUNTERFEIT_GOODS_INFO",
- 6: "MT_VIOLATION_OF_MINORS",
- 7: "MT_OTHER",
- }
- ComplainType_value = map[string]int32{
- "CT_UNKNOWN": 0,
- "CT_GAMBLE": 1,
- "MT_DEFRAUD": 2,
- "MT_HARASS": 3,
- "MT_RUMOUR": 4,
- "MT_COUNTERFEIT_GOODS_INFO": 5,
- "MT_VIOLATION_OF_MINORS": 6,
- "MT_OTHER": 7,
- }
- )
-
- func (x ComplainType) Enum() *ComplainType {
- p := new(ComplainType)
- *p = x
- return p
- }
-
- func (x ComplainType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
-
- func (ComplainType) Descriptor() protoreflect.EnumDescriptor {
- return file_business_ext_proto_enumTypes[0].Descriptor()
- }
-
- func (ComplainType) Type() protoreflect.EnumType {
- return &file_business_ext_proto_enumTypes[0]
- }
-
- func (x ComplainType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
-
- // Deprecated: Use ComplainType.Descriptor instead.
- func (ComplainType) EnumDescriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{0}
- }
-
- // 群公告发布方式
- type GroupNoticePublishType int32
-
- const (
- GroupNoticePublishType_UNKNOWN_PUBLISH GroupNoticePublishType = 0 // 未知
- GroupNoticePublishType_ONLY_PUBLISH GroupNoticePublishType = 1 // 仅发布
- GroupNoticePublishType_PUBLISH_AND_NOTICE GroupNoticePublishType = 2 // 发布并通知
- GroupNoticePublishType_NOTICE_AND_TOP_UP GroupNoticePublishType = 3 // 存在骗钱行为
- )
-
- // Enum value maps for GroupNoticePublishType.
- var (
- GroupNoticePublishType_name = map[int32]string{
- 0: "UNKNOWN_PUBLISH",
- 1: "ONLY_PUBLISH",
- 2: "PUBLISH_AND_NOTICE",
- 3: "NOTICE_AND_TOP_UP",
- }
- GroupNoticePublishType_value = map[string]int32{
- "UNKNOWN_PUBLISH": 0,
- "ONLY_PUBLISH": 1,
- "PUBLISH_AND_NOTICE": 2,
- "NOTICE_AND_TOP_UP": 3,
- }
- )
-
- func (x GroupNoticePublishType) Enum() *GroupNoticePublishType {
- p := new(GroupNoticePublishType)
- *p = x
- return p
- }
-
- func (x GroupNoticePublishType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
-
- func (GroupNoticePublishType) Descriptor() protoreflect.EnumDescriptor {
- return file_business_ext_proto_enumTypes[1].Descriptor()
- }
-
- func (GroupNoticePublishType) Type() protoreflect.EnumType {
- return &file_business_ext_proto_enumTypes[1]
- }
-
- func (x GroupNoticePublishType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
-
- // Deprecated: Use GroupNoticePublishType.Descriptor instead.
- func (GroupNoticePublishType) EnumDescriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{1}
- }
-
- type LikeGroupNoticeReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
- }
-
- func (x *LikeGroupNoticeReq) Reset() {
- *x = LikeGroupNoticeReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *LikeGroupNoticeReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*LikeGroupNoticeReq) ProtoMessage() {}
-
- func (x *LikeGroupNoticeReq) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use LikeGroupNoticeReq.ProtoReflect.Descriptor instead.
- func (*LikeGroupNoticeReq) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{0}
- }
-
- func (x *LikeGroupNoticeReq) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- type CancelLikeGroupNoticeReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
- }
-
- func (x *CancelLikeGroupNoticeReq) Reset() {
- *x = CancelLikeGroupNoticeReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *CancelLikeGroupNoticeReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*CancelLikeGroupNoticeReq) ProtoMessage() {}
-
- func (x *CancelLikeGroupNoticeReq) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use CancelLikeGroupNoticeReq.ProtoReflect.Descriptor instead.
- func (*CancelLikeGroupNoticeReq) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{1}
- }
-
- func (x *CancelLikeGroupNoticeReq) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- type ViewGroupNoticeReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
- }
-
- func (x *ViewGroupNoticeReq) Reset() {
- *x = ViewGroupNoticeReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *ViewGroupNoticeReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*ViewGroupNoticeReq) ProtoMessage() {}
-
- func (x *ViewGroupNoticeReq) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use ViewGroupNoticeReq.ProtoReflect.Descriptor instead.
- func (*ViewGroupNoticeReq) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{2}
- }
-
- func (x *ViewGroupNoticeReq) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- type ViewGroupNoticeResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
- UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` //发布用户id
- Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` //公告内容
- LikeNums int64 `protobuf:"varint,4,opt,name=like_nums,json=likeNums,proto3" json:"like_nums,omitempty"` //点赞数量
- ReadNums int64 `protobuf:"varint,5,opt,name=read_nums,json=readNums,proto3" json:"read_nums,omitempty"` //阅读数量
- PublishType GroupNoticePublishType `protobuf:"varint,6,opt,name=publish_type,json=publishType,proto3,enum=pb.GroupNoticePublishType" json:"publish_type,omitempty"` // 发布方式
- PublishTime string `protobuf:"bytes,7,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"` // 发布时间
- IsLike bool `protobuf:"varint,8,opt,name=is_like,json=isLike,proto3" json:"is_like,omitempty"` // 是否点赞
- }
-
- func (x *ViewGroupNoticeResp) Reset() {
- *x = ViewGroupNoticeResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *ViewGroupNoticeResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*ViewGroupNoticeResp) ProtoMessage() {}
-
- func (x *ViewGroupNoticeResp) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use ViewGroupNoticeResp.ProtoReflect.Descriptor instead.
- func (*ViewGroupNoticeResp) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{3}
- }
-
- func (x *ViewGroupNoticeResp) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- func (x *ViewGroupNoticeResp) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
-
- func (x *ViewGroupNoticeResp) GetContent() string {
- if x != nil {
- return x.Content
- }
- return ""
- }
-
- func (x *ViewGroupNoticeResp) GetLikeNums() int64 {
- if x != nil {
- return x.LikeNums
- }
- return 0
- }
-
- func (x *ViewGroupNoticeResp) GetReadNums() int64 {
- if x != nil {
- return x.ReadNums
- }
- return 0
- }
-
- func (x *ViewGroupNoticeResp) GetPublishType() GroupNoticePublishType {
- if x != nil {
- return x.PublishType
- }
- return GroupNoticePublishType_UNKNOWN_PUBLISH
- }
-
- func (x *ViewGroupNoticeResp) GetPublishTime() string {
- if x != nil {
- return x.PublishTime
- }
- return ""
- }
-
- func (x *ViewGroupNoticeResp) GetIsLike() bool {
- if x != nil {
- return x.IsLike
- }
- return false
- }
-
- type PublishGroupNoticeReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
- UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` //发布用户id
- PublishType GroupNoticePublishType `protobuf:"varint,3,opt,name=publish_type,json=publishType,proto3,enum=pb.GroupNoticePublishType" json:"publish_type,omitempty"` // 发布方式
- Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` // 发布内容
- }
-
- func (x *PublishGroupNoticeReq) Reset() {
- *x = PublishGroupNoticeReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *PublishGroupNoticeReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*PublishGroupNoticeReq) ProtoMessage() {}
-
- func (x *PublishGroupNoticeReq) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use PublishGroupNoticeReq.ProtoReflect.Descriptor instead.
- func (*PublishGroupNoticeReq) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{4}
- }
-
- func (x *PublishGroupNoticeReq) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- func (x *PublishGroupNoticeReq) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
-
- func (x *PublishGroupNoticeReq) GetPublishType() GroupNoticePublishType {
- if x != nil {
- return x.PublishType
- }
- return GroupNoticePublishType_UNKNOWN_PUBLISH
- }
-
- func (x *PublishGroupNoticeReq) GetContent() string {
- if x != nil {
- return x.Content
- }
- return ""
- }
-
- type ComplainGroupReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
- ComplainType ComplainType `protobuf:"varint,2,opt,name=complain_type,json=complainType,proto3,enum=pb.ComplainType" json:"complain_type,omitempty"` // 投诉类型
- Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` // 投诉内容
- ImageList []string `protobuf:"bytes,4,rep,name=image_list,json=imageList,proto3" json:"image_list,omitempty"` // 图片
- }
-
- func (x *ComplainGroupReq) Reset() {
- *x = ComplainGroupReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *ComplainGroupReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*ComplainGroupReq) ProtoMessage() {}
-
- func (x *ComplainGroupReq) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use ComplainGroupReq.ProtoReflect.Descriptor instead.
- func (*ComplainGroupReq) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{5}
- }
-
- func (x *ComplainGroupReq) GetGroupId() int64 {
- if x != nil {
- return x.GroupId
- }
- return 0
- }
-
- func (x *ComplainGroupReq) GetComplainType() ComplainType {
- if x != nil {
- return x.ComplainType
- }
- return ComplainType_CT_UNKNOWN
- }
-
- func (x *ComplainGroupReq) GetText() string {
- if x != nil {
- return x.Text
- }
- return ""
- }
-
- func (x *ComplainGroupReq) GetImageList() []string {
- if x != nil {
- return x.ImageList
- }
- return nil
- }
-
- type IsFriendsReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- UserPhone string `protobuf:"bytes,1,opt,name=user_phone,json=userPhone,proto3" json:"user_phone,omitempty"`
- FriendPhone string `protobuf:"bytes,2,opt,name=friend_phone,json=friendPhone,proto3" json:"friend_phone,omitempty"`
- }
-
- func (x *IsFriendsReq) Reset() {
- *x = IsFriendsReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *IsFriendsReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*IsFriendsReq) ProtoMessage() {}
-
- func (x *IsFriendsReq) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use IsFriendsReq.ProtoReflect.Descriptor instead.
- func (*IsFriendsReq) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{6}
- }
-
- func (x *IsFriendsReq) GetUserPhone() string {
- if x != nil {
- return x.UserPhone
- }
- return ""
- }
-
- func (x *IsFriendsReq) GetFriendPhone() string {
- if x != nil {
- return x.FriendPhone
- }
- return ""
- }
-
- type IsFriendsResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- IsFriend int64 `protobuf:"varint,1,opt,name=is_friend,json=isFriend,proto3" json:"is_friend,omitempty"`
- User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // 用户信息
- }
-
- func (x *IsFriendsResp) Reset() {
- *x = IsFriendsResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *IsFriendsResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*IsFriendsResp) ProtoMessage() {}
-
- func (x *IsFriendsResp) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use IsFriendsResp.ProtoReflect.Descriptor instead.
- func (*IsFriendsResp) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{7}
- }
-
- func (x *IsFriendsResp) GetIsFriend() int64 {
- if x != nil {
- return x.IsFriend
- }
- return 0
- }
-
- func (x *IsFriendsResp) GetUser() *User {
- if x != nil {
- return x.User
- }
- return nil
- }
-
- type Emoticon struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 名称
- ImgUrl string `protobuf:"bytes,2,opt,name=img_url,json=imgUrl,proto3" json:"img_url,omitempty"` // 图片地址
- Memo string `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"` // 备注
- Sort int32 `protobuf:"varint,4,opt,name=sort,proto3" json:"sort,omitempty"` // 排序
- }
-
- func (x *Emoticon) Reset() {
- *x = Emoticon{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *Emoticon) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*Emoticon) ProtoMessage() {}
-
- func (x *Emoticon) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use Emoticon.ProtoReflect.Descriptor instead.
- func (*Emoticon) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{8}
- }
-
- func (x *Emoticon) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
-
- func (x *Emoticon) GetImgUrl() string {
- if x != nil {
- return x.ImgUrl
- }
- return ""
- }
-
- func (x *Emoticon) GetMemo() string {
- if x != nil {
- return x.Memo
- }
- return ""
- }
-
- func (x *Emoticon) GetSort() int32 {
- if x != nil {
- return x.Sort
- }
- return 0
- }
-
- type EmoticonListResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Emoticons []*Emoticon `protobuf:"bytes,1,rep,name=emoticons,proto3" json:"emoticons,omitempty"`
- }
-
- func (x *EmoticonListResp) Reset() {
- *x = EmoticonListResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *EmoticonListResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*EmoticonListResp) ProtoMessage() {}
-
- func (x *EmoticonListResp) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use EmoticonListResp.ProtoReflect.Descriptor instead.
- func (*EmoticonListResp) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{9}
- }
-
- func (x *EmoticonListResp) GetEmoticons() []*Emoticon {
- if x != nil {
- return x.Emoticons
- }
- return nil
- }
-
- type SignInReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // 手机号
- Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // 验证码
- DeviceId int64 `protobuf:"varint,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // 设备id
- PushAlia string `protobuf:"bytes,4,opt,name=push_alia,json=pushAlia,proto3" json:"push_alia,omitempty"` // 极光推送-别名
- Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
- AvatarUrl string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
- }
-
- func (x *SignInReq) Reset() {
- *x = SignInReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SignInReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SignInReq) ProtoMessage() {}
-
- func (x *SignInReq) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use SignInReq.ProtoReflect.Descriptor instead.
- func (*SignInReq) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{10}
- }
-
- func (x *SignInReq) GetPhoneNumber() string {
- if x != nil {
- return x.PhoneNumber
- }
- return ""
- }
-
- func (x *SignInReq) GetCode() string {
- if x != nil {
- return x.Code
- }
- return ""
- }
-
- func (x *SignInReq) GetDeviceId() int64 {
- if x != nil {
- return x.DeviceId
- }
- return 0
- }
-
- func (x *SignInReq) GetPushAlia() string {
- if x != nil {
- return x.PushAlia
- }
- return ""
- }
-
- func (x *SignInReq) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
- }
-
- func (x *SignInReq) GetAvatarUrl() string {
- if x != nil {
- return x.AvatarUrl
- }
- return ""
- }
-
- type SignInResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- IsNew bool `protobuf:"varint,1,opt,name=is_new,json=isNew,proto3" json:"is_new,omitempty"` // 是否是新用户
- UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
- Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // token
- }
-
- func (x *SignInResp) Reset() {
- *x = SignInResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SignInResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SignInResp) ProtoMessage() {}
-
- func (x *SignInResp) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[11]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use SignInResp.ProtoReflect.Descriptor instead.
- func (*SignInResp) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{11}
- }
-
- func (x *SignInResp) GetIsNew() bool {
- if x != nil {
- return x.IsNew
- }
- return false
- }
-
- func (x *SignInResp) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
-
- func (x *SignInResp) GetToken() string {
- if x != nil {
- return x.Token
- }
- return ""
- }
-
- type CloudUploadFileReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Dir string `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"` // 目录名
- FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // 上传原文件名称
- FileSize string `protobuf:"bytes,3,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` // 文件大小
- }
-
- func (x *CloudUploadFileReq) Reset() {
- *x = CloudUploadFileReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *CloudUploadFileReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*CloudUploadFileReq) ProtoMessage() {}
-
- func (x *CloudUploadFileReq) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[12]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use CloudUploadFileReq.ProtoReflect.Descriptor instead.
- func (*CloudUploadFileReq) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{12}
- }
-
- func (x *CloudUploadFileReq) GetDir() string {
- if x != nil {
- return x.Dir
- }
- return ""
- }
-
- func (x *CloudUploadFileReq) GetFileName() string {
- if x != nil {
- return x.FileName
- }
- return ""
- }
-
- func (x *CloudUploadFileReq) GetFileSize() string {
- if x != nil {
- return x.FileSize
- }
- return ""
- }
-
- type CloudUploadFileResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // 请求方式
- Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` // 域名
- Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // key
- Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` // token
- }
-
- func (x *CloudUploadFileResp) Reset() {
- *x = CloudUploadFileResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *CloudUploadFileResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*CloudUploadFileResp) ProtoMessage() {}
-
- func (x *CloudUploadFileResp) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[13]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use CloudUploadFileResp.ProtoReflect.Descriptor instead.
- func (*CloudUploadFileResp) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{13}
- }
-
- func (x *CloudUploadFileResp) GetMethod() string {
- if x != nil {
- return x.Method
- }
- return ""
- }
-
- func (x *CloudUploadFileResp) GetHost() string {
- if x != nil {
- return x.Host
- }
- return ""
- }
-
- func (x *CloudUploadFileResp) GetKey() string {
- if x != nil {
- return x.Key
- }
- return ""
- }
-
- func (x *CloudUploadFileResp) GetToken() string {
- if x != nil {
- return x.Token
- }
- return ""
- }
-
- type User struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
- Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
- Sex int32 `protobuf:"varint,3,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
- AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
- Extra string `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
- CreateTime int64 `protobuf:"varint,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // 创建时间
- UpdateTime int64 `protobuf:"varint,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // 更新时间
- IsAutoAddedFriends int64 `protobuf:"varint,8,opt,name=is_auto_added_friends,json=isAutoAddedFriends,proto3" json:"is_auto_added_friends,omitempty"` // 是否自动被添加好友
- PhoneNumber string `protobuf:"bytes,9,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // 手机号
- }
-
- func (x *User) Reset() {
- *x = User{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *User) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*User) ProtoMessage() {}
-
- func (x *User) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[14]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use User.ProtoReflect.Descriptor instead.
- func (*User) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{14}
- }
-
- func (x *User) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
-
- func (x *User) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
- }
-
- func (x *User) GetSex() int32 {
- if x != nil {
- return x.Sex
- }
- return 0
- }
-
- func (x *User) GetAvatarUrl() string {
- if x != nil {
- return x.AvatarUrl
- }
- return ""
- }
-
- func (x *User) GetExtra() string {
- if x != nil {
- return x.Extra
- }
- return ""
- }
-
- func (x *User) GetCreateTime() int64 {
- if x != nil {
- return x.CreateTime
- }
- return 0
- }
-
- func (x *User) GetUpdateTime() int64 {
- if x != nil {
- return x.UpdateTime
- }
- return 0
- }
-
- func (x *User) GetIsAutoAddedFriends() int64 {
- if x != nil {
- return x.IsAutoAddedFriends
- }
- return 0
- }
-
- func (x *User) GetPhoneNumber() string {
- if x != nil {
- return x.PhoneNumber
- }
- return ""
- }
-
- type GetUserReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户id
- Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"` // 用户手机号
- }
-
- func (x *GetUserReq) Reset() {
- *x = GetUserReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *GetUserReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*GetUserReq) ProtoMessage() {}
-
- func (x *GetUserReq) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[15]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use GetUserReq.ProtoReflect.Descriptor instead.
- func (*GetUserReq) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{15}
- }
-
- func (x *GetUserReq) GetUserId() int64 {
- if x != nil {
- return x.UserId
- }
- return 0
- }
-
- func (x *GetUserReq) GetPhone() string {
- if x != nil {
- return x.Phone
- }
- return ""
- }
-
- type GetUserResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // 用户信息
- }
-
- func (x *GetUserResp) Reset() {
- *x = GetUserResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *GetUserResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*GetUserResp) ProtoMessage() {}
-
- func (x *GetUserResp) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[16]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use GetUserResp.ProtoReflect.Descriptor instead.
- func (*GetUserResp) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{16}
- }
-
- func (x *GetUserResp) GetUser() *User {
- if x != nil {
- return x.User
- }
- return nil
- }
-
- type UpdateUserReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
- Sex int32 `protobuf:"varint,2,opt,name=sex,proto3" json:"sex,omitempty"` // 性别
- AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像地址
- Extra string `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
- }
-
- func (x *UpdateUserReq) Reset() {
- *x = UpdateUserReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *UpdateUserReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*UpdateUserReq) ProtoMessage() {}
-
- func (x *UpdateUserReq) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[17]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use UpdateUserReq.ProtoReflect.Descriptor instead.
- func (*UpdateUserReq) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{17}
- }
-
- func (x *UpdateUserReq) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
- }
-
- func (x *UpdateUserReq) GetSex() int32 {
- if x != nil {
- return x.Sex
- }
- return 0
- }
-
- func (x *UpdateUserReq) GetAvatarUrl() string {
- if x != nil {
- return x.AvatarUrl
- }
- return ""
- }
-
- func (x *UpdateUserReq) GetExtra() string {
- if x != nil {
- return x.Extra
- }
- return ""
- }
-
- type SearchUserReq struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
- }
-
- func (x *SearchUserReq) Reset() {
- *x = SearchUserReq{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SearchUserReq) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SearchUserReq) ProtoMessage() {}
-
- func (x *SearchUserReq) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[18]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use SearchUserReq.ProtoReflect.Descriptor instead.
- func (*SearchUserReq) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{18}
- }
-
- func (x *SearchUserReq) GetKey() string {
- if x != nil {
- return x.Key
- }
- return ""
- }
-
- type SearchUserResp struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
- }
-
- func (x *SearchUserResp) Reset() {
- *x = SearchUserResp{}
- if protoimpl.UnsafeEnabled {
- mi := &file_business_ext_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *SearchUserResp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*SearchUserResp) ProtoMessage() {}
-
- func (x *SearchUserResp) ProtoReflect() protoreflect.Message {
- mi := &file_business_ext_proto_msgTypes[19]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use SearchUserResp.ProtoReflect.Descriptor instead.
- func (*SearchUserResp) Descriptor() ([]byte, []int) {
- return file_business_ext_proto_rawDescGZIP(), []int{19}
- }
-
- func (x *SearchUserResp) GetUsers() []*User {
- if x != nil {
- return x.Users
- }
- return nil
- }
-
- var File_business_ext_proto protoreflect.FileDescriptor
-
- var file_business_ext_proto_rawDesc = []byte{
- 0x0a, 0x12, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
- 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x12, 0x4c, 0x69,
- 0x6b, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71,
- 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x35, 0x0a, 0x18, 0x43,
- 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4c, 0x69, 0x6b, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f,
- 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70,
- 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70,
- 0x49, 0x64, 0x22, 0x2f, 0x0a, 0x12, 0x56, 0x69, 0x65, 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e,
- 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75,
- 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75,
- 0x70, 0x49, 0x64, 0x22, 0x98, 0x02, 0x0a, 0x13, 0x56, 0x69, 0x65, 0x77, 0x47, 0x72, 0x6f, 0x75,
- 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x67,
- 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67,
- 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
- 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
- 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x69, 0x6b,
- 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x69,
- 0x6b, 0x65, 0x4e, 0x75, 0x6d, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6e,
- 0x75, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4e,
- 0x75, 0x6d, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x74,
- 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x47,
- 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73,
- 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x79,
- 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69,
- 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73,
- 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6c, 0x69, 0x6b, 0x65,
- 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4c, 0x69, 0x6b, 0x65, 0x22, 0xa4,
- 0x01, 0x0a, 0x15, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e,
- 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75,
- 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75,
- 0x70, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0c,
- 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74,
- 0x69, 0x63, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b,
- 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63,
- 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
- 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x97, 0x01, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61,
- 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72,
- 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72,
- 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69,
- 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x70,
- 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c,
- 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04,
- 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74,
- 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04,
- 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22,
- 0x50, 0x0a, 0x0c, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x71, 0x12,
- 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x21,
- 0x0a, 0x0c, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x50, 0x68, 0x6f, 0x6e,
- 0x65, 0x22, 0x4a, 0x0a, 0x0d, 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65,
- 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12,
- 0x1c, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e,
- 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x5f, 0x0a,
- 0x08, 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a,
- 0x07, 0x69, 0x6d, 0x67, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
- 0x69, 0x6d, 0x67, 0x55, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6f,
- 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x22, 0x3e,
- 0x0a, 0x10, 0x45, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
- 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x09, 0x65, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x73, 0x18,
- 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x6f, 0x74, 0x69,
- 0x63, 0x6f, 0x6e, 0x52, 0x09, 0x65, 0x6d, 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x73, 0x22, 0xb7,
- 0x01, 0x0a, 0x09, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x21, 0x0a, 0x0c,
- 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12,
- 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63,
- 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64,
- 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x75, 0x73, 0x68, 0x41, 0x6c, 0x69, 0x61, 0x12, 0x1a, 0x0a,
- 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61,
- 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
- 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x22, 0x52, 0x0a, 0x0a, 0x53, 0x69, 0x67, 0x6e,
- 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x6e, 0x65, 0x77,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x4e, 0x65, 0x77, 0x12, 0x17, 0x0a,
- 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
- 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x60, 0x0a, 0x12,
- 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52,
- 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x03, 0x64, 0x69, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d,
- 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x69,
- 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c,
- 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, 0x0a,
- 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73,
- 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
- 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9a, 0x02, 0x0a, 0x04, 0x55, 0x73,
- 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e,
- 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e,
- 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61,
- 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
- 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72,
- 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x12, 0x1f,
- 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
- 0x1f, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
- 0x12, 0x31, 0x0a, 0x15, 0x69, 0x73, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x65,
- 0x64, 0x5f, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x12, 0x69, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x65, 0x64, 0x46, 0x72, 0x69, 0x65,
- 0x6e, 0x64, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d,
- 0x62, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65,
- 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x3b, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
- 0x72, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a,
- 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68,
- 0x6f, 0x6e, 0x65, 0x22, 0x2b, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
- 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72,
- 0x22, 0x72, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
- 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a,
- 0x03, 0x73, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12,
- 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x14,
- 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65,
- 0x78, 0x74, 0x72, 0x61, 0x22, 0x21, 0x0a, 0x0d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73,
- 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x30, 0x0a, 0x0e, 0x53, 0x65, 0x61, 0x72, 0x63,
- 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x05, 0x75, 0x73, 0x65,
- 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73,
- 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2a, 0xa4, 0x01, 0x0a, 0x0c, 0x43, 0x6f,
- 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x54,
- 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x54,
- 0x5f, 0x47, 0x41, 0x4d, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x54, 0x5f,
- 0x44, 0x45, 0x46, 0x52, 0x41, 0x55, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x54, 0x5f,
- 0x48, 0x41, 0x52, 0x41, 0x53, 0x53, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x54, 0x5f, 0x52,
- 0x55, 0x4d, 0x4f, 0x55, 0x52, 0x10, 0x04, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x54, 0x5f, 0x43, 0x4f,
- 0x55, 0x4e, 0x54, 0x45, 0x52, 0x46, 0x45, 0x49, 0x54, 0x5f, 0x47, 0x4f, 0x4f, 0x44, 0x53, 0x5f,
- 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x05, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x54, 0x5f, 0x56, 0x49, 0x4f,
- 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x46, 0x5f, 0x4d, 0x49, 0x4e, 0x4f, 0x52, 0x53,
- 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x54, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x07,
- 0x2a, 0x6e, 0x0a, 0x16, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x50,
- 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x4e,
- 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x10, 0x00, 0x12,
- 0x10, 0x0a, 0x0c, 0x4f, 0x4e, 0x4c, 0x59, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x10,
- 0x01, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x5f, 0x41, 0x4e, 0x44,
- 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x43, 0x45, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x4f, 0x54,
- 0x49, 0x43, 0x45, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x54, 0x4f, 0x50, 0x5f, 0x55, 0x50, 0x10, 0x03,
- 0x32, 0x94, 0x05, 0x0a, 0x0b, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x45, 0x78, 0x74,
- 0x12, 0x27, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x12, 0x0d, 0x2e, 0x70, 0x62, 0x2e,
- 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x53,
- 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x07, 0x47, 0x65, 0x74,
- 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
- 0x72, 0x52, 0x65, 0x71, 0x1a, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
- 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55,
- 0x73, 0x65, 0x72, 0x12, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55,
- 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74,
- 0x79, 0x12, 0x33, 0x0a, 0x0a, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x12,
- 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52,
- 0x65, 0x71, 0x1a, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73,
- 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x0f, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55,
- 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x43,
- 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65,
- 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x55, 0x70, 0x6c, 0x6f,
- 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2f, 0x0a, 0x0c, 0x45, 0x6d,
- 0x6f, 0x74, 0x69, 0x63, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x09, 0x2e, 0x70, 0x62, 0x2e,
- 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x6f, 0x74, 0x69,
- 0x63, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x09, 0x49,
- 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x73,
- 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x70, 0x62, 0x2e,
- 0x49, 0x73, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a,
- 0x0d, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14,
- 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75,
- 0x70, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12,
- 0x3a, 0x0a, 0x12, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e,
- 0x6f, 0x74, 0x69, 0x63, 0x65, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69,
- 0x73, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71,
- 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x0f, 0x56,
- 0x69, 0x65, 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x12, 0x16,
- 0x2e, 0x70, 0x62, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74,
- 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x56, 0x69, 0x65, 0x77,
- 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12,
- 0x34, 0x0a, 0x0f, 0x4c, 0x69, 0x6b, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69,
- 0x63, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x47, 0x72, 0x6f, 0x75,
- 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e,
- 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x40, 0x0a, 0x15, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4c,
- 0x69, 0x6b, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x12, 0x1c,
- 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4c, 0x69, 0x6b, 0x65, 0x47, 0x72,
- 0x6f, 0x75, 0x70, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x09, 0x2e, 0x70,
- 0x62, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x10, 0x5a, 0x0e, 0x65, 0x67, 0x67, 0x2d, 0x69,
- 0x6d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x33,
- }
-
- var (
- file_business_ext_proto_rawDescOnce sync.Once
- file_business_ext_proto_rawDescData = file_business_ext_proto_rawDesc
- )
-
- func file_business_ext_proto_rawDescGZIP() []byte {
- file_business_ext_proto_rawDescOnce.Do(func() {
- file_business_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_business_ext_proto_rawDescData)
- })
- return file_business_ext_proto_rawDescData
- }
-
- var file_business_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
- var file_business_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
- var file_business_ext_proto_goTypes = []interface{}{
- (ComplainType)(0), // 0: pb.ComplainType
- (GroupNoticePublishType)(0), // 1: pb.GroupNoticePublishType
- (*LikeGroupNoticeReq)(nil), // 2: pb.LikeGroupNoticeReq
- (*CancelLikeGroupNoticeReq)(nil), // 3: pb.CancelLikeGroupNoticeReq
- (*ViewGroupNoticeReq)(nil), // 4: pb.ViewGroupNoticeReq
- (*ViewGroupNoticeResp)(nil), // 5: pb.ViewGroupNoticeResp
- (*PublishGroupNoticeReq)(nil), // 6: pb.PublishGroupNoticeReq
- (*ComplainGroupReq)(nil), // 7: pb.ComplainGroupReq
- (*IsFriendsReq)(nil), // 8: pb.IsFriendsReq
- (*IsFriendsResp)(nil), // 9: pb.IsFriendsResp
- (*Emoticon)(nil), // 10: pb.Emoticon
- (*EmoticonListResp)(nil), // 11: pb.EmoticonListResp
- (*SignInReq)(nil), // 12: pb.SignInReq
- (*SignInResp)(nil), // 13: pb.SignInResp
- (*CloudUploadFileReq)(nil), // 14: pb.CloudUploadFileReq
- (*CloudUploadFileResp)(nil), // 15: pb.CloudUploadFileResp
- (*User)(nil), // 16: pb.User
- (*GetUserReq)(nil), // 17: pb.GetUserReq
- (*GetUserResp)(nil), // 18: pb.GetUserResp
- (*UpdateUserReq)(nil), // 19: pb.UpdateUserReq
- (*SearchUserReq)(nil), // 20: pb.SearchUserReq
- (*SearchUserResp)(nil), // 21: pb.SearchUserResp
- (*Empty)(nil), // 22: pb.Empty
- }
- var file_business_ext_proto_depIdxs = []int32{
- 1, // 0: pb.ViewGroupNoticeResp.publish_type:type_name -> pb.GroupNoticePublishType
- 1, // 1: pb.PublishGroupNoticeReq.publish_type:type_name -> pb.GroupNoticePublishType
- 0, // 2: pb.ComplainGroupReq.complain_type:type_name -> pb.ComplainType
- 16, // 3: pb.IsFriendsResp.user:type_name -> pb.User
- 10, // 4: pb.EmoticonListResp.emoticons:type_name -> pb.Emoticon
- 16, // 5: pb.GetUserResp.user:type_name -> pb.User
- 16, // 6: pb.SearchUserResp.users:type_name -> pb.User
- 12, // 7: pb.BusinessExt.SignIn:input_type -> pb.SignInReq
- 17, // 8: pb.BusinessExt.GetUser:input_type -> pb.GetUserReq
- 19, // 9: pb.BusinessExt.UpdateUser:input_type -> pb.UpdateUserReq
- 20, // 10: pb.BusinessExt.SearchUser:input_type -> pb.SearchUserReq
- 14, // 11: pb.BusinessExt.CloudUploadFile:input_type -> pb.CloudUploadFileReq
- 22, // 12: pb.BusinessExt.EmoticonList:input_type -> pb.Empty
- 8, // 13: pb.BusinessExt.IsFriends:input_type -> pb.IsFriendsReq
- 7, // 14: pb.BusinessExt.ComplainGroup:input_type -> pb.ComplainGroupReq
- 6, // 15: pb.BusinessExt.PublishGroupNotice:input_type -> pb.PublishGroupNoticeReq
- 4, // 16: pb.BusinessExt.ViewGroupNotice:input_type -> pb.ViewGroupNoticeReq
- 2, // 17: pb.BusinessExt.LikeGroupNotice:input_type -> pb.LikeGroupNoticeReq
- 3, // 18: pb.BusinessExt.CancelLikeGroupNotice:input_type -> pb.CancelLikeGroupNoticeReq
- 13, // 19: pb.BusinessExt.SignIn:output_type -> pb.SignInResp
- 18, // 20: pb.BusinessExt.GetUser:output_type -> pb.GetUserResp
- 22, // 21: pb.BusinessExt.UpdateUser:output_type -> pb.Empty
- 21, // 22: pb.BusinessExt.SearchUser:output_type -> pb.SearchUserResp
- 15, // 23: pb.BusinessExt.CloudUploadFile:output_type -> pb.CloudUploadFileResp
- 11, // 24: pb.BusinessExt.EmoticonList:output_type -> pb.EmoticonListResp
- 9, // 25: pb.BusinessExt.IsFriends:output_type -> pb.IsFriendsResp
- 22, // 26: pb.BusinessExt.ComplainGroup:output_type -> pb.Empty
- 22, // 27: pb.BusinessExt.PublishGroupNotice:output_type -> pb.Empty
- 5, // 28: pb.BusinessExt.ViewGroupNotice:output_type -> pb.ViewGroupNoticeResp
- 22, // 29: pb.BusinessExt.LikeGroupNotice:output_type -> pb.Empty
- 22, // 30: pb.BusinessExt.CancelLikeGroupNotice:output_type -> pb.Empty
- 19, // [19:31] is the sub-list for method output_type
- 7, // [7:19] is the sub-list for method input_type
- 7, // [7:7] is the sub-list for extension type_name
- 7, // [7:7] is the sub-list for extension extendee
- 0, // [0:7] is the sub-list for field type_name
- }
-
- func init() { file_business_ext_proto_init() }
- func file_business_ext_proto_init() {
- if File_business_ext_proto != nil {
- return
- }
- file_common_ext_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_business_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*LikeGroupNoticeReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CancelLikeGroupNoticeReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ViewGroupNoticeReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ViewGroupNoticeResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PublishGroupNoticeReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ComplainGroupReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*IsFriendsReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*IsFriendsResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Emoticon); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*EmoticonListResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SignInReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SignInResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CloudUploadFileReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CloudUploadFileResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*User); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetUserReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GetUserResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdateUserReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SearchUserReq); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_business_ext_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SearchUserResp); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_business_ext_proto_rawDesc,
- NumEnums: 2,
- NumMessages: 20,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_business_ext_proto_goTypes,
- DependencyIndexes: file_business_ext_proto_depIdxs,
- EnumInfos: file_business_ext_proto_enumTypes,
- MessageInfos: file_business_ext_proto_msgTypes,
- }.Build()
- File_business_ext_proto = out.File
- file_business_ext_proto_rawDesc = nil
- file_business_ext_proto_goTypes = nil
- file_business_ext_proto_depIdxs = nil
- }
-
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- // Requires gRPC-Go v1.32.0 or later.
- const _ = grpc.SupportPackageIsVersion7
-
- // BusinessExtClient is the client API for BusinessExt service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
- type BusinessExtClient interface {
- // 登录
- SignIn(ctx context.Context, in *SignInReq, opts ...grpc.CallOption) (*SignInResp, error)
- // 获取用户信息
- GetUser(ctx context.Context, in *GetUserReq, opts ...grpc.CallOption) (*GetUserResp, error)
- // 更新用户信息
- UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*Empty, error)
- // 搜索用户(这里简单数据库实现,生产环境建议使用ES)
- SearchUser(ctx context.Context, in *SearchUserReq, opts ...grpc.CallOption) (*SearchUserResp, error)
- // 上传文件至云端
- CloudUploadFile(ctx context.Context, in *CloudUploadFileReq, opts ...grpc.CallOption) (*CloudUploadFileResp, error)
- // 获取表情
- EmoticonList(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*EmoticonListResp, error)
- // 判断是否为好友关系
- IsFriends(ctx context.Context, in *IsFriendsReq, opts ...grpc.CallOption) (*IsFriendsResp, error)
- // 投诉群
- ComplainGroup(ctx context.Context, in *ComplainGroupReq, opts ...grpc.CallOption) (*Empty, error)
- // 发布群公告
- PublishGroupNotice(ctx context.Context, in *PublishGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error)
- // 查看群公告
- ViewGroupNotice(ctx context.Context, in *ViewGroupNoticeReq, opts ...grpc.CallOption) (*ViewGroupNoticeResp, error)
- // 点赞群公告
- LikeGroupNotice(ctx context.Context, in *LikeGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error)
- // 取消点赞群公告
- CancelLikeGroupNotice(ctx context.Context, in *CancelLikeGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error)
- }
-
- type businessExtClient struct {
- cc grpc.ClientConnInterface
- }
-
- func NewBusinessExtClient(cc grpc.ClientConnInterface) BusinessExtClient {
- return &businessExtClient{cc}
- }
-
- func (c *businessExtClient) SignIn(ctx context.Context, in *SignInReq, opts ...grpc.CallOption) (*SignInResp, error) {
- out := new(SignInResp)
- err := c.cc.Invoke(ctx, "/pb.BusinessExt/SignIn", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *businessExtClient) GetUser(ctx context.Context, in *GetUserReq, opts ...grpc.CallOption) (*GetUserResp, error) {
- out := new(GetUserResp)
- err := c.cc.Invoke(ctx, "/pb.BusinessExt/GetUser", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *businessExtClient) UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*Empty, error) {
- out := new(Empty)
- err := c.cc.Invoke(ctx, "/pb.BusinessExt/UpdateUser", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *businessExtClient) SearchUser(ctx context.Context, in *SearchUserReq, opts ...grpc.CallOption) (*SearchUserResp, error) {
- out := new(SearchUserResp)
- err := c.cc.Invoke(ctx, "/pb.BusinessExt/SearchUser", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *businessExtClient) CloudUploadFile(ctx context.Context, in *CloudUploadFileReq, opts ...grpc.CallOption) (*CloudUploadFileResp, error) {
- out := new(CloudUploadFileResp)
- err := c.cc.Invoke(ctx, "/pb.BusinessExt/CloudUploadFile", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *businessExtClient) EmoticonList(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*EmoticonListResp, error) {
- out := new(EmoticonListResp)
- err := c.cc.Invoke(ctx, "/pb.BusinessExt/EmoticonList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *businessExtClient) IsFriends(ctx context.Context, in *IsFriendsReq, opts ...grpc.CallOption) (*IsFriendsResp, error) {
- out := new(IsFriendsResp)
- err := c.cc.Invoke(ctx, "/pb.BusinessExt/IsFriends", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *businessExtClient) ComplainGroup(ctx context.Context, in *ComplainGroupReq, opts ...grpc.CallOption) (*Empty, error) {
- out := new(Empty)
- err := c.cc.Invoke(ctx, "/pb.BusinessExt/ComplainGroup", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *businessExtClient) PublishGroupNotice(ctx context.Context, in *PublishGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error) {
- out := new(Empty)
- err := c.cc.Invoke(ctx, "/pb.BusinessExt/PublishGroupNotice", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *businessExtClient) ViewGroupNotice(ctx context.Context, in *ViewGroupNoticeReq, opts ...grpc.CallOption) (*ViewGroupNoticeResp, error) {
- out := new(ViewGroupNoticeResp)
- err := c.cc.Invoke(ctx, "/pb.BusinessExt/ViewGroupNotice", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *businessExtClient) LikeGroupNotice(ctx context.Context, in *LikeGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error) {
- out := new(Empty)
- err := c.cc.Invoke(ctx, "/pb.BusinessExt/LikeGroupNotice", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- func (c *businessExtClient) CancelLikeGroupNotice(ctx context.Context, in *CancelLikeGroupNoticeReq, opts ...grpc.CallOption) (*Empty, error) {
- out := new(Empty)
- err := c.cc.Invoke(ctx, "/pb.BusinessExt/CancelLikeGroupNotice", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
-
- // BusinessExtServer is the server API for BusinessExt service.
- // All implementations must embed UnimplementedBusinessExtServer
- // for forward compatibility
- type BusinessExtServer interface {
- // 登录
- SignIn(context.Context, *SignInReq) (*SignInResp, error)
- // 获取用户信息
- GetUser(context.Context, *GetUserReq) (*GetUserResp, error)
- // 更新用户信息
- UpdateUser(context.Context, *UpdateUserReq) (*Empty, error)
- // 搜索用户(这里简单数据库实现,生产环境建议使用ES)
- SearchUser(context.Context, *SearchUserReq) (*SearchUserResp, error)
- // 上传文件至云端
- CloudUploadFile(context.Context, *CloudUploadFileReq) (*CloudUploadFileResp, error)
- // 获取表情
- EmoticonList(context.Context, *Empty) (*EmoticonListResp, error)
- // 判断是否为好友关系
- IsFriends(context.Context, *IsFriendsReq) (*IsFriendsResp, error)
- // 投诉群
- ComplainGroup(context.Context, *ComplainGroupReq) (*Empty, error)
- // 发布群公告
- PublishGroupNotice(context.Context, *PublishGroupNoticeReq) (*Empty, error)
- // 查看群公告
- ViewGroupNotice(context.Context, *ViewGroupNoticeReq) (*ViewGroupNoticeResp, error)
- // 点赞群公告
- LikeGroupNotice(context.Context, *LikeGroupNoticeReq) (*Empty, error)
- // 取消点赞群公告
- CancelLikeGroupNotice(context.Context, *CancelLikeGroupNoticeReq) (*Empty, error)
- }
-
- // UnimplementedBusinessExtServer must be embedded to have forward compatible implementations.
- type UnimplementedBusinessExtServer struct {
- }
-
- func (UnimplementedBusinessExtServer) SignIn(context.Context, *SignInReq) (*SignInResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SignIn not implemented")
- }
- func (UnimplementedBusinessExtServer) GetUser(context.Context, *GetUserReq) (*GetUserResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented")
- }
- func (UnimplementedBusinessExtServer) UpdateUser(context.Context, *UpdateUserReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateUser not implemented")
- }
- func (UnimplementedBusinessExtServer) SearchUser(context.Context, *SearchUserReq) (*SearchUserResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SearchUser not implemented")
- }
- func (UnimplementedBusinessExtServer) CloudUploadFile(context.Context, *CloudUploadFileReq) (*CloudUploadFileResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CloudUploadFile not implemented")
- }
- func (UnimplementedBusinessExtServer) EmoticonList(context.Context, *Empty) (*EmoticonListResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method EmoticonList not implemented")
- }
- func (UnimplementedBusinessExtServer) IsFriends(context.Context, *IsFriendsReq) (*IsFriendsResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method IsFriends not implemented")
- }
- func (UnimplementedBusinessExtServer) ComplainGroup(context.Context, *ComplainGroupReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ComplainGroup not implemented")
- }
- func (UnimplementedBusinessExtServer) PublishGroupNotice(context.Context, *PublishGroupNoticeReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method PublishGroupNotice not implemented")
- }
- func (UnimplementedBusinessExtServer) ViewGroupNotice(context.Context, *ViewGroupNoticeReq) (*ViewGroupNoticeResp, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ViewGroupNotice not implemented")
- }
- func (UnimplementedBusinessExtServer) LikeGroupNotice(context.Context, *LikeGroupNoticeReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method LikeGroupNotice not implemented")
- }
- func (UnimplementedBusinessExtServer) CancelLikeGroupNotice(context.Context, *CancelLikeGroupNoticeReq) (*Empty, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CancelLikeGroupNotice not implemented")
- }
-
- func RegisterBusinessExtServer(s grpc.ServiceRegistrar, srv BusinessExtServer) {
- s.RegisterService(&BusinessExt_ServiceDesc, srv)
- }
-
- func _BusinessExt_SignIn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SignInReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BusinessExtServer).SignIn(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.BusinessExt/SignIn",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BusinessExtServer).SignIn(ctx, req.(*SignInReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _BusinessExt_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetUserReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BusinessExtServer).GetUser(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.BusinessExt/GetUser",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BusinessExtServer).GetUser(ctx, req.(*GetUserReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _BusinessExt_UpdateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateUserReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BusinessExtServer).UpdateUser(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.BusinessExt/UpdateUser",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BusinessExtServer).UpdateUser(ctx, req.(*UpdateUserReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _BusinessExt_SearchUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(SearchUserReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BusinessExtServer).SearchUser(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.BusinessExt/SearchUser",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BusinessExtServer).SearchUser(ctx, req.(*SearchUserReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _BusinessExt_CloudUploadFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CloudUploadFileReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BusinessExtServer).CloudUploadFile(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.BusinessExt/CloudUploadFile",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BusinessExtServer).CloudUploadFile(ctx, req.(*CloudUploadFileReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _BusinessExt_EmoticonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(Empty)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BusinessExtServer).EmoticonList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.BusinessExt/EmoticonList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BusinessExtServer).EmoticonList(ctx, req.(*Empty))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _BusinessExt_IsFriends_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(IsFriendsReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BusinessExtServer).IsFriends(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.BusinessExt/IsFriends",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BusinessExtServer).IsFriends(ctx, req.(*IsFriendsReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _BusinessExt_ComplainGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ComplainGroupReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BusinessExtServer).ComplainGroup(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.BusinessExt/ComplainGroup",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BusinessExtServer).ComplainGroup(ctx, req.(*ComplainGroupReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _BusinessExt_PublishGroupNotice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(PublishGroupNoticeReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BusinessExtServer).PublishGroupNotice(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.BusinessExt/PublishGroupNotice",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BusinessExtServer).PublishGroupNotice(ctx, req.(*PublishGroupNoticeReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _BusinessExt_ViewGroupNotice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ViewGroupNoticeReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BusinessExtServer).ViewGroupNotice(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.BusinessExt/ViewGroupNotice",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BusinessExtServer).ViewGroupNotice(ctx, req.(*ViewGroupNoticeReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _BusinessExt_LikeGroupNotice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(LikeGroupNoticeReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BusinessExtServer).LikeGroupNotice(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.BusinessExt/LikeGroupNotice",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BusinessExtServer).LikeGroupNotice(ctx, req.(*LikeGroupNoticeReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- func _BusinessExt_CancelLikeGroupNotice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CancelLikeGroupNoticeReq)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(BusinessExtServer).CancelLikeGroupNotice(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.BusinessExt/CancelLikeGroupNotice",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(BusinessExtServer).CancelLikeGroupNotice(ctx, req.(*CancelLikeGroupNoticeReq))
- }
- return interceptor(ctx, in, info, handler)
- }
-
- // BusinessExt_ServiceDesc is the grpc.ServiceDesc for BusinessExt service.
- // It's only intended for direct use with grpc.RegisterService,
- // and not to be introspected or modified (even as a copy)
- var BusinessExt_ServiceDesc = grpc.ServiceDesc{
- ServiceName: "pb.BusinessExt",
- HandlerType: (*BusinessExtServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "SignIn",
- Handler: _BusinessExt_SignIn_Handler,
- },
- {
- MethodName: "GetUser",
- Handler: _BusinessExt_GetUser_Handler,
- },
- {
- MethodName: "UpdateUser",
- Handler: _BusinessExt_UpdateUser_Handler,
- },
- {
- MethodName: "SearchUser",
- Handler: _BusinessExt_SearchUser_Handler,
- },
- {
- MethodName: "CloudUploadFile",
- Handler: _BusinessExt_CloudUploadFile_Handler,
- },
- {
- MethodName: "EmoticonList",
- Handler: _BusinessExt_EmoticonList_Handler,
- },
- {
- MethodName: "IsFriends",
- Handler: _BusinessExt_IsFriends_Handler,
- },
- {
- MethodName: "ComplainGroup",
- Handler: _BusinessExt_ComplainGroup_Handler,
- },
- {
- MethodName: "PublishGroupNotice",
- Handler: _BusinessExt_PublishGroupNotice_Handler,
- },
- {
- MethodName: "ViewGroupNotice",
- Handler: _BusinessExt_ViewGroupNotice_Handler,
- },
- {
- MethodName: "LikeGroupNotice",
- Handler: _BusinessExt_LikeGroupNotice_Handler,
- },
- {
- MethodName: "CancelLikeGroupNotice",
- Handler: _BusinessExt_CancelLikeGroupNotice_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "business.ext.proto",
- }
|