From 26c3c30b82f1cd39eb585f58dd37261145c97969 Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Wed, 31 May 2023 16:54:11 +0800 Subject: [PATCH] office --- cmd/rpc/office/Makefile | 39 + cmd/rpc/office/main.go | 19 + config/config.yaml | 22 +- internal/api/office.go | 25 + internal/api/route.go | 6 + internal/rpc/office/office.go | 119 + pkg/common/config/config.go | 4 +- pkg/common/db/controller/office.go | 18 + pkg/common/db/table/unrelation/office.go | 1 + pkg/common/db/unrelation/office.go | 1 + pkg/proto/gen.cmd | 3 +- pkg/proto/gen.sh | 3 +- pkg/proto/office/office.pb.go | 4435 ++++++++++++++++++++++ pkg/proto/office/office.proto | 278 ++ 14 files changed, 4959 insertions(+), 14 deletions(-) create mode 100644 cmd/rpc/office/Makefile create mode 100644 cmd/rpc/office/main.go create mode 100644 internal/api/office.go create mode 100644 internal/rpc/office/office.go create mode 100644 pkg/common/db/controller/office.go create mode 100644 pkg/common/db/table/unrelation/office.go create mode 100644 pkg/common/db/unrelation/office.go create mode 100644 pkg/proto/office/office.pb.go create mode 100644 pkg/proto/office/office.proto diff --git a/cmd/rpc/office/Makefile b/cmd/rpc/office/Makefile new file mode 100644 index 000000000..5f4508094 --- /dev/null +++ b/cmd/rpc/office/Makefile @@ -0,0 +1,39 @@ +.PHONY: all build run gotool install clean help + +NAME=open_im_office +BIN_DIR=../../../bin/ + +OS:= $(or $(os),linux) +ARCH:=$(or $(arch),amd64) +all: gotool build + +ifeq ($(OS),windows) + +BINARY_NAME=${NAME}.exe + +else + +BINARY_NAME=${NAME} + +endif + +build: + CGO_ENABLED=0 GOOS=${OS} GOARCH=${ARCH}; go build -ldflags="-w -s" -o ${BINARY_NAME} + +run: + @go run ./ + +gotool: + go fmt ./ + go vet ./ + +install:build + mv ${BINARY_NAME} ${BIN_DIR} + +clean: + @if [ -f ${BINARY_NAME} ] ; then rm ${BINARY_NAME} ; fi + + + + + diff --git a/cmd/rpc/office/main.go b/cmd/rpc/office/main.go new file mode 100644 index 000000000..6bd317960 --- /dev/null +++ b/cmd/rpc/office/main.go @@ -0,0 +1,19 @@ +package office + +import ( + "github.com/OpenIMSDK/Open-IM-Server/internal/rpc/office" + "github.com/OpenIMSDK/Open-IM-Server/pkg/common/cmd" + "github.com/OpenIMSDK/Open-IM-Server/pkg/common/config" +) + +func main() { + rpcCmd := cmd.NewRpcCmd("office") + rpcCmd.AddPortFlag() + rpcCmd.AddPrometheusPortFlag() + if err := rpcCmd.Exec(); err != nil { + panic(err.Error()) + } + if err := rpcCmd.StartSvr(config.Config.RpcRegisterName.OpenImOfficeName, office.Start); err != nil { + panic(err.Error()) + } +} diff --git a/config/config.yaml b/config/config.yaml index 53c8b756f..6a9faccbb 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -45,7 +45,7 @@ redis: enableCluster: false #如果外部redis以集群方式启动,需要打开此开关 kafka: - SASLUserName: + SASLUserName: SASLPassword: ws2mschat: addr: [ 127.0.0.1:9092 ] #kafka配置,默认即可 @@ -141,7 +141,8 @@ rpcport: #rpc服务端口 默认即可 openImPushPort: [ 10170 ] openImConversationPort: [ 10180 ] openImRtcPort: [ 10190 ] - openImThirdPort : [ 10200 ] + openImThirdPort: [ 10200 ] + openImOfficePort: [ 10210 ] rpcregistername: #rpc注册服务名,默认即可 openImUserName: User @@ -154,6 +155,7 @@ rpcregistername: #rpc注册服务名,默认即可 openImConversationName: Conversation openImRtcName: Rtc openImThirdName: Third + openImOfficeName: Office log: storageLocation: ../logs/ @@ -187,12 +189,12 @@ push: secretKey: 111 enable: false # true or false (bool) jpns: #极光推送 在极光后台申请后,修改以下四项,必须修改 - appKey: - masterSecret: - pushUrl: - pushIntent: + appKey: + masterSecret: + pushUrl: + pushIntent: enable: false # true or false (bool) - getui: #个推推送 + getui: #个推推送 pushUrl: "https://restapi.getui.com/v2/$appId" masterSecret: "" appKey: "" @@ -200,13 +202,13 @@ push: enable: false # true or false (bool) channelID: "" channelName: "" - fcm: #firebase cloud message 消息推送 + fcm: #firebase cloud message 消息推送 serviceAccount: "openim-5c6c0-firebase-adminsdk-ppwol-8765884a78.json" #帐号文件,此处需要改修配置,并且这个文件放在 config目录下 enable: false manager: #app管理员userID和对应的secret 建议修改。 用于管理后台登录,也可以用户管理后台对应的api - appManagerUid: [ "openIM123456","openIM654321", "openIM333", "openIMAdmin"] + appManagerUid: [ "openIM123456","openIM654321", "openIM333", "openIMAdmin" ] nickname: [ "系统通知","openIM654321", "openIM333", "openIMAdmin" ] @@ -240,7 +242,7 @@ iospush: callback: # callback url 需要自行更换callback url - callbackUrl : "http://127.0.0.1:8080/callback" + callbackUrl: "http://127.0.0.1:8080/callback" # 开启关闭操作前后回调的配置 callbackBeforeSendSingleMsg: enable: false # 回调是否启用 diff --git a/internal/api/office.go b/internal/api/office.go new file mode 100644 index 000000000..a03333906 --- /dev/null +++ b/internal/api/office.go @@ -0,0 +1,25 @@ +package api + +import ( + "context" + "github.com/OpenIMSDK/Open-IM-Server/pkg/common/config" + "github.com/OpenIMSDK/Open-IM-Server/pkg/discoveryregistry" + "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/office" + "google.golang.org/grpc" +) + +func NewOffice(c discoveryregistry.SvcDiscoveryRegistry) *Office { + conn, err := c.GetConn(context.Background(), config.Config.RpcRegisterName.OpenImOfficeName) + if err != nil { + panic(err) + } + return &Office{conn: conn} +} + +type Office struct { + conn *grpc.ClientConn +} + +func (o *Office) client(ctx context.Context) (office.OfficeClient, error) { + return office.NewOfficeClient(o.conn), nil +} diff --git a/internal/api/route.go b/internal/api/route.go index 70483e510..164ca4b6f 100644 --- a/internal/api/route.go +++ b/internal/api/route.go @@ -170,5 +170,11 @@ func NewGinRouter(discov discoveryregistry.SvcDiscoveryRegistry, rdb redis.Unive conversationGroup.POST("/get_conversations_has_read_and_max_seq", c.GetConversationsHasReadAndMaxSeq) conversationGroup.POST("/set_conversations", c.SetConversations) } + + office := r.Group("/office") + { + o := NewOffice(discov) + _, _ = office, o + } return r } diff --git a/internal/rpc/office/office.go b/internal/rpc/office/office.go new file mode 100644 index 000000000..decebd3c3 --- /dev/null +++ b/internal/rpc/office/office.go @@ -0,0 +1,119 @@ +package office + +import ( + "context" + "github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/controller" + "github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/unrelation" + "github.com/OpenIMSDK/Open-IM-Server/pkg/discoveryregistry" + "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/office" + "github.com/OpenIMSDK/Open-IM-Server/pkg/rpcclient" + "google.golang.org/grpc" +) + +func Start(client discoveryregistry.SvcDiscoveryRegistry, server *grpc.Server) error { + mongo, err := unrelation.NewMongo() + if err != nil { + return err + } + //rdb, err := cache.NewRedis() + //if err != nil { + // return err + //} + office.RegisterOfficeServiceServer(server, &officeServer{ + officeDatabase: controller.NewOfficeDatabase(mongo), + msgRpcClient: rpcclient.NewMsgClient(client), + user: rpcclient.NewUserClient(client), + }) + return nil +} + +type officeServer struct { + officeDatabase controller.OfficeDatabase + user *rpcclient.UserClient + msgRpcClient *rpcclient.MsgClient +} + +func (o *officeServer) GetUserTags(ctx context.Context, req *office.GetUserTagsReq) (*office.GetUserTagsResp, error) { + //TODO implement me + panic("implement me") +} + +func (o *officeServer) CreateTag(ctx context.Context, req *office.CreateTagReq) (*office.CreateTagResp, error) { + //TODO implement me + panic("implement me") +} + +func (o *officeServer) DeleteTag(ctx context.Context, req *office.DeleteTagReq) (*office.DeleteTagResp, error) { + //TODO implement me + panic("implement me") +} + +func (o *officeServer) SetTag(ctx context.Context, req *office.SetTagReq) (*office.SetTagResp, error) { + //TODO implement me + panic("implement me") +} + +func (o *officeServer) SendMsg2Tag(ctx context.Context, req *office.SendMsg2TagReq) (*office.SendMsg2TagResp, error) { + //TODO implement me + panic("implement me") +} + +func (o *officeServer) GetTagSendLogs(ctx context.Context, req *office.GetTagSendLogsReq) (*office.GetTagSendLogsResp, error) { + //TODO implement me + panic("implement me") +} + +func (o *officeServer) GetUserTagByID(ctx context.Context, req *office.GetUserTagByIDReq) (*office.GetUserTagByIDResp, error) { + //TODO implement me + panic("implement me") +} + +func (o *officeServer) CreateOneWorkMoment(ctx context.Context, req *office.CreateOneWorkMomentReq) (*office.CreateOneWorkMomentResp, error) { + //TODO implement me + panic("implement me") +} + +func (o *officeServer) DeleteOneWorkMoment(ctx context.Context, req *office.DeleteOneWorkMomentReq) (*office.DeleteOneWorkMomentResp, error) { + //TODO implement me + panic("implement me") +} + +func (o *officeServer) LikeOneWorkMoment(ctx context.Context, req *office.LikeOneWorkMomentReq) (*office.LikeOneWorkMomentResp, error) { + //TODO implement me + panic("implement me") +} + +func (o *officeServer) CommentOneWorkMoment(ctx context.Context, req *office.CommentOneWorkMomentReq) (*office.CommentOneWorkMomentResp, error) { + //TODO implement me + panic("implement me") +} + +func (o *officeServer) DeleteComment(ctx context.Context, req *office.DeleteCommentReq) (*office.DeleteCommentResp, error) { + //TODO implement me + panic("implement me") +} + +func (o *officeServer) GetWorkMomentByID(ctx context.Context, req *office.GetWorkMomentByIDReq) (*office.GetWorkMomentByIDResp, error) { + //TODO implement me + panic("implement me") +} + +func (o *officeServer) ChangeWorkMomentPermission(ctx context.Context, req *office.ChangeWorkMomentPermissionReq) (*office.ChangeWorkMomentPermissionResp, error) { + //TODO implement me + panic("implement me") +} + +func (o *officeServer) GetUserWorkMoments(ctx context.Context, req *office.GetUserWorkMomentsReq) (*office.GetUserWorkMomentsResp, error) { + //TODO implement me + panic("implement me") +} + +func (o *officeServer) GetUserFriendWorkMoments(ctx context.Context, req *office.GetUserFriendWorkMomentsReq) (*office.GetUserFriendWorkMomentsResp, error) { + //TODO implement me + panic("implement me") +} + +func (o *officeServer) SetUserWorkMomentsLevel(ctx context.Context, req *office.SetUserWorkMomentsLevelReq) (*office.SetUserWorkMomentsLevelResp, error) { + //TODO implement me + panic("implement me") +} diff --git a/pkg/common/config/config.go b/pkg/common/config/config.go index 41d32ec5f..8a1192216 100644 --- a/pkg/common/config/config.go +++ b/pkg/common/config/config.go @@ -12,8 +12,6 @@ import ( "github.com/OpenIMSDK/Open-IM-Server/pkg/discoveryregistry" "github.com/OpenIMSDK/Open-IM-Server/pkg/utils" - _ "embed" - "gopkg.in/yaml.v3" ) @@ -163,6 +161,7 @@ type config struct { OpenImCachePort []int `yaml:"openImCachePort"` OpenImRtcPort []int `yaml:"openImRtcPort"` OpenImThirdPort []int `yaml:"openImThirdPort"` + OpenImOfficePort []int `yaml:"openImOfficePort"` } RpcRegisterName struct { OpenImUserName string `yaml:"openImUserName"` @@ -175,6 +174,7 @@ type config struct { OpenImConversationName string `yaml:"openImConversationName"` OpenImRtcName string `yaml:"openImRtcName"` OpenImThirdName string `yaml:"openImThirdName"` + OpenImOfficeName string `yaml:"openImOfficeName"` } Zookeeper struct { Schema string `yaml:"schema"` diff --git a/pkg/common/db/controller/office.go b/pkg/common/db/controller/office.go new file mode 100644 index 000000000..36d17f2ab --- /dev/null +++ b/pkg/common/db/controller/office.go @@ -0,0 +1,18 @@ +package controller + +import ( + "github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/unrelation" +) + +func NewOfficeDatabase(mgo *unrelation.Mongo) OfficeDatabase { + return &officeDatabase{mgo: mgo} +} + +type OfficeDatabase interface { + // table.unrelation.office.go + // unrelation.office.go +} + +type officeDatabase struct { + mgo *unrelation.Mongo +} diff --git a/pkg/common/db/table/unrelation/office.go b/pkg/common/db/table/unrelation/office.go new file mode 100644 index 000000000..5cad2078d --- /dev/null +++ b/pkg/common/db/table/unrelation/office.go @@ -0,0 +1 @@ +package unrelation diff --git a/pkg/common/db/unrelation/office.go b/pkg/common/db/unrelation/office.go new file mode 100644 index 000000000..5cad2078d --- /dev/null +++ b/pkg/common/db/unrelation/office.go @@ -0,0 +1 @@ +package unrelation diff --git a/pkg/proto/gen.cmd b/pkg/proto/gen.cmd index 16c7a43f7..9af65c49a 100644 --- a/pkg/proto/gen.cmd +++ b/pkg/proto/gen.cmd @@ -10,4 +10,5 @@ protoc --go_out=plugins=grpc:./rtc --go_opt=module=github.com/OpenIMSDK/Open-IM- protoc --go_out=plugins=grpc:./sdkws --go_opt=module=github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws sdkws/sdkws.proto protoc --go_out=plugins=grpc:./third --go_opt=module=github.com/OpenIMSDK/Open-IM-Server/pkg/proto/third third/third.proto protoc --go_out=plugins=grpc:./user --go_opt=module=github.com/OpenIMSDK/Open-IM-Server/pkg/proto/user user/user.proto -protoc --go_out=plugins=grpc:./wrapperspb --go_opt=module=github.com/OpenIMSDK/Open-IM-Server/pkg/proto/wrapperspb wrapperspb/wrapperspb.proto \ No newline at end of file +protoc --go_out=plugins=grpc:./wrapperspb --go_opt=module=github.com/OpenIMSDK/Open-IM-Server/pkg/proto/wrapperspb wrapperspb/wrapperspb.proto +protoc --go_out=plugins=grpc:./office --go_opt=module=github.com/OpenIMSDK/Open-IM-Server/pkg/proto/office office/office.proto \ No newline at end of file diff --git a/pkg/proto/gen.sh b/pkg/proto/gen.sh index 95f0b2f79..7fc0aa537 100644 --- a/pkg/proto/gen.sh +++ b/pkg/proto/gen.sh @@ -9,4 +9,5 @@ protoc --go_out=plugins=grpc:./rtc --go_opt=module=github.com/OpenIMSDK/Open-IM- protoc --go_out=plugins=grpc:./sdkws --go_opt=module=github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws sdkws/sdkws.proto protoc --go_out=plugins=grpc:./third --go_opt=module=github.com/OpenIMSDK/Open-IM-Server/pkg/proto/third third/third.proto protoc --go_out=plugins=grpc:./user --go_opt=module=github.com/OpenIMSDK/Open-IM-Server/pkg/proto/user user/user.proto -protoc --go_out=plugins=grpc:./wrapperspb --go_opt=module=github.com/OpenIMSDK/Open-IM-Server/pkg/proto/wrapperspb wrapperspb/wrapperspb.proto \ No newline at end of file +protoc --go_out=plugins=grpc:./wrapperspb --go_opt=module=github.com/OpenIMSDK/Open-IM-Server/pkg/proto/wrapperspb wrapperspb/wrapperspb.proto +protoc --go_out=plugins=grpc:./office --go_opt=module=github.com/OpenIMSDK/Open-IM-Server/pkg/proto/office office/office.proto \ No newline at end of file diff --git a/pkg/proto/office/office.pb.go b/pkg/proto/office/office.pb.go new file mode 100644 index 000000000..d5bb0eb31 --- /dev/null +++ b/pkg/proto/office/office.pb.go @@ -0,0 +1,4435 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.29.1 +// protoc v4.22.0 +// source: office/office.proto + +package office + +import ( + context "context" + sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws" + 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 TagUser struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` + UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName"` +} + +func (x *TagUser) Reset() { + *x = TagUser{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TagUser) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TagUser) ProtoMessage() {} + +func (x *TagUser) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 TagUser.ProtoReflect.Descriptor instead. +func (*TagUser) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{0} +} + +func (x *TagUser) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *TagUser) GetUserName() string { + if x != nil { + return x.UserName + } + return "" +} + +type Tag struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TagID string `protobuf:"bytes,1,opt,name=tagID,proto3" json:"tagID"` + TagName string `protobuf:"bytes,2,opt,name=tagName,proto3" json:"tagName"` + UserList []*TagUser `protobuf:"bytes,3,rep,name=userList,proto3" json:"userList"` +} + +func (x *Tag) Reset() { + *x = Tag{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Tag) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Tag) ProtoMessage() {} + +func (x *Tag) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 Tag.ProtoReflect.Descriptor instead. +func (*Tag) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{1} +} + +func (x *Tag) GetTagID() string { + if x != nil { + return x.TagID + } + return "" +} + +func (x *Tag) GetTagName() string { + if x != nil { + return x.TagName + } + return "" +} + +func (x *Tag) GetUserList() []*TagUser { + if x != nil { + return x.UserList + } + return nil +} + +type GetUserTagsReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` + OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID"` +} + +func (x *GetUserTagsReq) Reset() { + *x = GetUserTagsReq{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetUserTagsReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetUserTagsReq) ProtoMessage() {} + +func (x *GetUserTagsReq) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 GetUserTagsReq.ProtoReflect.Descriptor instead. +func (*GetUserTagsReq) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{2} +} + +func (x *GetUserTagsReq) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *GetUserTagsReq) GetOperationID() string { + if x != nil { + return x.OperationID + } + return "" +} + +type GetUserTagsResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags"` +} + +func (x *GetUserTagsResp) Reset() { + *x = GetUserTagsResp{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetUserTagsResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetUserTagsResp) ProtoMessage() {} + +func (x *GetUserTagsResp) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 GetUserTagsResp.ProtoReflect.Descriptor instead. +func (*GetUserTagsResp) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{3} +} + +func (x *GetUserTagsResp) GetTags() []*Tag { + if x != nil { + return x.Tags + } + return nil +} + +type CreateTagReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TagName string `protobuf:"bytes,1,opt,name=tagName,proto3" json:"tagName"` + UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"` + UserIDList []string `protobuf:"bytes,3,rep,name=userIDList,proto3" json:"userIDList"` + OperationID string `protobuf:"bytes,4,opt,name=operationID,proto3" json:"operationID"` +} + +func (x *CreateTagReq) Reset() { + *x = CreateTagReq{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateTagReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateTagReq) ProtoMessage() {} + +func (x *CreateTagReq) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 CreateTagReq.ProtoReflect.Descriptor instead. +func (*CreateTagReq) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{4} +} + +func (x *CreateTagReq) GetTagName() string { + if x != nil { + return x.TagName + } + return "" +} + +func (x *CreateTagReq) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *CreateTagReq) GetUserIDList() []string { + if x != nil { + return x.UserIDList + } + return nil +} + +func (x *CreateTagReq) GetOperationID() string { + if x != nil { + return x.OperationID + } + return "" +} + +type CreateTagResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CreateTagResp) Reset() { + *x = CreateTagResp{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateTagResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateTagResp) ProtoMessage() {} + +func (x *CreateTagResp) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 CreateTagResp.ProtoReflect.Descriptor instead. +func (*CreateTagResp) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{5} +} + +type DeleteTagReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` + TagID string `protobuf:"bytes,2,opt,name=tagID,proto3" json:"tagID"` + OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID"` +} + +func (x *DeleteTagReq) Reset() { + *x = DeleteTagReq{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteTagReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteTagReq) ProtoMessage() {} + +func (x *DeleteTagReq) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 DeleteTagReq.ProtoReflect.Descriptor instead. +func (*DeleteTagReq) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{6} +} + +func (x *DeleteTagReq) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *DeleteTagReq) GetTagID() string { + if x != nil { + return x.TagID + } + return "" +} + +func (x *DeleteTagReq) GetOperationID() string { + if x != nil { + return x.OperationID + } + return "" +} + +type DeleteTagResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DeleteTagResp) Reset() { + *x = DeleteTagResp{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteTagResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteTagResp) ProtoMessage() {} + +func (x *DeleteTagResp) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 DeleteTagResp.ProtoReflect.Descriptor instead. +func (*DeleteTagResp) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{7} +} + +type SetTagReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` + TagID string `protobuf:"bytes,2,opt,name=tagID,proto3" json:"tagID"` + NewName string `protobuf:"bytes,3,opt,name=newName,proto3" json:"newName"` + IncreaseUserIDList []string `protobuf:"bytes,4,rep,name=increaseUserIDList,proto3" json:"increaseUserIDList"` + ReduceUserIDList []string `protobuf:"bytes,5,rep,name=reduceUserIDList,proto3" json:"reduceUserIDList"` + OperationID string `protobuf:"bytes,6,opt,name=operationID,proto3" json:"operationID"` +} + +func (x *SetTagReq) Reset() { + *x = SetTagReq{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetTagReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetTagReq) ProtoMessage() {} + +func (x *SetTagReq) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 SetTagReq.ProtoReflect.Descriptor instead. +func (*SetTagReq) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{8} +} + +func (x *SetTagReq) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *SetTagReq) GetTagID() string { + if x != nil { + return x.TagID + } + return "" +} + +func (x *SetTagReq) GetNewName() string { + if x != nil { + return x.NewName + } + return "" +} + +func (x *SetTagReq) GetIncreaseUserIDList() []string { + if x != nil { + return x.IncreaseUserIDList + } + return nil +} + +func (x *SetTagReq) GetReduceUserIDList() []string { + if x != nil { + return x.ReduceUserIDList + } + return nil +} + +func (x *SetTagReq) GetOperationID() string { + if x != nil { + return x.OperationID + } + return "" +} + +type SetTagResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SetTagResp) Reset() { + *x = SetTagResp{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetTagResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetTagResp) ProtoMessage() {} + +func (x *SetTagResp) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 SetTagResp.ProtoReflect.Descriptor instead. +func (*SetTagResp) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{9} +} + +type SendMsg2TagReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TagList []string `protobuf:"bytes,1,rep,name=tagList,proto3" json:"tagList"` + UserList []string `protobuf:"bytes,2,rep,name=UserList,proto3" json:"UserList"` + GroupList []string `protobuf:"bytes,3,rep,name=GroupList,proto3" json:"GroupList"` + SendID string `protobuf:"bytes,4,opt,name=sendID,proto3" json:"sendID"` + SenderPlatformID int32 `protobuf:"varint,5,opt,name=senderPlatformID,proto3" json:"senderPlatformID"` + Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content"` + OperationID string `protobuf:"bytes,7,opt,name=operationID,proto3" json:"operationID"` +} + +func (x *SendMsg2TagReq) Reset() { + *x = SendMsg2TagReq{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SendMsg2TagReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SendMsg2TagReq) ProtoMessage() {} + +func (x *SendMsg2TagReq) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 SendMsg2TagReq.ProtoReflect.Descriptor instead. +func (*SendMsg2TagReq) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{10} +} + +func (x *SendMsg2TagReq) GetTagList() []string { + if x != nil { + return x.TagList + } + return nil +} + +func (x *SendMsg2TagReq) GetUserList() []string { + if x != nil { + return x.UserList + } + return nil +} + +func (x *SendMsg2TagReq) GetGroupList() []string { + if x != nil { + return x.GroupList + } + return nil +} + +func (x *SendMsg2TagReq) GetSendID() string { + if x != nil { + return x.SendID + } + return "" +} + +func (x *SendMsg2TagReq) GetSenderPlatformID() int32 { + if x != nil { + return x.SenderPlatformID + } + return 0 +} + +func (x *SendMsg2TagReq) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *SendMsg2TagReq) GetOperationID() string { + if x != nil { + return x.OperationID + } + return "" +} + +type SendMsg2TagResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SendMsg2TagResp) Reset() { + *x = SendMsg2TagResp{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SendMsg2TagResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SendMsg2TagResp) ProtoMessage() {} + +func (x *SendMsg2TagResp) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 SendMsg2TagResp.ProtoReflect.Descriptor instead. +func (*SendMsg2TagResp) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{11} +} + +type GetTagSendLogsReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=Pagination,proto3" json:"Pagination"` + UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"` + OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID"` +} + +func (x *GetTagSendLogsReq) Reset() { + *x = GetTagSendLogsReq{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTagSendLogsReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTagSendLogsReq) ProtoMessage() {} + +func (x *GetTagSendLogsReq) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 GetTagSendLogsReq.ProtoReflect.Descriptor instead. +func (*GetTagSendLogsReq) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{12} +} + +func (x *GetTagSendLogsReq) GetPagination() *sdkws.RequestPagination { + if x != nil { + return x.Pagination + } + return nil +} + +func (x *GetTagSendLogsReq) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *GetTagSendLogsReq) GetOperationID() string { + if x != nil { + return x.OperationID + } + return "" +} + +type TagSendLog struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserList []*TagUser `protobuf:"bytes,1,rep,name=userList,proto3" json:"userList"` + Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content"` + SendTime int64 `protobuf:"varint,3,opt,name=sendTime,proto3" json:"sendTime"` +} + +func (x *TagSendLog) Reset() { + *x = TagSendLog{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TagSendLog) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TagSendLog) ProtoMessage() {} + +func (x *TagSendLog) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 TagSendLog.ProtoReflect.Descriptor instead. +func (*TagSendLog) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{13} +} + +func (x *TagSendLog) GetUserList() []*TagUser { + if x != nil { + return x.UserList + } + return nil +} + +func (x *TagSendLog) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *TagSendLog) GetSendTime() int64 { + if x != nil { + return x.SendTime + } + return 0 +} + +type GetTagSendLogsResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TagSendLogs []*TagSendLog `protobuf:"bytes,1,rep,name=tagSendLogs,proto3" json:"tagSendLogs"` +} + +func (x *GetTagSendLogsResp) Reset() { + *x = GetTagSendLogsResp{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTagSendLogsResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTagSendLogsResp) ProtoMessage() {} + +func (x *GetTagSendLogsResp) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 GetTagSendLogsResp.ProtoReflect.Descriptor instead. +func (*GetTagSendLogsResp) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{14} +} + +func (x *GetTagSendLogsResp) GetTagSendLogs() []*TagSendLog { + if x != nil { + return x.TagSendLogs + } + return nil +} + +type GetUserTagByIDReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` + TagID string `protobuf:"bytes,2,opt,name=tagID,proto3" json:"tagID"` + OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID"` +} + +func (x *GetUserTagByIDReq) Reset() { + *x = GetUserTagByIDReq{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetUserTagByIDReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetUserTagByIDReq) ProtoMessage() {} + +func (x *GetUserTagByIDReq) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 GetUserTagByIDReq.ProtoReflect.Descriptor instead. +func (*GetUserTagByIDReq) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{15} +} + +func (x *GetUserTagByIDReq) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *GetUserTagByIDReq) GetTagID() string { + if x != nil { + return x.TagID + } + return "" +} + +func (x *GetUserTagByIDReq) GetOperationID() string { + if x != nil { + return x.OperationID + } + return "" +} + +type GetUserTagByIDResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag"` +} + +func (x *GetUserTagByIDResp) Reset() { + *x = GetUserTagByIDResp{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetUserTagByIDResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetUserTagByIDResp) ProtoMessage() {} + +func (x *GetUserTagByIDResp) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 GetUserTagByIDResp.ProtoReflect.Descriptor instead. +func (*GetUserTagByIDResp) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{16} +} + +func (x *GetUserTagByIDResp) GetTag() *Tag { + if x != nil { + return x.Tag + } + return nil +} + +type LikeUser struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` + UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName"` +} + +func (x *LikeUser) Reset() { + *x = LikeUser{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LikeUser) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LikeUser) ProtoMessage() {} + +func (x *LikeUser) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 LikeUser.ProtoReflect.Descriptor instead. +func (*LikeUser) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{17} +} + +func (x *LikeUser) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *LikeUser) GetUserName() string { + if x != nil { + return x.UserName + } + return "" +} + +type NotificationUser struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` + UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName"` +} + +func (x *NotificationUser) Reset() { + *x = NotificationUser{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NotificationUser) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NotificationUser) ProtoMessage() {} + +func (x *NotificationUser) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 NotificationUser.ProtoReflect.Descriptor instead. +func (*NotificationUser) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{18} +} + +func (x *NotificationUser) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *NotificationUser) GetUserName() string { + if x != nil { + return x.UserName + } + return "" +} + +type Comment struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` + UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName"` + FaceURL string `protobuf:"bytes,3,opt,name=faceURL,proto3" json:"faceURL"` + ReplyUserID string `protobuf:"bytes,4,opt,name=replyUserID,proto3" json:"replyUserID"` + ReplyUserName string `protobuf:"bytes,5,opt,name=replyUserName,proto3" json:"replyUserName"` + ContentID string `protobuf:"bytes,6,opt,name=contentID,proto3" json:"contentID"` + Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content"` + CreateTime int32 `protobuf:"varint,8,opt,name=createTime,proto3" json:"createTime"` +} + +func (x *Comment) Reset() { + *x = Comment{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Comment) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Comment) ProtoMessage() {} + +func (x *Comment) ProtoReflect() protoreflect.Message { + mi := &file_office_office_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 Comment.ProtoReflect.Descriptor instead. +func (*Comment) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{19} +} + +func (x *Comment) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *Comment) GetUserName() string { + if x != nil { + return x.UserName + } + return "" +} + +func (x *Comment) GetFaceURL() string { + if x != nil { + return x.FaceURL + } + return "" +} + +func (x *Comment) GetReplyUserID() string { + if x != nil { + return x.ReplyUserID + } + return "" +} + +func (x *Comment) GetReplyUserName() string { + if x != nil { + return x.ReplyUserName + } + return "" +} + +func (x *Comment) GetContentID() string { + if x != nil { + return x.ContentID + } + return "" +} + +func (x *Comment) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *Comment) GetCreateTime() int32 { + if x != nil { + return x.CreateTime + } + return 0 +} + +type PermissionGroup struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupName string `protobuf:"bytes,1,opt,name=groupName,proto3" json:"groupName"` + GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID"` +} + +func (x *PermissionGroup) Reset() { + *x = PermissionGroup{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PermissionGroup) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PermissionGroup) ProtoMessage() {} + +func (x *PermissionGroup) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[20] + 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 PermissionGroup.ProtoReflect.Descriptor instead. +func (*PermissionGroup) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{20} +} + +func (x *PermissionGroup) GetGroupName() string { + if x != nil { + return x.GroupName + } + return "" +} + +func (x *PermissionGroup) GetGroupID() string { + if x != nil { + return x.GroupID + } + return "" +} + +type WorkMomentUser struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` + UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName"` +} + +func (x *WorkMomentUser) Reset() { + *x = WorkMomentUser{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkMomentUser) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkMomentUser) ProtoMessage() {} + +func (x *WorkMomentUser) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[21] + 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 WorkMomentUser.ProtoReflect.Descriptor instead. +func (*WorkMomentUser) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{21} +} + +func (x *WorkMomentUser) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *WorkMomentUser) GetUserName() string { + if x != nil { + return x.UserName + } + return "" +} + +type WorkMoment struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorkMomentID string `protobuf:"bytes,1,opt,name=workMomentID,proto3" json:"workMomentID"` + UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"` + UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName"` + FaceURL string `protobuf:"bytes,4,opt,name=faceURL,proto3" json:"faceURL"` + Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content"` + LikeUserList []*WorkMomentUser `protobuf:"bytes,6,rep,name=likeUserList,proto3" json:"likeUserList"` + Comments []*Comment `protobuf:"bytes,7,rep,name=comments,proto3" json:"comments"` + Permission int32 `protobuf:"varint,8,opt,name=permission,proto3" json:"permission"` + PermissionUserList []*WorkMomentUser `protobuf:"bytes,9,rep,name=permissionUserList,proto3" json:"permissionUserList"` + PermissionGroupList []*PermissionGroup `protobuf:"bytes,10,rep,name=permissionGroupList,proto3" json:"permissionGroupList"` + AtUserList []*WorkMomentUser `protobuf:"bytes,11,rep,name=atUserList,proto3" json:"atUserList"` + CreateTime int32 `protobuf:"varint,12,opt,name=createTime,proto3" json:"createTime"` +} + +func (x *WorkMoment) Reset() { + *x = WorkMoment{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkMoment) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkMoment) ProtoMessage() {} + +func (x *WorkMoment) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[22] + 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 WorkMoment.ProtoReflect.Descriptor instead. +func (*WorkMoment) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{22} +} + +func (x *WorkMoment) GetWorkMomentID() string { + if x != nil { + return x.WorkMomentID + } + return "" +} + +func (x *WorkMoment) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *WorkMoment) GetUserName() string { + if x != nil { + return x.UserName + } + return "" +} + +func (x *WorkMoment) GetFaceURL() string { + if x != nil { + return x.FaceURL + } + return "" +} + +func (x *WorkMoment) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *WorkMoment) GetLikeUserList() []*WorkMomentUser { + if x != nil { + return x.LikeUserList + } + return nil +} + +func (x *WorkMoment) GetComments() []*Comment { + if x != nil { + return x.Comments + } + return nil +} + +func (x *WorkMoment) GetPermission() int32 { + if x != nil { + return x.Permission + } + return 0 +} + +func (x *WorkMoment) GetPermissionUserList() []*WorkMomentUser { + if x != nil { + return x.PermissionUserList + } + return nil +} + +func (x *WorkMoment) GetPermissionGroupList() []*PermissionGroup { + if x != nil { + return x.PermissionGroupList + } + return nil +} + +func (x *WorkMoment) GetAtUserList() []*WorkMomentUser { + if x != nil { + return x.AtUserList + } + return nil +} + +func (x *WorkMoment) GetCreateTime() int32 { + if x != nil { + return x.CreateTime + } + return 0 +} + +type CreateOneWorkMomentReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorkMoment *WorkMoment `protobuf:"bytes,1,opt,name=workMoment,proto3" json:"workMoment"` + OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID"` +} + +func (x *CreateOneWorkMomentReq) Reset() { + *x = CreateOneWorkMomentReq{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateOneWorkMomentReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateOneWorkMomentReq) ProtoMessage() {} + +func (x *CreateOneWorkMomentReq) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[23] + 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 CreateOneWorkMomentReq.ProtoReflect.Descriptor instead. +func (*CreateOneWorkMomentReq) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{23} +} + +func (x *CreateOneWorkMomentReq) GetWorkMoment() *WorkMoment { + if x != nil { + return x.WorkMoment + } + return nil +} + +func (x *CreateOneWorkMomentReq) GetOperationID() string { + if x != nil { + return x.OperationID + } + return "" +} + +type CreateOneWorkMomentResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CreateOneWorkMomentResp) Reset() { + *x = CreateOneWorkMomentResp{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateOneWorkMomentResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateOneWorkMomentResp) ProtoMessage() {} + +func (x *CreateOneWorkMomentResp) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[24] + 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 CreateOneWorkMomentResp.ProtoReflect.Descriptor instead. +func (*CreateOneWorkMomentResp) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{24} +} + +type DeleteOneWorkMomentReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorkMomentID string `protobuf:"bytes,1,opt,name=workMomentID,proto3" json:"workMomentID"` + UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"` + OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID"` +} + +func (x *DeleteOneWorkMomentReq) Reset() { + *x = DeleteOneWorkMomentReq{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteOneWorkMomentReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteOneWorkMomentReq) ProtoMessage() {} + +func (x *DeleteOneWorkMomentReq) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[25] + 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 DeleteOneWorkMomentReq.ProtoReflect.Descriptor instead. +func (*DeleteOneWorkMomentReq) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{25} +} + +func (x *DeleteOneWorkMomentReq) GetWorkMomentID() string { + if x != nil { + return x.WorkMomentID + } + return "" +} + +func (x *DeleteOneWorkMomentReq) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *DeleteOneWorkMomentReq) GetOperationID() string { + if x != nil { + return x.OperationID + } + return "" +} + +type DeleteOneWorkMomentResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DeleteOneWorkMomentResp) Reset() { + *x = DeleteOneWorkMomentResp{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteOneWorkMomentResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteOneWorkMomentResp) ProtoMessage() {} + +func (x *DeleteOneWorkMomentResp) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[26] + 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 DeleteOneWorkMomentResp.ProtoReflect.Descriptor instead. +func (*DeleteOneWorkMomentResp) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{26} +} + +type LikeOneWorkMomentReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` + WorkMomentID string `protobuf:"bytes,2,opt,name=WorkMomentID,proto3" json:"WorkMomentID"` + OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID"` +} + +func (x *LikeOneWorkMomentReq) Reset() { + *x = LikeOneWorkMomentReq{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LikeOneWorkMomentReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LikeOneWorkMomentReq) ProtoMessage() {} + +func (x *LikeOneWorkMomentReq) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[27] + 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 LikeOneWorkMomentReq.ProtoReflect.Descriptor instead. +func (*LikeOneWorkMomentReq) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{27} +} + +func (x *LikeOneWorkMomentReq) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *LikeOneWorkMomentReq) GetWorkMomentID() string { + if x != nil { + return x.WorkMomentID + } + return "" +} + +func (x *LikeOneWorkMomentReq) GetOperationID() string { + if x != nil { + return x.OperationID + } + return "" +} + +type LikeOneWorkMomentResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *LikeOneWorkMomentResp) Reset() { + *x = LikeOneWorkMomentResp{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LikeOneWorkMomentResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LikeOneWorkMomentResp) ProtoMessage() {} + +func (x *LikeOneWorkMomentResp) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[28] + 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 LikeOneWorkMomentResp.ProtoReflect.Descriptor instead. +func (*LikeOneWorkMomentResp) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{28} +} + +type CommentOneWorkMomentReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` + WorkMomentID string `protobuf:"bytes,2,opt,name=workMomentID,proto3" json:"workMomentID"` + ReplyUserID string `protobuf:"bytes,3,opt,name=replyUserID,proto3" json:"replyUserID"` + Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content"` + OperationID string `protobuf:"bytes,5,opt,name=operationID,proto3" json:"operationID"` +} + +func (x *CommentOneWorkMomentReq) Reset() { + *x = CommentOneWorkMomentReq{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommentOneWorkMomentReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommentOneWorkMomentReq) ProtoMessage() {} + +func (x *CommentOneWorkMomentReq) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[29] + 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 CommentOneWorkMomentReq.ProtoReflect.Descriptor instead. +func (*CommentOneWorkMomentReq) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{29} +} + +func (x *CommentOneWorkMomentReq) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *CommentOneWorkMomentReq) GetWorkMomentID() string { + if x != nil { + return x.WorkMomentID + } + return "" +} + +func (x *CommentOneWorkMomentReq) GetReplyUserID() string { + if x != nil { + return x.ReplyUserID + } + return "" +} + +func (x *CommentOneWorkMomentReq) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *CommentOneWorkMomentReq) GetOperationID() string { + if x != nil { + return x.OperationID + } + return "" +} + +type CommentOneWorkMomentResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CommentOneWorkMomentResp) Reset() { + *x = CommentOneWorkMomentResp{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommentOneWorkMomentResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommentOneWorkMomentResp) ProtoMessage() {} + +func (x *CommentOneWorkMomentResp) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[30] + 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 CommentOneWorkMomentResp.ProtoReflect.Descriptor instead. +func (*CommentOneWorkMomentResp) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{30} +} + +type DeleteCommentReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorkMomentID string `protobuf:"bytes,1,opt,name=workMomentID,proto3" json:"workMomentID"` + ContentID string `protobuf:"bytes,2,opt,name=contentID,proto3" json:"contentID"` + OpUserID string `protobuf:"bytes,3,opt,name=opUserID,proto3" json:"opUserID"` + OperationID string `protobuf:"bytes,4,opt,name=operationID,proto3" json:"operationID"` +} + +func (x *DeleteCommentReq) Reset() { + *x = DeleteCommentReq{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteCommentReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteCommentReq) ProtoMessage() {} + +func (x *DeleteCommentReq) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[31] + 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 DeleteCommentReq.ProtoReflect.Descriptor instead. +func (*DeleteCommentReq) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{31} +} + +func (x *DeleteCommentReq) GetWorkMomentID() string { + if x != nil { + return x.WorkMomentID + } + return "" +} + +func (x *DeleteCommentReq) GetContentID() string { + if x != nil { + return x.ContentID + } + return "" +} + +func (x *DeleteCommentReq) GetOpUserID() string { + if x != nil { + return x.OpUserID + } + return "" +} + +func (x *DeleteCommentReq) GetOperationID() string { + if x != nil { + return x.OperationID + } + return "" +} + +type DeleteCommentResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DeleteCommentResp) Reset() { + *x = DeleteCommentResp{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteCommentResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteCommentResp) ProtoMessage() {} + +func (x *DeleteCommentResp) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[32] + 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 DeleteCommentResp.ProtoReflect.Descriptor instead. +func (*DeleteCommentResp) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{32} +} + +type GetWorkMomentByIDReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorkMomentID string `protobuf:"bytes,1,opt,name=workMomentID,proto3" json:"workMomentID"` + OpUserID string `protobuf:"bytes,2,opt,name=opUserID,proto3" json:"opUserID"` + OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID"` +} + +func (x *GetWorkMomentByIDReq) Reset() { + *x = GetWorkMomentByIDReq{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWorkMomentByIDReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorkMomentByIDReq) ProtoMessage() {} + +func (x *GetWorkMomentByIDReq) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[33] + 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 GetWorkMomentByIDReq.ProtoReflect.Descriptor instead. +func (*GetWorkMomentByIDReq) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{33} +} + +func (x *GetWorkMomentByIDReq) GetWorkMomentID() string { + if x != nil { + return x.WorkMomentID + } + return "" +} + +func (x *GetWorkMomentByIDReq) GetOpUserID() string { + if x != nil { + return x.OpUserID + } + return "" +} + +func (x *GetWorkMomentByIDReq) GetOperationID() string { + if x != nil { + return x.OperationID + } + return "" +} + +type GetWorkMomentByIDResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorkMoment *WorkMoment `protobuf:"bytes,2,opt,name=workMoment,proto3" json:"workMoment"` +} + +func (x *GetWorkMomentByIDResp) Reset() { + *x = GetWorkMomentByIDResp{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetWorkMomentByIDResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetWorkMomentByIDResp) ProtoMessage() {} + +func (x *GetWorkMomentByIDResp) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[34] + 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 GetWorkMomentByIDResp.ProtoReflect.Descriptor instead. +func (*GetWorkMomentByIDResp) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{34} +} + +func (x *GetWorkMomentByIDResp) GetWorkMoment() *WorkMoment { + if x != nil { + return x.WorkMoment + } + return nil +} + +type ChangeWorkMomentPermissionReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorkMomentID string `protobuf:"bytes,1,opt,name=workMomentID,proto3" json:"workMomentID"` + OpUserID string `protobuf:"bytes,2,opt,name=opUserID,proto3" json:"opUserID"` + Permission int32 `protobuf:"varint,3,opt,name=permission,proto3" json:"permission"` + PermissionUserIDList []string `protobuf:"bytes,4,rep,name=permissionUserIDList,proto3" json:"permissionUserIDList"` + OperationID string `protobuf:"bytes,5,opt,name=operationID,proto3" json:"operationID"` +} + +func (x *ChangeWorkMomentPermissionReq) Reset() { + *x = ChangeWorkMomentPermissionReq{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeWorkMomentPermissionReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeWorkMomentPermissionReq) ProtoMessage() {} + +func (x *ChangeWorkMomentPermissionReq) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[35] + 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 ChangeWorkMomentPermissionReq.ProtoReflect.Descriptor instead. +func (*ChangeWorkMomentPermissionReq) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{35} +} + +func (x *ChangeWorkMomentPermissionReq) GetWorkMomentID() string { + if x != nil { + return x.WorkMomentID + } + return "" +} + +func (x *ChangeWorkMomentPermissionReq) GetOpUserID() string { + if x != nil { + return x.OpUserID + } + return "" +} + +func (x *ChangeWorkMomentPermissionReq) GetPermission() int32 { + if x != nil { + return x.Permission + } + return 0 +} + +func (x *ChangeWorkMomentPermissionReq) GetPermissionUserIDList() []string { + if x != nil { + return x.PermissionUserIDList + } + return nil +} + +func (x *ChangeWorkMomentPermissionReq) GetOperationID() string { + if x != nil { + return x.OperationID + } + return "" +} + +type ChangeWorkMomentPermissionResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ChangeWorkMomentPermissionResp) Reset() { + *x = ChangeWorkMomentPermissionResp{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangeWorkMomentPermissionResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangeWorkMomentPermissionResp) ProtoMessage() {} + +func (x *ChangeWorkMomentPermissionResp) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[36] + 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 ChangeWorkMomentPermissionResp.ProtoReflect.Descriptor instead. +func (*ChangeWorkMomentPermissionResp) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{36} +} + +type GetUserWorkMomentsReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` + OpUserID string `protobuf:"bytes,2,opt,name=opUserID,proto3" json:"opUserID"` + Pagination *sdkws.RequestPagination `protobuf:"bytes,3,opt,name=Pagination,proto3" json:"Pagination"` + OperationID string `protobuf:"bytes,4,opt,name=operationID,proto3" json:"operationID"` +} + +func (x *GetUserWorkMomentsReq) Reset() { + *x = GetUserWorkMomentsReq{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetUserWorkMomentsReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetUserWorkMomentsReq) ProtoMessage() {} + +func (x *GetUserWorkMomentsReq) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[37] + 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 GetUserWorkMomentsReq.ProtoReflect.Descriptor instead. +func (*GetUserWorkMomentsReq) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{37} +} + +func (x *GetUserWorkMomentsReq) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *GetUserWorkMomentsReq) GetOpUserID() string { + if x != nil { + return x.OpUserID + } + return "" +} + +func (x *GetUserWorkMomentsReq) GetPagination() *sdkws.RequestPagination { + if x != nil { + return x.Pagination + } + return nil +} + +func (x *GetUserWorkMomentsReq) GetOperationID() string { + if x != nil { + return x.OperationID + } + return "" +} + +type GetUserWorkMomentsResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorkMoments []*WorkMoment `protobuf:"bytes,1,rep,name=workMoments,proto3" json:"workMoments"` +} + +func (x *GetUserWorkMomentsResp) Reset() { + *x = GetUserWorkMomentsResp{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetUserWorkMomentsResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetUserWorkMomentsResp) ProtoMessage() {} + +func (x *GetUserWorkMomentsResp) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[38] + 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 GetUserWorkMomentsResp.ProtoReflect.Descriptor instead. +func (*GetUserWorkMomentsResp) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{38} +} + +func (x *GetUserWorkMomentsResp) GetWorkMoments() []*WorkMoment { + if x != nil { + return x.WorkMoments + } + return nil +} + +type GetUserFriendWorkMomentsReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` + Pagination *sdkws.RequestPagination `protobuf:"bytes,2,opt,name=Pagination,proto3" json:"Pagination"` + OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID"` +} + +func (x *GetUserFriendWorkMomentsReq) Reset() { + *x = GetUserFriendWorkMomentsReq{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetUserFriendWorkMomentsReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetUserFriendWorkMomentsReq) ProtoMessage() {} + +func (x *GetUserFriendWorkMomentsReq) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[39] + 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 GetUserFriendWorkMomentsReq.ProtoReflect.Descriptor instead. +func (*GetUserFriendWorkMomentsReq) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{39} +} + +func (x *GetUserFriendWorkMomentsReq) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *GetUserFriendWorkMomentsReq) GetPagination() *sdkws.RequestPagination { + if x != nil { + return x.Pagination + } + return nil +} + +func (x *GetUserFriendWorkMomentsReq) GetOperationID() string { + if x != nil { + return x.OperationID + } + return "" +} + +type GetUserFriendWorkMomentsResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WorkMoments []*WorkMoment `protobuf:"bytes,1,rep,name=workMoments,proto3" json:"workMoments"` +} + +func (x *GetUserFriendWorkMomentsResp) Reset() { + *x = GetUserFriendWorkMomentsResp{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetUserFriendWorkMomentsResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetUserFriendWorkMomentsResp) ProtoMessage() {} + +func (x *GetUserFriendWorkMomentsResp) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[40] + 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 GetUserFriendWorkMomentsResp.ProtoReflect.Descriptor instead. +func (*GetUserFriendWorkMomentsResp) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{40} +} + +func (x *GetUserFriendWorkMomentsResp) GetWorkMoments() []*WorkMoment { + if x != nil { + return x.WorkMoments + } + return nil +} + +type WorkMomentNotificationMsg struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NotificationMsgType int32 `protobuf:"varint,1,opt,name=notificationMsgType,proto3" json:"notificationMsgType"` + ReplyUserName string `protobuf:"bytes,2,opt,name=replyUserName,proto3" json:"replyUserName"` + ReplyUserID string `protobuf:"bytes,3,opt,name=replyUserID,proto3" json:"replyUserID"` + Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content"` + ContentID string `protobuf:"bytes,5,opt,name=contentID,proto3" json:"contentID"` + WorkMomentID string `protobuf:"bytes,6,opt,name=workMomentID,proto3" json:"workMomentID"` + UserID string `protobuf:"bytes,7,opt,name=userID,proto3" json:"userID"` + UserName string `protobuf:"bytes,8,opt,name=userName,proto3" json:"userName"` + FaceURL string `protobuf:"bytes,9,opt,name=faceURL,proto3" json:"faceURL"` + WorkMomentContent string `protobuf:"bytes,10,opt,name=workMomentContent,proto3" json:"workMomentContent"` + CreateTime int32 `protobuf:"varint,11,opt,name=createTime,proto3" json:"createTime"` +} + +func (x *WorkMomentNotificationMsg) Reset() { + *x = WorkMomentNotificationMsg{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WorkMomentNotificationMsg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WorkMomentNotificationMsg) ProtoMessage() {} + +func (x *WorkMomentNotificationMsg) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[41] + 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 WorkMomentNotificationMsg.ProtoReflect.Descriptor instead. +func (*WorkMomentNotificationMsg) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{41} +} + +func (x *WorkMomentNotificationMsg) GetNotificationMsgType() int32 { + if x != nil { + return x.NotificationMsgType + } + return 0 +} + +func (x *WorkMomentNotificationMsg) GetReplyUserName() string { + if x != nil { + return x.ReplyUserName + } + return "" +} + +func (x *WorkMomentNotificationMsg) GetReplyUserID() string { + if x != nil { + return x.ReplyUserID + } + return "" +} + +func (x *WorkMomentNotificationMsg) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *WorkMomentNotificationMsg) GetContentID() string { + if x != nil { + return x.ContentID + } + return "" +} + +func (x *WorkMomentNotificationMsg) GetWorkMomentID() string { + if x != nil { + return x.WorkMomentID + } + return "" +} + +func (x *WorkMomentNotificationMsg) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *WorkMomentNotificationMsg) GetUserName() string { + if x != nil { + return x.UserName + } + return "" +} + +func (x *WorkMomentNotificationMsg) GetFaceURL() string { + if x != nil { + return x.FaceURL + } + return "" +} + +func (x *WorkMomentNotificationMsg) GetWorkMomentContent() string { + if x != nil { + return x.WorkMomentContent + } + return "" +} + +func (x *WorkMomentNotificationMsg) GetCreateTime() int32 { + if x != nil { + return x.CreateTime + } + return 0 +} + +type SetUserWorkMomentsLevelReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` + Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level"` + OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID"` +} + +func (x *SetUserWorkMomentsLevelReq) Reset() { + *x = SetUserWorkMomentsLevelReq{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetUserWorkMomentsLevelReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetUserWorkMomentsLevelReq) ProtoMessage() {} + +func (x *SetUserWorkMomentsLevelReq) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[42] + 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 SetUserWorkMomentsLevelReq.ProtoReflect.Descriptor instead. +func (*SetUserWorkMomentsLevelReq) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{42} +} + +func (x *SetUserWorkMomentsLevelReq) GetUserID() string { + if x != nil { + return x.UserID + } + return "" +} + +func (x *SetUserWorkMomentsLevelReq) GetLevel() int32 { + if x != nil { + return x.Level + } + return 0 +} + +func (x *SetUserWorkMomentsLevelReq) GetOperationID() string { + if x != nil { + return x.OperationID + } + return "" +} + +type SetUserWorkMomentsLevelResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SetUserWorkMomentsLevelResp) Reset() { + *x = SetUserWorkMomentsLevelResp{} + if protoimpl.UnsafeEnabled { + mi := &file_office_office_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetUserWorkMomentsLevelResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetUserWorkMomentsLevelResp) ProtoMessage() {} + +func (x *SetUserWorkMomentsLevelResp) ProtoReflect() protoreflect.Message { + mi := &file_office_office_proto_msgTypes[43] + 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 SetUserWorkMomentsLevelResp.ProtoReflect.Descriptor instead. +func (*SetUserWorkMomentsLevelResp) Descriptor() ([]byte, []int) { + return file_office_office_proto_rawDescGZIP(), []int{43} +} + +var File_office_office_proto protoreflect.FileDescriptor + +var file_office_office_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2f, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x1a, 0x11, 0x73, 0x64, 0x6b, 0x77, + 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x77, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3d, 0x0a, + 0x07, 0x54, 0x61, 0x67, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, + 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, + 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x6f, 0x0a, 0x03, + 0x54, 0x61, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x67, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x67, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x67, + 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x61, 0x67, 0x55, + 0x73, 0x65, 0x72, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x4a, 0x0a, + 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71, 0x12, + 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x3f, 0x0a, 0x0f, 0x47, 0x65, 0x74, + 0x55, 0x73, 0x65, 0x72, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2c, 0x0a, 0x04, + 0x74, 0x61, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x4f, 0x70, 0x65, + 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, + 0x2e, 0x54, 0x61, 0x67, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x82, 0x01, 0x0a, 0x0c, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x74, + 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, + 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1e, 0x0a, + 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x20, 0x0a, + 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, + 0x0f, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, + 0x22, 0x5e, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, + 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x67, 0x49, + 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x67, 0x49, 0x44, 0x12, 0x20, + 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, + 0x22, 0x0f, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, + 0x70, 0x22, 0xd1, 0x01, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x12, + 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x67, 0x49, 0x44, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x67, 0x49, 0x44, 0x12, 0x18, 0x0a, + 0x07, 0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x69, 0x6e, 0x63, 0x72, 0x65, + 0x61, 0x73, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x12, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x55, 0x73, 0x65, + 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x72, 0x65, 0x64, 0x75, 0x63, + 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x10, 0x72, 0x65, 0x64, 0x75, 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x0c, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x54, 0x61, 0x67, 0x52, + 0x65, 0x73, 0x70, 0x22, 0xe4, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x32, + 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x67, 0x4c, 0x69, 0x73, + 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, + 0x6e, 0x64, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, + 0x49, 0x44, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x73, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x44, 0x12, 0x18, + 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x11, 0x0a, 0x0f, 0x53, 0x65, + 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x32, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x22, 0x94, 0x01, + 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, 0x65, 0x6e, 0x64, 0x4c, 0x6f, 0x67, 0x73, + 0x52, 0x65, 0x71, 0x12, 0x45, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x73, 0x64, 0x6b, 0x77, 0x73, 0x2e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, + 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, + 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, + 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x7c, 0x0a, 0x0a, 0x54, 0x61, 0x67, 0x53, 0x65, 0x6e, 0x64, 0x4c, + 0x6f, 0x67, 0x12, 0x38, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x61, 0x67, 0x55, 0x73, + 0x65, 0x72, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, + 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, + 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x54, 0x69, + 0x6d, 0x65, 0x22, 0x57, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, 0x65, 0x6e, 0x64, + 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x41, 0x0a, 0x0b, 0x74, 0x61, 0x67, 0x53, + 0x65, 0x6e, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, + 0x69, 0x63, 0x65, 0x2e, 0x54, 0x61, 0x67, 0x53, 0x65, 0x6e, 0x64, 0x4c, 0x6f, 0x67, 0x52, 0x0b, + 0x74, 0x61, 0x67, 0x53, 0x65, 0x6e, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x22, 0x63, 0x0a, 0x11, 0x47, + 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x61, 0x67, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, + 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x67, 0x49, + 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x67, 0x49, 0x44, 0x12, 0x20, + 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, + 0x22, 0x40, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x61, 0x67, 0x42, 0x79, + 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x03, 0x74, + 0x61, 0x67, 0x22, 0x3e, 0x0a, 0x08, 0x4c, 0x69, 0x6b, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, + 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, + 0x6d, 0x65, 0x22, 0x46, 0x0a, 0x10, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, + 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xf7, 0x01, 0x0a, 0x07, 0x43, + 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, + 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x61, + 0x63, 0x65, 0x55, 0x52, 0x4c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x61, 0x63, + 0x65, 0x55, 0x52, 0x4c, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x55, 0x73, 0x65, + 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x79, + 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x55, + 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, + 0x65, 0x70, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, + 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, + 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x54, 0x69, 0x6d, 0x65, 0x22, 0x49, 0x0a, 0x0f, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x22, + 0x44, 0x0a, 0x0e, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, + 0x72, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, + 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, + 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xcd, 0x04, 0x0a, 0x0a, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, + 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, + 0x6e, 0x74, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, + 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, + 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, + 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x66, 0x61, 0x63, 0x65, 0x55, 0x52, 0x4c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, + 0x61, 0x63, 0x65, 0x55, 0x52, 0x4c, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, + 0x12, 0x47, 0x0a, 0x0c, 0x6c, 0x69, 0x6b, 0x65, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x57, 0x6f, 0x72, + 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x0c, 0x6c, 0x69, 0x6b, + 0x65, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x08, 0x63, 0x6f, 0x6d, + 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x4f, 0x70, + 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, + 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x12, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x23, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, + 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x12, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x56, 0x0a, 0x13, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x18, + 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x13, 0x70, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x43, 0x0a, 0x0a, 0x61, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0b, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x4d, + 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x0a, 0x61, 0x74, 0x55, 0x73, 0x65, + 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, + 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x7b, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, + 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, + 0x3f, 0x0a, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, + 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x44, 0x22, 0x19, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x65, 0x57, + 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x22, 0x76, 0x0a, + 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, + 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, + 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x75, + 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, + 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x19, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, + 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x22, 0x74, 0x0a, 0x14, 0x4c, 0x69, 0x6b, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, + 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, + 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, + 0x12, 0x22, 0x0a, 0x0c, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, + 0x6e, 0x74, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x17, 0x0a, 0x15, 0x4c, 0x69, 0x6b, 0x65, 0x4f, 0x6e, + 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x22, + 0xb3, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x6e, 0x65, 0x57, 0x6f, + 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, + 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, + 0x72, 0x49, 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, + 0x74, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, + 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x79, + 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, + 0x70, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 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, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x1a, 0x0a, 0x18, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, + 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x22, 0x92, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, + 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, + 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, + 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73, + 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x55, 0x73, + 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x13, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x22, 0x78, 0x0a, 0x14, 0x47, + 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x49, 0x44, + 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, + 0x74, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, + 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, + 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, + 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x58, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, + 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3f, + 0x0a, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, + 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x22, + 0xd5, 0x01, 0x0a, 0x1d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, + 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, + 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, + 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, + 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, + 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x32, 0x0a, 0x14, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, + 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x14, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x49, + 0x44, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x20, 0x0a, 0x1e, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0xb4, 0x01, 0x0a, 0x15, 0x47, 0x65, + 0x74, 0x55, 0x73, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x6f, + 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, + 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x45, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x4f, 0x70, + 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x73, 0x64, 0x6b, 0x77, 0x73, + 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, + 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, + 0x22, 0x5b, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x4d, + 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x41, 0x0a, 0x0b, 0x77, 0x6f, + 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, + 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, + 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x9e, 0x01, + 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x57, + 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, + 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, + 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x45, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x4f, 0x70, 0x65, 0x6e, + 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x73, 0x64, 0x6b, 0x77, 0x73, 0x2e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, + 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x61, + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x57, + 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x41, + 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, + 0x73, 0x22, 0x8d, 0x03, 0x0a, 0x19, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, + 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x12, + 0x30, 0x0a, 0x13, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x6e, 0x6f, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x55, + 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x79, + 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, + 0x70, 0x6c, 0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 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, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x44, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, + 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x49, + 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, + 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, + 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x61, 0x63, + 0x65, 0x55, 0x52, 0x4c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x61, 0x63, 0x65, + 0x55, 0x52, 0x4c, 0x12, 0x2c, 0x0a, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, + 0x77, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, + 0x65, 0x22, 0x6c, 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, + 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x12, + 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x20, 0x0a, + 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, + 0x1d, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, + 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x32, 0xfc, + 0x0d, 0x0a, 0x06, 0x4f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x12, 0x58, 0x0a, 0x0b, 0x47, 0x65, 0x74, + 0x55, 0x73, 0x65, 0x72, 0x54, 0x61, 0x67, 0x73, 0x12, 0x23, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, + 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x47, + 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x24, 0x2e, + 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, + 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x61, 0x67, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x12, 0x52, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, + 0x12, 0x21, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, + 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, + 0x52, 0x65, 0x71, 0x1a, 0x22, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x52, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x54, 0x61, 0x67, 0x12, 0x21, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x22, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x49, 0x0a, 0x06, 0x53, + 0x65, 0x74, 0x54, 0x61, 0x67, 0x12, 0x1e, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x65, 0x74, 0x54, + 0x61, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x65, 0x74, 0x54, + 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x58, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, + 0x67, 0x32, 0x54, 0x61, 0x67, 0x12, 0x23, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x65, 0x6e, 0x64, + 0x4d, 0x73, 0x67, 0x32, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x1a, 0x24, 0x2e, 0x4f, 0x70, 0x65, + 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, + 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x32, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, + 0x12, 0x61, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, 0x65, 0x6e, 0x64, 0x4c, 0x6f, + 0x67, 0x73, 0x12, 0x26, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, + 0x65, 0x6e, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x27, 0x2e, 0x4f, 0x70, 0x65, + 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, + 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, 0x65, 0x6e, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x12, 0x61, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x61, + 0x67, 0x42, 0x79, 0x49, 0x44, 0x12, 0x26, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, + 0x73, 0x65, 0x72, 0x54, 0x61, 0x67, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x1a, 0x27, 0x2e, + 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, + 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x61, 0x67, 0x42, 0x79, + 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x12, 0x70, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x2e, + 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, + 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, + 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x2c, 0x2e, 0x4f, 0x70, 0x65, + 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x70, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x12, + 0x2b, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, + 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x6e, 0x65, 0x57, + 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x2c, 0x2e, 0x4f, + 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, + 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, + 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x6a, 0x0a, 0x11, 0x4c, 0x69, + 0x6b, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x12, + 0x29, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, + 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, + 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x2a, 0x2e, 0x4f, 0x70, 0x65, + 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, + 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x73, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, + 0x74, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2c, + 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, + 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x6e, 0x65, 0x57, + 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x2d, 0x2e, 0x4f, + 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, + 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x6e, 0x65, 0x57, 0x6f, 0x72, + 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x5e, 0x0a, 0x0d, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x2e, 0x4f, + 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, + 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x71, 0x1a, 0x26, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x6a, 0x0a, 0x11, 0x47, + 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x49, 0x44, + 0x12, 0x29, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, + 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, + 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x1a, 0x2a, 0x2e, 0x4f, 0x70, + 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, + 0x65, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x42, + 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x12, 0x85, 0x01, 0x0a, 0x1a, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x33, 0x2e, 0x4f, 0x70, 0x65, + 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, + 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, + 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x6d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, + 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2a, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, + 0x73, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, + 0x71, 0x1a, 0x2b, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x57, + 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x7f, + 0x0a, 0x18, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x57, + 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x30, 0x2e, 0x4f, 0x70, 0x65, + 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, + 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x57, 0x6f, + 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x31, 0x2e, 0x4f, + 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, + 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, + 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x7c, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, + 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2f, 0x2e, 0x4f, 0x70, 0x65, + 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x65, + 0x2e, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x1a, 0x30, 0x2e, 0x4f, 0x70, + 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x6f, 0x66, 0x66, 0x69, 0x63, + 0x65, 0x2e, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x6b, 0x4d, 0x6f, 0x6d, + 0x65, 0x6e, 0x74, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x42, 0x36, 0x5a, + 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4f, 0x70, 0x65, 0x6e, + 0x49, 0x4d, 0x53, 0x44, 0x4b, 0x2f, 0x4f, 0x70, 0x65, 0x6e, 0x2d, 0x49, 0x4d, 0x2d, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6f, + 0x66, 0x66, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_office_office_proto_rawDescOnce sync.Once + file_office_office_proto_rawDescData = file_office_office_proto_rawDesc +) + +func file_office_office_proto_rawDescGZIP() []byte { + file_office_office_proto_rawDescOnce.Do(func() { + file_office_office_proto_rawDescData = protoimpl.X.CompressGZIP(file_office_office_proto_rawDescData) + }) + return file_office_office_proto_rawDescData +} + +var file_office_office_proto_msgTypes = make([]protoimpl.MessageInfo, 44) +var file_office_office_proto_goTypes = []interface{}{ + (*TagUser)(nil), // 0: OpenIMServer.office.TagUser + (*Tag)(nil), // 1: OpenIMServer.office.Tag + (*GetUserTagsReq)(nil), // 2: OpenIMServer.office.GetUserTagsReq + (*GetUserTagsResp)(nil), // 3: OpenIMServer.office.GetUserTagsResp + (*CreateTagReq)(nil), // 4: OpenIMServer.office.CreateTagReq + (*CreateTagResp)(nil), // 5: OpenIMServer.office.CreateTagResp + (*DeleteTagReq)(nil), // 6: OpenIMServer.office.DeleteTagReq + (*DeleteTagResp)(nil), // 7: OpenIMServer.office.DeleteTagResp + (*SetTagReq)(nil), // 8: OpenIMServer.office.SetTagReq + (*SetTagResp)(nil), // 9: OpenIMServer.office.SetTagResp + (*SendMsg2TagReq)(nil), // 10: OpenIMServer.office.SendMsg2TagReq + (*SendMsg2TagResp)(nil), // 11: OpenIMServer.office.SendMsg2TagResp + (*GetTagSendLogsReq)(nil), // 12: OpenIMServer.office.GetTagSendLogsReq + (*TagSendLog)(nil), // 13: OpenIMServer.office.TagSendLog + (*GetTagSendLogsResp)(nil), // 14: OpenIMServer.office.GetTagSendLogsResp + (*GetUserTagByIDReq)(nil), // 15: OpenIMServer.office.GetUserTagByIDReq + (*GetUserTagByIDResp)(nil), // 16: OpenIMServer.office.GetUserTagByIDResp + (*LikeUser)(nil), // 17: OpenIMServer.office.LikeUser + (*NotificationUser)(nil), // 18: OpenIMServer.office.NotificationUser + (*Comment)(nil), // 19: OpenIMServer.office.Comment + (*PermissionGroup)(nil), // 20: OpenIMServer.office.PermissionGroup + (*WorkMomentUser)(nil), // 21: OpenIMServer.office.WorkMomentUser + (*WorkMoment)(nil), // 22: OpenIMServer.office.WorkMoment + (*CreateOneWorkMomentReq)(nil), // 23: OpenIMServer.office.CreateOneWorkMomentReq + (*CreateOneWorkMomentResp)(nil), // 24: OpenIMServer.office.CreateOneWorkMomentResp + (*DeleteOneWorkMomentReq)(nil), // 25: OpenIMServer.office.DeleteOneWorkMomentReq + (*DeleteOneWorkMomentResp)(nil), // 26: OpenIMServer.office.DeleteOneWorkMomentResp + (*LikeOneWorkMomentReq)(nil), // 27: OpenIMServer.office.LikeOneWorkMomentReq + (*LikeOneWorkMomentResp)(nil), // 28: OpenIMServer.office.LikeOneWorkMomentResp + (*CommentOneWorkMomentReq)(nil), // 29: OpenIMServer.office.CommentOneWorkMomentReq + (*CommentOneWorkMomentResp)(nil), // 30: OpenIMServer.office.CommentOneWorkMomentResp + (*DeleteCommentReq)(nil), // 31: OpenIMServer.office.DeleteCommentReq + (*DeleteCommentResp)(nil), // 32: OpenIMServer.office.DeleteCommentResp + (*GetWorkMomentByIDReq)(nil), // 33: OpenIMServer.office.GetWorkMomentByIDReq + (*GetWorkMomentByIDResp)(nil), // 34: OpenIMServer.office.GetWorkMomentByIDResp + (*ChangeWorkMomentPermissionReq)(nil), // 35: OpenIMServer.office.ChangeWorkMomentPermissionReq + (*ChangeWorkMomentPermissionResp)(nil), // 36: OpenIMServer.office.ChangeWorkMomentPermissionResp + (*GetUserWorkMomentsReq)(nil), // 37: OpenIMServer.office.GetUserWorkMomentsReq + (*GetUserWorkMomentsResp)(nil), // 38: OpenIMServer.office.GetUserWorkMomentsResp + (*GetUserFriendWorkMomentsReq)(nil), // 39: OpenIMServer.office.GetUserFriendWorkMomentsReq + (*GetUserFriendWorkMomentsResp)(nil), // 40: OpenIMServer.office.GetUserFriendWorkMomentsResp + (*WorkMomentNotificationMsg)(nil), // 41: OpenIMServer.office.WorkMomentNotificationMsg + (*SetUserWorkMomentsLevelReq)(nil), // 42: OpenIMServer.office.SetUserWorkMomentsLevelReq + (*SetUserWorkMomentsLevelResp)(nil), // 43: OpenIMServer.office.SetUserWorkMomentsLevelResp + (*sdkws.RequestPagination)(nil), // 44: OpenIMServer.sdkws.RequestPagination +} +var file_office_office_proto_depIdxs = []int32{ + 0, // 0: OpenIMServer.office.Tag.userList:type_name -> OpenIMServer.office.TagUser + 1, // 1: OpenIMServer.office.GetUserTagsResp.tags:type_name -> OpenIMServer.office.Tag + 44, // 2: OpenIMServer.office.GetTagSendLogsReq.Pagination:type_name -> OpenIMServer.sdkws.RequestPagination + 0, // 3: OpenIMServer.office.TagSendLog.userList:type_name -> OpenIMServer.office.TagUser + 13, // 4: OpenIMServer.office.GetTagSendLogsResp.tagSendLogs:type_name -> OpenIMServer.office.TagSendLog + 1, // 5: OpenIMServer.office.GetUserTagByIDResp.tag:type_name -> OpenIMServer.office.Tag + 21, // 6: OpenIMServer.office.WorkMoment.likeUserList:type_name -> OpenIMServer.office.WorkMomentUser + 19, // 7: OpenIMServer.office.WorkMoment.comments:type_name -> OpenIMServer.office.Comment + 21, // 8: OpenIMServer.office.WorkMoment.permissionUserList:type_name -> OpenIMServer.office.WorkMomentUser + 20, // 9: OpenIMServer.office.WorkMoment.permissionGroupList:type_name -> OpenIMServer.office.PermissionGroup + 21, // 10: OpenIMServer.office.WorkMoment.atUserList:type_name -> OpenIMServer.office.WorkMomentUser + 22, // 11: OpenIMServer.office.CreateOneWorkMomentReq.workMoment:type_name -> OpenIMServer.office.WorkMoment + 22, // 12: OpenIMServer.office.GetWorkMomentByIDResp.workMoment:type_name -> OpenIMServer.office.WorkMoment + 44, // 13: OpenIMServer.office.GetUserWorkMomentsReq.Pagination:type_name -> OpenIMServer.sdkws.RequestPagination + 22, // 14: OpenIMServer.office.GetUserWorkMomentsResp.workMoments:type_name -> OpenIMServer.office.WorkMoment + 44, // 15: OpenIMServer.office.GetUserFriendWorkMomentsReq.Pagination:type_name -> OpenIMServer.sdkws.RequestPagination + 22, // 16: OpenIMServer.office.GetUserFriendWorkMomentsResp.workMoments:type_name -> OpenIMServer.office.WorkMoment + 2, // 17: OpenIMServer.office.Office.GetUserTags:input_type -> OpenIMServer.office.GetUserTagsReq + 4, // 18: OpenIMServer.office.Office.CreateTag:input_type -> OpenIMServer.office.CreateTagReq + 6, // 19: OpenIMServer.office.Office.DeleteTag:input_type -> OpenIMServer.office.DeleteTagReq + 8, // 20: OpenIMServer.office.Office.SetTag:input_type -> OpenIMServer.office.SetTagReq + 10, // 21: OpenIMServer.office.Office.SendMsg2Tag:input_type -> OpenIMServer.office.SendMsg2TagReq + 12, // 22: OpenIMServer.office.Office.GetTagSendLogs:input_type -> OpenIMServer.office.GetTagSendLogsReq + 15, // 23: OpenIMServer.office.Office.GetUserTagByID:input_type -> OpenIMServer.office.GetUserTagByIDReq + 23, // 24: OpenIMServer.office.Office.CreateOneWorkMoment:input_type -> OpenIMServer.office.CreateOneWorkMomentReq + 25, // 25: OpenIMServer.office.Office.DeleteOneWorkMoment:input_type -> OpenIMServer.office.DeleteOneWorkMomentReq + 27, // 26: OpenIMServer.office.Office.LikeOneWorkMoment:input_type -> OpenIMServer.office.LikeOneWorkMomentReq + 29, // 27: OpenIMServer.office.Office.CommentOneWorkMoment:input_type -> OpenIMServer.office.CommentOneWorkMomentReq + 31, // 28: OpenIMServer.office.Office.DeleteComment:input_type -> OpenIMServer.office.DeleteCommentReq + 33, // 29: OpenIMServer.office.Office.GetWorkMomentByID:input_type -> OpenIMServer.office.GetWorkMomentByIDReq + 35, // 30: OpenIMServer.office.Office.ChangeWorkMomentPermission:input_type -> OpenIMServer.office.ChangeWorkMomentPermissionReq + 37, // 31: OpenIMServer.office.Office.GetUserWorkMoments:input_type -> OpenIMServer.office.GetUserWorkMomentsReq + 39, // 32: OpenIMServer.office.Office.GetUserFriendWorkMoments:input_type -> OpenIMServer.office.GetUserFriendWorkMomentsReq + 42, // 33: OpenIMServer.office.Office.SetUserWorkMomentsLevel:input_type -> OpenIMServer.office.SetUserWorkMomentsLevelReq + 3, // 34: OpenIMServer.office.Office.GetUserTags:output_type -> OpenIMServer.office.GetUserTagsResp + 5, // 35: OpenIMServer.office.Office.CreateTag:output_type -> OpenIMServer.office.CreateTagResp + 7, // 36: OpenIMServer.office.Office.DeleteTag:output_type -> OpenIMServer.office.DeleteTagResp + 9, // 37: OpenIMServer.office.Office.SetTag:output_type -> OpenIMServer.office.SetTagResp + 11, // 38: OpenIMServer.office.Office.SendMsg2Tag:output_type -> OpenIMServer.office.SendMsg2TagResp + 14, // 39: OpenIMServer.office.Office.GetTagSendLogs:output_type -> OpenIMServer.office.GetTagSendLogsResp + 16, // 40: OpenIMServer.office.Office.GetUserTagByID:output_type -> OpenIMServer.office.GetUserTagByIDResp + 24, // 41: OpenIMServer.office.Office.CreateOneWorkMoment:output_type -> OpenIMServer.office.CreateOneWorkMomentResp + 26, // 42: OpenIMServer.office.Office.DeleteOneWorkMoment:output_type -> OpenIMServer.office.DeleteOneWorkMomentResp + 28, // 43: OpenIMServer.office.Office.LikeOneWorkMoment:output_type -> OpenIMServer.office.LikeOneWorkMomentResp + 30, // 44: OpenIMServer.office.Office.CommentOneWorkMoment:output_type -> OpenIMServer.office.CommentOneWorkMomentResp + 32, // 45: OpenIMServer.office.Office.DeleteComment:output_type -> OpenIMServer.office.DeleteCommentResp + 34, // 46: OpenIMServer.office.Office.GetWorkMomentByID:output_type -> OpenIMServer.office.GetWorkMomentByIDResp + 36, // 47: OpenIMServer.office.Office.ChangeWorkMomentPermission:output_type -> OpenIMServer.office.ChangeWorkMomentPermissionResp + 38, // 48: OpenIMServer.office.Office.GetUserWorkMoments:output_type -> OpenIMServer.office.GetUserWorkMomentsResp + 40, // 49: OpenIMServer.office.Office.GetUserFriendWorkMoments:output_type -> OpenIMServer.office.GetUserFriendWorkMomentsResp + 43, // 50: OpenIMServer.office.Office.SetUserWorkMomentsLevel:output_type -> OpenIMServer.office.SetUserWorkMomentsLevelResp + 34, // [34:51] is the sub-list for method output_type + 17, // [17:34] is the sub-list for method input_type + 17, // [17:17] is the sub-list for extension type_name + 17, // [17:17] is the sub-list for extension extendee + 0, // [0:17] is the sub-list for field type_name +} + +func init() { file_office_office_proto_init() } +func file_office_office_proto_init() { + if File_office_office_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_office_office_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TagUser); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Tag); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserTagsReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserTagsResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateTagReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateTagResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteTagReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteTagResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetTagReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetTagResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendMsg2TagReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendMsg2TagResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTagSendLogsReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TagSendLog); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTagSendLogsResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserTagByIDReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserTagByIDResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LikeUser); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NotificationUser); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Comment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PermissionGroup); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkMomentUser); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkMoment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateOneWorkMomentReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateOneWorkMomentResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteOneWorkMomentReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteOneWorkMomentResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LikeOneWorkMomentReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LikeOneWorkMomentResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommentOneWorkMomentReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommentOneWorkMomentResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteCommentReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteCommentResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWorkMomentByIDReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetWorkMomentByIDResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangeWorkMomentPermissionReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangeWorkMomentPermissionResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserWorkMomentsReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserWorkMomentsResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserFriendWorkMomentsReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserFriendWorkMomentsResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkMomentNotificationMsg); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetUserWorkMomentsLevelReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_office_office_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetUserWorkMomentsLevelResp); 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_office_office_proto_rawDesc, + NumEnums: 0, + NumMessages: 44, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_office_office_proto_goTypes, + DependencyIndexes: file_office_office_proto_depIdxs, + MessageInfos: file_office_office_proto_msgTypes, + }.Build() + File_office_office_proto = out.File + file_office_office_proto_rawDesc = nil + file_office_office_proto_goTypes = nil + file_office_office_proto_depIdxs = nil +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConnInterface + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion6 + +// OfficeClient is the client API for Office service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type OfficeClient interface { + GetUserTags(ctx context.Context, in *GetUserTagsReq, opts ...grpc.CallOption) (*GetUserTagsResp, error) + CreateTag(ctx context.Context, in *CreateTagReq, opts ...grpc.CallOption) (*CreateTagResp, error) + DeleteTag(ctx context.Context, in *DeleteTagReq, opts ...grpc.CallOption) (*DeleteTagResp, error) + SetTag(ctx context.Context, in *SetTagReq, opts ...grpc.CallOption) (*SetTagResp, error) + SendMsg2Tag(ctx context.Context, in *SendMsg2TagReq, opts ...grpc.CallOption) (*SendMsg2TagResp, error) + GetTagSendLogs(ctx context.Context, in *GetTagSendLogsReq, opts ...grpc.CallOption) (*GetTagSendLogsResp, error) + GetUserTagByID(ctx context.Context, in *GetUserTagByIDReq, opts ...grpc.CallOption) (*GetUserTagByIDResp, error) + CreateOneWorkMoment(ctx context.Context, in *CreateOneWorkMomentReq, opts ...grpc.CallOption) (*CreateOneWorkMomentResp, error) + DeleteOneWorkMoment(ctx context.Context, in *DeleteOneWorkMomentReq, opts ...grpc.CallOption) (*DeleteOneWorkMomentResp, error) + LikeOneWorkMoment(ctx context.Context, in *LikeOneWorkMomentReq, opts ...grpc.CallOption) (*LikeOneWorkMomentResp, error) + CommentOneWorkMoment(ctx context.Context, in *CommentOneWorkMomentReq, opts ...grpc.CallOption) (*CommentOneWorkMomentResp, error) + DeleteComment(ctx context.Context, in *DeleteCommentReq, opts ...grpc.CallOption) (*DeleteCommentResp, error) + GetWorkMomentByID(ctx context.Context, in *GetWorkMomentByIDReq, opts ...grpc.CallOption) (*GetWorkMomentByIDResp, error) + ChangeWorkMomentPermission(ctx context.Context, in *ChangeWorkMomentPermissionReq, opts ...grpc.CallOption) (*ChangeWorkMomentPermissionResp, error) + // / user self + GetUserWorkMoments(ctx context.Context, in *GetUserWorkMomentsReq, opts ...grpc.CallOption) (*GetUserWorkMomentsResp, error) + // / users friend + GetUserFriendWorkMoments(ctx context.Context, in *GetUserFriendWorkMomentsReq, opts ...grpc.CallOption) (*GetUserFriendWorkMomentsResp, error) + SetUserWorkMomentsLevel(ctx context.Context, in *SetUserWorkMomentsLevelReq, opts ...grpc.CallOption) (*SetUserWorkMomentsLevelResp, error) +} + +type officeClient struct { + cc grpc.ClientConnInterface +} + +func NewOfficeClient(cc grpc.ClientConnInterface) OfficeClient { + return &officeClient{cc} +} + +func (c *officeClient) GetUserTags(ctx context.Context, in *GetUserTagsReq, opts ...grpc.CallOption) (*GetUserTagsResp, error) { + out := new(GetUserTagsResp) + err := c.cc.Invoke(ctx, "/OpenIMServer.office.Office/GetUserTags", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *officeClient) CreateTag(ctx context.Context, in *CreateTagReq, opts ...grpc.CallOption) (*CreateTagResp, error) { + out := new(CreateTagResp) + err := c.cc.Invoke(ctx, "/OpenIMServer.office.Office/CreateTag", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *officeClient) DeleteTag(ctx context.Context, in *DeleteTagReq, opts ...grpc.CallOption) (*DeleteTagResp, error) { + out := new(DeleteTagResp) + err := c.cc.Invoke(ctx, "/OpenIMServer.office.Office/DeleteTag", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *officeClient) SetTag(ctx context.Context, in *SetTagReq, opts ...grpc.CallOption) (*SetTagResp, error) { + out := new(SetTagResp) + err := c.cc.Invoke(ctx, "/OpenIMServer.office.Office/SetTag", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *officeClient) SendMsg2Tag(ctx context.Context, in *SendMsg2TagReq, opts ...grpc.CallOption) (*SendMsg2TagResp, error) { + out := new(SendMsg2TagResp) + err := c.cc.Invoke(ctx, "/OpenIMServer.office.Office/SendMsg2Tag", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *officeClient) GetTagSendLogs(ctx context.Context, in *GetTagSendLogsReq, opts ...grpc.CallOption) (*GetTagSendLogsResp, error) { + out := new(GetTagSendLogsResp) + err := c.cc.Invoke(ctx, "/OpenIMServer.office.Office/GetTagSendLogs", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *officeClient) GetUserTagByID(ctx context.Context, in *GetUserTagByIDReq, opts ...grpc.CallOption) (*GetUserTagByIDResp, error) { + out := new(GetUserTagByIDResp) + err := c.cc.Invoke(ctx, "/OpenIMServer.office.Office/GetUserTagByID", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *officeClient) CreateOneWorkMoment(ctx context.Context, in *CreateOneWorkMomentReq, opts ...grpc.CallOption) (*CreateOneWorkMomentResp, error) { + out := new(CreateOneWorkMomentResp) + err := c.cc.Invoke(ctx, "/OpenIMServer.office.Office/CreateOneWorkMoment", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *officeClient) DeleteOneWorkMoment(ctx context.Context, in *DeleteOneWorkMomentReq, opts ...grpc.CallOption) (*DeleteOneWorkMomentResp, error) { + out := new(DeleteOneWorkMomentResp) + err := c.cc.Invoke(ctx, "/OpenIMServer.office.Office/DeleteOneWorkMoment", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *officeClient) LikeOneWorkMoment(ctx context.Context, in *LikeOneWorkMomentReq, opts ...grpc.CallOption) (*LikeOneWorkMomentResp, error) { + out := new(LikeOneWorkMomentResp) + err := c.cc.Invoke(ctx, "/OpenIMServer.office.Office/LikeOneWorkMoment", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *officeClient) CommentOneWorkMoment(ctx context.Context, in *CommentOneWorkMomentReq, opts ...grpc.CallOption) (*CommentOneWorkMomentResp, error) { + out := new(CommentOneWorkMomentResp) + err := c.cc.Invoke(ctx, "/OpenIMServer.office.Office/CommentOneWorkMoment", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *officeClient) DeleteComment(ctx context.Context, in *DeleteCommentReq, opts ...grpc.CallOption) (*DeleteCommentResp, error) { + out := new(DeleteCommentResp) + err := c.cc.Invoke(ctx, "/OpenIMServer.office.Office/DeleteComment", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *officeClient) GetWorkMomentByID(ctx context.Context, in *GetWorkMomentByIDReq, opts ...grpc.CallOption) (*GetWorkMomentByIDResp, error) { + out := new(GetWorkMomentByIDResp) + err := c.cc.Invoke(ctx, "/OpenIMServer.office.Office/GetWorkMomentByID", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *officeClient) ChangeWorkMomentPermission(ctx context.Context, in *ChangeWorkMomentPermissionReq, opts ...grpc.CallOption) (*ChangeWorkMomentPermissionResp, error) { + out := new(ChangeWorkMomentPermissionResp) + err := c.cc.Invoke(ctx, "/OpenIMServer.office.Office/ChangeWorkMomentPermission", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *officeClient) GetUserWorkMoments(ctx context.Context, in *GetUserWorkMomentsReq, opts ...grpc.CallOption) (*GetUserWorkMomentsResp, error) { + out := new(GetUserWorkMomentsResp) + err := c.cc.Invoke(ctx, "/OpenIMServer.office.Office/GetUserWorkMoments", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *officeClient) GetUserFriendWorkMoments(ctx context.Context, in *GetUserFriendWorkMomentsReq, opts ...grpc.CallOption) (*GetUserFriendWorkMomentsResp, error) { + out := new(GetUserFriendWorkMomentsResp) + err := c.cc.Invoke(ctx, "/OpenIMServer.office.Office/GetUserFriendWorkMoments", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *officeClient) SetUserWorkMomentsLevel(ctx context.Context, in *SetUserWorkMomentsLevelReq, opts ...grpc.CallOption) (*SetUserWorkMomentsLevelResp, error) { + out := new(SetUserWorkMomentsLevelResp) + err := c.cc.Invoke(ctx, "/OpenIMServer.office.Office/SetUserWorkMomentsLevel", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// OfficeServer is the server API for Office service. +type OfficeServer interface { + GetUserTags(context.Context, *GetUserTagsReq) (*GetUserTagsResp, error) + CreateTag(context.Context, *CreateTagReq) (*CreateTagResp, error) + DeleteTag(context.Context, *DeleteTagReq) (*DeleteTagResp, error) + SetTag(context.Context, *SetTagReq) (*SetTagResp, error) + SendMsg2Tag(context.Context, *SendMsg2TagReq) (*SendMsg2TagResp, error) + GetTagSendLogs(context.Context, *GetTagSendLogsReq) (*GetTagSendLogsResp, error) + GetUserTagByID(context.Context, *GetUserTagByIDReq) (*GetUserTagByIDResp, error) + CreateOneWorkMoment(context.Context, *CreateOneWorkMomentReq) (*CreateOneWorkMomentResp, error) + DeleteOneWorkMoment(context.Context, *DeleteOneWorkMomentReq) (*DeleteOneWorkMomentResp, error) + LikeOneWorkMoment(context.Context, *LikeOneWorkMomentReq) (*LikeOneWorkMomentResp, error) + CommentOneWorkMoment(context.Context, *CommentOneWorkMomentReq) (*CommentOneWorkMomentResp, error) + DeleteComment(context.Context, *DeleteCommentReq) (*DeleteCommentResp, error) + GetWorkMomentByID(context.Context, *GetWorkMomentByIDReq) (*GetWorkMomentByIDResp, error) + ChangeWorkMomentPermission(context.Context, *ChangeWorkMomentPermissionReq) (*ChangeWorkMomentPermissionResp, error) + // / user self + GetUserWorkMoments(context.Context, *GetUserWorkMomentsReq) (*GetUserWorkMomentsResp, error) + // / users friend + GetUserFriendWorkMoments(context.Context, *GetUserFriendWorkMomentsReq) (*GetUserFriendWorkMomentsResp, error) + SetUserWorkMomentsLevel(context.Context, *SetUserWorkMomentsLevelReq) (*SetUserWorkMomentsLevelResp, error) +} + +// UnimplementedOfficeServer can be embedded to have forward compatible implementations. +type UnimplementedOfficeServer struct { +} + +func (*UnimplementedOfficeServer) GetUserTags(context.Context, *GetUserTagsReq) (*GetUserTagsResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUserTags not implemented") +} +func (*UnimplementedOfficeServer) CreateTag(context.Context, *CreateTagReq) (*CreateTagResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTag not implemented") +} +func (*UnimplementedOfficeServer) DeleteTag(context.Context, *DeleteTagReq) (*DeleteTagResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteTag not implemented") +} +func (*UnimplementedOfficeServer) SetTag(context.Context, *SetTagReq) (*SetTagResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetTag not implemented") +} +func (*UnimplementedOfficeServer) SendMsg2Tag(context.Context, *SendMsg2TagReq) (*SendMsg2TagResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method SendMsg2Tag not implemented") +} +func (*UnimplementedOfficeServer) GetTagSendLogs(context.Context, *GetTagSendLogsReq) (*GetTagSendLogsResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTagSendLogs not implemented") +} +func (*UnimplementedOfficeServer) GetUserTagByID(context.Context, *GetUserTagByIDReq) (*GetUserTagByIDResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUserTagByID not implemented") +} +func (*UnimplementedOfficeServer) CreateOneWorkMoment(context.Context, *CreateOneWorkMomentReq) (*CreateOneWorkMomentResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateOneWorkMoment not implemented") +} +func (*UnimplementedOfficeServer) DeleteOneWorkMoment(context.Context, *DeleteOneWorkMomentReq) (*DeleteOneWorkMomentResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteOneWorkMoment not implemented") +} +func (*UnimplementedOfficeServer) LikeOneWorkMoment(context.Context, *LikeOneWorkMomentReq) (*LikeOneWorkMomentResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method LikeOneWorkMoment not implemented") +} +func (*UnimplementedOfficeServer) CommentOneWorkMoment(context.Context, *CommentOneWorkMomentReq) (*CommentOneWorkMomentResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method CommentOneWorkMoment not implemented") +} +func (*UnimplementedOfficeServer) DeleteComment(context.Context, *DeleteCommentReq) (*DeleteCommentResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteComment not implemented") +} +func (*UnimplementedOfficeServer) GetWorkMomentByID(context.Context, *GetWorkMomentByIDReq) (*GetWorkMomentByIDResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetWorkMomentByID not implemented") +} +func (*UnimplementedOfficeServer) ChangeWorkMomentPermission(context.Context, *ChangeWorkMomentPermissionReq) (*ChangeWorkMomentPermissionResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method ChangeWorkMomentPermission not implemented") +} +func (*UnimplementedOfficeServer) GetUserWorkMoments(context.Context, *GetUserWorkMomentsReq) (*GetUserWorkMomentsResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUserWorkMoments not implemented") +} +func (*UnimplementedOfficeServer) GetUserFriendWorkMoments(context.Context, *GetUserFriendWorkMomentsReq) (*GetUserFriendWorkMomentsResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUserFriendWorkMoments not implemented") +} +func (*UnimplementedOfficeServer) SetUserWorkMomentsLevel(context.Context, *SetUserWorkMomentsLevelReq) (*SetUserWorkMomentsLevelResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetUserWorkMomentsLevel not implemented") +} + +func RegisterOfficeServer(s *grpc.Server, srv OfficeServer) { + s.RegisterService(&_Office_serviceDesc, srv) +} + +func _Office_GetUserTags_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUserTagsReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OfficeServer).GetUserTags(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/OpenIMServer.office.Office/GetUserTags", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OfficeServer).GetUserTags(ctx, req.(*GetUserTagsReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Office_CreateTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateTagReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OfficeServer).CreateTag(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/OpenIMServer.office.Office/CreateTag", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OfficeServer).CreateTag(ctx, req.(*CreateTagReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Office_DeleteTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteTagReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OfficeServer).DeleteTag(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/OpenIMServer.office.Office/DeleteTag", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OfficeServer).DeleteTag(ctx, req.(*DeleteTagReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Office_SetTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetTagReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OfficeServer).SetTag(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/OpenIMServer.office.Office/SetTag", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OfficeServer).SetTag(ctx, req.(*SetTagReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Office_SendMsg2Tag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SendMsg2TagReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OfficeServer).SendMsg2Tag(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/OpenIMServer.office.Office/SendMsg2Tag", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OfficeServer).SendMsg2Tag(ctx, req.(*SendMsg2TagReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Office_GetTagSendLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTagSendLogsReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OfficeServer).GetTagSendLogs(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/OpenIMServer.office.Office/GetTagSendLogs", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OfficeServer).GetTagSendLogs(ctx, req.(*GetTagSendLogsReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Office_GetUserTagByID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUserTagByIDReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OfficeServer).GetUserTagByID(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/OpenIMServer.office.Office/GetUserTagByID", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OfficeServer).GetUserTagByID(ctx, req.(*GetUserTagByIDReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Office_CreateOneWorkMoment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateOneWorkMomentReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OfficeServer).CreateOneWorkMoment(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/OpenIMServer.office.Office/CreateOneWorkMoment", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OfficeServer).CreateOneWorkMoment(ctx, req.(*CreateOneWorkMomentReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Office_DeleteOneWorkMoment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteOneWorkMomentReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OfficeServer).DeleteOneWorkMoment(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/OpenIMServer.office.Office/DeleteOneWorkMoment", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OfficeServer).DeleteOneWorkMoment(ctx, req.(*DeleteOneWorkMomentReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Office_LikeOneWorkMoment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(LikeOneWorkMomentReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OfficeServer).LikeOneWorkMoment(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/OpenIMServer.office.Office/LikeOneWorkMoment", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OfficeServer).LikeOneWorkMoment(ctx, req.(*LikeOneWorkMomentReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Office_CommentOneWorkMoment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CommentOneWorkMomentReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OfficeServer).CommentOneWorkMoment(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/OpenIMServer.office.Office/CommentOneWorkMoment", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OfficeServer).CommentOneWorkMoment(ctx, req.(*CommentOneWorkMomentReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Office_DeleteComment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteCommentReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OfficeServer).DeleteComment(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/OpenIMServer.office.Office/DeleteComment", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OfficeServer).DeleteComment(ctx, req.(*DeleteCommentReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Office_GetWorkMomentByID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetWorkMomentByIDReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OfficeServer).GetWorkMomentByID(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/OpenIMServer.office.Office/GetWorkMomentByID", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OfficeServer).GetWorkMomentByID(ctx, req.(*GetWorkMomentByIDReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Office_ChangeWorkMomentPermission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ChangeWorkMomentPermissionReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OfficeServer).ChangeWorkMomentPermission(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/OpenIMServer.office.Office/ChangeWorkMomentPermission", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OfficeServer).ChangeWorkMomentPermission(ctx, req.(*ChangeWorkMomentPermissionReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Office_GetUserWorkMoments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUserWorkMomentsReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OfficeServer).GetUserWorkMoments(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/OpenIMServer.office.Office/GetUserWorkMoments", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OfficeServer).GetUserWorkMoments(ctx, req.(*GetUserWorkMomentsReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Office_GetUserFriendWorkMoments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUserFriendWorkMomentsReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OfficeServer).GetUserFriendWorkMoments(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/OpenIMServer.office.Office/GetUserFriendWorkMoments", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OfficeServer).GetUserFriendWorkMoments(ctx, req.(*GetUserFriendWorkMomentsReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Office_SetUserWorkMomentsLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetUserWorkMomentsLevelReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OfficeServer).SetUserWorkMomentsLevel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/OpenIMServer.office.Office/SetUserWorkMomentsLevel", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OfficeServer).SetUserWorkMomentsLevel(ctx, req.(*SetUserWorkMomentsLevelReq)) + } + return interceptor(ctx, in, info, handler) +} + +var _Office_serviceDesc = grpc.ServiceDesc{ + ServiceName: "OpenIMServer.office.Office", + HandlerType: (*OfficeServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetUserTags", + Handler: _Office_GetUserTags_Handler, + }, + { + MethodName: "CreateTag", + Handler: _Office_CreateTag_Handler, + }, + { + MethodName: "DeleteTag", + Handler: _Office_DeleteTag_Handler, + }, + { + MethodName: "SetTag", + Handler: _Office_SetTag_Handler, + }, + { + MethodName: "SendMsg2Tag", + Handler: _Office_SendMsg2Tag_Handler, + }, + { + MethodName: "GetTagSendLogs", + Handler: _Office_GetTagSendLogs_Handler, + }, + { + MethodName: "GetUserTagByID", + Handler: _Office_GetUserTagByID_Handler, + }, + { + MethodName: "CreateOneWorkMoment", + Handler: _Office_CreateOneWorkMoment_Handler, + }, + { + MethodName: "DeleteOneWorkMoment", + Handler: _Office_DeleteOneWorkMoment_Handler, + }, + { + MethodName: "LikeOneWorkMoment", + Handler: _Office_LikeOneWorkMoment_Handler, + }, + { + MethodName: "CommentOneWorkMoment", + Handler: _Office_CommentOneWorkMoment_Handler, + }, + { + MethodName: "DeleteComment", + Handler: _Office_DeleteComment_Handler, + }, + { + MethodName: "GetWorkMomentByID", + Handler: _Office_GetWorkMomentByID_Handler, + }, + { + MethodName: "ChangeWorkMomentPermission", + Handler: _Office_ChangeWorkMomentPermission_Handler, + }, + { + MethodName: "GetUserWorkMoments", + Handler: _Office_GetUserWorkMoments_Handler, + }, + { + MethodName: "GetUserFriendWorkMoments", + Handler: _Office_GetUserFriendWorkMoments_Handler, + }, + { + MethodName: "SetUserWorkMomentsLevel", + Handler: _Office_SetUserWorkMomentsLevel_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "office/office.proto", +} diff --git a/pkg/proto/office/office.proto b/pkg/proto/office/office.proto new file mode 100644 index 000000000..795536f27 --- /dev/null +++ b/pkg/proto/office/office.proto @@ -0,0 +1,278 @@ +syntax = "proto3"; +package OpenIMServer.office; +import "sdkws/sdkws.proto"; +option go_package = "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/office"; + +message TagUser { + string userID = 1; + string userName = 2; +} + +message Tag { + string tagID = 1; + string tagName = 2; + repeated TagUser userList = 3; +} + +message GetUserTagsReq{ + string userID = 1; + string operationID = 2; +} + +message GetUserTagsResp{ + repeated Tag tags = 1; +} + +message CreateTagReq { + string tagName = 1; + string userID = 2; + repeated string userIDList = 3; + string operationID = 4; +} + +message CreateTagResp { +} + +message DeleteTagReq { + string userID = 1; + string tagID = 2; + string operationID = 3; +} + +message DeleteTagResp { +} + +message SetTagReq { + string userID = 1; + string tagID = 2; + string newName = 3; + repeated string increaseUserIDList = 4; + repeated string reduceUserIDList = 5; + string operationID = 6; +} + +message SetTagResp { +} + +message SendMsg2TagReq { + repeated string tagList = 1; + repeated string UserList = 2; + repeated string GroupList = 3; + string sendID = 4; + int32 senderPlatformID = 5; + string content = 6; + string operationID = 7; +} + +message SendMsg2TagResp { +} + +message GetTagSendLogsReq { + sdkws.RequestPagination Pagination = 1; + string userID = 2; + string operationID = 3; +} + +message TagSendLog { + repeated TagUser userList = 1; + string content = 2; + int64 sendTime = 3; +} + +message GetTagSendLogsResp { + repeated TagSendLog tagSendLogs = 1; +} + +message GetUserTagByIDReq { + string userID = 1; + string tagID = 2; + string operationID = 3; +} + +message GetUserTagByIDResp { + Tag tag = 1; +} + +/// WorkMoment + +message LikeUser { + string userID = 1; + string userName = 2; +} + +message NotificationUser { + string userID = 1; + string userName = 2; +} + +message Comment { + string userID = 1; + string userName = 2; + string faceURL = 3; + string replyUserID = 4; + string replyUserName = 5; + string contentID = 6; + string content = 7; + int32 createTime = 8; +} + +message PermissionGroup { + string groupName = 1; + string groupID = 2; +} + +message WorkMomentUser { + string userID = 1; + string userName = 2; +} + +message WorkMoment { + string workMomentID = 1; + string userID = 2; + string userName = 3; + string faceURL = 4; + string content = 5; + repeated WorkMomentUser likeUserList = 6; + repeated Comment comments = 7; + int32 permission = 8; + repeated WorkMomentUser permissionUserList = 9; + repeated PermissionGroup permissionGroupList = 10; + repeated WorkMomentUser atUserList = 11; + int32 createTime = 12; +} + +message CreateOneWorkMomentReq { + WorkMoment workMoment = 1; + string operationID = 2; +} + +message CreateOneWorkMomentResp { +} + +message DeleteOneWorkMomentReq { + string workMomentID = 1; + string userID = 2; + string operationID = 3; +} + +message DeleteOneWorkMomentResp { +} + +message LikeOneWorkMomentReq { + string userID = 1; + string WorkMomentID = 2; + string operationID = 3; +} + +message LikeOneWorkMomentResp { +} + +message CommentOneWorkMomentReq { + string userID = 1; + string workMomentID = 2; + string replyUserID = 3; + string content = 4; + string operationID = 5; +} + +message CommentOneWorkMomentResp { +} + +message DeleteCommentReq { + string workMomentID = 1; + string contentID = 2; + string opUserID = 3; + string operationID = 4; +} + +message DeleteCommentResp { +} + +message GetWorkMomentByIDReq { + string workMomentID = 1; + string opUserID = 2; + string operationID = 3; +} + +message GetWorkMomentByIDResp { + WorkMoment workMoment = 2; +} + +message ChangeWorkMomentPermissionReq { + string workMomentID = 1; + string opUserID = 2; + int32 permission = 3; + repeated string permissionUserIDList = 4; + string operationID = 5; +} + +message ChangeWorkMomentPermissionResp { +} + +message GetUserWorkMomentsReq { + string userID = 1; + string opUserID = 2; + sdkws.RequestPagination Pagination = 3; + string operationID = 4; +} + +message GetUserWorkMomentsResp { + repeated WorkMoment workMoments = 1; +} + +message GetUserFriendWorkMomentsReq { + string userID = 1; + sdkws.RequestPagination Pagination = 2; + string operationID = 3; +} + +message GetUserFriendWorkMomentsResp { + repeated WorkMoment workMoments = 1; +} + +message WorkMomentNotificationMsg { + int32 notificationMsgType = 1; + string replyUserName = 2; + string replyUserID = 3; + string content = 4; + string contentID = 5; + string workMomentID = 6; + string userID = 7; + string userName = 8; + string faceURL = 9; + string workMomentContent = 10; + int32 createTime = 11; +} + +message SetUserWorkMomentsLevelReq { + string userID = 1; + int32 level = 2; + string operationID = 3; +} + +message SetUserWorkMomentsLevelResp { +} + +service Office { + rpc GetUserTags(GetUserTagsReq) returns(GetUserTagsResp); + rpc CreateTag(CreateTagReq) returns(CreateTagResp); + rpc DeleteTag(DeleteTagReq) returns(DeleteTagResp); + rpc SetTag(SetTagReq) returns(SetTagResp); + rpc SendMsg2Tag(SendMsg2TagReq) returns(SendMsg2TagResp); + rpc GetTagSendLogs(GetTagSendLogsReq) returns(GetTagSendLogsResp); + rpc GetUserTagByID(GetUserTagByIDReq) returns(GetUserTagByIDResp); + + rpc CreateOneWorkMoment(CreateOneWorkMomentReq) returns(CreateOneWorkMomentResp); + rpc DeleteOneWorkMoment(DeleteOneWorkMomentReq) returns(DeleteOneWorkMomentResp); + rpc LikeOneWorkMoment(LikeOneWorkMomentReq) returns(LikeOneWorkMomentResp); + rpc CommentOneWorkMoment(CommentOneWorkMomentReq) returns(CommentOneWorkMomentResp); + rpc DeleteComment(DeleteCommentReq) returns(DeleteCommentResp); + rpc GetWorkMomentByID(GetWorkMomentByIDReq) returns(GetWorkMomentByIDResp); + rpc ChangeWorkMomentPermission(ChangeWorkMomentPermissionReq) returns(ChangeWorkMomentPermissionResp); + /// user self + rpc GetUserWorkMoments(GetUserWorkMomentsReq) returns(GetUserWorkMomentsResp); + /// users friend + rpc GetUserFriendWorkMoments(GetUserFriendWorkMomentsReq) returns(GetUserFriendWorkMomentsResp); + rpc SetUserWorkMomentsLevel(SetUserWorkMomentsLevelReq) returns(SetUserWorkMomentsLevelResp); +} +