diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 000000000..0e40fe8f5
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,3 @@
+
+# Default ignored files
+/workspace.xml
\ No newline at end of file
diff --git a/.idea/Open-IM-Server.iml b/.idea/Open-IM-Server.iml
new file mode 100644
index 000000000..5e764c4f0
--- /dev/null
+++ b/.idea/Open-IM-Server.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 000000000..28a804d89
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 000000000..d9805dbb6
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 000000000..94a25f7f4
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/config.yaml b/config/config.yaml
index 49754cd41..1a7aa233b 100644
--- a/config/config.yaml
+++ b/config/config.yaml
@@ -103,7 +103,7 @@ rpcport:
switch: false
rpcregistername:
- openImUserName: User
+ remainLogLevel: User
openImFriendName: Friend
openImOfflineMessageName: OfflineMessage
openImPushName: Push
diff --git a/internal/cms_api/group/group.go b/internal/cms_api/group/group.go
index c810ff5cd..ed8187e3a 100644
--- a/internal/cms_api/group/group.go
+++ b/internal/cms_api/group/group.go
@@ -1,20 +1,99 @@
package group
import (
+ "Open_IM/pkg/cms_api_struct"
+ "Open_IM/pkg/common/config"
+ "Open_IM/pkg/common/constant"
+ "Open_IM/pkg/common/log"
+ openIMHttp "Open_IM/pkg/common/http"
+ "Open_IM/pkg/grpc-etcdv3/getcdv3"
+ "Open_IM/pkg/utils"
+ "fmt"
+ "strings"
+ "context"
+
+ pbGroup "Open_IM/pkg/proto/group"
"github.com/gin-gonic/gin"
)
-func SearchGroups(c *gin.Context) {
+func GetGroups(c *gin.Context) {
+ var (
+ req cms_api_struct.GetGroupsRequest
+ resp cms_api_struct.GetGroupsResponse
+ reqPb pbGroup.GetGroupsReq
+ )
+ if err := c.ShouldBindQuery(&req); err != nil {
+ log.NewError("0", "ShouldBindQuery failed ", err.Error())
+ openIMHttp.RespHttp200(c, constant.ErrArgs, nil)
+ return
+ }
+ etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImGroupName)
+ client := pbGroup.NewGroupClient(etcdConn)
+ respPb, err := client.GetGroups(context.Background(), &reqPb)
+ fmt.Println(respPb)
+ if err != nil {
+ log.NewError("s", "GetUserInfo failed ", err.Error())
+ openIMHttp.RespHttp200(c, constant.ErrServer, nil)
+ return
+ }
+ openIMHttp.RespHttp200(c, constant.OK, resp)
}
+func GetGroup(c *gin.Context) {
+ var (
+ req cms_api_struct.GetGroupRequest
+ resp cms_api_struct.GetGroupResponse
+ reqPb pbGroup.GetGroupReq
+ )
+ if err := c.ShouldBindQuery(&req); err != nil {
+ log.NewError("0", "ShouldBindQuery failed ", err.Error())
+ openIMHttp.RespHttp200(c, constant.ErrArgs, nil)
+ return
+ }
+ utils.CopyStructFields(&reqPb, req)
+ etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImGroupName)
+ client := pbGroup.NewGroupClient(etcdConn)
+ respPb, err := client.GetGroup(context.Background(), &reqPb)
+ fmt.Println(respPb)
+ if err != nil {
+ log.NewError("s", "GetUserInfo failed ", err.Error())
+ openIMHttp.RespHttp200(c, constant.ErrServer, nil)
+ return
+ }
+ openIMHttp.RespHttp200(c, constant.OK, resp)
+}
+
+func CreateGroup(c *gin.Context) {
+ var (
+ req cms_api_struct.CreateGroupRequest
+ resp cms_api_struct.CreateGroupResponse
+ reqPb pbGroup.CreateGroupReq
+ )
+ if err := c.BindJSON(&req); err != nil {
+ log.NewError("0", "ShouldBindQuery failed ", err.Error())
+ openIMHttp.RespHttp200(c, constant.ErrArgs, nil)
+ return
+ }
+ reqPb.GroupInfo.GroupName = req.GroupName
+ reqPb.
+ etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImGroupName)
+ client := pbGroup.NewGroupClient(etcdConn)
+ respPb, err := client.CreateGroup(context.Background(), &reqPb)
+ fmt.Println(respPb)
+ if err != nil {
+ log.NewError("s", "GetUserInfo failed ", err.Error())
+ openIMHttp.RespHttp200(c, constant.ErrServer, nil)
+ return
+ }
+ openIMHttp.RespHttp200(c, constant.OK, resp)
+}
+
func SearchGroupsMember(c *gin.Context) {
}
-func CreateGroup(c *gin.Context) {
-}
func AddUsers(c *gin.Context) {
diff --git a/internal/cms_api/router.go b/internal/cms_api/router.go
index 8ad49cffa..01f5e60ae 100644
--- a/internal/cms_api/router.go
+++ b/internal/cms_api/router.go
@@ -57,11 +57,12 @@ func NewGinRouter() *gin.Engine {
}
groupRouterGroup := router.Group("/groups")
{
- groupRouterGroup.GET("/search_groups", group.SearchGroups)
+ groupRouterGroup.GET("/get_groups", group.GetGroups)
+ groupRouterGroup.GET("/get_group", group.GetGroup)
groupRouterGroup.GET("/search_groups_member", group.SearchGroupsMember)
groupRouterGroup.POST("/create_group", group.CreateGroup)
groupRouterGroup.GET("/inquire_group", group.InquireGroup)
- groupRouterGroup.GET("/inquireMember_by_group", group.InquireMember)
+ groupRouterGroup.GET("/inquire_member_by_group", group.InquireMember)
groupRouterGroup.POST("/add_members", group.AddMembers)
groupRouterGroup.POST("/set_master", group.SetMaster)
groupRouterGroup.POST("/block_user", group.BlockUser)
@@ -79,7 +80,7 @@ func NewGinRouter() *gin.Engine {
userRouterGroup.POST("/add_user", user.AddUser)
userRouterGroup.POST("/unblock_user", user.UnblockUser)
userRouterGroup.POST("/block_user", user.BlockUser)
- userRouterGroup.GET("/block_users", user.GetBlockUsers)
+ userRouterGroup.GET("/get_block_users", user.GetBlockUsers)
}
return baseRouter
}
diff --git a/internal/cms_api/user/user.go b/internal/cms_api/user/user.go
index 7a2e74887..e3678e20d 100644
--- a/internal/cms_api/user/user.go
+++ b/internal/cms_api/user/user.go
@@ -14,6 +14,7 @@ import (
"fmt"
"net/http"
"strings"
+ "time"
"github.com/gin-gonic/gin"
)
@@ -23,27 +24,26 @@ func GetUser(c *gin.Context) {
req cms_api_struct.GetUserRequest
resp cms_api_struct.GetUserResponse
reqPb pb.GetUserReq
- respPb *pb.GetUserResp
)
if err := c.ShouldBindQuery(&req); err != nil {
- log.NewError("0", "BindJSON failed ", err.Error())
+ log.NewError("0", "ShouldBindQuery failed ", err.Error())
openIMHttp.RespHttp200(c, constant.ErrArgs, nil)
return
}
- utils.CopyStructFields(&reqPb, req)
+ utils.CopyStructFields(&reqPb, &req)
etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImUserName)
client := pb.NewUserClient(etcdConn)
respPb, err := client.GetUser(context.Background(), &reqPb)
if err != nil {
log.NewError("s", "GetUserInfo failed ", err.Error())
- openIMHttp.RespHttp200(c, err.(constant.ErrInfo), nil)
+ openIMHttp.RespHttp200(c, constant.ErrServer, nil)
return
}
- // resp.UserId = resp.UserId
- // resp.Nickname = resp.UserId
- // resp.ProfilePhoto = resp.ProfilePhoto
- // resp.UserResponse =
- utils.CopyStructFields(&resp, respPb)
+ if respPb.User.UserId == "" {
+ openIMHttp.RespHttp200(c, constant.OK, nil)
+ return
+ }
+ utils.CopyStructFields(&resp, respPb.User)
openIMHttp.RespHttp200(c, constant.OK, resp)
}
@@ -52,11 +52,10 @@ func GetUsers(c *gin.Context) {
req cms_api_struct.GetUsersRequest
resp cms_api_struct.GetUsersResponse
reqPb pb.GetUsersReq
- respPb *pb.GetUsersResp
)
reqPb.Pagination = &commonPb.RequestPagination{}
if err := c.ShouldBindQuery(&req); err != nil {
- log.NewError("0", "BindJSON failed ", err.Error())
+ log.NewError("0", "ShouldBindQuery failed ", err.Error())
openIMHttp.RespHttp200(c, constant.ErrArgs, nil)
return
}
@@ -64,18 +63,14 @@ func GetUsers(c *gin.Context) {
etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImUserName)
client := pb.NewUserClient(etcdConn)
respPb, err := client.GetUsers(context.Background(), &reqPb)
- for _, v := range respPb.User {
- resp.Users = append(resp.Users, &cms_api_struct.UserResponse{
- ProfilePhoto: v.ProfilePhoto,
- Nickname: v.Nickname,
- UserId: v.UserID,
- CreateTime: v.CreateTime,
- })
- }
if err != nil {
- openIMHttp.RespHttp200(c, err.(constant.ErrInfo), resp)
+ openIMHttp.RespHttp200(c, constant.ErrServer, resp)
+ return
}
- fmt.Println(resp)
+ utils.CopyStructFields(&resp.Users, respPb.User)
+ resp.UserNum = int(respPb.UserNum)
+ resp.ShowNumber = int(respPb.Pagination.ShowNumber)
+ resp.CurrentPage = int(respPb.Pagination.CurrentPage)
openIMHttp.RespHttp200(c, constant.OK, resp)
}
@@ -92,11 +87,12 @@ func ResignUser(c *gin.Context) {
return
}
utils.CopyStructFields(&reqPb, &req)
+ fmt.Println(reqPb.UserId)
etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImUserName)
client := pb.NewUserClient(etcdConn)
_, err := client.ResignUser(context.Background(), &reqPb)
if err != nil {
- openIMHttp.RespHttp200(c, constant.ErrDB, resp)
+ openIMHttp.RespHttp200(c, constant.ErrServer, resp)
}
openIMHttp.RespHttp200(c, constant.OK, resp)
}
@@ -106,7 +102,7 @@ func AlterUser(c *gin.Context) {
req cms_api_struct.AlterUserRequest
resp cms_api_struct.AlterUserResponse
reqPb pb.AlterUserReq
- respPb *pb.AlterUserResp
+ _ *pb.AlterUserResp
)
if err := c.ShouldBind(&req); err != nil {
log.NewError("0", "BindJSON failed ", err.Error())
@@ -116,10 +112,9 @@ func AlterUser(c *gin.Context) {
utils.CopyStructFields(&reqPb, &req)
etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImUserName)
client := pb.NewUserClient(etcdConn)
- respPb, err := client.AlterUser(context.Background(), &reqPb)
- fmt.Println(respPb)
+ _, err := client.AlterUser(context.Background(), &reqPb)
if err != nil {
- openIMHttp.RespHttp200(c, err.(constant.ErrInfo), resp)
+ openIMHttp.RespHttp200(c, constant.ErrServer, resp)
}
openIMHttp.RespHttp200(c, constant.OK, resp)
}
@@ -127,23 +122,23 @@ func AlterUser(c *gin.Context) {
func AddUser(c *gin.Context) {
var (
req cms_api_struct.AddUserRequest
- resp cms_api_struct.AddUserResponse
reqPb pb.AddUserReq
- respPb *pb.AddUserResp
)
- if err := c.ShouldBind(&req); err != nil {
+ if err := c.BindJSON(&req); err != nil {
log.NewError("0", "BindJSON failed ", err.Error())
- c.JSON(http.StatusBadRequest, gin.H{"errCode": http.StatusBadRequest, "errMsg": err.Error()})
+ openIMHttp.RespHttp200(c, constant.ErrArgs, nil)
return
}
+ fmt.Println(time.Now().String())
+ utils.CopyStructFields(&reqPb, &req)
etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImUserName)
client := pb.NewUserClient(etcdConn)
- respPb, err := client.AddUser(context.Background(), &reqPb)
- fmt.Println(respPb)
+ _, err := client.AddUser(context.Background(), &reqPb)
if err != nil {
-
+ openIMHttp.RespHttp200(c, constant.ErrServer, nil)
+ return
}
- openIMHttp.RespHttp200(c, constant.OK, resp)
+ openIMHttp.RespHttp200(c, constant.OK, nil)
}
func BlockUser(c *gin.Context) {
@@ -151,21 +146,23 @@ func BlockUser(c *gin.Context) {
req cms_api_struct.BlockUserRequest
resp cms_api_struct.BlockUserResponse
reqPb pb.BlockUserReq
- respPb *pb.BlockUserResp
)
- if err := c.ShouldBind(&req); err != nil {
+ if err := c.BindJSON(&req); err != nil {
+ fmt.Println(err)
log.NewError("0", "BindJSON failed ", err.Error())
openIMHttp.RespHttp200(c, constant.ErrArgs, resp)
return
}
- utils.CopyStructFields(&reqPb, req)
+ utils.CopyStructFields(&reqPb, &req)
+ fmt.Println(reqPb, req)
etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImUserName)
client := pb.NewUserClient(etcdConn)
- respPb, err := client.BlockUser(context.Background(), &reqPb)
+ fmt.Println(reqPb)
+ _, err := client.BlockUser(context.Background(), &reqPb)
if err != nil {
- openIMHttp.RespHttp200(c, err.(constant.ErrInfo), resp)
+ openIMHttp.RespHttp200(c, constant.ErrServer, resp)
+ return
}
- fmt.Println(respPb)
openIMHttp.RespHttp200(c, constant.OK, resp)
}
@@ -174,43 +171,48 @@ func UnblockUser(c *gin.Context) {
req cms_api_struct.UnblockUserRequest
resp cms_api_struct.UnBlockUserResponse
reqPb pb.UnBlockUserReq
- respPb *pb.UnBlockUserResp
)
- utils.CopyStructFields(&reqPb, req)
if err := c.ShouldBind(&req); err != nil {
log.NewError("0", "BindJSON failed ", err.Error())
c.JSON(http.StatusBadRequest, gin.H{"errCode": http.StatusBadRequest, "errMsg": err.Error()})
return
}
+ fmt.Println(reqPb, req)
etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImUserName)
client := pb.NewUserClient(etcdConn)
- respPb, err := client.UnBlockUser(context.Background(), &reqPb)
+ _, err := client.UnBlockUser(context.Background(), &reqPb)
if err != nil {
- openIMHttp.RespHttp200(c, err.(constant.ErrInfo), resp)
+ openIMHttp.RespHttp200(c, constant.ErrServer, resp)
+ return
}
- fmt.Println(respPb)
openIMHttp.RespHttp200(c, constant.OK, resp)
}
func GetBlockUsers(c *gin.Context) {
var (
req cms_api_struct.GetBlockUsersRequest
- resp cms_api_struct.GetOrganizationsResponse
+ resp cms_api_struct.GetBlockUsersResponse
reqPb pb.GetBlockUsersReq
respPb *pb.GetBlockUsersResp
)
+ reqPb.Pagination = &commonPb.RequestPagination{}
if err := c.ShouldBindQuery(&req); err != nil {
log.NewError("0", "BindJSON failed ", err.Error())
openIMHttp.RespHttp200(c, constant.ErrArgs, resp)
return
}
- utils.CopyStructFields(&reqPb, &req)
+ utils.CopyStructFields(&reqPb.Pagination, &req)
+ log.NewInfo("0", "blockUsers", reqPb.Pagination, req)
etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImUserName)
client := pb.NewUserClient(etcdConn)
respPb, err := client.GetBlockUsers(context.Background(), &reqPb)
if err != nil {
- openIMHttp.RespHttp200(c, err.(constant.ErrInfo), resp)
+ openIMHttp.RespHttp200(c, constant.ErrServer, resp)
+ return
}
- fmt.Println(respPb)
+ utils.CopyStructFields(&resp.BlockUsers, respPb.User)
+ resp.BlockUserNum = int(respPb.BlockUserNum)
+ resp.ShowNumber = int(respPb.Pagination.ShowNumber)
+ resp.CurrentPage = int(respPb.Pagination.CurrentPage)
openIMHttp.RespHttp200(c, constant.OK, resp)
}
diff --git a/internal/push/logic/push_to_client.go b/internal/push/logic/push_to_client.go
index 803bb5b3b..6555020c0 100644
--- a/internal/push/logic/push_to_client.go
+++ b/internal/push/logic/push_to_client.go
@@ -121,12 +121,12 @@ func MsgToUser(pushMsg *pbPush.PushMsgReq) {
// case constant.GroupChatType:
// etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImGroupName)
// client := pbGroup.NewGroupClient(etcdConn)
-// req := &pbGroup.GetGroupAllMemberReq{
+// req := &pbGroup.Req{
// GroupID: m.RecvID,
// Token: config.Config.Secret,
// OperationID: m.OperationID,
// }
-// reply, err := client.GetGroupAllMember(context.Background(), req)
+// reply, err := client.(context.Background(), req)
// if err != nil {
// log.Error(m.Token, m.OperationID, "rpc getGroupInfo failed, err = %s", err.Error())
// return
diff --git a/internal/rpc/group/group.go b/internal/rpc/group/group.go
index 9df6064f6..08ba7be23 100644
--- a/internal/rpc/group/group.go
+++ b/internal/rpc/group/group.go
@@ -638,3 +638,31 @@ func (s *groupServer) TransferGroupOwner(_ context.Context, req *pbGroup.Transfe
return &pbGroup.TransferGroupOwnerResp{CommonResp: &pbGroup.CommonResp{ErrCode: 0, ErrMsg: ""}}, nil
}
+
+func (s *groupServer) GetGroup(_ context.Context, req *pbGroup.GetGroupReq) (*pbGroup.GetGroupResp, error) {
+ log.NewInfo(req.OperationID, "GetGroup ", req.String())
+ group, err := imdb.GetGroupByName(req.GroupName)
+ if err != nil {
+ return nil, err
+ }
+ resp := &pbGroup.GetGroupResp{
+ GroupInfo: &open_im_sdk.GroupInfo{
+ },
+ }
+ utils.CopyStructFields(resp.GroupInfo, group)
+ return resp, nil
+}
+
+func (s *groupServer) GetGroups(_ context.Context, req *pbGroup.GetGroupsReq) (*pbGroup.GetGroupsResp, error) {
+ log.NewInfo(req.OperationID, "GetGroups ", req.String())
+ groups, err := imdb.GetGroups(int(req.Pagination.PageNumber), int(req.Pagination.ShowNumber))
+ if err != nil {
+ return nil, err
+ }
+ resp := &pbGroup.GetGroupsResp{
+ GroupInfo: []*open_im_sdk.GroupInfo,
+ }
+ utils.CopyStructFields(resp.GroupInfo, groups)
+ return resp, nil
+}
+
diff --git a/internal/rpc/user/user.go b/internal/rpc/user/user.go
index 38e2e7ed2..d317d53c5 100644
--- a/internal/rpc/user/user.go
+++ b/internal/rpc/user/user.go
@@ -14,11 +14,11 @@ import (
pbUser "Open_IM/pkg/proto/user"
"Open_IM/pkg/utils"
"context"
+ "fmt"
+ "google.golang.org/grpc"
"net"
"strconv"
"strings"
-
- "google.golang.org/grpc"
)
type userServer struct {
@@ -214,7 +214,7 @@ func (s *userServer) UpdateUserInfo(ctx context.Context, req *pbUser.UpdateUserI
return &pbUser.UpdateUserInfoResp{CommonResp: &pbUser.CommonResp{ErrCode: constant.ErrAccess.ErrCode, ErrMsg: constant.ErrAccess.ErrMsg}}, nil
}
- var user db.User
+ var user db.Users
utils.CopyStructFields(&user, req.UserInfo)
if req.UserInfo.Birth != 0 {
user.Birth = utils.UnixSecondToTime(int64(req.UserInfo.Birth))
@@ -243,61 +243,122 @@ func (s *userServer) UpdateUserInfo(ctx context.Context, req *pbUser.UpdateUserI
}
func (s *userServer) GetUser(ctx context.Context, req *pbUser.GetUserReq) (*pbUser.GetUserResp, error) {
- log.NewInfo(req.OperationID, "GetAllUserID args ", req.String())
- resp := &pbUser.GetUserResp{}
+ log.NewInfo(req.OperationID, "GetUser args ", req.String())
+ resp := &pbUser.GetUserResp{User:&pbUser.User{}}
user, err := imdb.GetUserByUserID(req.UserId)
if err != nil {
- log.NewError(req.OperationID, "SelectAllUserID false ", err.Error())
return resp, nil
}
- resp.User.CreateTime = user.CreateTime.String()
- resp.User.ProfilePhoto = ""
- resp.User.Nickname = user.Nickname
- resp.User.UserID = user.UserID
+ resp.User = &pbUser.User{
+ ProfilePhoto: user.FaceURL,
+ Nickname: user.Nickname,
+ UserId: user.UserID,
+ CreateTime: user.CreateTime.String(),
+ }
return resp, nil
}
func (s *userServer) GetUsers(ctx context.Context, req *pbUser.GetUsersReq) (*pbUser.GetUsersResp, error) {
log.NewInfo(req.OperationID, "GetUsers args ", req.String())
- resp := &pbUser.GetUsersResp{}
+ resp := &pbUser.GetUsersResp{User:[]*pbUser.User{}}
users, err := imdb.GetUsers(req.Pagination.ShowNumber, req.Pagination.PageNumber)
if err != nil {
- log.NewError(req.OperationID, "SelectAllUserID false ", err.Error())
return resp, nil
}
- for _, v := range users {
- resp.User = append(resp.User, &pbUser.User{
- ProfilePhoto: "",
- UserID: v.UserID,
- CreateTime: v.CreateTime.String(),
- Nickname: v.Nickname,
- })
+ usersNum, err := imdb.GetUsersNumCount()
+ if err != nil {
+ return resp, nil
}
+ resp.UserNum = int32(usersNum)
+ for _, v := range users {
+ isBlock, err := imdb.UserIsBlock(v.UserID)
+ if err == nil {
+ user := &pbUser.User{
+ ProfilePhoto: v.FaceURL,
+ UserId: v.UserID,
+ CreateTime: v.CreateTime.String(),
+ Nickname: v.Nickname,
+ IsBlock: isBlock,
+ }
+ resp.User = append(resp.User, user)
+ }
+ }
+
+ resp.Pagination = &sdkws.ResponsePagination{}
+ resp.Pagination.ShowNumber = req.Pagination.ShowNumber
+ resp.Pagination.CurrentPage = req.Pagination.PageNumber
return resp, nil
}
func (s *userServer) ResignUser(ctx context.Context, req *pbUser.ResignUserReq) (*pbUser.ResignUserResp, error) {
log.NewInfo(req.OperationID, "ResignUser args ", req.String())
-
return &pbUser.ResignUserResp{}, nil
}
func (s *userServer) AlterUser(ctx context.Context, req *pbUser.AlterUserReq) (*pbUser.AlterUserResp, error) {
+ log.NewInfo(req.OperationID, "AlterUser args ", req.String())
return &pbUser.AlterUserResp{}, nil
}
func (s *userServer) AddUser(ctx context.Context, req *pbUser.AddUserReq) (*pbUser.AddUserResp, error) {
- return &pbUser.AddUserResp{}, nil
+ log.NewInfo(req.OperationID, "AddUser args ", req.String())
+ resp := &pbUser.AddUserResp{}
+ err := imdb.AddUser(req.UserId, req.PhoneNumber, req.Name)
+ if err != nil {
+ return resp, constant.ErrDB
+ }
+ return resp, nil
}
func (s *userServer) BlockUser(ctx context.Context, req *pbUser.BlockUserReq) (*pbUser.BlockUserResp, error) {
- return &pbUser.BlockUserResp{}, nil
+ log.NewInfo(req.OperationID, "BlockUser args ", req.String())
+ fmt.Println("BlockUser args ", req.String())
+ resp := &pbUser.BlockUserResp{}
+ err := imdb.BlockUser(req.UserId, req.EndDisableTime)
+ if err != nil {
+ return resp, constant.ErrDB
+ }
+ return resp, nil
}
func (s *userServer) UnBlockUser(ctx context.Context, req *pbUser.UnBlockUserReq) (*pbUser.UnBlockUserResp, error) {
- return &pbUser.UnBlockUserResp{}, nil
+ log.NewInfo(req.OperationID, "UnBlockUser args ", req.String())
+ fmt.Println(req.UserId)
+ resp := &pbUser.UnBlockUserResp{}
+ err := imdb.UnBlockUser(req.UserId)
+ if err != nil {
+ return resp, constant.ErrDB
+ }
+ return resp, nil
}
func (s *userServer) GetBlockUsers(ctx context.Context, req *pbUser.GetBlockUsersReq) (*pbUser.GetBlockUsersResp, error) {
- return &pbUser.GetBlockUsersResp{}, nil
+ log.NewInfo(req.OperationID, "GetBlockUsers args ", req.String())
+ resp := &pbUser.GetBlockUsersResp{}
+ blockUserIds, err := imdb.GetBlockUsersID(req.Pagination.ShowNumber, req.Pagination.PageNumber)
+ if err != nil {
+ return resp, constant.ErrDB
+ }
+ usersNum, err := imdb.GetBlockUsersNumCount()
+ if err != nil {
+ return resp, constant.ErrDB
+ }
+ resp.BlockUserNum = int32(usersNum)
+ blockUsers, err := imdb.GetBlockUsers(blockUserIds)
+ if err != nil {
+ return resp, constant.ErrDB
+ }
+ for _, v := range blockUsers {
+ resp.User = append(resp.User, &pbUser.User{
+ ProfilePhoto: v.FaceURL,
+ Nickname: v.Nickname,
+ UserId: v.UserID,
+ CreateTime: v.CreateTime.String(),
+ IsBlock: true,
+ })
+ }
+ resp.Pagination = &sdkws.ResponsePagination{}
+ resp.Pagination.ShowNumber = req.Pagination.ShowNumber
+ resp.Pagination.CurrentPage = req.Pagination.PageNumber
+ return resp, nil
}
diff --git a/pkg/cms_api_struct/common.go b/pkg/cms_api_struct/common.go
index fc6490c82..7d160f543 100644
--- a/pkg/cms_api_struct/common.go
+++ b/pkg/cms_api_struct/common.go
@@ -4,3 +4,8 @@ type RequestPagination struct {
PageNumber int `form:"page_number" binding:"required"`
ShowNumber int `form:"show_number" binding:"required"`
}
+
+type ResponsePagination struct {
+ CurrentPage int `json:"current_number" binding:"required"`
+ ShowNumber int `json:"show_number" binding:"required"`
+}
\ No newline at end of file
diff --git a/pkg/cms_api_struct/group.go b/pkg/cms_api_struct/group.go
index 99820d9e8..7948ade10 100644
--- a/pkg/cms_api_struct/group.go
+++ b/pkg/cms_api_struct/group.go
@@ -1,20 +1,90 @@
package cms_api_struct
-type SearchGroupsResponse struct {
- GroupList []struct {
- GroupNickName string `json:"group_nick_name"`
- GroupID int `json:"group_id"`
- MasterName string `json:"master_name"`
- MasterId int `json:"master_id"`
- CreatTime string `json:"creat_time"`
- } `json:"group_list"`
+type GroupResponse struct {
+ GroupName string `json:"group_name"`
+ GroupID string `json:"group_id"`
+ GroupMasterName string `json:"group_master_name"`
+ GroupMasterId string `json:"group_master_id"`
+ CreateTime string `json:"create_time"`
+ isBanChat bool `json:"is_ban_chat"`
+ isBanPrivateChat bool `json:"is_ban_private_chat"`
}
-type SearchGroupMemberResponse struct {
- GroupMemberList []struct {
- MemberPosition int `json:"member_position"`
- MemberNickName string `json:"member_nick_name"`
- MemberId int `json:"member_id"`
- JoinTime string `json:"join_time"`
- } `json:"group_member_list"`
+type GetGroupRequest struct {
+ GroupName string `form:"group_name"`
+}
+
+type GetGroupResponse struct {
+ GroupResponse
+}
+
+type GetGroupsRequest struct {
+ RequestPagination
+}
+
+type GetGroupsResponse struct {
+ Groups []GroupResponse `json:"groups"`
+ GroupNums int `json:"group_nums"`
+ ResponsePagination
+}
+
+type CreateGroupRequest struct {
+ GroupName string `json:"group_name"`
+ GroupMasterId string `json:"group_master_id"`
+ GroupMembers []string `json:"group_members"`
+}
+
+type CreateGroupResponse struct {
+
+}
+
+type SetGroupMasterRequest struct {
+ GroupId string `json:"group_id"`
+ UserId string `json:"user_id"`
+}
+
+type SetGroupMasterResponse struct {
+
+}
+
+type BanGroupChatRequest struct {
+ GroupId string `json:"group_id"`
+}
+
+type BanGroupChatResponse struct {
+
+}
+
+type BanPrivateChatRequest struct {
+ GroupId string `json:"group_id"`
+
+}
+
+type BanPrivateChatResponse struct {
+
+}
+
+type DeleteGroupRequest struct {
+ GroupId string `json:"group_id"`
+}
+
+type DeleteGroupResponse struct {
+
+}
+
+type GetGroupMemberRequest struct {
+ GroupId string `json:"group_id"`
+}
+
+type GroupMemberResponse struct {
+ MemberPosition int `json:"member_position"`
+ MemberNickName string `json:"member_nick_name"`
+ MemberId int `json:"member_id"`
+ JoinTime string `json:"join_time"`
+}
+
+type GetGroupMemberResponse struct {
+ GroupMemberList []GroupMemberResponse `json:"group_member_list"`
+ GroupMemberNums int `json:"group_member_nums"`
+ ResponsePagination
}
diff --git a/pkg/cms_api_struct/message.go b/pkg/cms_api_struct/message.go
index 5637b4eb0..2b3c73d17 100644
--- a/pkg/cms_api_struct/message.go
+++ b/pkg/cms_api_struct/message.go
@@ -1,27 +1,26 @@
package cms_api_struct
+type CommonMessage struct {
+ ChatType int `json:"chat_type"`
+ MessageType int `json:"message_type"`
+ SenderNickName string `json:"sender_nick_name"`
+ SenderId int `json:"sender_id"`
+ SearchContent string `json:"search_content"`
+ WholeContent string `json:"whole_content"`
+}
+
type SearchMessageByUserResponse struct {
MessageList []struct {
- ChatType int `json:"chat_type"`
- MessageType int `json:"message_type"`
- SenderNickName string `json:"sender_nick_name"`
- SenderId int `json:"sender_id"`
+ CommonMessage
ReceiverNickName string `json:"receiver_nick_name"`
ReceiverID int `json:"receiver_id"`
- SearchContent string `json:"search_content"`
- WholeContent string `json:"whole_content"`
Date string `json:"date"`
} `json:"massage_list"`
}
type SearchMessageByGroupResponse struct {
MessageList []struct {
- ChatType int `json:"chat_type"`
- MessageType int `json:"message_type"`
- SenderNickName string `json:"sender_nick_name"`
- SenderId int `json:"sender_id"`
- SearchContent string `json:"search_content"`
- WholeContent string `json:"whole_content"`
+ CommonMessage
Date string `json:"date"`
} `json:"massage_list"`
}
diff --git a/pkg/cms_api_struct/user.go b/pkg/cms_api_struct/user.go
index 0b2fd5328..38d73dfaa 100644
--- a/pkg/cms_api_struct/user.go
+++ b/pkg/cms_api_struct/user.go
@@ -5,10 +5,11 @@ type UserResponse struct {
Nickname string `json:"nick_name"`
UserId string `json:"user_id"`
CreateTime string `json:"create_time"`
+ IsBlock bool `json:"is_block"`
}
type GetUserRequest struct {
- UserId string `form:"user_id"`
+ UserId string `form:"user_id" binding:"required"`
}
type GetUserResponse struct {
@@ -21,6 +22,8 @@ type GetUsersRequest struct {
type GetUsersResponse struct {
Users []*UserResponse `json:"users"`
+ UserNum int `json:"user_num"`
+ ResponsePagination
}
type ResignUserRequest struct {
@@ -38,20 +41,24 @@ type AlterUserResponse struct {
}
type AddUserRequest struct {
+ PhoneNumber string `json:"phone_number" binding:"required"`
+ UserId string `json:"user_id" binding:"required"`
+ Name string `json:"name" binding:"required"`
}
type AddUserResponse struct {
}
type BlockUserRequest struct {
- UserId string `json:"user_id"`
+ UserId string `json:"user_id" binding:"required"`
+ EndDisableTime string `json:"end_disable_time" binding:"required"`
}
type BlockUserResponse struct {
}
type UnblockUserRequest struct {
- UserId string `json:"user_id"`
+ UserId string `json:"user_id" binding:"required"`
}
type UnBlockUserResponse struct {
@@ -62,4 +69,7 @@ type GetBlockUsersRequest struct {
}
type GetBlockUsersResponse struct {
+ BlockUsers []UserResponse `json:"block_users"`
+ BlockUserNum int `json:"block_user_num"`
+ ResponsePagination
}
diff --git a/pkg/common/constant/error.go b/pkg/common/constant/error.go
index cec84634f..3436b1dab 100644
--- a/pkg/common/constant/error.go
+++ b/pkg/common/constant/error.go
@@ -10,6 +10,7 @@ type ErrInfo struct {
var (
OK = ErrInfo{0, ""}
+ ErrServer = ErrInfo{500, "server error"}
// ErrMysql = ErrInfo{100, ""}
// ErrMongo = ErrInfo{110, ""}
diff --git a/pkg/common/db/model_struct.go b/pkg/common/db/model_struct.go
index eabc26668..010a5340a 100644
--- a/pkg/common/db/model_struct.go
+++ b/pkg/common/db/model_struct.go
@@ -135,7 +135,7 @@ type GroupRequest struct {
//int64 CreateTime = 9;
//int32 AppMangerLevel = 10;
//open_im_sdk.User == imdb.User
-type User struct {
+type Users struct {
UserID string `gorm:"column:user_id;primary_key;size:64"`
Nickname string `gorm:"column:name;size:255"`
FaceURL string `gorm:"column:face_url;size:255"`
@@ -184,3 +184,9 @@ type ChatLog struct {
CreateTime time.Time `gorm:"column:create_time" json:"createTime"`
Ex string `gorm:"column:ex;type:varchar(1024)" json:"ex"`
}
+
+type BlackList struct {
+ UserId string `gorm:"column:uid"`
+ BeginDisableTime time.Time `gorm:"column:begin_disable_time"`
+ EndDisableTime time.Time `gorm:"column:end_disable_time"`
+}
\ No newline at end of file
diff --git a/pkg/common/db/mysql.go b/pkg/common/db/mysql.go
index 56ca3648c..d6064cf8e 100644
--- a/pkg/common/db/mysql.go
+++ b/pkg/common/db/mysql.go
@@ -57,7 +57,7 @@ func initMysqlDB() {
&Group{},
&GroupMember{},
&GroupRequest{},
- &User{},
+ &Users{},
&Black{}, &ChatLog{})
db.Set("gorm:table_options", "CHARSET=utf8")
diff --git a/pkg/common/db/mysql_model/im_mysql_model/group_model.go b/pkg/common/db/mysql_model/im_mysql_model/group_model.go
index 60b470685..0795769f5 100644
--- a/pkg/common/db/mysql_model/im_mysql_model/group_model.go
+++ b/pkg/common/db/mysql_model/im_mysql_model/group_model.go
@@ -56,3 +56,27 @@ func SetGroupInfo(groupInfo db.Group) error {
err = dbConn.Table("groups").Where("group_id=?", groupInfo.GroupID).Update(&groupInfo).Error
return err
}
+
+func GetGroupByName(groupName string) (db.Group, error) {
+ dbConn, err := db.DB.MysqlDB.DefaultGormDB()
+ var group db.Group
+ if err != nil {
+ return group, err
+ }
+ dbConn.LogMode(true)
+ err = dbConn.Table("groups").Where("group_id=?", groupName).Find(&group).Error
+ return group, err
+}
+
+func GetGroups(pageNumber, showNumber int) ([]db.Group, error) {
+ dbConn, err := db.DB.MysqlDB.DefaultGormDB()
+ var groups []db.Group
+ if err != nil {
+ return groups, err
+ }
+ dbConn.LogMode(true)
+ err = dbConn.Table("groups").Limit(showNumber).Offset(showNumber*(pageNumber-1)).Find(&groups).Error
+ if err != nil {
+ return groups, err
+ }
+}
\ No newline at end of file
diff --git a/pkg/common/db/mysql_model/im_mysql_model/user_model.go b/pkg/common/db/mysql_model/im_mysql_model/user_model.go
index c313840d8..b1be24d8b 100644
--- a/pkg/common/db/mysql_model/im_mysql_model/user_model.go
+++ b/pkg/common/db/mysql_model/im_mysql_model/user_model.go
@@ -20,7 +20,7 @@ func init() {
} else {
continue
}
- var appMgr db.User
+ var appMgr db.Users
appMgr.UserID = v
appMgr.Nickname = "AppManager" + utils.IntToString(k+1)
appMgr.AppMangerLevel = constant.AppAdmin
@@ -32,7 +32,7 @@ func init() {
}
}
-func UserRegister(user db.User) error {
+func UserRegister(user db.Users) error {
dbConn, err := db.DB.MysqlDB.DefaultGormDB()
if err != nil {
return err
@@ -68,16 +68,16 @@ func DeleteUser(userID string) (i int64) {
if err != nil {
return 0
}
- i = dbConn.Table("users").Where("user_id=?", userID).Delete(db.User{}).RowsAffected
+ i = dbConn.Table("users").Where("user_id=?", userID).Delete(db.Users{}).RowsAffected
return i
}
-func GetUserByUserID(userID string) (*db.User, error) {
+func GetUserByUserID(userID string) (*db.Users, error) {
dbConn, err := db.DB.MysqlDB.DefaultGormDB()
if err != nil {
return nil, err
}
- var user db.User
+ var user db.Users
err = dbConn.Table("users").Where("user_id=?", userID).First(&user).Error
if err != nil {
return nil, err
@@ -85,7 +85,7 @@ func GetUserByUserID(userID string) (*db.User, error) {
return &user, nil
}
-func UpdateUserInfo(user db.User) error {
+func UpdateUserInfo(user db.Users) error {
dbConn, err := db.DB.MysqlDB.DefaultGormDB()
if err != nil {
return err
@@ -123,16 +123,138 @@ func SelectSomeUserID(userIDList []string) ([]string, error) {
return resultArr, nil
}
-func GetUsers(showNumber, pageNumber int32) ([]User, error) {
+func GetUsers(showNumber, pageNumber int32) ([]db.Users, error) {
dbConn, err := db.DB.MysqlDB.DefaultGormDB()
+ var users []db.Users
+ if err != nil {
+ return users, err
+ }
dbConn.LogMode(true)
- var users []User
+ err = dbConn.Limit(showNumber).Offset(showNumber*(pageNumber-1)).Find(&users).Error
if err != nil {
return users, err
}
- err = dbConn.Limit(showNumber).Offset(pageNumber).Find(&users).Error
- if err != nil {
- return users, err
- }
- return users, nil
+ return users, err
}
+
+func GetUsersNumCount() (int, error) {
+ dbConn, err := db.DB.MysqlDB.DefaultGormDB()
+ if err != nil {
+ return 0, err
+ }
+ dbConn.LogMode(true)
+ var count int
+ if err := dbConn.Model(&db.Users{}).Count(&count).Error; err != nil {
+ return 0, err
+ }
+ return count, nil
+}
+
+func AddUser(userId, phoneNumber, name string) error {
+ dbConn, err := db.DB.MysqlDB.DefaultGormDB()
+ if err != nil {
+ return err
+ }
+ user := db.Users{
+ PhoneNumber:phoneNumber,
+ Birth:time.Now(),
+ CreateTime:time.Now(),
+ UserID: userId,
+ Nickname:name,
+ }
+ result := dbConn.Create(&user)
+ return result.Error
+}
+
+func UserIsBlock(userId string) (bool, error) {
+ dbConn, err := db.DB.MysqlDB.DefaultGormDB()
+ if err != nil {
+ return false, err
+ }
+ var user db.BlackList
+ rows := dbConn.Table("black_list").Where("uid=?", userId).First(&user).RowsAffected
+ if rows >= 1 {
+ return true, nil
+ }
+ return false, nil
+}
+
+func BlockUser(userId, endDisableTime string) error {
+ dbConn, err := db.DB.MysqlDB.DefaultGormDB()
+ if err != nil {
+ return err
+ }
+ end, err := time.Parse("2006-01-02 15:04:05", endDisableTime)
+ if err != nil {
+ return err
+ }
+ if end.Before(time.Now()) {
+ return constant.ErrDB
+ }
+ var user db.BlackList
+ dbConn.Table("black_list").Where("uid=?", userId).First(&user)
+ if user.UserId != "" {
+ dbConn.Model(&user).Where("uid=?", user.UserId).Update("end_disable_time", end)
+ return nil
+ }
+ user = db.BlackList{
+ UserId: userId,
+ BeginDisableTime: time.Now(),
+ EndDisableTime: end,
+ }
+ result := dbConn.Create(&user)
+ return result.Error
+}
+
+func UnBlockUser(userId string) error {
+ dbConn, err := db.DB.MysqlDB.DefaultGormDB()
+ if err != nil {
+ return err
+ }
+ dbConn.LogMode(true)
+ fmt.Println(userId)
+ result := dbConn.Where("uid=?", userId).Delete(&db.BlackList{})
+ return result.Error
+}
+
+func GetBlockUsersID(showNumber, pageNumber int32) ([]string, error) {
+ dbConn, err := db.DB.MysqlDB.DefaultGormDB()
+ var blockUsers []db.BlackList
+ var blockUserIds []string
+ if err != nil {
+ return blockUserIds, err
+ }
+ dbConn.LogMode(true)
+ err = dbConn.Limit(showNumber).Offset(showNumber*(pageNumber-1)).Find(&blockUsers).Error
+ if err != nil {
+ return blockUserIds, err
+ }
+ for _, v := range blockUsers {
+ blockUserIds = append(blockUserIds, v.UserId)
+ }
+ return blockUserIds, err
+}
+
+func GetBlockUsers(userIds []string) ([]db.Users, error){
+ dbConn, err := db.DB.MysqlDB.DefaultGormDB()
+ var blockUsers []db.Users
+ if err != nil {
+ return blockUsers, err
+ }
+ dbConn.LogMode(true)
+ dbConn.Find(&blockUsers,userIds)
+ return blockUsers, err
+}
+
+func GetBlockUsersNumCount() (int, error) {
+ dbConn, err := db.DB.MysqlDB.DefaultGormDB()
+ if err != nil {
+ return 0, err
+ }
+ dbConn.LogMode(true)
+ var count int
+ if err := dbConn.Model(&db.BlackList{}).Count(&count).Error; err != nil {
+ return 0, err
+ }
+ return count, nil
+}
\ No newline at end of file
diff --git a/pkg/common/http/http_resp.go b/pkg/common/http/http_resp.go
index 7cf3acc4f..f268b715a 100644
--- a/pkg/common/http/http_resp.go
+++ b/pkg/common/http/http_resp.go
@@ -2,6 +2,7 @@ package http
import (
"Open_IM/pkg/common/constant"
+ //"Open_IM/pkg/cms_api_struct"
"net/http"
"github.com/gin-gonic/gin"
@@ -13,11 +14,20 @@ type BaseResp struct {
Data interface{} `json:"data"`
}
-func RespHttp200(ctx *gin.Context, err constant.ErrInfo, data interface{}) {
- resp := BaseResp{
- Code: err.Code(),
- ErrMsg: err.Error(),
- Data: data,
+func RespHttp200(ctx *gin.Context, err error, data interface{}) {
+ var resp BaseResp
+ if v, ok := err.(constant.ErrInfo); ok {
+ resp.Code = v.Code()
+ resp.ErrMsg = v.Error()
+ } else {
+ resp.Code = constant.ErrServer.Code()
+ resp.ErrMsg = constant.ErrServer.Error()
}
+ resp.Data=data
ctx.JSON(http.StatusOK, resp)
}
+
+
+//func CheckErr(pb interface{}) constant.ErrInfo{
+//
+//}
\ No newline at end of file
diff --git a/pkg/common/utils/utils.go b/pkg/common/utils/utils.go
index 2fbcf1930..bd0c2a15d 100644
--- a/pkg/common/utils/utils.go
+++ b/pkg/common/utils/utils.go
@@ -128,19 +128,19 @@ func GroupRequestDBCopyOpenIM(dst *open_im_sdk.GroupRequest, src *db.GroupReques
dst.HandleTime = uint32(src.HandledTime.Unix())
}
-func UserOpenIMCopyDB(dst *db.User, src *open_im_sdk.UserInfo) {
+func UserOpenIMCopyDB(dst *db.Users, src *open_im_sdk.UserInfo) {
utils.CopyStructFields(dst, src)
dst.Birth = utils.UnixSecondToTime(int64(src.Birth))
dst.CreateTime = utils.UnixSecondToTime(int64(src.CreateTime))
}
-func UserDBCopyOpenIM(dst *open_im_sdk.UserInfo, src *db.User) {
+func UserDBCopyOpenIM(dst *open_im_sdk.UserInfo, src *db.Users) {
utils.CopyStructFields(dst, src)
dst.CreateTime = uint32(src.CreateTime.Unix())
dst.Birth = uint32(src.Birth.Unix())
}
-func UserDBCopyOpenIMPublicUser(dst *open_im_sdk.PublicUserInfo, src *db.User) {
+func UserDBCopyOpenIMPublicUser(dst *open_im_sdk.PublicUserInfo, src *db.Users) {
utils.CopyStructFields(dst, src)
}
diff --git a/pkg/proto/group/group.pb.go b/pkg/proto/group/group.pb.go
index 15741944a..174355bca 100644
--- a/pkg/proto/group/group.pb.go
+++ b/pkg/proto/group/group.pb.go
@@ -1,1771 +1,3217 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.27.1
+// protoc v3.15.5
// source: group/group.proto
-package group // import "./group"
-
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
-import sdk_ws "Open_IM/pkg/proto/sdk_ws"
+package group
import (
- context "golang.org/x/net/context"
+ sdk_ws "Open_IM/pkg/proto/sdk_ws"
+ context "context"
grpc "google.golang.org/grpc"
+ codes "google.golang.org/grpc/codes"
+ status "google.golang.org/grpc/status"
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+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 CommonResp struct {
- ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"`
- ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"`
+ ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"`
}
-func (m *CommonResp) Reset() { *m = CommonResp{} }
-func (m *CommonResp) String() string { return proto.CompactTextString(m) }
-func (*CommonResp) ProtoMessage() {}
+func (x *CommonResp) Reset() {
+ *x = CommonResp{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CommonResp) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CommonResp) ProtoMessage() {}
+
+func (x *CommonResp) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 CommonResp.ProtoReflect.Descriptor instead.
func (*CommonResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{0}
-}
-func (m *CommonResp) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CommonResp.Unmarshal(m, b)
-}
-func (m *CommonResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CommonResp.Marshal(b, m, deterministic)
-}
-func (dst *CommonResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CommonResp.Merge(dst, src)
-}
-func (m *CommonResp) XXX_Size() int {
- return xxx_messageInfo_CommonResp.Size(m)
-}
-func (m *CommonResp) XXX_DiscardUnknown() {
- xxx_messageInfo_CommonResp.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{0}
}
-var xxx_messageInfo_CommonResp proto.InternalMessageInfo
-
-func (m *CommonResp) GetErrCode() int32 {
- if m != nil {
- return m.ErrCode
+func (x *CommonResp) GetErrCode() int32 {
+ if x != nil {
+ return x.ErrCode
}
return 0
}
-func (m *CommonResp) GetErrMsg() string {
- if m != nil {
- return m.ErrMsg
+func (x *CommonResp) GetErrMsg() string {
+ if x != nil {
+ return x.ErrMsg
}
return ""
}
type GroupAddMemberInfo struct {
- UserID string `protobuf:"bytes,1,opt,name=UserID" json:"UserID,omitempty"`
- RoleLevel int32 `protobuf:"varint,2,opt,name=RoleLevel" json:"RoleLevel,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ UserID string `protobuf:"bytes,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
+ RoleLevel int32 `protobuf:"varint,2,opt,name=RoleLevel,proto3" json:"RoleLevel,omitempty"`
}
-func (m *GroupAddMemberInfo) Reset() { *m = GroupAddMemberInfo{} }
-func (m *GroupAddMemberInfo) String() string { return proto.CompactTextString(m) }
-func (*GroupAddMemberInfo) ProtoMessage() {}
+func (x *GroupAddMemberInfo) Reset() {
+ *x = GroupAddMemberInfo{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GroupAddMemberInfo) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GroupAddMemberInfo) ProtoMessage() {}
+
+func (x *GroupAddMemberInfo) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GroupAddMemberInfo.ProtoReflect.Descriptor instead.
func (*GroupAddMemberInfo) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{1}
-}
-func (m *GroupAddMemberInfo) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GroupAddMemberInfo.Unmarshal(m, b)
-}
-func (m *GroupAddMemberInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GroupAddMemberInfo.Marshal(b, m, deterministic)
-}
-func (dst *GroupAddMemberInfo) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GroupAddMemberInfo.Merge(dst, src)
-}
-func (m *GroupAddMemberInfo) XXX_Size() int {
- return xxx_messageInfo_GroupAddMemberInfo.Size(m)
-}
-func (m *GroupAddMemberInfo) XXX_DiscardUnknown() {
- xxx_messageInfo_GroupAddMemberInfo.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{1}
}
-var xxx_messageInfo_GroupAddMemberInfo proto.InternalMessageInfo
-
-func (m *GroupAddMemberInfo) GetUserID() string {
- if m != nil {
- return m.UserID
+func (x *GroupAddMemberInfo) GetUserID() string {
+ if x != nil {
+ return x.UserID
}
return ""
}
-func (m *GroupAddMemberInfo) GetRoleLevel() int32 {
- if m != nil {
- return m.RoleLevel
+func (x *GroupAddMemberInfo) GetRoleLevel() int32 {
+ if x != nil {
+ return x.RoleLevel
}
return 0
}
type CreateGroupReq struct {
- InitMemberList []*GroupAddMemberInfo `protobuf:"bytes,1,rep,name=InitMemberList" json:"InitMemberList,omitempty"`
- GroupInfo *sdk_ws.GroupInfo `protobuf:"bytes,2,opt,name=GroupInfo" json:"GroupInfo,omitempty"`
- OperationID string `protobuf:"bytes,3,opt,name=OperationID" json:"OperationID,omitempty"`
- OpUserID string `protobuf:"bytes,4,opt,name=OpUserID" json:"OpUserID,omitempty"`
- OwnerUserID string `protobuf:"bytes,5,opt,name=OwnerUserID" json:"OwnerUserID,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ InitMemberList []*GroupAddMemberInfo `protobuf:"bytes,1,rep,name=InitMemberList,proto3" json:"InitMemberList,omitempty"`
+ GroupInfo *sdk_ws.GroupInfo `protobuf:"bytes,2,opt,name=GroupInfo,proto3" json:"GroupInfo,omitempty"`
+ OperationID string `protobuf:"bytes,3,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
+ OpUserID string `protobuf:"bytes,4,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` //app manager or group owner
+ OwnerUserID string `protobuf:"bytes,5,opt,name=OwnerUserID,proto3" json:"OwnerUserID,omitempty"` //owner
}
-func (m *CreateGroupReq) Reset() { *m = CreateGroupReq{} }
-func (m *CreateGroupReq) String() string { return proto.CompactTextString(m) }
-func (*CreateGroupReq) ProtoMessage() {}
+func (x *CreateGroupReq) Reset() {
+ *x = CreateGroupReq{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CreateGroupReq) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CreateGroupReq) ProtoMessage() {}
+
+func (x *CreateGroupReq) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 CreateGroupReq.ProtoReflect.Descriptor instead.
func (*CreateGroupReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{2}
-}
-func (m *CreateGroupReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateGroupReq.Unmarshal(m, b)
-}
-func (m *CreateGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateGroupReq.Marshal(b, m, deterministic)
-}
-func (dst *CreateGroupReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateGroupReq.Merge(dst, src)
-}
-func (m *CreateGroupReq) XXX_Size() int {
- return xxx_messageInfo_CreateGroupReq.Size(m)
-}
-func (m *CreateGroupReq) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateGroupReq.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{2}
}
-var xxx_messageInfo_CreateGroupReq proto.InternalMessageInfo
-
-func (m *CreateGroupReq) GetInitMemberList() []*GroupAddMemberInfo {
- if m != nil {
- return m.InitMemberList
+func (x *CreateGroupReq) GetInitMemberList() []*GroupAddMemberInfo {
+ if x != nil {
+ return x.InitMemberList
}
return nil
}
-func (m *CreateGroupReq) GetGroupInfo() *sdk_ws.GroupInfo {
- if m != nil {
- return m.GroupInfo
+func (x *CreateGroupReq) GetGroupInfo() *sdk_ws.GroupInfo {
+ if x != nil {
+ return x.GroupInfo
}
return nil
}
-func (m *CreateGroupReq) GetOperationID() string {
- if m != nil {
- return m.OperationID
+func (x *CreateGroupReq) GetOperationID() string {
+ if x != nil {
+ return x.OperationID
}
return ""
}
-func (m *CreateGroupReq) GetOpUserID() string {
- if m != nil {
- return m.OpUserID
+func (x *CreateGroupReq) GetOpUserID() string {
+ if x != nil {
+ return x.OpUserID
}
return ""
}
-func (m *CreateGroupReq) GetOwnerUserID() string {
- if m != nil {
- return m.OwnerUserID
+func (x *CreateGroupReq) GetOwnerUserID() string {
+ if x != nil {
+ return x.OwnerUserID
}
return ""
}
type CreateGroupResp struct {
- ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"`
- ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"`
- GroupInfo *sdk_ws.GroupInfo `protobuf:"bytes,3,opt,name=GroupInfo" json:"GroupInfo,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"`
+ ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"`
+ GroupInfo *sdk_ws.GroupInfo `protobuf:"bytes,3,opt,name=GroupInfo,proto3" json:"GroupInfo,omitempty"`
}
-func (m *CreateGroupResp) Reset() { *m = CreateGroupResp{} }
-func (m *CreateGroupResp) String() string { return proto.CompactTextString(m) }
-func (*CreateGroupResp) ProtoMessage() {}
+func (x *CreateGroupResp) Reset() {
+ *x = CreateGroupResp{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *CreateGroupResp) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CreateGroupResp) ProtoMessage() {}
+
+func (x *CreateGroupResp) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 CreateGroupResp.ProtoReflect.Descriptor instead.
func (*CreateGroupResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{3}
-}
-func (m *CreateGroupResp) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateGroupResp.Unmarshal(m, b)
-}
-func (m *CreateGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateGroupResp.Marshal(b, m, deterministic)
-}
-func (dst *CreateGroupResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateGroupResp.Merge(dst, src)
-}
-func (m *CreateGroupResp) XXX_Size() int {
- return xxx_messageInfo_CreateGroupResp.Size(m)
-}
-func (m *CreateGroupResp) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateGroupResp.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{3}
}
-var xxx_messageInfo_CreateGroupResp proto.InternalMessageInfo
-
-func (m *CreateGroupResp) GetErrCode() int32 {
- if m != nil {
- return m.ErrCode
+func (x *CreateGroupResp) GetErrCode() int32 {
+ if x != nil {
+ return x.ErrCode
}
return 0
}
-func (m *CreateGroupResp) GetErrMsg() string {
- if m != nil {
- return m.ErrMsg
+func (x *CreateGroupResp) GetErrMsg() string {
+ if x != nil {
+ return x.ErrMsg
}
return ""
}
-func (m *CreateGroupResp) GetGroupInfo() *sdk_ws.GroupInfo {
- if m != nil {
- return m.GroupInfo
+func (x *CreateGroupResp) GetGroupInfo() *sdk_ws.GroupInfo {
+ if x != nil {
+ return x.GroupInfo
}
return nil
}
type GetGroupsInfoReq struct {
- GroupIDList []string `protobuf:"bytes,1,rep,name=GroupIDList" json:"GroupIDList,omitempty"`
- OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"`
- OpUserID string `protobuf:"bytes,3,opt,name=OpUserID" json:"OpUserID,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ GroupIDList []string `protobuf:"bytes,1,rep,name=GroupIDList,proto3" json:"GroupIDList,omitempty"`
+ OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
+ OpUserID string `protobuf:"bytes,3,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` //No verification permission
}
-func (m *GetGroupsInfoReq) Reset() { *m = GetGroupsInfoReq{} }
-func (m *GetGroupsInfoReq) String() string { return proto.CompactTextString(m) }
-func (*GetGroupsInfoReq) ProtoMessage() {}
+func (x *GetGroupsInfoReq) Reset() {
+ *x = GetGroupsInfoReq{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetGroupsInfoReq) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetGroupsInfoReq) ProtoMessage() {}
+
+func (x *GetGroupsInfoReq) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GetGroupsInfoReq.ProtoReflect.Descriptor instead.
func (*GetGroupsInfoReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{4}
-}
-func (m *GetGroupsInfoReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetGroupsInfoReq.Unmarshal(m, b)
-}
-func (m *GetGroupsInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetGroupsInfoReq.Marshal(b, m, deterministic)
-}
-func (dst *GetGroupsInfoReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetGroupsInfoReq.Merge(dst, src)
-}
-func (m *GetGroupsInfoReq) XXX_Size() int {
- return xxx_messageInfo_GetGroupsInfoReq.Size(m)
-}
-func (m *GetGroupsInfoReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetGroupsInfoReq.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{4}
}
-var xxx_messageInfo_GetGroupsInfoReq proto.InternalMessageInfo
-
-func (m *GetGroupsInfoReq) GetGroupIDList() []string {
- if m != nil {
- return m.GroupIDList
+func (x *GetGroupsInfoReq) GetGroupIDList() []string {
+ if x != nil {
+ return x.GroupIDList
}
return nil
}
-func (m *GetGroupsInfoReq) GetOperationID() string {
- if m != nil {
- return m.OperationID
+func (x *GetGroupsInfoReq) GetOperationID() string {
+ if x != nil {
+ return x.OperationID
}
return ""
}
-func (m *GetGroupsInfoReq) GetOpUserID() string {
- if m != nil {
- return m.OpUserID
+func (x *GetGroupsInfoReq) GetOpUserID() string {
+ if x != nil {
+ return x.OpUserID
}
return ""
}
type GetGroupsInfoResp struct {
- ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"`
- ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"`
- GroupInfoList []*sdk_ws.GroupInfo `protobuf:"bytes,3,rep,name=GroupInfoList" json:"GroupInfoList,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"`
+ ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"`
+ GroupInfoList []*sdk_ws.GroupInfo `protobuf:"bytes,3,rep,name=GroupInfoList,proto3" json:"GroupInfoList,omitempty"`
}
-func (m *GetGroupsInfoResp) Reset() { *m = GetGroupsInfoResp{} }
-func (m *GetGroupsInfoResp) String() string { return proto.CompactTextString(m) }
-func (*GetGroupsInfoResp) ProtoMessage() {}
+func (x *GetGroupsInfoResp) Reset() {
+ *x = GetGroupsInfoResp{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetGroupsInfoResp) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetGroupsInfoResp) ProtoMessage() {}
+
+func (x *GetGroupsInfoResp) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GetGroupsInfoResp.ProtoReflect.Descriptor instead.
func (*GetGroupsInfoResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{5}
-}
-func (m *GetGroupsInfoResp) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetGroupsInfoResp.Unmarshal(m, b)
-}
-func (m *GetGroupsInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetGroupsInfoResp.Marshal(b, m, deterministic)
-}
-func (dst *GetGroupsInfoResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetGroupsInfoResp.Merge(dst, src)
-}
-func (m *GetGroupsInfoResp) XXX_Size() int {
- return xxx_messageInfo_GetGroupsInfoResp.Size(m)
-}
-func (m *GetGroupsInfoResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GetGroupsInfoResp.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{5}
}
-var xxx_messageInfo_GetGroupsInfoResp proto.InternalMessageInfo
-
-func (m *GetGroupsInfoResp) GetErrCode() int32 {
- if m != nil {
- return m.ErrCode
+func (x *GetGroupsInfoResp) GetErrCode() int32 {
+ if x != nil {
+ return x.ErrCode
}
return 0
}
-func (m *GetGroupsInfoResp) GetErrMsg() string {
- if m != nil {
- return m.ErrMsg
+func (x *GetGroupsInfoResp) GetErrMsg() string {
+ if x != nil {
+ return x.ErrMsg
}
return ""
}
-func (m *GetGroupsInfoResp) GetGroupInfoList() []*sdk_ws.GroupInfo {
- if m != nil {
- return m.GroupInfoList
+func (x *GetGroupsInfoResp) GetGroupInfoList() []*sdk_ws.GroupInfo {
+ if x != nil {
+ return x.GroupInfoList
}
return nil
}
type SetGroupInfoReq struct {
- GroupInfo *sdk_ws.GroupInfo `protobuf:"bytes,1,opt,name=GroupInfo" json:"GroupInfo,omitempty"`
- OpUserID string `protobuf:"bytes,2,opt,name=OpUserID" json:"OpUserID,omitempty"`
- OperationID string `protobuf:"bytes,3,opt,name=OperationID" json:"OperationID,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ GroupInfo *sdk_ws.GroupInfo `protobuf:"bytes,1,opt,name=GroupInfo,proto3" json:"GroupInfo,omitempty"`
+ OpUserID string `protobuf:"bytes,2,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` //app manager or group owner
+ OperationID string `protobuf:"bytes,3,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
}
-func (m *SetGroupInfoReq) Reset() { *m = SetGroupInfoReq{} }
-func (m *SetGroupInfoReq) String() string { return proto.CompactTextString(m) }
-func (*SetGroupInfoReq) ProtoMessage() {}
+func (x *SetGroupInfoReq) Reset() {
+ *x = SetGroupInfoReq{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetGroupInfoReq) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SetGroupInfoReq) ProtoMessage() {}
+
+func (x *SetGroupInfoReq) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 SetGroupInfoReq.ProtoReflect.Descriptor instead.
func (*SetGroupInfoReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{6}
-}
-func (m *SetGroupInfoReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetGroupInfoReq.Unmarshal(m, b)
-}
-func (m *SetGroupInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetGroupInfoReq.Marshal(b, m, deterministic)
-}
-func (dst *SetGroupInfoReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetGroupInfoReq.Merge(dst, src)
-}
-func (m *SetGroupInfoReq) XXX_Size() int {
- return xxx_messageInfo_SetGroupInfoReq.Size(m)
-}
-func (m *SetGroupInfoReq) XXX_DiscardUnknown() {
- xxx_messageInfo_SetGroupInfoReq.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{6}
}
-var xxx_messageInfo_SetGroupInfoReq proto.InternalMessageInfo
-
-func (m *SetGroupInfoReq) GetGroupInfo() *sdk_ws.GroupInfo {
- if m != nil {
- return m.GroupInfo
+func (x *SetGroupInfoReq) GetGroupInfo() *sdk_ws.GroupInfo {
+ if x != nil {
+ return x.GroupInfo
}
return nil
}
-func (m *SetGroupInfoReq) GetOpUserID() string {
- if m != nil {
- return m.OpUserID
+func (x *SetGroupInfoReq) GetOpUserID() string {
+ if x != nil {
+ return x.OpUserID
}
return ""
}
-func (m *SetGroupInfoReq) GetOperationID() string {
- if m != nil {
- return m.OperationID
+func (x *SetGroupInfoReq) GetOperationID() string {
+ if x != nil {
+ return x.OperationID
}
return ""
}
type SetGroupInfoResp struct {
- CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"`
}
-func (m *SetGroupInfoResp) Reset() { *m = SetGroupInfoResp{} }
-func (m *SetGroupInfoResp) String() string { return proto.CompactTextString(m) }
-func (*SetGroupInfoResp) ProtoMessage() {}
+func (x *SetGroupInfoResp) Reset() {
+ *x = SetGroupInfoResp{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SetGroupInfoResp) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SetGroupInfoResp) ProtoMessage() {}
+
+func (x *SetGroupInfoResp) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 SetGroupInfoResp.ProtoReflect.Descriptor instead.
func (*SetGroupInfoResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{7}
-}
-func (m *SetGroupInfoResp) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetGroupInfoResp.Unmarshal(m, b)
-}
-func (m *SetGroupInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetGroupInfoResp.Marshal(b, m, deterministic)
-}
-func (dst *SetGroupInfoResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetGroupInfoResp.Merge(dst, src)
-}
-func (m *SetGroupInfoResp) XXX_Size() int {
- return xxx_messageInfo_SetGroupInfoResp.Size(m)
-}
-func (m *SetGroupInfoResp) XXX_DiscardUnknown() {
- xxx_messageInfo_SetGroupInfoResp.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{7}
}
-var xxx_messageInfo_SetGroupInfoResp proto.InternalMessageInfo
-
-func (m *SetGroupInfoResp) GetCommonResp() *CommonResp {
- if m != nil {
- return m.CommonResp
+func (x *SetGroupInfoResp) GetCommonResp() *CommonResp {
+ if x != nil {
+ return x.CommonResp
}
return nil
}
type GetGroupApplicationListReq struct {
- OpUserID string `protobuf:"bytes,1,opt,name=OpUserID" json:"OpUserID,omitempty"`
- OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"`
- FromUserID string `protobuf:"bytes,3,opt,name=FromUserID" json:"FromUserID,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ OpUserID string `protobuf:"bytes,1,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` //app manager or group owner(manager)
+ OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
+ FromUserID string `protobuf:"bytes,3,opt,name=FromUserID,proto3" json:"FromUserID,omitempty"` //owner or manager
}
-func (m *GetGroupApplicationListReq) Reset() { *m = GetGroupApplicationListReq{} }
-func (m *GetGroupApplicationListReq) String() string { return proto.CompactTextString(m) }
-func (*GetGroupApplicationListReq) ProtoMessage() {}
+func (x *GetGroupApplicationListReq) Reset() {
+ *x = GetGroupApplicationListReq{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetGroupApplicationListReq) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetGroupApplicationListReq) ProtoMessage() {}
+
+func (x *GetGroupApplicationListReq) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GetGroupApplicationListReq.ProtoReflect.Descriptor instead.
func (*GetGroupApplicationListReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{8}
-}
-func (m *GetGroupApplicationListReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetGroupApplicationListReq.Unmarshal(m, b)
-}
-func (m *GetGroupApplicationListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetGroupApplicationListReq.Marshal(b, m, deterministic)
-}
-func (dst *GetGroupApplicationListReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetGroupApplicationListReq.Merge(dst, src)
-}
-func (m *GetGroupApplicationListReq) XXX_Size() int {
- return xxx_messageInfo_GetGroupApplicationListReq.Size(m)
-}
-func (m *GetGroupApplicationListReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetGroupApplicationListReq.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{8}
}
-var xxx_messageInfo_GetGroupApplicationListReq proto.InternalMessageInfo
-
-func (m *GetGroupApplicationListReq) GetOpUserID() string {
- if m != nil {
- return m.OpUserID
+func (x *GetGroupApplicationListReq) GetOpUserID() string {
+ if x != nil {
+ return x.OpUserID
}
return ""
}
-func (m *GetGroupApplicationListReq) GetOperationID() string {
- if m != nil {
- return m.OperationID
+func (x *GetGroupApplicationListReq) GetOperationID() string {
+ if x != nil {
+ return x.OperationID
}
return ""
}
-func (m *GetGroupApplicationListReq) GetFromUserID() string {
- if m != nil {
- return m.FromUserID
+func (x *GetGroupApplicationListReq) GetFromUserID() string {
+ if x != nil {
+ return x.FromUserID
}
return ""
}
type GetGroupApplicationListResp struct {
- ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"`
- ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"`
- GroupRequestList []*sdk_ws.GroupRequest `protobuf:"bytes,3,rep,name=GroupRequestList" json:"GroupRequestList,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"`
+ ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"`
+ GroupRequestList []*sdk_ws.GroupRequest `protobuf:"bytes,3,rep,name=GroupRequestList,proto3" json:"GroupRequestList,omitempty"`
}
-func (m *GetGroupApplicationListResp) Reset() { *m = GetGroupApplicationListResp{} }
-func (m *GetGroupApplicationListResp) String() string { return proto.CompactTextString(m) }
-func (*GetGroupApplicationListResp) ProtoMessage() {}
+func (x *GetGroupApplicationListResp) Reset() {
+ *x = GetGroupApplicationListResp{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetGroupApplicationListResp) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetGroupApplicationListResp) ProtoMessage() {}
+
+func (x *GetGroupApplicationListResp) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GetGroupApplicationListResp.ProtoReflect.Descriptor instead.
func (*GetGroupApplicationListResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{9}
-}
-func (m *GetGroupApplicationListResp) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetGroupApplicationListResp.Unmarshal(m, b)
-}
-func (m *GetGroupApplicationListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetGroupApplicationListResp.Marshal(b, m, deterministic)
-}
-func (dst *GetGroupApplicationListResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetGroupApplicationListResp.Merge(dst, src)
-}
-func (m *GetGroupApplicationListResp) XXX_Size() int {
- return xxx_messageInfo_GetGroupApplicationListResp.Size(m)
-}
-func (m *GetGroupApplicationListResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GetGroupApplicationListResp.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{9}
}
-var xxx_messageInfo_GetGroupApplicationListResp proto.InternalMessageInfo
-
-func (m *GetGroupApplicationListResp) GetErrCode() int32 {
- if m != nil {
- return m.ErrCode
+func (x *GetGroupApplicationListResp) GetErrCode() int32 {
+ if x != nil {
+ return x.ErrCode
}
return 0
}
-func (m *GetGroupApplicationListResp) GetErrMsg() string {
- if m != nil {
- return m.ErrMsg
+func (x *GetGroupApplicationListResp) GetErrMsg() string {
+ if x != nil {
+ return x.ErrMsg
}
return ""
}
-func (m *GetGroupApplicationListResp) GetGroupRequestList() []*sdk_ws.GroupRequest {
- if m != nil {
- return m.GroupRequestList
+func (x *GetGroupApplicationListResp) GetGroupRequestList() []*sdk_ws.GroupRequest {
+ if x != nil {
+ return x.GroupRequestList
}
return nil
}
type TransferGroupOwnerReq struct {
- GroupID string `protobuf:"bytes,1,opt,name=GroupID" json:"GroupID,omitempty"`
- OldOwnerUserID string `protobuf:"bytes,2,opt,name=OldOwnerUserID" json:"OldOwnerUserID,omitempty"`
- NewOwnerUserID string `protobuf:"bytes,3,opt,name=NewOwnerUserID" json:"NewOwnerUserID,omitempty"`
- OperationID string `protobuf:"bytes,4,opt,name=OperationID" json:"OperationID,omitempty"`
- OpUserID string `protobuf:"bytes,5,opt,name=OpUserID" json:"OpUserID,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ GroupID string `protobuf:"bytes,1,opt,name=GroupID,proto3" json:"GroupID,omitempty"`
+ OldOwnerUserID string `protobuf:"bytes,2,opt,name=OldOwnerUserID,proto3" json:"OldOwnerUserID,omitempty"`
+ NewOwnerUserID string `protobuf:"bytes,3,opt,name=NewOwnerUserID,proto3" json:"NewOwnerUserID,omitempty"`
+ OperationID string `protobuf:"bytes,4,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
+ OpUserID string `protobuf:"bytes,5,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` //app manager or group owner
}
-func (m *TransferGroupOwnerReq) Reset() { *m = TransferGroupOwnerReq{} }
-func (m *TransferGroupOwnerReq) String() string { return proto.CompactTextString(m) }
-func (*TransferGroupOwnerReq) ProtoMessage() {}
+func (x *TransferGroupOwnerReq) Reset() {
+ *x = TransferGroupOwnerReq{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TransferGroupOwnerReq) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TransferGroupOwnerReq) ProtoMessage() {}
+
+func (x *TransferGroupOwnerReq) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 TransferGroupOwnerReq.ProtoReflect.Descriptor instead.
func (*TransferGroupOwnerReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{10}
-}
-func (m *TransferGroupOwnerReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_TransferGroupOwnerReq.Unmarshal(m, b)
-}
-func (m *TransferGroupOwnerReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_TransferGroupOwnerReq.Marshal(b, m, deterministic)
-}
-func (dst *TransferGroupOwnerReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TransferGroupOwnerReq.Merge(dst, src)
-}
-func (m *TransferGroupOwnerReq) XXX_Size() int {
- return xxx_messageInfo_TransferGroupOwnerReq.Size(m)
-}
-func (m *TransferGroupOwnerReq) XXX_DiscardUnknown() {
- xxx_messageInfo_TransferGroupOwnerReq.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{10}
}
-var xxx_messageInfo_TransferGroupOwnerReq proto.InternalMessageInfo
-
-func (m *TransferGroupOwnerReq) GetGroupID() string {
- if m != nil {
- return m.GroupID
+func (x *TransferGroupOwnerReq) GetGroupID() string {
+ if x != nil {
+ return x.GroupID
}
return ""
}
-func (m *TransferGroupOwnerReq) GetOldOwnerUserID() string {
- if m != nil {
- return m.OldOwnerUserID
+func (x *TransferGroupOwnerReq) GetOldOwnerUserID() string {
+ if x != nil {
+ return x.OldOwnerUserID
}
return ""
}
-func (m *TransferGroupOwnerReq) GetNewOwnerUserID() string {
- if m != nil {
- return m.NewOwnerUserID
+func (x *TransferGroupOwnerReq) GetNewOwnerUserID() string {
+ if x != nil {
+ return x.NewOwnerUserID
}
return ""
}
-func (m *TransferGroupOwnerReq) GetOperationID() string {
- if m != nil {
- return m.OperationID
+func (x *TransferGroupOwnerReq) GetOperationID() string {
+ if x != nil {
+ return x.OperationID
}
return ""
}
-func (m *TransferGroupOwnerReq) GetOpUserID() string {
- if m != nil {
- return m.OpUserID
+func (x *TransferGroupOwnerReq) GetOpUserID() string {
+ if x != nil {
+ return x.OpUserID
}
return ""
}
type TransferGroupOwnerResp struct {
- CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"`
}
-func (m *TransferGroupOwnerResp) Reset() { *m = TransferGroupOwnerResp{} }
-func (m *TransferGroupOwnerResp) String() string { return proto.CompactTextString(m) }
-func (*TransferGroupOwnerResp) ProtoMessage() {}
+func (x *TransferGroupOwnerResp) Reset() {
+ *x = TransferGroupOwnerResp{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[11]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TransferGroupOwnerResp) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TransferGroupOwnerResp) ProtoMessage() {}
+
+func (x *TransferGroupOwnerResp) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 TransferGroupOwnerResp.ProtoReflect.Descriptor instead.
func (*TransferGroupOwnerResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{11}
-}
-func (m *TransferGroupOwnerResp) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_TransferGroupOwnerResp.Unmarshal(m, b)
-}
-func (m *TransferGroupOwnerResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_TransferGroupOwnerResp.Marshal(b, m, deterministic)
-}
-func (dst *TransferGroupOwnerResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TransferGroupOwnerResp.Merge(dst, src)
-}
-func (m *TransferGroupOwnerResp) XXX_Size() int {
- return xxx_messageInfo_TransferGroupOwnerResp.Size(m)
-}
-func (m *TransferGroupOwnerResp) XXX_DiscardUnknown() {
- xxx_messageInfo_TransferGroupOwnerResp.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{11}
}
-var xxx_messageInfo_TransferGroupOwnerResp proto.InternalMessageInfo
-
-func (m *TransferGroupOwnerResp) GetCommonResp() *CommonResp {
- if m != nil {
- return m.CommonResp
+func (x *TransferGroupOwnerResp) GetCommonResp() *CommonResp {
+ if x != nil {
+ return x.CommonResp
}
return nil
}
type JoinGroupReq struct {
- GroupID string `protobuf:"bytes,1,opt,name=GroupID" json:"GroupID,omitempty"`
- ReqMessage string `protobuf:"bytes,2,opt,name=ReqMessage" json:"ReqMessage,omitempty"`
- OpUserID string `protobuf:"bytes,3,opt,name=OpUserID" json:"OpUserID,omitempty"`
- OperationID string `protobuf:"bytes,4,opt,name=OperationID" json:"OperationID,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ GroupID string `protobuf:"bytes,1,opt,name=GroupID,proto3" json:"GroupID,omitempty"`
+ ReqMessage string `protobuf:"bytes,2,opt,name=ReqMessage,proto3" json:"ReqMessage,omitempty"`
+ OpUserID string `protobuf:"bytes,3,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"`
+ OperationID string `protobuf:"bytes,4,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
}
-func (m *JoinGroupReq) Reset() { *m = JoinGroupReq{} }
-func (m *JoinGroupReq) String() string { return proto.CompactTextString(m) }
-func (*JoinGroupReq) ProtoMessage() {}
+func (x *JoinGroupReq) Reset() {
+ *x = JoinGroupReq{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[12]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *JoinGroupReq) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*JoinGroupReq) ProtoMessage() {}
+
+func (x *JoinGroupReq) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 JoinGroupReq.ProtoReflect.Descriptor instead.
func (*JoinGroupReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{12}
-}
-func (m *JoinGroupReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_JoinGroupReq.Unmarshal(m, b)
-}
-func (m *JoinGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_JoinGroupReq.Marshal(b, m, deterministic)
-}
-func (dst *JoinGroupReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_JoinGroupReq.Merge(dst, src)
-}
-func (m *JoinGroupReq) XXX_Size() int {
- return xxx_messageInfo_JoinGroupReq.Size(m)
-}
-func (m *JoinGroupReq) XXX_DiscardUnknown() {
- xxx_messageInfo_JoinGroupReq.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{12}
}
-var xxx_messageInfo_JoinGroupReq proto.InternalMessageInfo
-
-func (m *JoinGroupReq) GetGroupID() string {
- if m != nil {
- return m.GroupID
+func (x *JoinGroupReq) GetGroupID() string {
+ if x != nil {
+ return x.GroupID
}
return ""
}
-func (m *JoinGroupReq) GetReqMessage() string {
- if m != nil {
- return m.ReqMessage
+func (x *JoinGroupReq) GetReqMessage() string {
+ if x != nil {
+ return x.ReqMessage
}
return ""
}
-func (m *JoinGroupReq) GetOpUserID() string {
- if m != nil {
- return m.OpUserID
+func (x *JoinGroupReq) GetOpUserID() string {
+ if x != nil {
+ return x.OpUserID
}
return ""
}
-func (m *JoinGroupReq) GetOperationID() string {
- if m != nil {
- return m.OperationID
+func (x *JoinGroupReq) GetOperationID() string {
+ if x != nil {
+ return x.OperationID
}
return ""
}
type JoinGroupResp struct {
- CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"`
}
-func (m *JoinGroupResp) Reset() { *m = JoinGroupResp{} }
-func (m *JoinGroupResp) String() string { return proto.CompactTextString(m) }
-func (*JoinGroupResp) ProtoMessage() {}
+func (x *JoinGroupResp) Reset() {
+ *x = JoinGroupResp{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[13]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *JoinGroupResp) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*JoinGroupResp) ProtoMessage() {}
+
+func (x *JoinGroupResp) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 JoinGroupResp.ProtoReflect.Descriptor instead.
func (*JoinGroupResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{13}
-}
-func (m *JoinGroupResp) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_JoinGroupResp.Unmarshal(m, b)
-}
-func (m *JoinGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_JoinGroupResp.Marshal(b, m, deterministic)
-}
-func (dst *JoinGroupResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_JoinGroupResp.Merge(dst, src)
-}
-func (m *JoinGroupResp) XXX_Size() int {
- return xxx_messageInfo_JoinGroupResp.Size(m)
-}
-func (m *JoinGroupResp) XXX_DiscardUnknown() {
- xxx_messageInfo_JoinGroupResp.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{13}
}
-var xxx_messageInfo_JoinGroupResp proto.InternalMessageInfo
-
-func (m *JoinGroupResp) GetCommonResp() *CommonResp {
- if m != nil {
- return m.CommonResp
+func (x *JoinGroupResp) GetCommonResp() *CommonResp {
+ if x != nil {
+ return x.CommonResp
}
return nil
}
type GroupApplicationResponseReq struct {
- OperationID string `protobuf:"bytes,1,opt,name=OperationID" json:"OperationID,omitempty"`
- OpUserID string `protobuf:"bytes,2,opt,name=OpUserID" json:"OpUserID,omitempty"`
- GroupID string `protobuf:"bytes,3,opt,name=GroupID" json:"GroupID,omitempty"`
- FromUserID string `protobuf:"bytes,4,opt,name=FromUserID" json:"FromUserID,omitempty"`
- HandledMsg string `protobuf:"bytes,5,opt,name=HandledMsg" json:"HandledMsg,omitempty"`
- HandleResult int32 `protobuf:"varint,6,opt,name=HandleResult" json:"HandleResult,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ OperationID string `protobuf:"bytes,1,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
+ OpUserID string `protobuf:"bytes,2,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"`
+ GroupID string `protobuf:"bytes,3,opt,name=GroupID,proto3" json:"GroupID,omitempty"`
+ FromUserID string `protobuf:"bytes,4,opt,name=FromUserID,proto3" json:"FromUserID,omitempty"` //
+ HandledMsg string `protobuf:"bytes,5,opt,name=HandledMsg,proto3" json:"HandledMsg,omitempty"`
+ HandleResult int32 `protobuf:"varint,6,opt,name=HandleResult,proto3" json:"HandleResult,omitempty"`
}
-func (m *GroupApplicationResponseReq) Reset() { *m = GroupApplicationResponseReq{} }
-func (m *GroupApplicationResponseReq) String() string { return proto.CompactTextString(m) }
-func (*GroupApplicationResponseReq) ProtoMessage() {}
+func (x *GroupApplicationResponseReq) Reset() {
+ *x = GroupApplicationResponseReq{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[14]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GroupApplicationResponseReq) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GroupApplicationResponseReq) ProtoMessage() {}
+
+func (x *GroupApplicationResponseReq) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GroupApplicationResponseReq.ProtoReflect.Descriptor instead.
func (*GroupApplicationResponseReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{14}
-}
-func (m *GroupApplicationResponseReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GroupApplicationResponseReq.Unmarshal(m, b)
-}
-func (m *GroupApplicationResponseReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GroupApplicationResponseReq.Marshal(b, m, deterministic)
-}
-func (dst *GroupApplicationResponseReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GroupApplicationResponseReq.Merge(dst, src)
-}
-func (m *GroupApplicationResponseReq) XXX_Size() int {
- return xxx_messageInfo_GroupApplicationResponseReq.Size(m)
-}
-func (m *GroupApplicationResponseReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GroupApplicationResponseReq.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{14}
}
-var xxx_messageInfo_GroupApplicationResponseReq proto.InternalMessageInfo
-
-func (m *GroupApplicationResponseReq) GetOperationID() string {
- if m != nil {
- return m.OperationID
+func (x *GroupApplicationResponseReq) GetOperationID() string {
+ if x != nil {
+ return x.OperationID
}
return ""
}
-func (m *GroupApplicationResponseReq) GetOpUserID() string {
- if m != nil {
- return m.OpUserID
+func (x *GroupApplicationResponseReq) GetOpUserID() string {
+ if x != nil {
+ return x.OpUserID
}
return ""
}
-func (m *GroupApplicationResponseReq) GetGroupID() string {
- if m != nil {
- return m.GroupID
+func (x *GroupApplicationResponseReq) GetGroupID() string {
+ if x != nil {
+ return x.GroupID
}
return ""
}
-func (m *GroupApplicationResponseReq) GetFromUserID() string {
- if m != nil {
- return m.FromUserID
+func (x *GroupApplicationResponseReq) GetFromUserID() string {
+ if x != nil {
+ return x.FromUserID
}
return ""
}
-func (m *GroupApplicationResponseReq) GetHandledMsg() string {
- if m != nil {
- return m.HandledMsg
+func (x *GroupApplicationResponseReq) GetHandledMsg() string {
+ if x != nil {
+ return x.HandledMsg
}
return ""
}
-func (m *GroupApplicationResponseReq) GetHandleResult() int32 {
- if m != nil {
- return m.HandleResult
+func (x *GroupApplicationResponseReq) GetHandleResult() int32 {
+ if x != nil {
+ return x.HandleResult
}
return 0
}
type GroupApplicationResponseResp struct {
- CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"`
}
-func (m *GroupApplicationResponseResp) Reset() { *m = GroupApplicationResponseResp{} }
-func (m *GroupApplicationResponseResp) String() string { return proto.CompactTextString(m) }
-func (*GroupApplicationResponseResp) ProtoMessage() {}
+func (x *GroupApplicationResponseResp) Reset() {
+ *x = GroupApplicationResponseResp{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[15]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GroupApplicationResponseResp) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GroupApplicationResponseResp) ProtoMessage() {}
+
+func (x *GroupApplicationResponseResp) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GroupApplicationResponseResp.ProtoReflect.Descriptor instead.
func (*GroupApplicationResponseResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{15}
-}
-func (m *GroupApplicationResponseResp) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GroupApplicationResponseResp.Unmarshal(m, b)
-}
-func (m *GroupApplicationResponseResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GroupApplicationResponseResp.Marshal(b, m, deterministic)
-}
-func (dst *GroupApplicationResponseResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GroupApplicationResponseResp.Merge(dst, src)
-}
-func (m *GroupApplicationResponseResp) XXX_Size() int {
- return xxx_messageInfo_GroupApplicationResponseResp.Size(m)
-}
-func (m *GroupApplicationResponseResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GroupApplicationResponseResp.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{15}
}
-var xxx_messageInfo_GroupApplicationResponseResp proto.InternalMessageInfo
-
-func (m *GroupApplicationResponseResp) GetCommonResp() *CommonResp {
- if m != nil {
- return m.CommonResp
+func (x *GroupApplicationResponseResp) GetCommonResp() *CommonResp {
+ if x != nil {
+ return x.CommonResp
}
return nil
}
type QuitGroupReq struct {
- GroupID string `protobuf:"bytes,1,opt,name=GroupID" json:"GroupID,omitempty"`
- OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"`
- OpUserID string `protobuf:"bytes,3,opt,name=OpUserID" json:"OpUserID,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ GroupID string `protobuf:"bytes,1,opt,name=GroupID,proto3" json:"GroupID,omitempty"`
+ OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
+ OpUserID string `protobuf:"bytes,3,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"`
}
-func (m *QuitGroupReq) Reset() { *m = QuitGroupReq{} }
-func (m *QuitGroupReq) String() string { return proto.CompactTextString(m) }
-func (*QuitGroupReq) ProtoMessage() {}
+func (x *QuitGroupReq) Reset() {
+ *x = QuitGroupReq{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[16]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *QuitGroupReq) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*QuitGroupReq) ProtoMessage() {}
+
+func (x *QuitGroupReq) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 QuitGroupReq.ProtoReflect.Descriptor instead.
func (*QuitGroupReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{16}
-}
-func (m *QuitGroupReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_QuitGroupReq.Unmarshal(m, b)
-}
-func (m *QuitGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_QuitGroupReq.Marshal(b, m, deterministic)
-}
-func (dst *QuitGroupReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_QuitGroupReq.Merge(dst, src)
-}
-func (m *QuitGroupReq) XXX_Size() int {
- return xxx_messageInfo_QuitGroupReq.Size(m)
-}
-func (m *QuitGroupReq) XXX_DiscardUnknown() {
- xxx_messageInfo_QuitGroupReq.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{16}
}
-var xxx_messageInfo_QuitGroupReq proto.InternalMessageInfo
-
-func (m *QuitGroupReq) GetGroupID() string {
- if m != nil {
- return m.GroupID
+func (x *QuitGroupReq) GetGroupID() string {
+ if x != nil {
+ return x.GroupID
}
return ""
}
-func (m *QuitGroupReq) GetOperationID() string {
- if m != nil {
- return m.OperationID
+func (x *QuitGroupReq) GetOperationID() string {
+ if x != nil {
+ return x.OperationID
}
return ""
}
-func (m *QuitGroupReq) GetOpUserID() string {
- if m != nil {
- return m.OpUserID
+func (x *QuitGroupReq) GetOpUserID() string {
+ if x != nil {
+ return x.OpUserID
}
return ""
}
type QuitGroupResp struct {
- CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp" json:"CommonResp,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"`
}
-func (m *QuitGroupResp) Reset() { *m = QuitGroupResp{} }
-func (m *QuitGroupResp) String() string { return proto.CompactTextString(m) }
-func (*QuitGroupResp) ProtoMessage() {}
+func (x *QuitGroupResp) Reset() {
+ *x = QuitGroupResp{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[17]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *QuitGroupResp) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*QuitGroupResp) ProtoMessage() {}
+
+func (x *QuitGroupResp) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 QuitGroupResp.ProtoReflect.Descriptor instead.
func (*QuitGroupResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{17}
-}
-func (m *QuitGroupResp) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_QuitGroupResp.Unmarshal(m, b)
-}
-func (m *QuitGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_QuitGroupResp.Marshal(b, m, deterministic)
-}
-func (dst *QuitGroupResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_QuitGroupResp.Merge(dst, src)
-}
-func (m *QuitGroupResp) XXX_Size() int {
- return xxx_messageInfo_QuitGroupResp.Size(m)
-}
-func (m *QuitGroupResp) XXX_DiscardUnknown() {
- xxx_messageInfo_QuitGroupResp.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{17}
}
-var xxx_messageInfo_QuitGroupResp proto.InternalMessageInfo
-
-func (m *QuitGroupResp) GetCommonResp() *CommonResp {
- if m != nil {
- return m.CommonResp
+func (x *QuitGroupResp) GetCommonResp() *CommonResp {
+ if x != nil {
+ return x.CommonResp
}
return nil
}
type GetGroupMemberListReq struct {
- GroupID string `protobuf:"bytes,1,opt,name=GroupID" json:"GroupID,omitempty"`
- OpUserID string `protobuf:"bytes,2,opt,name=OpUserID" json:"OpUserID,omitempty"`
- OperationID string `protobuf:"bytes,3,opt,name=OperationID" json:"OperationID,omitempty"`
- Filter int32 `protobuf:"varint,4,opt,name=Filter" json:"Filter,omitempty"`
- NextSeq int32 `protobuf:"varint,5,opt,name=NextSeq" json:"NextSeq,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ GroupID string `protobuf:"bytes,1,opt,name=GroupID,proto3" json:"GroupID,omitempty"`
+ OpUserID string `protobuf:"bytes,2,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` //No verification permission
+ OperationID string `protobuf:"bytes,3,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
+ Filter int32 `protobuf:"varint,4,opt,name=Filter,proto3" json:"Filter,omitempty"`
+ NextSeq int32 `protobuf:"varint,5,opt,name=NextSeq,proto3" json:"NextSeq,omitempty"`
}
-func (m *GetGroupMemberListReq) Reset() { *m = GetGroupMemberListReq{} }
-func (m *GetGroupMemberListReq) String() string { return proto.CompactTextString(m) }
-func (*GetGroupMemberListReq) ProtoMessage() {}
+func (x *GetGroupMemberListReq) Reset() {
+ *x = GetGroupMemberListReq{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[18]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetGroupMemberListReq) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetGroupMemberListReq) ProtoMessage() {}
+
+func (x *GetGroupMemberListReq) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GetGroupMemberListReq.ProtoReflect.Descriptor instead.
func (*GetGroupMemberListReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{18}
-}
-func (m *GetGroupMemberListReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetGroupMemberListReq.Unmarshal(m, b)
-}
-func (m *GetGroupMemberListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetGroupMemberListReq.Marshal(b, m, deterministic)
-}
-func (dst *GetGroupMemberListReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetGroupMemberListReq.Merge(dst, src)
-}
-func (m *GetGroupMemberListReq) XXX_Size() int {
- return xxx_messageInfo_GetGroupMemberListReq.Size(m)
-}
-func (m *GetGroupMemberListReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetGroupMemberListReq.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{18}
}
-var xxx_messageInfo_GetGroupMemberListReq proto.InternalMessageInfo
-
-func (m *GetGroupMemberListReq) GetGroupID() string {
- if m != nil {
- return m.GroupID
+func (x *GetGroupMemberListReq) GetGroupID() string {
+ if x != nil {
+ return x.GroupID
}
return ""
}
-func (m *GetGroupMemberListReq) GetOpUserID() string {
- if m != nil {
- return m.OpUserID
+func (x *GetGroupMemberListReq) GetOpUserID() string {
+ if x != nil {
+ return x.OpUserID
}
return ""
}
-func (m *GetGroupMemberListReq) GetOperationID() string {
- if m != nil {
- return m.OperationID
+func (x *GetGroupMemberListReq) GetOperationID() string {
+ if x != nil {
+ return x.OperationID
}
return ""
}
-func (m *GetGroupMemberListReq) GetFilter() int32 {
- if m != nil {
- return m.Filter
+func (x *GetGroupMemberListReq) GetFilter() int32 {
+ if x != nil {
+ return x.Filter
}
return 0
}
-func (m *GetGroupMemberListReq) GetNextSeq() int32 {
- if m != nil {
- return m.NextSeq
+func (x *GetGroupMemberListReq) GetNextSeq() int32 {
+ if x != nil {
+ return x.NextSeq
}
return 0
}
type GetGroupMemberListResp struct {
- ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"`
- ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"`
- MemberList []*sdk_ws.GroupMemberFullInfo `protobuf:"bytes,3,rep,name=memberList" json:"memberList,omitempty"`
- NextSeq int32 `protobuf:"varint,4,opt,name=nextSeq" json:"nextSeq,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"`
+ ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"`
+ MemberList []*sdk_ws.GroupMemberFullInfo `protobuf:"bytes,3,rep,name=memberList,proto3" json:"memberList,omitempty"`
+ NextSeq int32 `protobuf:"varint,4,opt,name=nextSeq,proto3" json:"nextSeq,omitempty"`
}
-func (m *GetGroupMemberListResp) Reset() { *m = GetGroupMemberListResp{} }
-func (m *GetGroupMemberListResp) String() string { return proto.CompactTextString(m) }
-func (*GetGroupMemberListResp) ProtoMessage() {}
+func (x *GetGroupMemberListResp) Reset() {
+ *x = GetGroupMemberListResp{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[19]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetGroupMemberListResp) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetGroupMemberListResp) ProtoMessage() {}
+
+func (x *GetGroupMemberListResp) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GetGroupMemberListResp.ProtoReflect.Descriptor instead.
func (*GetGroupMemberListResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{19}
-}
-func (m *GetGroupMemberListResp) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetGroupMemberListResp.Unmarshal(m, b)
-}
-func (m *GetGroupMemberListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetGroupMemberListResp.Marshal(b, m, deterministic)
-}
-func (dst *GetGroupMemberListResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetGroupMemberListResp.Merge(dst, src)
-}
-func (m *GetGroupMemberListResp) XXX_Size() int {
- return xxx_messageInfo_GetGroupMemberListResp.Size(m)
-}
-func (m *GetGroupMemberListResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GetGroupMemberListResp.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{19}
}
-var xxx_messageInfo_GetGroupMemberListResp proto.InternalMessageInfo
-
-func (m *GetGroupMemberListResp) GetErrCode() int32 {
- if m != nil {
- return m.ErrCode
+func (x *GetGroupMemberListResp) GetErrCode() int32 {
+ if x != nil {
+ return x.ErrCode
}
return 0
}
-func (m *GetGroupMemberListResp) GetErrMsg() string {
- if m != nil {
- return m.ErrMsg
+func (x *GetGroupMemberListResp) GetErrMsg() string {
+ if x != nil {
+ return x.ErrMsg
}
return ""
}
-func (m *GetGroupMemberListResp) GetMemberList() []*sdk_ws.GroupMemberFullInfo {
- if m != nil {
- return m.MemberList
+func (x *GetGroupMemberListResp) GetMemberList() []*sdk_ws.GroupMemberFullInfo {
+ if x != nil {
+ return x.MemberList
}
return nil
}
-func (m *GetGroupMemberListResp) GetNextSeq() int32 {
- if m != nil {
- return m.NextSeq
+func (x *GetGroupMemberListResp) GetNextSeq() int32 {
+ if x != nil {
+ return x.NextSeq
}
return 0
}
type GetGroupMembersInfoReq struct {
- GroupID string `protobuf:"bytes,1,opt,name=GroupID" json:"GroupID,omitempty"`
- MemberList []string `protobuf:"bytes,2,rep,name=memberList" json:"memberList,omitempty"`
- OpUserID string `protobuf:"bytes,3,opt,name=OpUserID" json:"OpUserID,omitempty"`
- OperationID string `protobuf:"bytes,4,opt,name=OperationID" json:"OperationID,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ GroupID string `protobuf:"bytes,1,opt,name=GroupID,proto3" json:"GroupID,omitempty"`
+ MemberList []string `protobuf:"bytes,2,rep,name=memberList,proto3" json:"memberList,omitempty"`
+ OpUserID string `protobuf:"bytes,3,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` //No verification permission
+ OperationID string `protobuf:"bytes,4,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
}
-func (m *GetGroupMembersInfoReq) Reset() { *m = GetGroupMembersInfoReq{} }
-func (m *GetGroupMembersInfoReq) String() string { return proto.CompactTextString(m) }
-func (*GetGroupMembersInfoReq) ProtoMessage() {}
+func (x *GetGroupMembersInfoReq) Reset() {
+ *x = GetGroupMembersInfoReq{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[20]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetGroupMembersInfoReq) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetGroupMembersInfoReq) ProtoMessage() {}
+
+func (x *GetGroupMembersInfoReq) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GetGroupMembersInfoReq.ProtoReflect.Descriptor instead.
func (*GetGroupMembersInfoReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{20}
-}
-func (m *GetGroupMembersInfoReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetGroupMembersInfoReq.Unmarshal(m, b)
-}
-func (m *GetGroupMembersInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetGroupMembersInfoReq.Marshal(b, m, deterministic)
-}
-func (dst *GetGroupMembersInfoReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetGroupMembersInfoReq.Merge(dst, src)
-}
-func (m *GetGroupMembersInfoReq) XXX_Size() int {
- return xxx_messageInfo_GetGroupMembersInfoReq.Size(m)
-}
-func (m *GetGroupMembersInfoReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetGroupMembersInfoReq.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{20}
}
-var xxx_messageInfo_GetGroupMembersInfoReq proto.InternalMessageInfo
-
-func (m *GetGroupMembersInfoReq) GetGroupID() string {
- if m != nil {
- return m.GroupID
+func (x *GetGroupMembersInfoReq) GetGroupID() string {
+ if x != nil {
+ return x.GroupID
}
return ""
}
-func (m *GetGroupMembersInfoReq) GetMemberList() []string {
- if m != nil {
- return m.MemberList
+func (x *GetGroupMembersInfoReq) GetMemberList() []string {
+ if x != nil {
+ return x.MemberList
}
return nil
}
-func (m *GetGroupMembersInfoReq) GetOpUserID() string {
- if m != nil {
- return m.OpUserID
+func (x *GetGroupMembersInfoReq) GetOpUserID() string {
+ if x != nil {
+ return x.OpUserID
}
return ""
}
-func (m *GetGroupMembersInfoReq) GetOperationID() string {
- if m != nil {
- return m.OperationID
+func (x *GetGroupMembersInfoReq) GetOperationID() string {
+ if x != nil {
+ return x.OperationID
}
return ""
}
type GetGroupMembersInfoResp struct {
- ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"`
- ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"`
- MemberList []*sdk_ws.GroupMemberFullInfo `protobuf:"bytes,3,rep,name=memberList" json:"memberList,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"`
+ ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"`
+ MemberList []*sdk_ws.GroupMemberFullInfo `protobuf:"bytes,3,rep,name=memberList,proto3" json:"memberList,omitempty"`
}
-func (m *GetGroupMembersInfoResp) Reset() { *m = GetGroupMembersInfoResp{} }
-func (m *GetGroupMembersInfoResp) String() string { return proto.CompactTextString(m) }
-func (*GetGroupMembersInfoResp) ProtoMessage() {}
+func (x *GetGroupMembersInfoResp) Reset() {
+ *x = GetGroupMembersInfoResp{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[21]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetGroupMembersInfoResp) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetGroupMembersInfoResp) ProtoMessage() {}
+
+func (x *GetGroupMembersInfoResp) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GetGroupMembersInfoResp.ProtoReflect.Descriptor instead.
func (*GetGroupMembersInfoResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{21}
-}
-func (m *GetGroupMembersInfoResp) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetGroupMembersInfoResp.Unmarshal(m, b)
-}
-func (m *GetGroupMembersInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetGroupMembersInfoResp.Marshal(b, m, deterministic)
-}
-func (dst *GetGroupMembersInfoResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetGroupMembersInfoResp.Merge(dst, src)
-}
-func (m *GetGroupMembersInfoResp) XXX_Size() int {
- return xxx_messageInfo_GetGroupMembersInfoResp.Size(m)
-}
-func (m *GetGroupMembersInfoResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GetGroupMembersInfoResp.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{21}
}
-var xxx_messageInfo_GetGroupMembersInfoResp proto.InternalMessageInfo
-
-func (m *GetGroupMembersInfoResp) GetErrCode() int32 {
- if m != nil {
- return m.ErrCode
+func (x *GetGroupMembersInfoResp) GetErrCode() int32 {
+ if x != nil {
+ return x.ErrCode
}
return 0
}
-func (m *GetGroupMembersInfoResp) GetErrMsg() string {
- if m != nil {
- return m.ErrMsg
+func (x *GetGroupMembersInfoResp) GetErrMsg() string {
+ if x != nil {
+ return x.ErrMsg
}
return ""
}
-func (m *GetGroupMembersInfoResp) GetMemberList() []*sdk_ws.GroupMemberFullInfo {
- if m != nil {
- return m.MemberList
+func (x *GetGroupMembersInfoResp) GetMemberList() []*sdk_ws.GroupMemberFullInfo {
+ if x != nil {
+ return x.MemberList
}
return nil
}
type KickGroupMemberReq struct {
- GroupID string `protobuf:"bytes,1,opt,name=GroupID" json:"GroupID,omitempty"`
- KickedUserIDList []string `protobuf:"bytes,2,rep,name=KickedUserIDList" json:"KickedUserIDList,omitempty"`
- Reason string `protobuf:"bytes,3,opt,name=Reason" json:"Reason,omitempty"`
- OperationID string `protobuf:"bytes,5,opt,name=OperationID" json:"OperationID,omitempty"`
- OpUserID string `protobuf:"bytes,6,opt,name=OpUserID" json:"OpUserID,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ GroupID string `protobuf:"bytes,1,opt,name=GroupID,proto3" json:"GroupID,omitempty"`
+ KickedUserIDList []string `protobuf:"bytes,2,rep,name=KickedUserIDList,proto3" json:"KickedUserIDList,omitempty"`
+ Reason string `protobuf:"bytes,3,opt,name=Reason,proto3" json:"Reason,omitempty"`
+ OperationID string `protobuf:"bytes,5,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
+ OpUserID string `protobuf:"bytes,6,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` //app manger or group manager
}
-func (m *KickGroupMemberReq) Reset() { *m = KickGroupMemberReq{} }
-func (m *KickGroupMemberReq) String() string { return proto.CompactTextString(m) }
-func (*KickGroupMemberReq) ProtoMessage() {}
+func (x *KickGroupMemberReq) Reset() {
+ *x = KickGroupMemberReq{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[22]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *KickGroupMemberReq) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*KickGroupMemberReq) ProtoMessage() {}
+
+func (x *KickGroupMemberReq) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 KickGroupMemberReq.ProtoReflect.Descriptor instead.
func (*KickGroupMemberReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{22}
-}
-func (m *KickGroupMemberReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_KickGroupMemberReq.Unmarshal(m, b)
-}
-func (m *KickGroupMemberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_KickGroupMemberReq.Marshal(b, m, deterministic)
-}
-func (dst *KickGroupMemberReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_KickGroupMemberReq.Merge(dst, src)
-}
-func (m *KickGroupMemberReq) XXX_Size() int {
- return xxx_messageInfo_KickGroupMemberReq.Size(m)
-}
-func (m *KickGroupMemberReq) XXX_DiscardUnknown() {
- xxx_messageInfo_KickGroupMemberReq.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{22}
}
-var xxx_messageInfo_KickGroupMemberReq proto.InternalMessageInfo
-
-func (m *KickGroupMemberReq) GetGroupID() string {
- if m != nil {
- return m.GroupID
+func (x *KickGroupMemberReq) GetGroupID() string {
+ if x != nil {
+ return x.GroupID
}
return ""
}
-func (m *KickGroupMemberReq) GetKickedUserIDList() []string {
- if m != nil {
- return m.KickedUserIDList
+func (x *KickGroupMemberReq) GetKickedUserIDList() []string {
+ if x != nil {
+ return x.KickedUserIDList
}
return nil
}
-func (m *KickGroupMemberReq) GetReason() string {
- if m != nil {
- return m.Reason
+func (x *KickGroupMemberReq) GetReason() string {
+ if x != nil {
+ return x.Reason
}
return ""
}
-func (m *KickGroupMemberReq) GetOperationID() string {
- if m != nil {
- return m.OperationID
+func (x *KickGroupMemberReq) GetOperationID() string {
+ if x != nil {
+ return x.OperationID
}
return ""
}
-func (m *KickGroupMemberReq) GetOpUserID() string {
- if m != nil {
- return m.OpUserID
+func (x *KickGroupMemberReq) GetOpUserID() string {
+ if x != nil {
+ return x.OpUserID
}
return ""
}
type Id2Result struct {
- UserID string `protobuf:"bytes,1,opt,name=UserID" json:"UserID,omitempty"`
- Result int32 `protobuf:"varint,2,opt,name=Result" json:"Result,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ UserID string `protobuf:"bytes,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
+ Result int32 `protobuf:"varint,2,opt,name=Result,proto3" json:"Result,omitempty"` //0 ok; -1 error
}
-func (m *Id2Result) Reset() { *m = Id2Result{} }
-func (m *Id2Result) String() string { return proto.CompactTextString(m) }
-func (*Id2Result) ProtoMessage() {}
+func (x *Id2Result) Reset() {
+ *x = Id2Result{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[23]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *Id2Result) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Id2Result) ProtoMessage() {}
+
+func (x *Id2Result) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 Id2Result.ProtoReflect.Descriptor instead.
func (*Id2Result) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{23}
-}
-func (m *Id2Result) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Id2Result.Unmarshal(m, b)
-}
-func (m *Id2Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Id2Result.Marshal(b, m, deterministic)
-}
-func (dst *Id2Result) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Id2Result.Merge(dst, src)
-}
-func (m *Id2Result) XXX_Size() int {
- return xxx_messageInfo_Id2Result.Size(m)
-}
-func (m *Id2Result) XXX_DiscardUnknown() {
- xxx_messageInfo_Id2Result.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{23}
}
-var xxx_messageInfo_Id2Result proto.InternalMessageInfo
-
-func (m *Id2Result) GetUserID() string {
- if m != nil {
- return m.UserID
+func (x *Id2Result) GetUserID() string {
+ if x != nil {
+ return x.UserID
}
return ""
}
-func (m *Id2Result) GetResult() int32 {
- if m != nil {
- return m.Result
+func (x *Id2Result) GetResult() int32 {
+ if x != nil {
+ return x.Result
}
return 0
}
type KickGroupMemberResp struct {
- ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"`
- ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"`
- Id2ResultList []*Id2Result `protobuf:"bytes,3,rep,name=Id2ResultList" json:"Id2ResultList,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"`
+ ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"`
+ Id2ResultList []*Id2Result `protobuf:"bytes,3,rep,name=Id2ResultList,proto3" json:"Id2ResultList,omitempty"`
}
-func (m *KickGroupMemberResp) Reset() { *m = KickGroupMemberResp{} }
-func (m *KickGroupMemberResp) String() string { return proto.CompactTextString(m) }
-func (*KickGroupMemberResp) ProtoMessage() {}
+func (x *KickGroupMemberResp) Reset() {
+ *x = KickGroupMemberResp{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[24]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *KickGroupMemberResp) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*KickGroupMemberResp) ProtoMessage() {}
+
+func (x *KickGroupMemberResp) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 KickGroupMemberResp.ProtoReflect.Descriptor instead.
func (*KickGroupMemberResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{24}
-}
-func (m *KickGroupMemberResp) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_KickGroupMemberResp.Unmarshal(m, b)
-}
-func (m *KickGroupMemberResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_KickGroupMemberResp.Marshal(b, m, deterministic)
-}
-func (dst *KickGroupMemberResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_KickGroupMemberResp.Merge(dst, src)
-}
-func (m *KickGroupMemberResp) XXX_Size() int {
- return xxx_messageInfo_KickGroupMemberResp.Size(m)
-}
-func (m *KickGroupMemberResp) XXX_DiscardUnknown() {
- xxx_messageInfo_KickGroupMemberResp.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{24}
}
-var xxx_messageInfo_KickGroupMemberResp proto.InternalMessageInfo
-
-func (m *KickGroupMemberResp) GetErrCode() int32 {
- if m != nil {
- return m.ErrCode
+func (x *KickGroupMemberResp) GetErrCode() int32 {
+ if x != nil {
+ return x.ErrCode
}
return 0
}
-func (m *KickGroupMemberResp) GetErrMsg() string {
- if m != nil {
- return m.ErrMsg
+func (x *KickGroupMemberResp) GetErrMsg() string {
+ if x != nil {
+ return x.ErrMsg
}
return ""
}
-func (m *KickGroupMemberResp) GetId2ResultList() []*Id2Result {
- if m != nil {
- return m.Id2ResultList
+func (x *KickGroupMemberResp) GetId2ResultList() []*Id2Result {
+ if x != nil {
+ return x.Id2ResultList
}
return nil
}
type GetJoinedGroupListReq struct {
- FromUserID string `protobuf:"bytes,1,opt,name=FromUserID" json:"FromUserID,omitempty"`
- OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
- OpUserID string `protobuf:"bytes,3,opt,name=OpUserID" json:"OpUserID,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ FromUserID string `protobuf:"bytes,1,opt,name=FromUserID,proto3" json:"FromUserID,omitempty"`
+ OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"`
+ OpUserID string `protobuf:"bytes,3,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` //app manager or FromUserID
}
-func (m *GetJoinedGroupListReq) Reset() { *m = GetJoinedGroupListReq{} }
-func (m *GetJoinedGroupListReq) String() string { return proto.CompactTextString(m) }
-func (*GetJoinedGroupListReq) ProtoMessage() {}
+func (x *GetJoinedGroupListReq) Reset() {
+ *x = GetJoinedGroupListReq{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[25]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetJoinedGroupListReq) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetJoinedGroupListReq) ProtoMessage() {}
+
+func (x *GetJoinedGroupListReq) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GetJoinedGroupListReq.ProtoReflect.Descriptor instead.
func (*GetJoinedGroupListReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{25}
-}
-func (m *GetJoinedGroupListReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetJoinedGroupListReq.Unmarshal(m, b)
-}
-func (m *GetJoinedGroupListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetJoinedGroupListReq.Marshal(b, m, deterministic)
-}
-func (dst *GetJoinedGroupListReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetJoinedGroupListReq.Merge(dst, src)
-}
-func (m *GetJoinedGroupListReq) XXX_Size() int {
- return xxx_messageInfo_GetJoinedGroupListReq.Size(m)
-}
-func (m *GetJoinedGroupListReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetJoinedGroupListReq.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{25}
}
-var xxx_messageInfo_GetJoinedGroupListReq proto.InternalMessageInfo
-
-func (m *GetJoinedGroupListReq) GetFromUserID() string {
- if m != nil {
- return m.FromUserID
+func (x *GetJoinedGroupListReq) GetFromUserID() string {
+ if x != nil {
+ return x.FromUserID
}
return ""
}
-func (m *GetJoinedGroupListReq) GetOperationID() string {
- if m != nil {
- return m.OperationID
+func (x *GetJoinedGroupListReq) GetOperationID() string {
+ if x != nil {
+ return x.OperationID
}
return ""
}
-func (m *GetJoinedGroupListReq) GetOpUserID() string {
- if m != nil {
- return m.OpUserID
+func (x *GetJoinedGroupListReq) GetOpUserID() string {
+ if x != nil {
+ return x.OpUserID
}
return ""
}
type GetJoinedGroupListResp struct {
- ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"`
- ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"`
- GroupList []*sdk_ws.GroupInfo `protobuf:"bytes,3,rep,name=GroupList" json:"GroupList,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"`
+ ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"`
+ GroupList []*sdk_ws.GroupInfo `protobuf:"bytes,3,rep,name=GroupList,proto3" json:"GroupList,omitempty"`
}
-func (m *GetJoinedGroupListResp) Reset() { *m = GetJoinedGroupListResp{} }
-func (m *GetJoinedGroupListResp) String() string { return proto.CompactTextString(m) }
-func (*GetJoinedGroupListResp) ProtoMessage() {}
+func (x *GetJoinedGroupListResp) Reset() {
+ *x = GetJoinedGroupListResp{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[26]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetJoinedGroupListResp) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetJoinedGroupListResp) ProtoMessage() {}
+
+func (x *GetJoinedGroupListResp) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GetJoinedGroupListResp.ProtoReflect.Descriptor instead.
func (*GetJoinedGroupListResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{26}
-}
-func (m *GetJoinedGroupListResp) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetJoinedGroupListResp.Unmarshal(m, b)
-}
-func (m *GetJoinedGroupListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetJoinedGroupListResp.Marshal(b, m, deterministic)
-}
-func (dst *GetJoinedGroupListResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetJoinedGroupListResp.Merge(dst, src)
-}
-func (m *GetJoinedGroupListResp) XXX_Size() int {
- return xxx_messageInfo_GetJoinedGroupListResp.Size(m)
-}
-func (m *GetJoinedGroupListResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GetJoinedGroupListResp.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{26}
}
-var xxx_messageInfo_GetJoinedGroupListResp proto.InternalMessageInfo
-
-func (m *GetJoinedGroupListResp) GetErrCode() int32 {
- if m != nil {
- return m.ErrCode
+func (x *GetJoinedGroupListResp) GetErrCode() int32 {
+ if x != nil {
+ return x.ErrCode
}
return 0
}
-func (m *GetJoinedGroupListResp) GetErrMsg() string {
- if m != nil {
- return m.ErrMsg
+func (x *GetJoinedGroupListResp) GetErrMsg() string {
+ if x != nil {
+ return x.ErrMsg
}
return ""
}
-func (m *GetJoinedGroupListResp) GetGroupList() []*sdk_ws.GroupInfo {
- if m != nil {
- return m.GroupList
+func (x *GetJoinedGroupListResp) GetGroupList() []*sdk_ws.GroupInfo {
+ if x != nil {
+ return x.GroupList
}
return nil
}
type InviteUserToGroupReq struct {
- OperationID string `protobuf:"bytes,2,opt,name=OperationID" json:"OperationID,omitempty"`
- GroupID string `protobuf:"bytes,3,opt,name=GroupID" json:"GroupID,omitempty"`
- Reason string `protobuf:"bytes,4,opt,name=Reason" json:"Reason,omitempty"`
- InvitedUserIDList []string `protobuf:"bytes,5,rep,name=InvitedUserIDList" json:"InvitedUserIDList,omitempty"`
- OpUserID string `protobuf:"bytes,6,opt,name=OpUserID" json:"OpUserID,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
+ GroupID string `protobuf:"bytes,3,opt,name=GroupID,proto3" json:"GroupID,omitempty"`
+ Reason string `protobuf:"bytes,4,opt,name=Reason,proto3" json:"Reason,omitempty"`
+ InvitedUserIDList []string `protobuf:"bytes,5,rep,name=InvitedUserIDList,proto3" json:"InvitedUserIDList,omitempty"`
+ OpUserID string `protobuf:"bytes,6,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` //group member or app manager
}
-func (m *InviteUserToGroupReq) Reset() { *m = InviteUserToGroupReq{} }
-func (m *InviteUserToGroupReq) String() string { return proto.CompactTextString(m) }
-func (*InviteUserToGroupReq) ProtoMessage() {}
+func (x *InviteUserToGroupReq) Reset() {
+ *x = InviteUserToGroupReq{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[27]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *InviteUserToGroupReq) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*InviteUserToGroupReq) ProtoMessage() {}
+
+func (x *InviteUserToGroupReq) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 InviteUserToGroupReq.ProtoReflect.Descriptor instead.
func (*InviteUserToGroupReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{27}
-}
-func (m *InviteUserToGroupReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_InviteUserToGroupReq.Unmarshal(m, b)
-}
-func (m *InviteUserToGroupReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_InviteUserToGroupReq.Marshal(b, m, deterministic)
-}
-func (dst *InviteUserToGroupReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_InviteUserToGroupReq.Merge(dst, src)
-}
-func (m *InviteUserToGroupReq) XXX_Size() int {
- return xxx_messageInfo_InviteUserToGroupReq.Size(m)
-}
-func (m *InviteUserToGroupReq) XXX_DiscardUnknown() {
- xxx_messageInfo_InviteUserToGroupReq.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{27}
}
-var xxx_messageInfo_InviteUserToGroupReq proto.InternalMessageInfo
-
-func (m *InviteUserToGroupReq) GetOperationID() string {
- if m != nil {
- return m.OperationID
+func (x *InviteUserToGroupReq) GetOperationID() string {
+ if x != nil {
+ return x.OperationID
}
return ""
}
-func (m *InviteUserToGroupReq) GetGroupID() string {
- if m != nil {
- return m.GroupID
+func (x *InviteUserToGroupReq) GetGroupID() string {
+ if x != nil {
+ return x.GroupID
}
return ""
}
-func (m *InviteUserToGroupReq) GetReason() string {
- if m != nil {
- return m.Reason
+func (x *InviteUserToGroupReq) GetReason() string {
+ if x != nil {
+ return x.Reason
}
return ""
}
-func (m *InviteUserToGroupReq) GetInvitedUserIDList() []string {
- if m != nil {
- return m.InvitedUserIDList
+func (x *InviteUserToGroupReq) GetInvitedUserIDList() []string {
+ if x != nil {
+ return x.InvitedUserIDList
}
return nil
}
-func (m *InviteUserToGroupReq) GetOpUserID() string {
- if m != nil {
- return m.OpUserID
+func (x *InviteUserToGroupReq) GetOpUserID() string {
+ if x != nil {
+ return x.OpUserID
}
return ""
}
type InviteUserToGroupResp struct {
- ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"`
- ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"`
- Id2ResultList []*Id2Result `protobuf:"bytes,3,rep,name=Id2ResultList" json:"Id2ResultList,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"`
+ ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"`
+ Id2ResultList []*Id2Result `protobuf:"bytes,3,rep,name=Id2ResultList,proto3" json:"Id2ResultList,omitempty"` // 0 ok, -1 error
}
-func (m *InviteUserToGroupResp) Reset() { *m = InviteUserToGroupResp{} }
-func (m *InviteUserToGroupResp) String() string { return proto.CompactTextString(m) }
-func (*InviteUserToGroupResp) ProtoMessage() {}
+func (x *InviteUserToGroupResp) Reset() {
+ *x = InviteUserToGroupResp{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[28]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *InviteUserToGroupResp) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*InviteUserToGroupResp) ProtoMessage() {}
+
+func (x *InviteUserToGroupResp) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 InviteUserToGroupResp.ProtoReflect.Descriptor instead.
func (*InviteUserToGroupResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{28}
-}
-func (m *InviteUserToGroupResp) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_InviteUserToGroupResp.Unmarshal(m, b)
-}
-func (m *InviteUserToGroupResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_InviteUserToGroupResp.Marshal(b, m, deterministic)
-}
-func (dst *InviteUserToGroupResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_InviteUserToGroupResp.Merge(dst, src)
-}
-func (m *InviteUserToGroupResp) XXX_Size() int {
- return xxx_messageInfo_InviteUserToGroupResp.Size(m)
-}
-func (m *InviteUserToGroupResp) XXX_DiscardUnknown() {
- xxx_messageInfo_InviteUserToGroupResp.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{28}
}
-var xxx_messageInfo_InviteUserToGroupResp proto.InternalMessageInfo
-
-func (m *InviteUserToGroupResp) GetErrCode() int32 {
- if m != nil {
- return m.ErrCode
+func (x *InviteUserToGroupResp) GetErrCode() int32 {
+ if x != nil {
+ return x.ErrCode
}
return 0
}
-func (m *InviteUserToGroupResp) GetErrMsg() string {
- if m != nil {
- return m.ErrMsg
+func (x *InviteUserToGroupResp) GetErrMsg() string {
+ if x != nil {
+ return x.ErrMsg
}
return ""
}
-func (m *InviteUserToGroupResp) GetId2ResultList() []*Id2Result {
- if m != nil {
- return m.Id2ResultList
+func (x *InviteUserToGroupResp) GetId2ResultList() []*Id2Result {
+ if x != nil {
+ return x.Id2ResultList
}
return nil
}
type GetGroupAllMemberReq struct {
- GroupID string `protobuf:"bytes,1,opt,name=GroupID" json:"GroupID,omitempty"`
- OpUserID string `protobuf:"bytes,2,opt,name=OpUserID" json:"OpUserID,omitempty"`
- OperationID string `protobuf:"bytes,3,opt,name=OperationID" json:"OperationID,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ GroupID string `protobuf:"bytes,1,opt,name=GroupID,proto3" json:"GroupID,omitempty"`
+ OpUserID string `protobuf:"bytes,2,opt,name=OpUserID,proto3" json:"OpUserID,omitempty"` //No verification permission
+ OperationID string `protobuf:"bytes,3,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
}
-func (m *GetGroupAllMemberReq) Reset() { *m = GetGroupAllMemberReq{} }
-func (m *GetGroupAllMemberReq) String() string { return proto.CompactTextString(m) }
-func (*GetGroupAllMemberReq) ProtoMessage() {}
+func (x *GetGroupAllMemberReq) Reset() {
+ *x = GetGroupAllMemberReq{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[29]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetGroupAllMemberReq) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetGroupAllMemberReq) ProtoMessage() {}
+
+func (x *GetGroupAllMemberReq) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GetGroupAllMemberReq.ProtoReflect.Descriptor instead.
func (*GetGroupAllMemberReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{29}
-}
-func (m *GetGroupAllMemberReq) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetGroupAllMemberReq.Unmarshal(m, b)
-}
-func (m *GetGroupAllMemberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetGroupAllMemberReq.Marshal(b, m, deterministic)
-}
-func (dst *GetGroupAllMemberReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetGroupAllMemberReq.Merge(dst, src)
-}
-func (m *GetGroupAllMemberReq) XXX_Size() int {
- return xxx_messageInfo_GetGroupAllMemberReq.Size(m)
-}
-func (m *GetGroupAllMemberReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GetGroupAllMemberReq.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{29}
}
-var xxx_messageInfo_GetGroupAllMemberReq proto.InternalMessageInfo
-
-func (m *GetGroupAllMemberReq) GetGroupID() string {
- if m != nil {
- return m.GroupID
+func (x *GetGroupAllMemberReq) GetGroupID() string {
+ if x != nil {
+ return x.GroupID
}
return ""
}
-func (m *GetGroupAllMemberReq) GetOpUserID() string {
- if m != nil {
- return m.OpUserID
+func (x *GetGroupAllMemberReq) GetOpUserID() string {
+ if x != nil {
+ return x.OpUserID
}
return ""
}
-func (m *GetGroupAllMemberReq) GetOperationID() string {
- if m != nil {
- return m.OperationID
+func (x *GetGroupAllMemberReq) GetOperationID() string {
+ if x != nil {
+ return x.OperationID
}
return ""
}
type GetGroupAllMemberResp struct {
- ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"`
- ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"`
- MemberList []*sdk_ws.GroupMemberFullInfo `protobuf:"bytes,3,rep,name=memberList" json:"memberList,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ErrCode int32 `protobuf:"varint,1,opt,name=ErrCode,proto3" json:"ErrCode,omitempty"`
+ ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg,proto3" json:"ErrMsg,omitempty"`
+ MemberList []*sdk_ws.GroupMemberFullInfo `protobuf:"bytes,3,rep,name=memberList,proto3" json:"memberList,omitempty"`
}
-func (m *GetGroupAllMemberResp) Reset() { *m = GetGroupAllMemberResp{} }
-func (m *GetGroupAllMemberResp) String() string { return proto.CompactTextString(m) }
-func (*GetGroupAllMemberResp) ProtoMessage() {}
+func (x *GetGroupAllMemberResp) Reset() {
+ *x = GetGroupAllMemberResp{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[30]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetGroupAllMemberResp) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetGroupAllMemberResp) ProtoMessage() {}
+
+func (x *GetGroupAllMemberResp) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GetGroupAllMemberResp.ProtoReflect.Descriptor instead.
func (*GetGroupAllMemberResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_group_a130b5186d308ee6, []int{30}
-}
-func (m *GetGroupAllMemberResp) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetGroupAllMemberResp.Unmarshal(m, b)
-}
-func (m *GetGroupAllMemberResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetGroupAllMemberResp.Marshal(b, m, deterministic)
-}
-func (dst *GetGroupAllMemberResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetGroupAllMemberResp.Merge(dst, src)
-}
-func (m *GetGroupAllMemberResp) XXX_Size() int {
- return xxx_messageInfo_GetGroupAllMemberResp.Size(m)
-}
-func (m *GetGroupAllMemberResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GetGroupAllMemberResp.DiscardUnknown(m)
+ return file_group_group_proto_rawDescGZIP(), []int{30}
}
-var xxx_messageInfo_GetGroupAllMemberResp proto.InternalMessageInfo
-
-func (m *GetGroupAllMemberResp) GetErrCode() int32 {
- if m != nil {
- return m.ErrCode
+func (x *GetGroupAllMemberResp) GetErrCode() int32 {
+ if x != nil {
+ return x.ErrCode
}
return 0
}
-func (m *GetGroupAllMemberResp) GetErrMsg() string {
- if m != nil {
- return m.ErrMsg
+func (x *GetGroupAllMemberResp) GetErrMsg() string {
+ if x != nil {
+ return x.ErrMsg
}
return ""
}
-func (m *GetGroupAllMemberResp) GetMemberList() []*sdk_ws.GroupMemberFullInfo {
- if m != nil {
- return m.MemberList
+func (x *GetGroupAllMemberResp) GetMemberList() []*sdk_ws.GroupMemberFullInfo {
+ if x != nil {
+ return x.MemberList
}
return nil
}
-func init() {
- proto.RegisterType((*CommonResp)(nil), "group.CommonResp")
- proto.RegisterType((*GroupAddMemberInfo)(nil), "group.GroupAddMemberInfo")
- proto.RegisterType((*CreateGroupReq)(nil), "group.CreateGroupReq")
- proto.RegisterType((*CreateGroupResp)(nil), "group.CreateGroupResp")
- proto.RegisterType((*GetGroupsInfoReq)(nil), "group.GetGroupsInfoReq")
- proto.RegisterType((*GetGroupsInfoResp)(nil), "group.GetGroupsInfoResp")
- proto.RegisterType((*SetGroupInfoReq)(nil), "group.SetGroupInfoReq")
- proto.RegisterType((*SetGroupInfoResp)(nil), "group.SetGroupInfoResp")
- proto.RegisterType((*GetGroupApplicationListReq)(nil), "group.GetGroupApplicationListReq")
- proto.RegisterType((*GetGroupApplicationListResp)(nil), "group.GetGroupApplicationListResp")
- proto.RegisterType((*TransferGroupOwnerReq)(nil), "group.TransferGroupOwnerReq")
- proto.RegisterType((*TransferGroupOwnerResp)(nil), "group.TransferGroupOwnerResp")
- proto.RegisterType((*JoinGroupReq)(nil), "group.JoinGroupReq")
- proto.RegisterType((*JoinGroupResp)(nil), "group.JoinGroupResp")
- proto.RegisterType((*GroupApplicationResponseReq)(nil), "group.GroupApplicationResponseReq")
- proto.RegisterType((*GroupApplicationResponseResp)(nil), "group.GroupApplicationResponseResp")
- proto.RegisterType((*QuitGroupReq)(nil), "group.QuitGroupReq")
- proto.RegisterType((*QuitGroupResp)(nil), "group.QuitGroupResp")
- proto.RegisterType((*GetGroupMemberListReq)(nil), "group.GetGroupMemberListReq")
- proto.RegisterType((*GetGroupMemberListResp)(nil), "group.GetGroupMemberListResp")
- proto.RegisterType((*GetGroupMembersInfoReq)(nil), "group.GetGroupMembersInfoReq")
- proto.RegisterType((*GetGroupMembersInfoResp)(nil), "group.GetGroupMembersInfoResp")
- proto.RegisterType((*KickGroupMemberReq)(nil), "group.KickGroupMemberReq")
- proto.RegisterType((*Id2Result)(nil), "group.Id2Result")
- proto.RegisterType((*KickGroupMemberResp)(nil), "group.KickGroupMemberResp")
- proto.RegisterType((*GetJoinedGroupListReq)(nil), "group.GetJoinedGroupListReq")
- proto.RegisterType((*GetJoinedGroupListResp)(nil), "group.GetJoinedGroupListResp")
- proto.RegisterType((*InviteUserToGroupReq)(nil), "group.InviteUserToGroupReq")
- proto.RegisterType((*InviteUserToGroupResp)(nil), "group.InviteUserToGroupResp")
- proto.RegisterType((*GetGroupAllMemberReq)(nil), "group.GetGroupAllMemberReq")
- proto.RegisterType((*GetGroupAllMemberResp)(nil), "group.GetGroupAllMemberResp")
+type GetGroupReq struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ GroupName string `protobuf:"bytes,1,opt,name=GroupName,proto3" json:"GroupName,omitempty"`
+ OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
+}
+
+func (x *GetGroupReq) Reset() {
+ *x = GetGroupReq{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[31]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetGroupReq) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetGroupReq) ProtoMessage() {}
+
+func (x *GetGroupReq) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GetGroupReq.ProtoReflect.Descriptor instead.
+func (*GetGroupReq) Descriptor() ([]byte, []int) {
+ return file_group_group_proto_rawDescGZIP(), []int{31}
+}
+
+func (x *GetGroupReq) GetGroupName() string {
+ if x != nil {
+ return x.GroupName
+ }
+ return ""
+}
+
+func (x *GetGroupReq) GetOperationID() string {
+ if x != nil {
+ return x.OperationID
+ }
+ return ""
+}
+
+type GetGroupResp struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ GroupInfo *sdk_ws.GroupInfo `protobuf:"bytes,1,opt,name=GroupInfo,proto3" json:"GroupInfo,omitempty"`
+}
+
+func (x *GetGroupResp) Reset() {
+ *x = GetGroupResp{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[32]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetGroupResp) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetGroupResp) ProtoMessage() {}
+
+func (x *GetGroupResp) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GetGroupResp.ProtoReflect.Descriptor instead.
+func (*GetGroupResp) Descriptor() ([]byte, []int) {
+ return file_group_group_proto_rawDescGZIP(), []int{32}
+}
+
+func (x *GetGroupResp) GetGroupInfo() *sdk_ws.GroupInfo {
+ if x != nil {
+ return x.GroupInfo
+ }
+ return nil
+}
+
+type GetGroupsReq struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Pagination *sdk_ws.RequestPagination `protobuf:"bytes,1,opt,name=Pagination,proto3" json:"Pagination,omitempty"`
+ OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
+}
+
+func (x *GetGroupsReq) Reset() {
+ *x = GetGroupsReq{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[33]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetGroupsReq) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetGroupsReq) ProtoMessage() {}
+
+func (x *GetGroupsReq) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GetGroupsReq.ProtoReflect.Descriptor instead.
+func (*GetGroupsReq) Descriptor() ([]byte, []int) {
+ return file_group_group_proto_rawDescGZIP(), []int{33}
+}
+
+func (x *GetGroupsReq) GetPagination() *sdk_ws.RequestPagination {
+ if x != nil {
+ return x.Pagination
+ }
+ return nil
+}
+
+func (x *GetGroupsReq) GetOperationID() string {
+ if x != nil {
+ return x.OperationID
+ }
+ return ""
+}
+
+type GetGroupsResp struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ GroupInfo []*sdk_ws.GroupInfo `protobuf:"bytes,1,rep,name=GroupInfo,proto3" json:"GroupInfo,omitempty"`
+}
+
+func (x *GetGroupsResp) Reset() {
+ *x = GetGroupsResp{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[34]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetGroupsResp) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetGroupsResp) ProtoMessage() {}
+
+func (x *GetGroupsResp) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GetGroupsResp.ProtoReflect.Descriptor instead.
+func (*GetGroupsResp) Descriptor() ([]byte, []int) {
+ return file_group_group_proto_rawDescGZIP(), []int{34}
+}
+
+func (x *GetGroupsResp) GetGroupInfo() []*sdk_ws.GroupInfo {
+ if x != nil {
+ return x.GroupInfo
+ }
+ return nil
+}
+
+type GetGroupMemberReq struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ GroupId string `protobuf:"bytes,1,opt,name=GroupId,proto3" json:"GroupId,omitempty"`
+ OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
+}
+
+func (x *GetGroupMemberReq) Reset() {
+ *x = GetGroupMemberReq{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_group_group_proto_msgTypes[35]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetGroupMemberReq) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetGroupMemberReq) ProtoMessage() {}
+
+func (x *GetGroupMemberReq) ProtoReflect() protoreflect.Message {
+ mi := &file_group_group_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 GetGroupMemberReq.ProtoReflect.Descriptor instead.
+func (*GetGroupMemberReq) Descriptor() ([]byte, []int) {
+ return file_group_group_proto_rawDescGZIP(), []int{35}
+}
+
+func (x *GetGroupMemberReq) GetGroupId() string {
+ if x != nil {
+ return x.GroupId
+ }
+ return ""
+}
+
+func (x *GetGroupMemberReq) GetOperationID() string {
+ if x != nil {
+ return x.OperationID
+ }
+ return ""
+}
+
+var File_group_group_proto protoreflect.FileDescriptor
+
+var file_group_group_proto_rawDesc = []byte{
+ 0x0a, 0x11, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x21, 0x4f, 0x70, 0x65, 0x6e,
+ 0x5f, 0x49, 0x4d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x64,
+ 0x6b, 0x5f, 0x77, 0x73, 0x2f, 0x77, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a,
+ 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x45,
+ 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x45, 0x72,
+ 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x4a, 0x0a,
+ 0x12, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49,
+ 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x52,
+ 0x6f, 0x6c, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09,
+ 0x52, 0x6f, 0x6c, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0xef, 0x01, 0x0a, 0x0e, 0x43, 0x72,
+ 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x41, 0x0a, 0x0e,
+ 0x49, 0x6e, 0x69, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01,
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x72, 0x6f,
+ 0x75, 0x70, 0x41, 0x64, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52,
+ 0x0e, 0x49, 0x6e, 0x69, 0x74, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12,
+ 0x3a, 0x0a, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f,
+ 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f,
+ 0x52, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x4f,
+ 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a,
+ 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x77, 0x6e,
+ 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
+ 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x7f, 0x0a, 0x0f, 0x43,
+ 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18,
+ 0x0a, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
+ 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x45, 0x72, 0x72, 0x4d,
+ 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67,
+ 0x12, 0x3a, 0x0a, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69,
+ 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66,
+ 0x6f, 0x52, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x72, 0x0a, 0x10,
+ 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71,
+ 0x12, 0x20, 0x0a, 0x0b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18,
+ 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x4c, 0x69,
+ 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49,
+ 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
+ 0x22, 0x89, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x49, 0x6e,
+ 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64,
+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65,
+ 0x12, 0x16, 0x0a, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x42, 0x0a, 0x0d, 0x47, 0x72, 0x6f, 0x75,
+ 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x1c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72,
+ 0x61, 0x6d, 0x73, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x47,
+ 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x8b, 0x01, 0x0a,
+ 0x0f, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71,
+ 0x12, 0x3a, 0x0a, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69,
+ 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66,
+ 0x6f, 0x52, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08,
+ 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
+ 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f,
+ 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x45, 0x0a, 0x10, 0x53, 0x65,
+ 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x31,
+ 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
+ 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73,
+ 0x70, 0x22, 0x7a, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x70, 0x70,
+ 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12,
+ 0x1a, 0x0a, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x4f,
+ 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1e, 0x0a,
+ 0x0a, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0a, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x9c, 0x01,
+ 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a,
+ 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
+ 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73,
+ 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12,
+ 0x4b, 0x0a, 0x10, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c,
+ 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x65, 0x72, 0x76,
+ 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x47, 0x72,
+ 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x10, 0x47, 0x72, 0x6f, 0x75,
+ 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0xbf, 0x01, 0x0a,
+ 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4f, 0x77,
+ 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49,
+ 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44,
+ 0x12, 0x26, 0x0a, 0x0e, 0x4f, 0x6c, 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72,
+ 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x4f, 0x6c, 0x64, 0x4f, 0x77, 0x6e,
+ 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x4e, 0x65, 0x77, 0x4f,
+ 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x0e, 0x4e, 0x65, 0x77, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
+ 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18,
+ 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x05,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x4b,
+ 0x0a, 0x16, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4f,
+ 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x31, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d,
+ 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67,
+ 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52,
+ 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x86, 0x01, 0x0a, 0x0c,
+ 0x4a, 0x6f, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07,
+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x47,
+ 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x52, 0x65, 0x71, 0x4d, 0x65, 0x73,
+ 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x52, 0x65, 0x71, 0x4d,
+ 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72,
+ 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72,
+ 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49,
+ 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x42, 0x0a, 0x0d, 0x4a, 0x6f, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75,
+ 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x31, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52,
+ 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x6f, 0x75,
+ 0x70, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f,
+ 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0xd9, 0x01, 0x0a, 0x1b, 0x47, 0x72, 0x6f,
+ 0x75, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f,
+ 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x4f, 0x70,
+ 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4f, 0x70,
+ 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49,
+ 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44,
+ 0x12, 0x1e, 0x0a, 0x0a, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x04,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
+ 0x12, 0x1e, 0x0a, 0x0a, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x64, 0x4d, 0x73, 0x67, 0x18, 0x05,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x64, 0x4d, 0x73, 0x67,
+ 0x12, 0x22, 0x0a, 0x0c, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
+ 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65,
+ 0x73, 0x75, 0x6c, 0x74, 0x22, 0x51, 0x0a, 0x1c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x70, 0x70,
+ 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x52, 0x65, 0x73, 0x70, 0x12, 0x31, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65,
+ 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70,
+ 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d,
+ 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x66, 0x0a, 0x0c, 0x51, 0x75, 0x69, 0x74, 0x47,
+ 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70,
+ 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49,
+ 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22,
+ 0x42, 0x0a, 0x0d, 0x51, 0x75, 0x69, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70,
+ 0x12, 0x31, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x43, 0x6f, 0x6d,
+ 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52,
+ 0x65, 0x73, 0x70, 0x22, 0xa1, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70,
+ 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a,
+ 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65,
+ 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65,
+ 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18,
+ 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x18, 0x0a,
+ 0x07, 0x4e, 0x65, 0x78, 0x74, 0x53, 0x65, 0x71, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
+ 0x4e, 0x65, 0x78, 0x74, 0x53, 0x65, 0x71, 0x22, 0xac, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x47,
+ 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
+ 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x05, 0x52, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06,
+ 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x45, 0x72,
+ 0x72, 0x4d, 0x73, 0x67, 0x12, 0x46, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69,
+ 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65,
+ 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x47, 0x72, 0x6f,
+ 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x46, 0x75, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x6f,
+ 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07,
+ 0x6e, 0x65, 0x78, 0x74, 0x53, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6e,
+ 0x65, 0x78, 0x74, 0x53, 0x65, 0x71, 0x22, 0x90, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x47, 0x72,
+ 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
+ 0x71, 0x12, 0x18, 0x0a, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x6d,
+ 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52,
+ 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x4f,
+ 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4f,
+ 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70,
+ 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x93, 0x01, 0x0a, 0x17, 0x47, 0x65,
+ 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x49, 0x6e, 0x66,
+ 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12,
+ 0x16, 0x0a, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x46, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65,
+ 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x65,
+ 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e,
+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x46, 0x75, 0x6c, 0x6c, 0x49,
+ 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22,
+ 0xb0, 0x01, 0x0a, 0x12, 0x4b, 0x69, 0x63, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d,
+ 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49,
+ 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44,
+ 0x12, 0x2a, 0x0a, 0x10, 0x4b, 0x69, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
+ 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x4b, 0x69, 0x63, 0x6b,
+ 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06,
+ 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x52, 0x65,
+ 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72,
+ 0x49, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72,
+ 0x49, 0x44, 0x22, 0x3b, 0x0a, 0x09, 0x49, 0x64, 0x32, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12,
+ 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c,
+ 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22,
+ 0x7f, 0x0a, 0x13, 0x4b, 0x69, 0x63, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62,
+ 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64,
+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65,
+ 0x12, 0x16, 0x0a, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x36, 0x0a, 0x0d, 0x49, 0x64, 0x32, 0x52,
+ 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x10, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x49, 0x64, 0x32, 0x52, 0x65, 0x73, 0x75, 0x6c,
+ 0x74, 0x52, 0x0d, 0x49, 0x64, 0x32, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4c, 0x69, 0x73, 0x74,
+ 0x22, 0x75, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x47, 0x72, 0x6f,
+ 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1e, 0x0a, 0x0a, 0x46, 0x72, 0x6f,
+ 0x6d, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x46,
+ 0x72, 0x6f, 0x6d, 0x55, 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, 0x12, 0x1a, 0x0a, 0x08, 0x4f,
+ 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4f,
+ 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x86, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4a,
+ 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
+ 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x05, 0x52, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06,
+ 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x45, 0x72,
+ 0x72, 0x4d, 0x73, 0x67, 0x12, 0x3a, 0x0a, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73,
+ 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
+ 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x47, 0x72, 0x6f, 0x75,
+ 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74,
+ 0x22, 0xb4, 0x01, 0x0a, 0x14, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x54,
+ 0x6f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65,
+ 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
+ 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x47,
+ 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x47, 0x72,
+ 0x6f, 0x75, 0x70, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18,
+ 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x2c, 0x0a,
+ 0x11, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69,
+ 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65,
+ 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x4f,
+ 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4f,
+ 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x22, 0x81, 0x01, 0x0a, 0x15, 0x49, 0x6e, 0x76, 0x69,
+ 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73,
+ 0x70, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x05, 0x52, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x45,
+ 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x45, 0x72, 0x72,
+ 0x4d, 0x73, 0x67, 0x12, 0x36, 0x0a, 0x0d, 0x49, 0x64, 0x32, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
+ 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x72, 0x6f,
+ 0x75, 0x70, 0x2e, 0x49, 0x64, 0x32, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0d, 0x49, 0x64,
+ 0x32, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x6e, 0x0a, 0x14, 0x47,
+ 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
+ 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x12, 0x1a, 0x0a,
+ 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x08, 0x4f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65,
+ 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
+ 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x91, 0x01, 0x0a, 0x15,
+ 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65,
+ 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12,
+ 0x16, 0x0a, 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x06, 0x45, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x46, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65,
+ 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x65,
+ 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e,
+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x46, 0x75, 0x6c, 0x6c, 0x49,
+ 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22,
+ 0x4d, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x12, 0x1c,
+ 0x0a, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b,
+ 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x4a,
+ 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3a,
+ 0x0a, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70,
+ 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52,
+ 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x76, 0x0a, 0x0c, 0x47, 0x65,
+ 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x12, 0x44, 0x0a, 0x0a, 0x50, 0x61,
+ 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24,
+ 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61,
+ 0x6d, 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, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x49, 0x44, 0x22, 0x4b, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52,
+ 0x65, 0x73, 0x70, 0x12, 0x3a, 0x0a, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f,
+ 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f,
+ 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70,
+ 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x22,
+ 0x4f, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65,
+ 0x72, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x20,
+ 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44,
+ 0x32, 0xa8, 0x09, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3c, 0x0a, 0x0b, 0x63, 0x72,
+ 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x15, 0x2e, 0x67, 0x72, 0x6f, 0x75,
+ 0x70, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71,
+ 0x1a, 0x16, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47,
+ 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x36, 0x0a, 0x09, 0x6a, 0x6f, 0x69, 0x6e,
+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x13, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4a, 0x6f,
+ 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x67, 0x72, 0x6f,
+ 0x75, 0x70, 0x2e, 0x4a, 0x6f, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70,
+ 0x12, 0x36, 0x0a, 0x09, 0x71, 0x75, 0x69, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x13, 0x2e,
+ 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x51, 0x75, 0x69, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
+ 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x51, 0x75, 0x69, 0x74, 0x47,
+ 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x0d, 0x67, 0x65, 0x74, 0x47,
+ 0x72, 0x6f, 0x75, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x2e, 0x67, 0x72, 0x6f, 0x75,
+ 0x70, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52,
+ 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72,
+ 0x6f, 0x75, 0x70, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3f, 0x0a, 0x0c,
+ 0x73, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x67,
+ 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x53, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66,
+ 0x6f, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x53, 0x65, 0x74,
+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x60, 0x0a,
+ 0x17, 0x67, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x21, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70,
+ 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x22, 0x2e, 0x67, 0x72,
+ 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x70, 0x70, 0x6c,
+ 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12,
+ 0x51, 0x0a, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70,
+ 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x54, 0x72,
+ 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4f, 0x77, 0x6e, 0x65, 0x72,
+ 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x54, 0x72, 0x61, 0x6e,
+ 0x73, 0x66, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65,
+ 0x73, 0x70, 0x12, 0x63, 0x0a, 0x18, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69,
+ 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22,
+ 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x70, 0x70, 0x6c,
+ 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52,
+ 0x65, 0x71, 0x1a, 0x23, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70,
+ 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x51, 0x0a, 0x12, 0x67, 0x65, 0x74, 0x47, 0x72,
+ 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1c, 0x2e,
+ 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65,
+ 0x6d, 0x62, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x67, 0x72,
+ 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62,
+ 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x54, 0x0a, 0x13, 0x67, 0x65,
+ 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x49, 0x6e, 0x66,
+ 0x6f, 0x12, 0x1d, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f,
+ 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71,
+ 0x1a, 0x1e, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75,
+ 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70,
+ 0x12, 0x48, 0x0a, 0x0f, 0x6b, 0x69, 0x63, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d,
+ 0x62, 0x65, 0x72, 0x12, 0x19, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4b, 0x69, 0x63, 0x6b,
+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x1a,
+ 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4b, 0x69, 0x63, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70,
+ 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x51, 0x0a, 0x12, 0x67, 0x65,
+ 0x74, 0x4a, 0x6f, 0x69, 0x6e, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74,
+ 0x12, 0x1c, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x69, 0x6e,
+ 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1d,
+ 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x69, 0x6e, 0x65, 0x64,
+ 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4e, 0x0a,
+ 0x11, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x47, 0x72, 0x6f,
+ 0x75, 0x70, 0x12, 0x1b, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74,
+ 0x65, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x1a,
+ 0x1c, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x55, 0x73,
+ 0x65, 0x72, 0x54, 0x6f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4e, 0x0a,
+ 0x11, 0x67, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62,
+ 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72,
+ 0x6f, 0x75, 0x70, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a,
+ 0x1c, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70,
+ 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x34, 0x0a,
+ 0x08, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x2e, 0x67, 0x72, 0x6f, 0x75,
+ 0x70, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e,
+ 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52,
+ 0x65, 0x73, 0x70, 0x12, 0x36, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73,
+ 0x12, 0x13, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75,
+ 0x70, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x65,
+ 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0f, 0x5a, 0x0d, 0x2e,
+ 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x3b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x62, 0x06, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x33,
+}
+
+var (
+ file_group_group_proto_rawDescOnce sync.Once
+ file_group_group_proto_rawDescData = file_group_group_proto_rawDesc
+)
+
+func file_group_group_proto_rawDescGZIP() []byte {
+ file_group_group_proto_rawDescOnce.Do(func() {
+ file_group_group_proto_rawDescData = protoimpl.X.CompressGZIP(file_group_group_proto_rawDescData)
+ })
+ return file_group_group_proto_rawDescData
+}
+
+var file_group_group_proto_msgTypes = make([]protoimpl.MessageInfo, 36)
+var file_group_group_proto_goTypes = []interface{}{
+ (*CommonResp)(nil), // 0: group.CommonResp
+ (*GroupAddMemberInfo)(nil), // 1: group.GroupAddMemberInfo
+ (*CreateGroupReq)(nil), // 2: group.CreateGroupReq
+ (*CreateGroupResp)(nil), // 3: group.CreateGroupResp
+ (*GetGroupsInfoReq)(nil), // 4: group.GetGroupsInfoReq
+ (*GetGroupsInfoResp)(nil), // 5: group.GetGroupsInfoResp
+ (*SetGroupInfoReq)(nil), // 6: group.SetGroupInfoReq
+ (*SetGroupInfoResp)(nil), // 7: group.SetGroupInfoResp
+ (*GetGroupApplicationListReq)(nil), // 8: group.GetGroupApplicationListReq
+ (*GetGroupApplicationListResp)(nil), // 9: group.GetGroupApplicationListResp
+ (*TransferGroupOwnerReq)(nil), // 10: group.TransferGroupOwnerReq
+ (*TransferGroupOwnerResp)(nil), // 11: group.TransferGroupOwnerResp
+ (*JoinGroupReq)(nil), // 12: group.JoinGroupReq
+ (*JoinGroupResp)(nil), // 13: group.JoinGroupResp
+ (*GroupApplicationResponseReq)(nil), // 14: group.GroupApplicationResponseReq
+ (*GroupApplicationResponseResp)(nil), // 15: group.GroupApplicationResponseResp
+ (*QuitGroupReq)(nil), // 16: group.QuitGroupReq
+ (*QuitGroupResp)(nil), // 17: group.QuitGroupResp
+ (*GetGroupMemberListReq)(nil), // 18: group.GetGroupMemberListReq
+ (*GetGroupMemberListResp)(nil), // 19: group.GetGroupMemberListResp
+ (*GetGroupMembersInfoReq)(nil), // 20: group.GetGroupMembersInfoReq
+ (*GetGroupMembersInfoResp)(nil), // 21: group.GetGroupMembersInfoResp
+ (*KickGroupMemberReq)(nil), // 22: group.KickGroupMemberReq
+ (*Id2Result)(nil), // 23: group.Id2Result
+ (*KickGroupMemberResp)(nil), // 24: group.KickGroupMemberResp
+ (*GetJoinedGroupListReq)(nil), // 25: group.GetJoinedGroupListReq
+ (*GetJoinedGroupListResp)(nil), // 26: group.GetJoinedGroupListResp
+ (*InviteUserToGroupReq)(nil), // 27: group.InviteUserToGroupReq
+ (*InviteUserToGroupResp)(nil), // 28: group.InviteUserToGroupResp
+ (*GetGroupAllMemberReq)(nil), // 29: group.GetGroupAllMemberReq
+ (*GetGroupAllMemberResp)(nil), // 30: group.GetGroupAllMemberResp
+ (*GetGroupReq)(nil), // 31: group.GetGroupReq
+ (*GetGroupResp)(nil), // 32: group.GetGroupResp
+ (*GetGroupsReq)(nil), // 33: group.GetGroupsReq
+ (*GetGroupsResp)(nil), // 34: group.GetGroupsResp
+ (*GetGroupMemberReq)(nil), // 35: group.GetGroupMemberReq
+ (*sdk_ws.GroupInfo)(nil), // 36: server_api_params.GroupInfo
+ (*sdk_ws.GroupRequest)(nil), // 37: server_api_params.GroupRequest
+ (*sdk_ws.GroupMemberFullInfo)(nil), // 38: server_api_params.GroupMemberFullInfo
+ (*sdk_ws.RequestPagination)(nil), // 39: server_api_params.RequestPagination
+}
+var file_group_group_proto_depIdxs = []int32{
+ 1, // 0: group.CreateGroupReq.InitMemberList:type_name -> group.GroupAddMemberInfo
+ 36, // 1: group.CreateGroupReq.GroupInfo:type_name -> server_api_params.GroupInfo
+ 36, // 2: group.CreateGroupResp.GroupInfo:type_name -> server_api_params.GroupInfo
+ 36, // 3: group.GetGroupsInfoResp.GroupInfoList:type_name -> server_api_params.GroupInfo
+ 36, // 4: group.SetGroupInfoReq.GroupInfo:type_name -> server_api_params.GroupInfo
+ 0, // 5: group.SetGroupInfoResp.CommonResp:type_name -> group.CommonResp
+ 37, // 6: group.GetGroupApplicationListResp.GroupRequestList:type_name -> server_api_params.GroupRequest
+ 0, // 7: group.TransferGroupOwnerResp.CommonResp:type_name -> group.CommonResp
+ 0, // 8: group.JoinGroupResp.CommonResp:type_name -> group.CommonResp
+ 0, // 9: group.GroupApplicationResponseResp.CommonResp:type_name -> group.CommonResp
+ 0, // 10: group.QuitGroupResp.CommonResp:type_name -> group.CommonResp
+ 38, // 11: group.GetGroupMemberListResp.memberList:type_name -> server_api_params.GroupMemberFullInfo
+ 38, // 12: group.GetGroupMembersInfoResp.memberList:type_name -> server_api_params.GroupMemberFullInfo
+ 23, // 13: group.KickGroupMemberResp.Id2ResultList:type_name -> group.Id2Result
+ 36, // 14: group.GetJoinedGroupListResp.GroupList:type_name -> server_api_params.GroupInfo
+ 23, // 15: group.InviteUserToGroupResp.Id2ResultList:type_name -> group.Id2Result
+ 38, // 16: group.GetGroupAllMemberResp.memberList:type_name -> server_api_params.GroupMemberFullInfo
+ 36, // 17: group.GetGroupResp.GroupInfo:type_name -> server_api_params.GroupInfo
+ 39, // 18: group.GetGroupsReq.Pagination:type_name -> server_api_params.RequestPagination
+ 36, // 19: group.GetGroupsResp.GroupInfo:type_name -> server_api_params.GroupInfo
+ 2, // 20: group.group.createGroup:input_type -> group.CreateGroupReq
+ 12, // 21: group.group.joinGroup:input_type -> group.JoinGroupReq
+ 16, // 22: group.group.quitGroup:input_type -> group.QuitGroupReq
+ 4, // 23: group.group.getGroupsInfo:input_type -> group.GetGroupsInfoReq
+ 6, // 24: group.group.setGroupInfo:input_type -> group.SetGroupInfoReq
+ 8, // 25: group.group.getGroupApplicationList:input_type -> group.GetGroupApplicationListReq
+ 10, // 26: group.group.transferGroupOwner:input_type -> group.TransferGroupOwnerReq
+ 14, // 27: group.group.groupApplicationResponse:input_type -> group.GroupApplicationResponseReq
+ 18, // 28: group.group.getGroupMemberList:input_type -> group.GetGroupMemberListReq
+ 20, // 29: group.group.getGroupMembersInfo:input_type -> group.GetGroupMembersInfoReq
+ 22, // 30: group.group.kickGroupMember:input_type -> group.KickGroupMemberReq
+ 25, // 31: group.group.getJoinedGroupList:input_type -> group.GetJoinedGroupListReq
+ 27, // 32: group.group.inviteUserToGroup:input_type -> group.InviteUserToGroupReq
+ 29, // 33: group.group.getGroupAllMember:input_type -> group.GetGroupAllMemberReq
+ 31, // 34: group.group.GetGroup:input_type -> group.GetGroupReq
+ 33, // 35: group.group.GetGroups:input_type -> group.GetGroupsReq
+ 3, // 36: group.group.createGroup:output_type -> group.CreateGroupResp
+ 13, // 37: group.group.joinGroup:output_type -> group.JoinGroupResp
+ 17, // 38: group.group.quitGroup:output_type -> group.QuitGroupResp
+ 5, // 39: group.group.getGroupsInfo:output_type -> group.GetGroupsInfoResp
+ 7, // 40: group.group.setGroupInfo:output_type -> group.SetGroupInfoResp
+ 9, // 41: group.group.getGroupApplicationList:output_type -> group.GetGroupApplicationListResp
+ 11, // 42: group.group.transferGroupOwner:output_type -> group.TransferGroupOwnerResp
+ 15, // 43: group.group.groupApplicationResponse:output_type -> group.GroupApplicationResponseResp
+ 19, // 44: group.group.getGroupMemberList:output_type -> group.GetGroupMemberListResp
+ 21, // 45: group.group.getGroupMembersInfo:output_type -> group.GetGroupMembersInfoResp
+ 24, // 46: group.group.kickGroupMember:output_type -> group.KickGroupMemberResp
+ 26, // 47: group.group.getJoinedGroupList:output_type -> group.GetJoinedGroupListResp
+ 28, // 48: group.group.inviteUserToGroup:output_type -> group.InviteUserToGroupResp
+ 30, // 49: group.group.getGroupAllMember:output_type -> group.GetGroupAllMemberResp
+ 34, // 50: group.group.GetGroup:output_type -> group.GetGroupsResp
+ 34, // 51: group.group.GetGroups:output_type -> group.GetGroupsResp
+ 36, // [36:52] is the sub-list for method output_type
+ 20, // [20:36] is the sub-list for method input_type
+ 20, // [20:20] is the sub-list for extension type_name
+ 20, // [20:20] is the sub-list for extension extendee
+ 0, // [0:20] is the sub-list for field type_name
+}
+
+func init() { file_group_group_proto_init() }
+func file_group_group_proto_init() {
+ if File_group_group_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_group_group_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CommonResp); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GroupAddMemberInfo); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CreateGroupReq); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CreateGroupResp); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetGroupsInfoReq); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetGroupsInfoResp); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetGroupInfoReq); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SetGroupInfoResp); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetGroupApplicationListReq); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetGroupApplicationListResp); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TransferGroupOwnerReq); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TransferGroupOwnerResp); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*JoinGroupReq); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*JoinGroupResp); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GroupApplicationResponseReq); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GroupApplicationResponseResp); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*QuitGroupReq); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*QuitGroupResp); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetGroupMemberListReq); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetGroupMemberListResp); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetGroupMembersInfoReq); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetGroupMembersInfoResp); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*KickGroupMemberReq); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*Id2Result); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*KickGroupMemberResp); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetJoinedGroupListReq); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetJoinedGroupListResp); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*InviteUserToGroupReq); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*InviteUserToGroupResp); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetGroupAllMemberReq); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetGroupAllMemberResp); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetGroupReq); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetGroupResp); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetGroupsReq); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetGroupsResp); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_group_group_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*GetGroupMemberReq); 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_group_group_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 36,
+ NumExtensions: 0,
+ NumServices: 1,
+ },
+ GoTypes: file_group_group_proto_goTypes,
+ DependencyIndexes: file_group_group_proto_depIdxs,
+ MessageInfos: file_group_group_proto_msgTypes,
+ }.Build()
+ File_group_group_proto = out.File
+ file_group_group_proto_rawDesc = nil
+ file_group_group_proto_goTypes = nil
+ file_group_group_proto_depIdxs = nil
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
-var _ grpc.ClientConn
+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.SupportPackageIsVersion4
-
-// Client API for Group service
+const _ = grpc.SupportPackageIsVersion6
+// GroupClient is the client API for Group service.
+//
+// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type GroupClient interface {
CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error)
JoinGroup(ctx context.Context, in *JoinGroupReq, opts ...grpc.CallOption) (*JoinGroupResp, error)
@@ -1781,19 +3227,21 @@ type GroupClient interface {
GetJoinedGroupList(ctx context.Context, in *GetJoinedGroupListReq, opts ...grpc.CallOption) (*GetJoinedGroupListResp, error)
InviteUserToGroup(ctx context.Context, in *InviteUserToGroupReq, opts ...grpc.CallOption) (*InviteUserToGroupResp, error)
GetGroupAllMember(ctx context.Context, in *GetGroupAllMemberReq, opts ...grpc.CallOption) (*GetGroupAllMemberResp, error)
+ GetGroup(ctx context.Context, in *GetGroupReq, opts ...grpc.CallOption) (*GetGroupsResp, error)
+ GetGroups(ctx context.Context, in *GetGroupsReq, opts ...grpc.CallOption) (*GetGroupsResp, error)
}
type groupClient struct {
- cc *grpc.ClientConn
+ cc grpc.ClientConnInterface
}
-func NewGroupClient(cc *grpc.ClientConn) GroupClient {
+func NewGroupClient(cc grpc.ClientConnInterface) GroupClient {
return &groupClient{cc}
}
func (c *groupClient) CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error) {
out := new(CreateGroupResp)
- err := grpc.Invoke(ctx, "/group.group/createGroup", in, out, c.cc, opts...)
+ err := c.cc.Invoke(ctx, "/group.group/createGroup", in, out, opts...)
if err != nil {
return nil, err
}
@@ -1802,7 +3250,7 @@ func (c *groupClient) CreateGroup(ctx context.Context, in *CreateGroupReq, opts
func (c *groupClient) JoinGroup(ctx context.Context, in *JoinGroupReq, opts ...grpc.CallOption) (*JoinGroupResp, error) {
out := new(JoinGroupResp)
- err := grpc.Invoke(ctx, "/group.group/joinGroup", in, out, c.cc, opts...)
+ err := c.cc.Invoke(ctx, "/group.group/joinGroup", in, out, opts...)
if err != nil {
return nil, err
}
@@ -1811,7 +3259,7 @@ func (c *groupClient) JoinGroup(ctx context.Context, in *JoinGroupReq, opts ...g
func (c *groupClient) QuitGroup(ctx context.Context, in *QuitGroupReq, opts ...grpc.CallOption) (*QuitGroupResp, error) {
out := new(QuitGroupResp)
- err := grpc.Invoke(ctx, "/group.group/quitGroup", in, out, c.cc, opts...)
+ err := c.cc.Invoke(ctx, "/group.group/quitGroup", in, out, opts...)
if err != nil {
return nil, err
}
@@ -1820,7 +3268,7 @@ func (c *groupClient) QuitGroup(ctx context.Context, in *QuitGroupReq, opts ...g
func (c *groupClient) GetGroupsInfo(ctx context.Context, in *GetGroupsInfoReq, opts ...grpc.CallOption) (*GetGroupsInfoResp, error) {
out := new(GetGroupsInfoResp)
- err := grpc.Invoke(ctx, "/group.group/getGroupsInfo", in, out, c.cc, opts...)
+ err := c.cc.Invoke(ctx, "/group.group/getGroupsInfo", in, out, opts...)
if err != nil {
return nil, err
}
@@ -1829,7 +3277,7 @@ func (c *groupClient) GetGroupsInfo(ctx context.Context, in *GetGroupsInfoReq, o
func (c *groupClient) SetGroupInfo(ctx context.Context, in *SetGroupInfoReq, opts ...grpc.CallOption) (*SetGroupInfoResp, error) {
out := new(SetGroupInfoResp)
- err := grpc.Invoke(ctx, "/group.group/setGroupInfo", in, out, c.cc, opts...)
+ err := c.cc.Invoke(ctx, "/group.group/setGroupInfo", in, out, opts...)
if err != nil {
return nil, err
}
@@ -1838,7 +3286,7 @@ func (c *groupClient) SetGroupInfo(ctx context.Context, in *SetGroupInfoReq, opt
func (c *groupClient) GetGroupApplicationList(ctx context.Context, in *GetGroupApplicationListReq, opts ...grpc.CallOption) (*GetGroupApplicationListResp, error) {
out := new(GetGroupApplicationListResp)
- err := grpc.Invoke(ctx, "/group.group/getGroupApplicationList", in, out, c.cc, opts...)
+ err := c.cc.Invoke(ctx, "/group.group/getGroupApplicationList", in, out, opts...)
if err != nil {
return nil, err
}
@@ -1847,7 +3295,7 @@ func (c *groupClient) GetGroupApplicationList(ctx context.Context, in *GetGroupA
func (c *groupClient) TransferGroupOwner(ctx context.Context, in *TransferGroupOwnerReq, opts ...grpc.CallOption) (*TransferGroupOwnerResp, error) {
out := new(TransferGroupOwnerResp)
- err := grpc.Invoke(ctx, "/group.group/transferGroupOwner", in, out, c.cc, opts...)
+ err := c.cc.Invoke(ctx, "/group.group/transferGroupOwner", in, out, opts...)
if err != nil {
return nil, err
}
@@ -1856,7 +3304,7 @@ func (c *groupClient) TransferGroupOwner(ctx context.Context, in *TransferGroupO
func (c *groupClient) GroupApplicationResponse(ctx context.Context, in *GroupApplicationResponseReq, opts ...grpc.CallOption) (*GroupApplicationResponseResp, error) {
out := new(GroupApplicationResponseResp)
- err := grpc.Invoke(ctx, "/group.group/groupApplicationResponse", in, out, c.cc, opts...)
+ err := c.cc.Invoke(ctx, "/group.group/groupApplicationResponse", in, out, opts...)
if err != nil {
return nil, err
}
@@ -1865,7 +3313,7 @@ func (c *groupClient) GroupApplicationResponse(ctx context.Context, in *GroupApp
func (c *groupClient) GetGroupMemberList(ctx context.Context, in *GetGroupMemberListReq, opts ...grpc.CallOption) (*GetGroupMemberListResp, error) {
out := new(GetGroupMemberListResp)
- err := grpc.Invoke(ctx, "/group.group/getGroupMemberList", in, out, c.cc, opts...)
+ err := c.cc.Invoke(ctx, "/group.group/getGroupMemberList", in, out, opts...)
if err != nil {
return nil, err
}
@@ -1874,7 +3322,7 @@ func (c *groupClient) GetGroupMemberList(ctx context.Context, in *GetGroupMember
func (c *groupClient) GetGroupMembersInfo(ctx context.Context, in *GetGroupMembersInfoReq, opts ...grpc.CallOption) (*GetGroupMembersInfoResp, error) {
out := new(GetGroupMembersInfoResp)
- err := grpc.Invoke(ctx, "/group.group/getGroupMembersInfo", in, out, c.cc, opts...)
+ err := c.cc.Invoke(ctx, "/group.group/getGroupMembersInfo", in, out, opts...)
if err != nil {
return nil, err
}
@@ -1883,7 +3331,7 @@ func (c *groupClient) GetGroupMembersInfo(ctx context.Context, in *GetGroupMembe
func (c *groupClient) KickGroupMember(ctx context.Context, in *KickGroupMemberReq, opts ...grpc.CallOption) (*KickGroupMemberResp, error) {
out := new(KickGroupMemberResp)
- err := grpc.Invoke(ctx, "/group.group/kickGroupMember", in, out, c.cc, opts...)
+ err := c.cc.Invoke(ctx, "/group.group/kickGroupMember", in, out, opts...)
if err != nil {
return nil, err
}
@@ -1892,7 +3340,7 @@ func (c *groupClient) KickGroupMember(ctx context.Context, in *KickGroupMemberRe
func (c *groupClient) GetJoinedGroupList(ctx context.Context, in *GetJoinedGroupListReq, opts ...grpc.CallOption) (*GetJoinedGroupListResp, error) {
out := new(GetJoinedGroupListResp)
- err := grpc.Invoke(ctx, "/group.group/getJoinedGroupList", in, out, c.cc, opts...)
+ err := c.cc.Invoke(ctx, "/group.group/getJoinedGroupList", in, out, opts...)
if err != nil {
return nil, err
}
@@ -1901,7 +3349,7 @@ func (c *groupClient) GetJoinedGroupList(ctx context.Context, in *GetJoinedGroup
func (c *groupClient) InviteUserToGroup(ctx context.Context, in *InviteUserToGroupReq, opts ...grpc.CallOption) (*InviteUserToGroupResp, error) {
out := new(InviteUserToGroupResp)
- err := grpc.Invoke(ctx, "/group.group/inviteUserToGroup", in, out, c.cc, opts...)
+ err := c.cc.Invoke(ctx, "/group.group/inviteUserToGroup", in, out, opts...)
if err != nil {
return nil, err
}
@@ -1910,15 +3358,32 @@ func (c *groupClient) InviteUserToGroup(ctx context.Context, in *InviteUserToGro
func (c *groupClient) GetGroupAllMember(ctx context.Context, in *GetGroupAllMemberReq, opts ...grpc.CallOption) (*GetGroupAllMemberResp, error) {
out := new(GetGroupAllMemberResp)
- err := grpc.Invoke(ctx, "/group.group/getGroupAllMember", in, out, c.cc, opts...)
+ err := c.cc.Invoke(ctx, "/group.group/getGroupAllMember", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
-// Server API for Group service
+func (c *groupClient) GetGroup(ctx context.Context, in *GetGroupReq, opts ...grpc.CallOption) (*GetGroupsResp, error) {
+ out := new(GetGroupsResp)
+ err := c.cc.Invoke(ctx, "/group.group/GetGroup", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+func (c *groupClient) GetGroups(ctx context.Context, in *GetGroupsReq, opts ...grpc.CallOption) (*GetGroupsResp, error) {
+ out := new(GetGroupsResp)
+ err := c.cc.Invoke(ctx, "/group.group/GetGroups", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+// GroupServer is the server API for Group service.
type GroupServer interface {
CreateGroup(context.Context, *CreateGroupReq) (*CreateGroupResp, error)
JoinGroup(context.Context, *JoinGroupReq) (*JoinGroupResp, error)
@@ -1934,6 +3399,61 @@ type GroupServer interface {
GetJoinedGroupList(context.Context, *GetJoinedGroupListReq) (*GetJoinedGroupListResp, error)
InviteUserToGroup(context.Context, *InviteUserToGroupReq) (*InviteUserToGroupResp, error)
GetGroupAllMember(context.Context, *GetGroupAllMemberReq) (*GetGroupAllMemberResp, error)
+ GetGroup(context.Context, *GetGroupReq) (*GetGroupsResp, error)
+ GetGroups(context.Context, *GetGroupsReq) (*GetGroupsResp, error)
+}
+
+// UnimplementedGroupServer can be embedded to have forward compatible implementations.
+type UnimplementedGroupServer struct {
+}
+
+func (*UnimplementedGroupServer) CreateGroup(context.Context, *CreateGroupReq) (*CreateGroupResp, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method CreateGroup not implemented")
+}
+func (*UnimplementedGroupServer) JoinGroup(context.Context, *JoinGroupReq) (*JoinGroupResp, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method JoinGroup not implemented")
+}
+func (*UnimplementedGroupServer) QuitGroup(context.Context, *QuitGroupReq) (*QuitGroupResp, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method QuitGroup not implemented")
+}
+func (*UnimplementedGroupServer) GetGroupsInfo(context.Context, *GetGroupsInfoReq) (*GetGroupsInfoResp, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method GetGroupsInfo not implemented")
+}
+func (*UnimplementedGroupServer) SetGroupInfo(context.Context, *SetGroupInfoReq) (*SetGroupInfoResp, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method SetGroupInfo not implemented")
+}
+func (*UnimplementedGroupServer) GetGroupApplicationList(context.Context, *GetGroupApplicationListReq) (*GetGroupApplicationListResp, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method GetGroupApplicationList not implemented")
+}
+func (*UnimplementedGroupServer) TransferGroupOwner(context.Context, *TransferGroupOwnerReq) (*TransferGroupOwnerResp, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method TransferGroupOwner not implemented")
+}
+func (*UnimplementedGroupServer) GroupApplicationResponse(context.Context, *GroupApplicationResponseReq) (*GroupApplicationResponseResp, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method GroupApplicationResponse not implemented")
+}
+func (*UnimplementedGroupServer) GetGroupMemberList(context.Context, *GetGroupMemberListReq) (*GetGroupMemberListResp, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method GetGroupMemberList not implemented")
+}
+func (*UnimplementedGroupServer) GetGroupMembersInfo(context.Context, *GetGroupMembersInfoReq) (*GetGroupMembersInfoResp, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method GetGroupMembersInfo not implemented")
+}
+func (*UnimplementedGroupServer) KickGroupMember(context.Context, *KickGroupMemberReq) (*KickGroupMemberResp, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method KickGroupMember not implemented")
+}
+func (*UnimplementedGroupServer) GetJoinedGroupList(context.Context, *GetJoinedGroupListReq) (*GetJoinedGroupListResp, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method GetJoinedGroupList not implemented")
+}
+func (*UnimplementedGroupServer) InviteUserToGroup(context.Context, *InviteUserToGroupReq) (*InviteUserToGroupResp, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method InviteUserToGroup not implemented")
+}
+func (*UnimplementedGroupServer) GetGroupAllMember(context.Context, *GetGroupAllMemberReq) (*GetGroupAllMemberResp, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method GetGroupAllMember not implemented")
+}
+func (*UnimplementedGroupServer) GetGroup(context.Context, *GetGroupReq) (*GetGroupsResp, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method GetGroup not implemented")
+}
+func (*UnimplementedGroupServer) GetGroups(context.Context, *GetGroupsReq) (*GetGroupsResp, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method GetGroups not implemented")
}
func RegisterGroupServer(s *grpc.Server, srv GroupServer) {
@@ -2192,6 +3712,42 @@ func _Group_GetGroupAllMember_Handler(srv interface{}, ctx context.Context, dec
return interceptor(ctx, in, info, handler)
}
+func _Group_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(GetGroupReq)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(GroupServer).GetGroup(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/group.group/GetGroup",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(GroupServer).GetGroup(ctx, req.(*GetGroupReq))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
+func _Group_GetGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(GetGroupsReq)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(GroupServer).GetGroups(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/group.group/GetGroups",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(GroupServer).GetGroups(ctx, req.(*GetGroupsReq))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
var _Group_serviceDesc = grpc.ServiceDesc{
ServiceName: "group.group",
HandlerType: (*GroupServer)(nil),
@@ -2252,91 +3808,15 @@ var _Group_serviceDesc = grpc.ServiceDesc{
MethodName: "getGroupAllMember",
Handler: _Group_GetGroupAllMember_Handler,
},
+ {
+ MethodName: "GetGroup",
+ Handler: _Group_GetGroup_Handler,
+ },
+ {
+ MethodName: "GetGroups",
+ Handler: _Group_GetGroups_Handler,
+ },
},
Streams: []grpc.StreamDesc{},
Metadata: "group/group.proto",
}
-
-func init() { proto.RegisterFile("group/group.proto", fileDescriptor_group_a130b5186d308ee6) }
-
-var fileDescriptor_group_a130b5186d308ee6 = []byte{
- // 1246 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x4b, 0x6f, 0x23, 0xc5,
- 0x13, 0x57, 0xc7, 0x71, 0x76, 0x5d, 0x89, 0xf3, 0xe8, 0xbc, 0xfc, 0x9f, 0xf5, 0x3f, 0x64, 0x1b,
- 0x69, 0x15, 0x21, 0x64, 0x8b, 0x20, 0xed, 0x81, 0x45, 0xa0, 0x38, 0x8f, 0x5d, 0x6f, 0x36, 0x89,
- 0x32, 0x1b, 0x2e, 0x5c, 0x82, 0x37, 0xd3, 0x19, 0x0d, 0x19, 0xcf, 0x8c, 0xa7, 0xc7, 0x09, 0xe2,
- 0xb2, 0xe2, 0xb2, 0x12, 0xe2, 0x02, 0xe2, 0xca, 0x85, 0x3b, 0x07, 0x0e, 0x9c, 0xb8, 0xf0, 0x39,
- 0xf8, 0x14, 0x7c, 0x05, 0x34, 0xdd, 0x3d, 0xe3, 0x9e, 0x67, 0xb2, 0xb6, 0xc4, 0x5e, 0x2c, 0x75,
- 0x55, 0xf5, 0xd4, 0xfb, 0x57, 0xd5, 0x86, 0x25, 0xd3, 0x77, 0x87, 0x5e, 0x9b, 0xff, 0xb6, 0x3c,
- 0xdf, 0x0d, 0x5c, 0x5c, 0xe5, 0x07, 0xed, 0xe1, 0x89, 0x47, 0x9d, 0xf3, 0xee, 0x51, 0xdb, 0xbb,
- 0x32, 0xdb, 0x9c, 0xd3, 0x66, 0xc6, 0xd5, 0xf9, 0x0d, 0x6b, 0xdf, 0x30, 0x21, 0x49, 0x3e, 0x03,
- 0xd8, 0x75, 0xfb, 0x7d, 0xd7, 0xd1, 0x29, 0xf3, 0x70, 0x03, 0xee, 0xed, 0xfb, 0xfe, 0xae, 0x6b,
- 0xd0, 0x06, 0xda, 0x44, 0x5b, 0x55, 0x3d, 0x3a, 0xe2, 0x35, 0x98, 0xd9, 0xf7, 0xfd, 0x23, 0x66,
- 0x36, 0xa6, 0x36, 0xd1, 0x56, 0x4d, 0x97, 0x27, 0xf2, 0x1c, 0xf0, 0xd3, 0x50, 0xd7, 0x8e, 0x61,
- 0x1c, 0xd1, 0xfe, 0x2b, 0xea, 0x77, 0x9d, 0x4b, 0x37, 0x94, 0xfe, 0x82, 0x51, 0xbf, 0xbb, 0xc7,
- 0x3f, 0x53, 0xd3, 0xe5, 0x09, 0x37, 0xa1, 0xa6, 0xbb, 0x36, 0x7d, 0x41, 0xaf, 0xa9, 0xcd, 0x3f,
- 0x54, 0xd5, 0x47, 0x04, 0xf2, 0x0f, 0x82, 0xf9, 0x5d, 0x9f, 0xf6, 0x02, 0xca, 0x3f, 0xa9, 0xd3,
- 0x01, 0xde, 0x81, 0xf9, 0xae, 0x63, 0x05, 0xe2, 0xd3, 0x2f, 0x2c, 0x16, 0x34, 0xd0, 0x66, 0x65,
- 0x6b, 0x76, 0xfb, 0x7f, 0x2d, 0xe1, 0x6e, 0x56, 0xb7, 0x9e, 0xba, 0x80, 0x3f, 0x81, 0x1a, 0x97,
- 0x0a, 0x99, 0x5c, 0xe7, 0xec, 0x76, 0xb3, 0xc5, 0xa8, 0x7f, 0x4d, 0xfd, 0xf3, 0x9e, 0x67, 0x9d,
- 0x7b, 0x3d, 0xbf, 0xd7, 0x67, 0xad, 0x58, 0x46, 0x1f, 0x89, 0xe3, 0x4d, 0x98, 0x3d, 0xf1, 0xa8,
- 0xdf, 0x0b, 0x2c, 0xd7, 0xe9, 0xee, 0x35, 0x2a, 0xdc, 0x19, 0x95, 0x84, 0x35, 0xb8, 0x7f, 0xe2,
- 0x49, 0x5f, 0xa7, 0x39, 0x3b, 0x3e, 0xf3, 0xdb, 0x37, 0x0e, 0xf5, 0x25, 0xbb, 0x2a, 0x6f, 0x8f,
- 0x48, 0xe4, 0x35, 0x2c, 0x24, 0x1c, 0x1e, 0x27, 0x05, 0x49, 0x07, 0x2b, 0x6f, 0xe5, 0x20, 0xf1,
- 0x61, 0xf1, 0x29, 0x0d, 0xf8, 0x99, 0x71, 0x1e, 0x1d, 0x84, 0x66, 0x0b, 0x81, 0xbd, 0x38, 0xe0,
- 0x35, 0x5d, 0x25, 0xa5, 0xc3, 0x32, 0x55, 0x1e, 0x96, 0x4a, 0x32, 0x2c, 0xe4, 0x7b, 0x04, 0x4b,
- 0x29, 0xa5, 0x63, 0xf9, 0xdd, 0x81, 0x7a, 0xec, 0x08, 0xb7, 0xb4, 0xc2, 0x4b, 0xa3, 0xdc, 0xf7,
- 0xe4, 0x15, 0xf2, 0x03, 0x82, 0x85, 0x97, 0xd2, 0x96, 0xc8, 0xff, 0x44, 0x3c, 0xd1, 0xdb, 0x15,
- 0x8c, 0xea, 0xf7, 0x54, 0x4e, 0x39, 0x94, 0x16, 0x13, 0xd9, 0x87, 0xc5, 0xa4, 0x31, 0xcc, 0xc3,
- 0x1f, 0xa9, 0x0d, 0x2a, 0xcd, 0x59, 0x92, 0xd5, 0x3f, 0x62, 0xe8, 0x8a, 0x10, 0xf9, 0x16, 0xb4,
- 0x28, 0xbe, 0x3b, 0x9e, 0x67, 0x5b, 0x17, 0xfc, 0xfb, 0xa1, 0xbf, 0xa1, 0x7b, 0xaa, 0x89, 0xa8,
- 0xdc, 0xc4, 0x9c, 0xc4, 0x6e, 0x00, 0x1c, 0xf8, 0x6e, 0x3f, 0x91, 0x5a, 0x85, 0x42, 0x7e, 0x41,
- 0xf0, 0xa0, 0x50, 0xf9, 0x58, 0x69, 0x3e, 0x84, 0xc5, 0x08, 0x0e, 0x86, 0x94, 0x05, 0x4a, 0xa6,
- 0xdf, 0x2b, 0xca, 0x8a, 0x14, 0xd5, 0x33, 0x17, 0xc9, 0x5f, 0x08, 0x56, 0xcf, 0xfc, 0x9e, 0xc3,
- 0x2e, 0xa9, 0xcf, 0x99, 0xbc, 0x1b, 0xc3, 0xb0, 0x34, 0xe0, 0x9e, 0x2c, 0x71, 0x19, 0x95, 0xe8,
- 0x88, 0x1f, 0xc1, 0xfc, 0x89, 0x6d, 0xa8, 0x9d, 0x2c, 0x0c, 0x4c, 0x51, 0x43, 0xb9, 0x63, 0x7a,
- 0xa3, 0xca, 0x89, 0xf0, 0xa4, 0xa8, 0xe9, 0x20, 0x4f, 0x97, 0x77, 0x4f, 0x35, 0xd5, 0x3d, 0x87,
- 0xb0, 0x96, 0xe7, 0xc0, 0x78, 0x95, 0xf2, 0x06, 0xc1, 0xdc, 0x73, 0xd7, 0x72, 0x62, 0xbc, 0x2d,
- 0x8e, 0xc2, 0x06, 0x80, 0x4e, 0x07, 0x47, 0x94, 0xb1, 0x9e, 0x49, 0x65, 0x04, 0x14, 0x4a, 0x59,
- 0xc7, 0xdf, 0xee, 0x31, 0xe9, 0x40, 0x5d, 0xb1, 0x63, 0x3c, 0x67, 0xfe, 0x0e, 0x4b, 0x2f, 0x55,
- 0x77, 0x21, 0xc3, 0x75, 0x18, 0x95, 0xb8, 0xa6, 0x5a, 0x81, 0xca, 0xe3, 0x9e, 0xee, 0x5e, 0x25,
- 0x32, 0x95, 0x4c, 0x64, 0x94, 0x96, 0x98, 0x4e, 0xb7, 0x44, 0xc8, 0x7f, 0xd6, 0x73, 0x0c, 0x9b,
- 0x1a, 0x61, 0x71, 0x8b, 0x7c, 0x2a, 0x14, 0x4c, 0x60, 0x4e, 0x9c, 0x74, 0xca, 0x86, 0x76, 0xd0,
- 0x98, 0xe1, 0x7d, 0x91, 0xa0, 0x91, 0x53, 0x68, 0x16, 0xbb, 0x36, 0x5e, 0xb8, 0x2e, 0x61, 0xee,
- 0x74, 0x68, 0x05, 0x77, 0x48, 0xfd, 0x64, 0x70, 0xdf, 0x81, 0xba, 0xa2, 0x67, 0x3c, 0x5b, 0x7f,
- 0x45, 0xb0, 0x1a, 0xa1, 0xca, 0x68, 0xb4, 0x97, 0x5b, 0x3d, 0x11, 0x14, 0x87, 0x68, 0x74, 0x60,
- 0xd9, 0x01, 0xf5, 0x79, 0x42, 0xab, 0xba, 0x3c, 0x85, 0xfa, 0x8e, 0xe9, 0x37, 0xc1, 0x4b, 0x3a,
- 0xe0, 0x99, 0xac, 0xea, 0xd1, 0x91, 0xfc, 0x86, 0x60, 0x2d, 0xcf, 0xc6, 0xb1, 0x40, 0xef, 0x00,
- 0xa0, 0x3f, 0xda, 0x79, 0x04, 0xdc, 0x3d, 0x2a, 0x82, 0x3b, 0xa1, 0xed, 0x60, 0x68, 0xdb, 0x7c,
- 0x6a, 0x28, 0x37, 0x43, 0xcd, 0x8e, 0x34, 0x57, 0xf8, 0x11, 0x1d, 0xc9, 0x8f, 0x19, 0x73, 0xe3,
- 0x05, 0xa0, 0x14, 0x04, 0x14, 0xb3, 0xa6, 0xf8, 0x66, 0xa0, 0xaa, 0x9b, 0x0c, 0x04, 0x7e, 0x46,
- 0xb0, 0x9e, 0x6b, 0xd2, 0xbb, 0x0c, 0x21, 0xf9, 0x1d, 0x01, 0x3e, 0xb4, 0x2e, 0xae, 0x14, 0xb9,
- 0xf2, 0x20, 0x7d, 0x00, 0x8b, 0xa1, 0x3c, 0x35, 0x84, 0xe3, 0x4a, 0xa8, 0x32, 0xf4, 0xd0, 0x78,
- 0x9d, 0xf6, 0x98, 0xeb, 0xc8, 0x70, 0xc9, 0x53, 0x3a, 0x58, 0xd5, 0xf2, 0x96, 0x9b, 0x49, 0xb5,
- 0xdc, 0x13, 0xa8, 0x75, 0x8d, 0x6d, 0x01, 0x1d, 0x85, 0xbb, 0x38, 0x57, 0xcd, 0x01, 0x47, 0x2c,
- 0xe2, 0xf2, 0x44, 0x5e, 0xc3, 0x72, 0xc6, 0xdd, 0xb1, 0x12, 0xf0, 0x18, 0xea, 0xb1, 0x15, 0x4a,
- 0x0e, 0x16, 0x65, 0xab, 0xc7, 0x3c, 0x3d, 0x29, 0x46, 0x86, 0xbc, 0xd7, 0xc3, 0x71, 0x40, 0x0d,
- 0x6e, 0x45, 0xd4, 0xeb, 0x49, 0xa0, 0x45, 0x19, 0xa0, 0xdd, 0x84, 0x59, 0x37, 0x8b, 0x53, 0xee,
- 0x1d, 0x71, 0xea, 0x8d, 0x68, 0x88, 0x8c, 0xde, 0x89, 0x76, 0xf2, 0x3b, 0xef, 0xa5, 0x23, 0x71,
- 0xf2, 0x07, 0x82, 0x95, 0xae, 0x73, 0x6d, 0x05, 0x34, 0xb4, 0xec, 0xcc, 0x8d, 0x11, 0xfa, 0x76,
- 0x1c, 0x2e, 0x1e, 0x52, 0xa3, 0x42, 0x9b, 0x4e, 0x14, 0xda, 0x87, 0xb0, 0x24, 0x74, 0xa9, 0xd5,
- 0x5a, 0xe5, 0xd5, 0x9a, 0x65, 0x94, 0x16, 0xdd, 0x77, 0x08, 0x56, 0x73, 0xcc, 0xfe, 0x4f, 0x4b,
- 0xc7, 0x81, 0x95, 0x78, 0xf9, 0xb4, 0xed, 0xbb, 0x34, 0xeb, 0x64, 0x0b, 0xfb, 0x4f, 0xca, 0x5c,
- 0x52, 0x14, 0xbe, 0x4b, 0xbc, 0xda, 0xfe, 0xf3, 0x3e, 0x88, 0xe7, 0x3f, 0xfe, 0x14, 0x66, 0x2f,
- 0x46, 0xaf, 0x4b, 0xbc, 0x1a, 0xcd, 0xd8, 0xc4, 0x13, 0x5b, 0x5b, 0xcb, 0x23, 0x33, 0x0f, 0x3f,
- 0x86, 0xda, 0xd7, 0xd1, 0x4a, 0x86, 0x97, 0xa5, 0x90, 0xba, 0x2c, 0x6a, 0x2b, 0x59, 0xa2, 0xb8,
- 0x37, 0x88, 0xe6, 0x7d, 0x7c, 0x4f, 0xdd, 0x34, 0xe2, 0x7b, 0xc9, 0xb5, 0xa0, 0x03, 0x75, 0x53,
- 0x7d, 0x15, 0xe2, 0xf5, 0xe8, 0x8d, 0x9f, 0x7a, 0xa0, 0x6a, 0x8d, 0x7c, 0x06, 0xf3, 0xf0, 0xe7,
- 0x30, 0xc7, 0x94, 0x07, 0x14, 0x8e, 0x7c, 0x4b, 0x3d, 0xf1, 0xb4, 0xf5, 0x5c, 0x3a, 0xf3, 0xf0,
- 0x57, 0xb0, 0x6e, 0xe6, 0xbf, 0x5e, 0xf0, 0xc3, 0x94, 0xd6, 0xec, 0xd3, 0x4a, 0x23, 0xb7, 0x89,
- 0x30, 0x0f, 0x9f, 0x02, 0x0e, 0x32, 0xfb, 0x3b, 0x6e, 0xca, 0x9b, 0xb9, 0x6f, 0x13, 0xed, 0xff,
- 0x25, 0x5c, 0xe6, 0xe1, 0x0b, 0x68, 0x98, 0x05, 0xcb, 0x21, 0x26, 0x89, 0x3f, 0x4a, 0x72, 0x17,
- 0x63, 0xed, 0xfd, 0x5b, 0x65, 0x84, 0xdd, 0x66, 0x66, 0xbb, 0x89, 0xed, 0xce, 0x5d, 0xce, 0x62,
- 0xbb, 0x0b, 0xd6, 0xa2, 0x33, 0x58, 0x36, 0xb3, 0xe3, 0x1e, 0xe7, 0xdf, 0x8a, 0xb3, 0xbf, 0x51,
- 0xc6, 0x66, 0x1e, 0x7e, 0x06, 0x0b, 0x57, 0xc9, 0xf9, 0x85, 0xa3, 0x7f, 0x8b, 0xb2, 0x63, 0x5c,
- 0xd3, 0x8a, 0x58, 0xb1, 0xcb, 0xa9, 0x81, 0xa0, 0xba, 0x9c, 0x9d, 0x51, 0xaa, 0xcb, 0x79, 0x93,
- 0xe4, 0x18, 0x96, 0xac, 0x34, 0x46, 0xe2, 0x07, 0x11, 0xac, 0xe5, 0x80, 0xbe, 0xd6, 0x2c, 0x66,
- 0x8a, 0xef, 0x99, 0x69, 0xfc, 0x89, 0xbf, 0x97, 0x07, 0x85, 0x5a, 0xb3, 0x98, 0xc9, 0xbc, 0xce,
- 0xc2, 0x97, 0xf5, 0x96, 0xf8, 0x27, 0xf1, 0x09, 0xff, 0x7d, 0x35, 0xc3, 0xff, 0x26, 0xfc, 0xf8,
- 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf6, 0x24, 0x19, 0x44, 0x65, 0x14, 0x00, 0x00,
-}
diff --git a/pkg/proto/group/group.proto b/pkg/proto/group/group.proto
index 6ba7c52ba..f7a9934e2 100644
--- a/pkg/proto/group/group.proto
+++ b/pkg/proto/group/group.proto
@@ -195,6 +195,28 @@ message GetGroupAllMemberResp {
repeated server_api_params.GroupMemberFullInfo memberList = 3;
}
+message GetGroupReq {
+ string GroupName = 1;
+ string OperationID = 2;
+}
+
+message GetGroupResp {
+ server_api_params.GroupInfo GroupInfo = 1;
+}
+
+message GetGroupsReq {
+ server_api_params.RequestPagination Pagination =1;
+ string OperationID = 2;
+}
+
+message GetGroupsResp {
+ repeated server_api_params.GroupInfo GroupInfo = 1;
+}
+
+message GetGroupMemberReq {
+ string GroupId = 1;
+ string OperationID = 2;
+}
service group{
@@ -212,6 +234,10 @@ service group{
rpc getJoinedGroupList(GetJoinedGroupListReq) returns (GetJoinedGroupListResp);
rpc inviteUserToGroup(InviteUserToGroupReq) returns (InviteUserToGroupResp);
rpc getGroupAllMember(GetGroupAllMemberReq) returns(GetGroupAllMemberResp);
+
+
+ rpc GetGroup(GetGroupReq) returns(GetGroupsResp);
+ rpc GetGroups(GetGroupsReq) returns(GetGroupsResp);
}
diff --git a/pkg/proto/proto_dir.cfg b/pkg/proto/proto_dir.cfg
index 70472ac8d..a9e94b499 100644
--- a/pkg/proto/proto_dir.cfg
+++ b/pkg/proto/proto_dir.cfg
@@ -2,8 +2,8 @@
all_proto=(
# auth/auth.proto
# friend/friend.proto
- # group/group.proto
- user/user.proto
+ group/group.proto
+ # user/user.proto
# chat/chat.proto
# push/push.proto
# relay/relay.proto
diff --git a/pkg/proto/sdk_ws/ws.pb.go b/pkg/proto/sdk_ws/ws.pb.go
index 3245b33ee..bd442452e 100644
--- a/pkg/proto/sdk_ws/ws.pb.go
+++ b/pkg/proto/sdk_ws/ws.pb.go
@@ -2839,6 +2839,61 @@ func (x *RequestPagination) GetShowNumber() int32 {
return 0
}
+type ResponsePagination struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ CurrentPage int32 `protobuf:"varint,5,opt,name=CurrentPage,proto3" json:"CurrentPage,omitempty"`
+ ShowNumber int32 `protobuf:"varint,6,opt,name=showNumber,proto3" json:"showNumber,omitempty"`
+}
+
+func (x *ResponsePagination) Reset() {
+ *x = ResponsePagination{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_sdk_ws_ws_proto_msgTypes[38]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ResponsePagination) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ResponsePagination) ProtoMessage() {}
+
+func (x *ResponsePagination) ProtoReflect() protoreflect.Message {
+ mi := &file_sdk_ws_ws_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 ResponsePagination.ProtoReflect.Descriptor instead.
+func (*ResponsePagination) Descriptor() ([]byte, []int) {
+ return file_sdk_ws_ws_proto_rawDescGZIP(), []int{38}
+}
+
+func (x *ResponsePagination) GetCurrentPage() int32 {
+ if x != nil {
+ return x.CurrentPage
+ }
+ return 0
+}
+
+func (x *ResponsePagination) GetShowNumber() int32 {
+ if x != nil {
+ return x.ShowNumber
+ }
+ return 0
+}
+
var File_sdk_ws_ws_proto protoreflect.FileDescriptor
var file_sdk_ws_ws_proto_rawDesc = []byte{
@@ -3292,10 +3347,15 @@ var file_sdk_ws_ws_proto_rawDesc = []byte{
0x70, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
0x52, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a,
0x73, 0x68, 0x6f, 0x77, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
- 0x52, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x1c, 0x5a, 0x1a,
- 0x2e, 0x2f, 0x73, 0x64, 0x6b, 0x5f, 0x77, 0x73, 0x3b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f,
- 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x33,
+ 0x52, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x56, 0x0a, 0x12,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x67,
+ 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74,
+ 0x50, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x4e, 0x75, 0x6d, 0x62,
+ 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x4e, 0x75,
+ 0x6d, 0x62, 0x65, 0x72, 0x42, 0x1c, 0x5a, 0x1a, 0x2e, 0x2f, 0x73, 0x64, 0x6b, 0x5f, 0x77, 0x73,
+ 0x3b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61,
+ 0x6d, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -3310,7 +3370,7 @@ func file_sdk_ws_ws_proto_rawDescGZIP() []byte {
return file_sdk_ws_ws_proto_rawDescData
}
-var file_sdk_ws_ws_proto_msgTypes = make([]protoimpl.MessageInfo, 39)
+var file_sdk_ws_ws_proto_msgTypes = make([]protoimpl.MessageInfo, 40)
var file_sdk_ws_ws_proto_goTypes = []interface{}{
(*GroupInfo)(nil), // 0: server_api_params.GroupInfo
(*GroupMemberFullInfo)(nil), // 1: server_api_params.GroupMemberFullInfo
@@ -3350,7 +3410,8 @@ var file_sdk_ws_ws_proto_goTypes = []interface{}{
(*FriendInfoChangedTips)(nil), // 35: server_api_params.FriendInfoChangedTips
(*UserInfoUpdatedTips)(nil), // 36: server_api_params.UserInfoUpdatedTips
(*RequestPagination)(nil), // 37: server_api_params.RequestPagination
- nil, // 38: server_api_params.MsgData.OptionsEntry
+ (*ResponsePagination)(nil), // 38: server_api_params.ResponsePagination
+ nil, // 39: server_api_params.MsgData.OptionsEntry
}
var file_sdk_ws_ws_proto_depIdxs = []int32{
3, // 0: server_api_params.FriendInfo.friendUser:type_name -> server_api_params.UserInfo
@@ -3358,7 +3419,7 @@ var file_sdk_ws_ws_proto_depIdxs = []int32{
2, // 2: server_api_params.GroupRequest.userInfo:type_name -> server_api_params.PublicUserInfo
0, // 3: server_api_params.GroupRequest.groupInfo:type_name -> server_api_params.GroupInfo
13, // 4: server_api_params.PullMessageBySeqListResp.list:type_name -> server_api_params.MsgData
- 38, // 5: server_api_params.MsgData.options:type_name -> server_api_params.MsgData.OptionsEntry
+ 39, // 5: server_api_params.MsgData.options:type_name -> server_api_params.MsgData.OptionsEntry
14, // 6: server_api_params.MsgData.offlinePushInfo:type_name -> server_api_params.OfflinePushInfo
0, // 7: server_api_params.GroupCreatedTips.group:type_name -> server_api_params.GroupInfo
1, // 8: server_api_params.GroupCreatedTips.opUser:type_name -> server_api_params.GroupMemberFullInfo
@@ -3863,6 +3924,18 @@ func file_sdk_ws_ws_proto_init() {
return nil
}
}
+ file_sdk_ws_ws_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ResponsePagination); 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{
@@ -3870,7 +3943,7 @@ func file_sdk_ws_ws_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_sdk_ws_ws_proto_rawDesc,
NumEnums: 0,
- NumMessages: 39,
+ NumMessages: 40,
NumExtensions: 0,
NumServices: 0,
},
diff --git a/pkg/proto/sdk_ws/ws.proto b/pkg/proto/sdk_ws/ws.proto
index 4d1a646b3..4caccf381 100644
--- a/pkg/proto/sdk_ws/ws.proto
+++ b/pkg/proto/sdk_ws/ws.proto
@@ -336,4 +336,9 @@ message UserInfoUpdatedTips{
message RequestPagination {
int32 pageNumber = 1;
int32 showNumber = 2;
+}
+
+message ResponsePagination {
+ int32 CurrentPage = 5;
+ int32 showNumber = 6;
}
\ No newline at end of file
diff --git a/pkg/proto/user/user.pb.go b/pkg/proto/user/user.pb.go
index 4efc81178..1dfc2528d 100644
--- a/pkg/proto/user/user.pb.go
+++ b/pkg/proto/user/user.pb.go
@@ -1253,6 +1253,7 @@ type User struct {
Nickname string `protobuf:"bytes,2,opt,name=Nickname,proto3" json:"Nickname,omitempty"`
UserId string `protobuf:"bytes,3,opt,name=UserId,proto3" json:"UserId,omitempty"`
CreateTime string `protobuf:"bytes,4,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"`
+ IsBlock bool `protobuf:"varint,5,opt,name=IsBlock,proto3" json:"IsBlock,omitempty"`
}
func (x *User) Reset() {
@@ -1315,6 +1316,13 @@ func (x *User) GetCreateTime() string {
return ""
}
+func (x *User) GetIsBlock() bool {
+ if x != nil {
+ return x.IsBlock
+ }
+ return false
+}
+
type GetUserResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1532,9 +1540,11 @@ type GetUsersResp struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"`
- OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
- User []*User `protobuf:"bytes,3,rep,name=user,proto3" json:"user,omitempty"`
+ CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"`
+ OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
+ User []*User `protobuf:"bytes,3,rep,name=user,proto3" json:"user,omitempty"`
+ UserNum int32 `protobuf:"varint,4,opt,name=UserNum,proto3" json:"UserNum,omitempty"`
+ Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,5,opt,name=Pagination,proto3" json:"Pagination,omitempty"`
}
func (x *GetUsersResp) Reset() {
@@ -1590,6 +1600,20 @@ func (x *GetUsersResp) GetUser() []*User {
return nil
}
+func (x *GetUsersResp) GetUserNum() int32 {
+ if x != nil {
+ return x.UserNum
+ }
+ return 0
+}
+
+func (x *GetUsersResp) GetPagination() *sdk_ws.ResponsePagination {
+ if x != nil {
+ return x.Pagination
+ }
+ return nil
+}
+
type AddUserReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1598,6 +1622,7 @@ type AddUserReq struct {
OperationID string `protobuf:"bytes,1,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
PhoneNumber string `protobuf:"bytes,2,opt,name=PhoneNumber,proto3" json:"PhoneNumber,omitempty"`
UserId string `protobuf:"bytes,3,opt,name=UserId,proto3" json:"UserId,omitempty"`
+ Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *AddUserReq) Reset() {
@@ -1653,6 +1678,13 @@ func (x *AddUserReq) GetUserId() string {
return ""
}
+func (x *AddUserReq) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
type AddUserResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1705,7 +1737,7 @@ type BlockUserReq struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- UserID string `protobuf:"bytes,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
+ UserId string `protobuf:"bytes,1,opt,name=UserId,proto3" json:"UserId,omitempty"`
EndDisableTime string `protobuf:"bytes,2,opt,name=EndDisableTime,proto3" json:"EndDisableTime,omitempty"`
OperationID string `protobuf:"bytes,3,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
}
@@ -1742,9 +1774,9 @@ func (*BlockUserReq) Descriptor() ([]byte, []int) {
return file_user_user_proto_rawDescGZIP(), []int{29}
}
-func (x *BlockUserReq) GetUserID() string {
+func (x *BlockUserReq) GetUserId() string {
if x != nil {
- return x.UserID
+ return x.UserId
}
return ""
}
@@ -1815,7 +1847,7 @@ type UnBlockUserReq struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- UserID string `protobuf:"bytes,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
+ UserId string `protobuf:"bytes,1,opt,name=UserId,proto3" json:"UserId,omitempty"`
OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
}
@@ -1851,9 +1883,9 @@ func (*UnBlockUserReq) Descriptor() ([]byte, []int) {
return file_user_user_proto_rawDescGZIP(), []int{31}
}
-func (x *UnBlockUserReq) GetUserID() string {
+func (x *UnBlockUserReq) GetUserId() string {
if x != nil {
- return x.UserID
+ return x.UserId
}
return ""
}
@@ -1917,8 +1949,9 @@ type GetBlockUsersReq struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Pagination *sdk_ws.RequestPagination `protobuf:"bytes,1,opt,name=Pagination,proto3" json:"Pagination,omitempty"`
- OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
+ Pagination *sdk_ws.RequestPagination `protobuf:"bytes,1,opt,name=Pagination,proto3" json:"Pagination,omitempty"`
+ OperationID string `protobuf:"bytes,2,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
+ BlockUserNum int32 `protobuf:"varint,4,opt,name=BlockUserNum,proto3" json:"BlockUserNum,omitempty"`
}
func (x *GetBlockUsersReq) Reset() {
@@ -1967,13 +2000,22 @@ func (x *GetBlockUsersReq) GetOperationID() string {
return ""
}
+func (x *GetBlockUsersReq) GetBlockUserNum() int32 {
+ if x != nil {
+ return x.BlockUserNum
+ }
+ return 0
+}
+
type GetBlockUsersResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"`
- User []*User `protobuf:"bytes,2,rep,name=user,proto3" json:"user,omitempty"`
+ CommonResp *CommonResp `protobuf:"bytes,1,opt,name=CommonResp,proto3" json:"CommonResp,omitempty"`
+ User []*User `protobuf:"bytes,2,rep,name=user,proto3" json:"user,omitempty"`
+ Pagination *sdk_ws.ResponsePagination `protobuf:"bytes,3,opt,name=Pagination,proto3" json:"Pagination,omitempty"`
+ BlockUserNum int32 `protobuf:"varint,4,opt,name=BlockUserNum,proto3" json:"BlockUserNum,omitempty"`
}
func (x *GetBlockUsersResp) Reset() {
@@ -2022,6 +2064,20 @@ func (x *GetBlockUsersResp) GetUser() []*User {
return nil
}
+func (x *GetBlockUsersResp) GetPagination() *sdk_ws.ResponsePagination {
+ if x != nil {
+ return x.Pagination
+ }
+ return nil
+}
+
+func (x *GetBlockUsersResp) GetBlockUserNum() int32 {
+ if x != nil {
+ return x.BlockUserNum
+ }
+ return 0
+}
+
type AccountCheckResp_SingleUserStatus struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -2242,59 +2298,68 @@ var file_user_user_proto_rawDesc = []byte{
0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70,
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x7e, 0x0a, 0x04,
- 0x55, 0x73, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50,
- 0x68, 0x6f, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x50, 0x72, 0x6f, 0x66,
- 0x69, 0x6c, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x69, 0x63, 0x6b,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4e, 0x69, 0x63, 0x6b,
- 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a,
- 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x5f, 0x0a, 0x0b,
- 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x43,
- 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73,
- 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a,
- 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x75, 0x73,
- 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x48, 0x0a,
- 0x0c, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a,
- 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55,
- 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x41, 0x0a, 0x0d, 0x41, 0x6c, 0x74, 0x65, 0x72,
- 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d,
- 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75,
- 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a,
- 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x75, 0x0a, 0x0b, 0x47, 0x65,
- 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65,
- 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
- 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x44, 0x0a, 0x0a, 0x50,
- 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72,
- 0x61, 0x6d, 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, 0x22, 0x82, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65,
- 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f,
- 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
- 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72,
- 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x68, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65,
- 0x72, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
+ 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0x98, 0x01, 0x0a,
+ 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
+ 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x50, 0x72, 0x6f,
+ 0x66, 0x69, 0x6c, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x69, 0x63,
+ 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4e, 0x69, 0x63,
+ 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a,
+ 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a,
+ 0x07, 0x49, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
+ 0x49, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x5f, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73,
+ 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
+ 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65,
+ 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f,
+ 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x73,
+ 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x48, 0x0a, 0x0c, 0x41, 0x6c, 0x74, 0x65,
+ 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72,
+ 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64,
+ 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x49, 0x44, 0x22, 0x41, 0x0a, 0x0d, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52,
+ 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73,
+ 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43,
+ 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
+ 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x75, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72,
+ 0x73, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x4e,
- 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x50, 0x68, 0x6f,
- 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72,
- 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64,
+ 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x44, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x65, 0x72,
+ 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 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, 0x22, 0xe3, 0x01, 0x0a,
+ 0x0c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a,
+ 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52,
+ 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12,
+ 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49,
+ 0x44, 0x12, 0x1e, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x0a, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65,
+ 0x72, 0x12, 0x18, 0x0a, 0x07, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01,
+ 0x28, 0x05, 0x52, 0x07, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x45, 0x0a, 0x0a, 0x50,
+ 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72,
+ 0x61, 0x6d, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x67, 0x69,
+ 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x22, 0x7c, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71,
+ 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65,
+ 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75,
+ 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04,
+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
0x22, 0x3f, 0x0a, 0x0b, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12,
0x30, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f,
0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73,
0x70, 0x22, 0x70, 0x0a, 0x0c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
- 0x71, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x45, 0x6e, 0x64,
+ 0x71, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x45, 0x6e, 0x64,
0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0e, 0x45, 0x6e, 0x64, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x69, 0x6d,
0x65, 0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44,
@@ -2305,94 +2370,103 @@ var file_user_user_proto_rawDesc = []byte{
0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d,
0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x4a, 0x0a, 0x0e, 0x55, 0x6e, 0x42, 0x6c, 0x6f, 0x63,
0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72,
- 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
+ 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64,
0x12, 0x20, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x49, 0x44, 0x22, 0x43, 0x0a, 0x0f, 0x55, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65,
0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52,
0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72,
0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d,
- 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x7a, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x6c,
- 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x44, 0x0a, 0x0a, 0x50,
- 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61, 0x72,
- 0x61, 0x6d, 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, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x49, 0x44, 0x22, 0x65, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55,
- 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d,
- 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75,
- 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a,
- 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x75, 0x73,
- 0x65, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
- 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x32, 0x88, 0x08, 0x0a, 0x04, 0x75,
- 0x73, 0x65, 0x72, 0x12, 0x3a, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e,
- 0x66, 0x6f, 0x12, 0x14, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
- 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
- 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12,
- 0x43, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66,
- 0x6f, 0x12, 0x17, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55,
- 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x75, 0x73, 0x65,
- 0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f,
- 0x52, 0x65, 0x73, 0x70, 0x12, 0x3a, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73,
- 0x65, 0x72, 0x73, 0x12, 0x14, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
- 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x75, 0x73, 0x65, 0x72,
- 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70,
- 0x12, 0x3d, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
- 0x12, 0x15, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x73,
- 0x65, 0x72, 0x49, 0x44, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47,
- 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x12,
- 0x55, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x12, 0x1d, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x53,
+ 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x9e, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x44, 0x0a, 0x0a,
+ 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x24, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x61,
+ 0x72, 0x61, 0x6d, 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, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49,
+ 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65,
+ 0x72, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x22, 0xd0, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74,
+ 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30,
+ 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
+ 0x52, 0x65, 0x73, 0x70, 0x52, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
+ 0x12, 0x1e, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a,
+ 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72,
+ 0x12, 0x45, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x70,
+ 0x69, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x50, 0x61, 0x67,
+ 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x55, 0x73, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x42,
+ 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x32, 0x88, 0x08, 0x0a, 0x04,
+ 0x75, 0x73, 0x65, 0x72, 0x12, 0x3a, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49,
+ 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73,
+ 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x75, 0x73, 0x65, 0x72,
+ 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70,
+ 0x12, 0x43, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e,
+ 0x66, 0x6f, 0x12, 0x17, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
+ 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x75, 0x73,
+ 0x65, 0x72, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66,
+ 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3a, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55,
+ 0x73, 0x65, 0x72, 0x73, 0x12, 0x14, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x44, 0x65, 0x6c, 0x65,
+ 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x75, 0x73, 0x65,
+ 0x72, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
+ 0x70, 0x12, 0x3d, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49,
+ 0x44, 0x12, 0x15, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55,
+ 0x73, 0x65, 0x72, 0x49, 0x44, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
+ 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70,
+ 0x12, 0x55, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4d, 0x65,
+ 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x12, 0x1d, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
+ 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
+ 0x65, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x53,
0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x4f, 0x70, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x53, 0x65,
- 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f,
- 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x55, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63,
- 0x65, 0x69, 0x76, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x12, 0x1d,
+ 0x4f, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x55, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x65,
+ 0x63, 0x65, 0x69, 0x76, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x12,
+ 0x1d, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76,
+ 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1e,
0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
- 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1e, 0x2e,
- 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x61, 0x0a,
- 0x18, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74, 0x12, 0x21, 0x2e, 0x75, 0x73, 0x65, 0x72,
- 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x22, 0x2e, 0x75,
- 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72,
- 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70,
- 0x12, 0x3d, 0x0a, 0x0c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b,
- 0x12, 0x15, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43,
- 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12,
- 0x2e, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x10, 0x2e, 0x75, 0x73, 0x65,
- 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x75,
- 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12,
- 0x37, 0x0a, 0x0a, 0x52, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x13, 0x2e,
- 0x75, 0x73, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52,
- 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x67, 0x6e,
- 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x34, 0x0a, 0x09, 0x41, 0x6c, 0x74, 0x65,
- 0x72, 0x55, 0x73, 0x65, 0x72, 0x12, 0x12, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 0x6c, 0x74,
- 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x75, 0x73, 0x65, 0x72,
- 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x31,
- 0x0a, 0x08, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x11, 0x2e, 0x75, 0x73, 0x65,
- 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x12, 0x2e,
- 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
- 0x70, 0x12, 0x2e, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x72, 0x12, 0x10, 0x2e, 0x75,
- 0x73, 0x65, 0x72, 0x2e, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x11,
- 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73,
- 0x70, 0x12, 0x34, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x12, 0x12,
- 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52,
- 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55,
- 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3a, 0x0a, 0x0b, 0x55, 0x6e, 0x42, 0x6c, 0x6f,
- 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x12, 0x14, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x6e,
- 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x75,
- 0x73, 0x65, 0x72, 0x2e, 0x55, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52,
- 0x65, 0x73, 0x70, 0x12, 0x40, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55,
- 0x73, 0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x42,
- 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e, 0x75,
- 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72,
- 0x73, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x3b,
- 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x61,
+ 0x0a, 0x18, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74, 0x12, 0x21, 0x2e, 0x75, 0x73, 0x65,
+ 0x72, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x22, 0x2e,
+ 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6e, 0x76, 0x65,
+ 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x4f, 0x70, 0x74, 0x52, 0x65, 0x73,
+ 0x70, 0x12, 0x3d, 0x0a, 0x0c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x68, 0x65, 0x63,
+ 0x6b, 0x12, 0x15, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
+ 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e,
+ 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70,
+ 0x12, 0x2e, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x10, 0x2e, 0x75, 0x73,
+ 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e,
+ 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
+ 0x12, 0x37, 0x0a, 0x0a, 0x52, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x13,
+ 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x55, 0x73, 0x65, 0x72,
+ 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x69, 0x67,
+ 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x34, 0x0a, 0x09, 0x41, 0x6c, 0x74,
+ 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x12, 0x12, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 0x6c,
+ 0x74, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x75, 0x73, 0x65,
+ 0x72, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12,
+ 0x31, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x11, 0x2e, 0x75, 0x73,
+ 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x12,
+ 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65,
+ 0x73, 0x70, 0x12, 0x2e, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x72, 0x12, 0x10, 0x2e,
+ 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a,
+ 0x11, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
+ 0x73, 0x70, 0x12, 0x34, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x12,
+ 0x12, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72,
+ 0x52, 0x65, 0x71, 0x1a, 0x13, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3a, 0x0a, 0x0b, 0x55, 0x6e, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x12, 0x14, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55,
+ 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e,
+ 0x75, 0x73, 0x65, 0x72, 0x2e, 0x55, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72,
+ 0x52, 0x65, 0x73, 0x70, 0x12, 0x40, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74,
+ 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e,
+ 0x75, 0x73, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65,
+ 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x75, 0x73, 0x65, 0x72,
+ 0x3b, 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -2447,6 +2521,7 @@ var file_user_user_proto_goTypes = []interface{}{
(*AccountCheckResp_SingleUserStatus)(nil), // 35: user.AccountCheckResp.SingleUserStatus
(*sdk_ws.UserInfo)(nil), // 36: server_api_params.UserInfo
(*sdk_ws.RequestPagination)(nil), // 37: server_api_params.RequestPagination
+ (*sdk_ws.ResponsePagination)(nil), // 38: server_api_params.ResponsePagination
}
var file_user_user_proto_depIdxs = []int32{
0, // 0: user.DeleteUsersResp.CommonResp:type_name -> user.CommonResp
@@ -2470,49 +2545,51 @@ var file_user_user_proto_depIdxs = []int32{
37, // 18: user.GetUsersReq.Pagination:type_name -> server_api_params.RequestPagination
0, // 19: user.GetUsersResp.CommonResp:type_name -> user.CommonResp
21, // 20: user.GetUsersResp.user:type_name -> user.User
- 0, // 21: user.AddUserResp.CommonResp:type_name -> user.CommonResp
- 0, // 22: user.BlockUserResp.CommonResp:type_name -> user.CommonResp
- 0, // 23: user.UnBlockUserResp.CommonResp:type_name -> user.CommonResp
- 37, // 24: user.GetBlockUsersReq.Pagination:type_name -> server_api_params.RequestPagination
- 0, // 25: user.GetBlockUsersResp.CommonResp:type_name -> user.CommonResp
- 21, // 26: user.GetBlockUsersResp.user:type_name -> user.User
- 7, // 27: user.user.GetUserInfo:input_type -> user.GetUserInfoReq
- 9, // 28: user.user.UpdateUserInfo:input_type -> user.UpdateUserInfoReq
- 1, // 29: user.user.DeleteUsers:input_type -> user.DeleteUsersReq
- 3, // 30: user.user.GetAllUserID:input_type -> user.GetAllUserIDReq
- 11, // 31: user.user.SetReceiveMessageOpt:input_type -> user.SetReceiveMessageOptReq
- 14, // 32: user.user.GetReceiveMessageOpt:input_type -> user.GetReceiveMessageOptReq
- 16, // 33: user.user.GetAllConversationMsgOpt:input_type -> user.GetAllConversationMsgOptReq
- 5, // 34: user.user.AccountCheck:input_type -> user.AccountCheckReq
- 20, // 35: user.user.GetUser:input_type -> user.GetUserReq
- 18, // 36: user.user.ResignUser:input_type -> user.ResignUserReq
- 23, // 37: user.user.AlterUser:input_type -> user.AlterUserReq
- 25, // 38: user.user.GetUsers:input_type -> user.GetUsersReq
- 27, // 39: user.user.AddUser:input_type -> user.AddUserReq
- 29, // 40: user.user.BlockUser:input_type -> user.BlockUserReq
- 31, // 41: user.user.UnBlockUser:input_type -> user.UnBlockUserReq
- 33, // 42: user.user.GetBlockUsers:input_type -> user.GetBlockUsersReq
- 8, // 43: user.user.GetUserInfo:output_type -> user.GetUserInfoResp
- 10, // 44: user.user.UpdateUserInfo:output_type -> user.UpdateUserInfoResp
- 2, // 45: user.user.DeleteUsers:output_type -> user.DeleteUsersResp
- 4, // 46: user.user.GetAllUserID:output_type -> user.GetAllUserIDResp
- 13, // 47: user.user.SetReceiveMessageOpt:output_type -> user.SetReceiveMessageOptResp
- 15, // 48: user.user.GetReceiveMessageOpt:output_type -> user.GetReceiveMessageOptResp
- 17, // 49: user.user.GetAllConversationMsgOpt:output_type -> user.GetAllConversationMsgOptResp
- 6, // 50: user.user.AccountCheck:output_type -> user.AccountCheckResp
- 22, // 51: user.user.GetUser:output_type -> user.GetUserResp
- 19, // 52: user.user.ResignUser:output_type -> user.ResignUserResp
- 24, // 53: user.user.AlterUser:output_type -> user.AlterUserResp
- 26, // 54: user.user.GetUsers:output_type -> user.GetUsersResp
- 28, // 55: user.user.AddUser:output_type -> user.AddUserResp
- 30, // 56: user.user.BlockUser:output_type -> user.BlockUserResp
- 32, // 57: user.user.UnBlockUser:output_type -> user.UnBlockUserResp
- 34, // 58: user.user.GetBlockUsers:output_type -> user.GetBlockUsersResp
- 43, // [43:59] is the sub-list for method output_type
- 27, // [27:43] is the sub-list for method input_type
- 27, // [27:27] is the sub-list for extension type_name
- 27, // [27:27] is the sub-list for extension extendee
- 0, // [0:27] is the sub-list for field type_name
+ 38, // 21: user.GetUsersResp.Pagination:type_name -> server_api_params.ResponsePagination
+ 0, // 22: user.AddUserResp.CommonResp:type_name -> user.CommonResp
+ 0, // 23: user.BlockUserResp.CommonResp:type_name -> user.CommonResp
+ 0, // 24: user.UnBlockUserResp.CommonResp:type_name -> user.CommonResp
+ 37, // 25: user.GetBlockUsersReq.Pagination:type_name -> server_api_params.RequestPagination
+ 0, // 26: user.GetBlockUsersResp.CommonResp:type_name -> user.CommonResp
+ 21, // 27: user.GetBlockUsersResp.user:type_name -> user.User
+ 38, // 28: user.GetBlockUsersResp.Pagination:type_name -> server_api_params.ResponsePagination
+ 7, // 29: user.user.GetUserInfo:input_type -> user.GetUserInfoReq
+ 9, // 30: user.user.UpdateUserInfo:input_type -> user.UpdateUserInfoReq
+ 1, // 31: user.user.DeleteUsers:input_type -> user.DeleteUsersReq
+ 3, // 32: user.user.GetAllUserID:input_type -> user.GetAllUserIDReq
+ 11, // 33: user.user.SetReceiveMessageOpt:input_type -> user.SetReceiveMessageOptReq
+ 14, // 34: user.user.GetReceiveMessageOpt:input_type -> user.GetReceiveMessageOptReq
+ 16, // 35: user.user.GetAllConversationMsgOpt:input_type -> user.GetAllConversationMsgOptReq
+ 5, // 36: user.user.AccountCheck:input_type -> user.AccountCheckReq
+ 20, // 37: user.user.GetUser:input_type -> user.GetUserReq
+ 18, // 38: user.user.ResignUser:input_type -> user.ResignUserReq
+ 23, // 39: user.user.AlterUser:input_type -> user.AlterUserReq
+ 25, // 40: user.user.GetUsers:input_type -> user.GetUsersReq
+ 27, // 41: user.user.AddUser:input_type -> user.AddUserReq
+ 29, // 42: user.user.BlockUser:input_type -> user.BlockUserReq
+ 31, // 43: user.user.UnBlockUser:input_type -> user.UnBlockUserReq
+ 33, // 44: user.user.GetBlockUsers:input_type -> user.GetBlockUsersReq
+ 8, // 45: user.user.GetUserInfo:output_type -> user.GetUserInfoResp
+ 10, // 46: user.user.UpdateUserInfo:output_type -> user.UpdateUserInfoResp
+ 2, // 47: user.user.DeleteUsers:output_type -> user.DeleteUsersResp
+ 4, // 48: user.user.GetAllUserID:output_type -> user.GetAllUserIDResp
+ 13, // 49: user.user.SetReceiveMessageOpt:output_type -> user.SetReceiveMessageOptResp
+ 15, // 50: user.user.GetReceiveMessageOpt:output_type -> user.GetReceiveMessageOptResp
+ 17, // 51: user.user.GetAllConversationMsgOpt:output_type -> user.GetAllConversationMsgOptResp
+ 6, // 52: user.user.AccountCheck:output_type -> user.AccountCheckResp
+ 22, // 53: user.user.GetUser:output_type -> user.GetUserResp
+ 19, // 54: user.user.ResignUser:output_type -> user.ResignUserResp
+ 24, // 55: user.user.AlterUser:output_type -> user.AlterUserResp
+ 26, // 56: user.user.GetUsers:output_type -> user.GetUsersResp
+ 28, // 57: user.user.AddUser:output_type -> user.AddUserResp
+ 30, // 58: user.user.BlockUser:output_type -> user.BlockUserResp
+ 32, // 59: user.user.UnBlockUser:output_type -> user.UnBlockUserResp
+ 34, // 60: user.user.GetBlockUsers:output_type -> user.GetBlockUsersResp
+ 45, // [45:61] is the sub-list for method output_type
+ 29, // [29:45] is the sub-list for method input_type
+ 29, // [29:29] is the sub-list for extension type_name
+ 29, // [29:29] is the sub-list for extension extendee
+ 0, // [0:29] is the sub-list for field type_name
}
func init() { file_user_user_proto_init() }
diff --git a/pkg/proto/user/user.proto b/pkg/proto/user/user.proto
index 90db2a0d5..d74fbd1c4 100644
--- a/pkg/proto/user/user.proto
+++ b/pkg/proto/user/user.proto
@@ -125,7 +125,8 @@ message User{
string ProfilePhoto = 1;
string Nickname = 2;
string UserId = 3;
- string CreateTime = 4;
+ string CreateTime = 4;
+ bool IsBlock = 5;
}
message GetUserResp{
@@ -151,12 +152,15 @@ message GetUsersResp{
CommonResp CommonResp = 1;
string OperationID = 2;
repeated User user = 3;
+ int32 UserNum = 4;
+ server_api_params.ResponsePagination Pagination = 5;
}
message AddUserReq{
string OperationID = 1;
string PhoneNumber = 2;
string UserId = 3;
+ string name = 4;
}
message AddUserResp{
@@ -165,7 +169,7 @@ message AddUserResp{
message BlockUserReq{
- string UserID = 1;
+ string UserId = 1;
string EndDisableTime = 2;
string OperationID = 3;
}
@@ -175,7 +179,7 @@ message BlockUserResp{
}
message UnBlockUserReq{
- string UserID = 1;
+ string UserId = 1;
string OperationID = 2;
}
@@ -186,11 +190,14 @@ message UnBlockUserResp{
message GetBlockUsersReq{
server_api_params.RequestPagination Pagination =1;
string OperationID = 2;
+ int32 BlockUserNum = 4;
}
message GetBlockUsersResp{
CommonResp CommonResp = 1;
repeated User user = 2;
+ server_api_params.ResponsePagination Pagination = 3;
+ int32 BlockUserNum = 4;
}